Reply to Re: Need help: PHP4 not parsing simple authentication

Your name:

Reply:


Posted by passat91@sympatico.ca on 12/10/05 15:13

Wow, I was cracking my head last time figuring out the problem.
This what happend, back in 2002 I was fooling around with php3 wiht all
those code from php and mysql books, well they did parse perfectly.
Now fast forward to 2005 WITHOUT TOUCHING PHP for 3 years, I got into
this problem. WHAT A FITFALL!!!, Yes because I dont program much for a
living.


vdP wrote:
> passat91@sympatico.ca wrote:
>
>> Could somebody tell me.
>> I installed php4 successfully, but when I do run some script like the
>> following:
>> <?
>> if(!isset($name)&&!isset($password))
>> {
>> //Visitor needs to enter a name and password
>> ?>
>
>
> Starting with version 4.2.0, the post-variables are no longer imported
> automatically, but are only stored in the array $_POST. To acces the
> posted variables you need to use $_POST['name'], $_POST['password'],
> etc. Alternatively you can assign the posted variables to normal
> variables with something like
> $name=$_POST['name'];
>
> Hope this helps.
>
> vdP

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация