You are here: Re: PHP script doesn't work with new linux cpanel/whm web host « PHP Language « IT news, forums, messages
Re: PHP script doesn't work with new linux cpanel/whm web host

Posted by Arjen on 01/10/07 11:23

Rik schreef:

>> <?php print "$QS[variable]"; ?>

> Check register_globals in the manual, and learn to use the $_GET array.
> Omitting the first script and doing a search/replace on $QS to $_GET in the
> rest of the files should do it.

That would get you
<?php print "$_GET[variable]"; ?>

Wich is bad in so many ways
Better use
echo $_GET['variable'];

note $x[''] insetd of "$x[]"

--
Arjen
http://www.hondenpage.com

 

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

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