Search found 41 matches

by Ben
Wed Jan 25, 2006 5:44 pm
Forum: PHP coding => General
Topic: Help, ... call user function "B" from user functio
Replies: 2
Views: 1333

Hey, I am new user for PHP. I could not handle errors on my code. Can you advise me how handle error on PHP? what do you mean? If there is an parse error or something like that it should be shown automatically in the browser when you call the script. Maybe you're searching this? --> http://www.php.n...
by Ben
Tue Jan 24, 2006 3:36 am
Forum: PHP coding => General
Topic: How to redirect to another page after login
Replies: 4
Views: 1343

Hey, I wrote a tutorial some times ago that describes a session and MySQL based login. Unfortunately the tutorial is in German language, but maybe you study the source code . What Alexei want to say is Remember that header() must be called before any actual output is sent, either by normal HTML tags...
by Ben
Tue Nov 29, 2005 6:48 pm
Forum: PHP & MySQL Security
Topic: what is the best technique to secure a restricted area ??
Replies: 8
Views: 6106

Hey guys, in my opinion a session based login system is a nice and secure way to ensure that the protected area is save. You have to think about the problem that occurs if the client does not accept cookies or the session.use-cookies is set to "0". Then the session id is added to the URI. If an user...
by Ben
Tue Nov 29, 2005 5:56 pm
Forum: PHP coding => General
Topic: random txt on a website
Replies: 4
Views: 1387

Hi Ian, create a textfile with a text you want to display per line, i.e. This is the first option. Heya, a second one exist. ... Now you can easily use a function like this to display one of these lines randomly. function displayRandomText() { $filename = 'randomtexts.txt'; $lines = file($filename);...
by Ben
Fri Sep 09, 2005 11:53 am
Forum: PHP coding => General
Topic: @ before a function
Replies: 1
Views: 684

If you use "@" an error that may occur is disabled (I do not know if that is the best expression :?).
by Ben
Tue Sep 06, 2005 4:12 am
Forum: PHP coding => General
Topic: TruStudio vs. PHPeclipse [Editor] Looking
Replies: 0
Views: 552

Hi,
I use PHPEclipse because I also use the original Eclipse for Java developments. In my opinion it is the best free editor.

Take a look at:
--> Best PHP Editors

Regards,
Ben.
by Ben
Mon Sep 05, 2005 6:14 pm
Forum: PHP coding => General
Topic: php_mysql.dll missing ???
Replies: 1
Views: 618

Re: php_mysql.dll missing ???

Hi,
if you have problems to install a local WAMP or LAMP .. maybe this complete package interests you:
--> http://www.apachefriends.org/en/xampp.html

Regards,
Ben.
by Ben
Mon Sep 05, 2005 6:12 pm
Forum: PHP coding => General
Topic: php.ini
Replies: 2
Views: 841

It is right that you have no direct access to php.ini if you have no root server, but you've the possibility to manipulate some php.ini configurations by using the ini_set()-function.

Best way to get information about your rights is to get in contact with your hoster.

Regards,
Ben.
by Ben
Mon Sep 05, 2005 6:06 pm
Forum: PHP coding => General
Topic: should be an easy problem!
Replies: 1
Views: 712

I think that it is a HTML problem you have to solve.
Try

Code: Select all

<select name="demo" size="1">
    <option value="1">1</option>
    ...
</select>

--> http://www.w3.org/TR/html4/interact/for ... ize-SELECT

Regards,
Ben.
by Ben
Mon Sep 05, 2005 5:57 pm
Forum: PHP coding => General
Topic: Can't solve this error - any help??
Replies: 1
Views: 660

Hi,
you're sure that PHP 5 is running?

Seems that you have no PHP 5 support on the server ..

Regards,
Ben.
by Ben
Sat Oct 09, 2004 2:59 am
Forum: Free time
Topic: Post your ctrl+v
Replies: 27
Views: 13970

oh. sorry ... the last posting was mine .. :shock:
by Ben
Fri Oct 08, 2004 3:03 pm
Forum: PHP coding => General
Topic: function help
Replies: 2
Views: 863

please excuse .. english is not my native language. thank you. ---- hi. sorry, that i rewrote your code, but i think that this structure may help you. so. by using mysql_error() you'll see if a SQL-error occurs. <?php $user = ""; $pass = ""; $dbase = ""; $table = "...
by Ben
Thu Aug 05, 2004 9:40 am
Forum: Free time
Topic: PHP Certification
Replies: 7
Views: 3889

maybe. but $200 .. is money too.
maybe i'll go to spain with it? ;-)
by Ben
Thu Aug 05, 2004 9:38 am
Forum: mySQL & php coding
Topic: Netscape doesn't fill in Select list from MySQL in PHP
Replies: 2
Views: 796

Re: Netscape doesn't fill in Select list from MySQL in PHP

shsavage wrote:Is there a Netscape specific workaround for this problem?

can't be, cause PHP runs on a server ..
by Ben
Fri Jul 30, 2004 4:38 pm
Forum: Free time
Topic: Post your ctrl+v
Replies: 27
Views: 13970

http://ghost.aesthetic.ru

ah. *gg* ... psycho-game ..
by Ben
Fri Jul 30, 2004 4:16 pm
Forum: Free time
Topic: How old is every one?
Replies: 28
Views: 20354

Pulse wrote:I'm 21, going for 22 in September ...

:eek: one month older than me ....
by Ben
Fri Jul 30, 2004 7:57 am
Forum: PHP coding => General
Topic: Html Form update .php page
Replies: 2
Views: 963

normally i do not post code. but in this case i'll do it why? i did not work with textfiles yet. i only use databases. so i wanted to learn it and implemented following code: <?php // the file, that should be modified $file = 'testfile.php'; $length = 10000; // function getContent function getConten...
by Ben
Fri Jul 30, 2004 3:46 am
Forum: PHP coding => General
Topic: Html Form update .php page
Replies: 2
Views: 963

hi.
you've to use these functions
-> http://php.net/filesystem

use fopen to open a file, fwrite to write in a file .. and so on.

try it.
by Ben
Thu Jul 29, 2004 11:34 am
Forum: PHP coding => General
Topic: Path starting FROM docroot
Replies: 2
Views: 1223

a sorry. i misunderstood.

i do not think it's possible, but i cannot prove it :D
by Ben
Thu Jul 29, 2004 7:11 am
Forum: Free time
Topic: Post your ctrl+v
Replies: 27
Views: 13970

Anonymous wrote:410835b3610b1

interesting .. :sad:
by Ben
Thu Jul 29, 2004 7:07 am
Forum: PHP coding => General
Topic: Path starting FROM docroot
Replies: 2
Views: 1223

--> http://www.php.net/manual/en/reserved.v ... les.server

maybe you search:

Code: Select all

$_SERVER['DOCUMENT_ROOT'];
by Ben
Tue Jul 27, 2004 11:07 am
Forum: HTML Basics
Topic: focus at the bottom of the page
Replies: 8
Views: 4591

swirlee wrote:http://webdesign.about.com/library/tags/bltags-deprecatedtags.htm


thank you.
by Ben
Tue Jul 27, 2004 9:43 am
Forum: PHP General
Topic: Translate ASP to PHP ...
Replies: 3
Views: 1084

maybe it helps:
--> http://www.w3schools.com/asp/default.asp

why there is no :arrow: emoticon?? :eek:
by Ben
Tue Jul 27, 2004 9:35 am
Forum: HTML Basics
Topic: focus at the bottom of the page
Replies: 8
Views: 4591

Dabear wrote:the name attribute is deprecated

hi.
where do you get this information from?#

thanks.
by Ben
Tue Jul 27, 2004 7:43 am
Forum: PHP coding => General
Topic: Best editor for PHP
Replies: 203
Views: 166205

swirlee wrote:I've fallen quite in love with Maguma Studio for PHP.

best editor you can use ... I LOVE IT TOO :-D