Re: [PHP] Re: How to detect the prefered languages of Web-Clients?

2004-11-27 Thread Gerhard Meier
On Sat, Nov 27, 2004 at 03:20:45PM +0100, Michelle Konzack wrote: Curenly I can only access the web with 'lynx' and do you have already tried it with ? - It is a nightmare... There is a lynx friendly version of the documentation at http://www.php.net/manual/en/print/index.php /GM

Re: [PHP] $_POST['xxx'] = blabla ?

2004-11-22 Thread Gerhard Meier
On Mon, Nov 22, 2004 at 09:38:00PM +0100, Perry Jönsson wrote: 1. if ($_POST['submit'] == 'Login') { ... } This one is true if $_POST['submit'] is equal to 'Login'. 2. if (isset($_POST['submit']) { ... } This one is true if $_POST['submit'] is set, it doesn't matter which value it has. /GM

Re: [PHP] $_POST['xxx'] = blabla ?

2004-11-22 Thread Gerhard Meier
On Mon, Nov 22, 2004 at 09:55:35PM +0100, Perry Jönsson wrote: Gerhard Meier wrote: If you only have one form on a page, why would you like to check the value/name of the submit button? Is there a security aspect to this? That was not your question. You asked what the difference

Re: [PHP] PHP script + read file

2004-11-20 Thread Gerhard Meier
On Sat, Nov 20, 2004 at 09:11:41PM +, Jerry Swanson wrote: I know how to read a file. But the problem is different, I have directory that has more than 250 files. I need to read each file and process it. But How I know what file to read? ls -l (show all files). How I can select each file