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

Your name:

Reply:


Posted by vdP on 12/09/05 12:48

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

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