You are here: Re: Newbie Question on !isset() « PHP Programming Language « IT news, forums, messages
Re: Newbie Question on !isset()

Posted by Alvaro G Vicario on 06/28/05 12:56

*** LHO wrote/escribió (Tue, 28 Jun 2005 05:40:50 GMT):
> Here is some questions about the change.
> 1) To set the register_globals to 'ON', I edited the PHP.INI file.

I suggest that you set it to off and learn to use superglobals ($_GET,
$_POST, $_SERVER...) from the very beginning. There's no point in learning
bad programming practices. While register globals is not a great benefit,
it adds security issues and makes your code harder to understand.


> 2) Is the $posted predefined variable?

You have a full list here:

http://es2.php.net/variables.predefined

>
> 3) Is $_POST['serialized_data'] the same as
> $HTTP_POST_VARS['serialized_data']? $HTTP_POST_VARS is for earlier PHP
> engine.

That's it. The $HTTP_POST_VARS array is deprecated and actually doesn't
work with PHP 5's default settings.



--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--

 

Navigation:

[Reply to this 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

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