View Single Post

  #3 (permalink)  
Old 01-10-2007
Arjen
 
Posts: n/a
Default Re: PHP script doesn't work with new linux cpanel/whm web host

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
Reply With Quote