Re: URL variables, and the $_GET[xxx] function...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 21 Oct 2004 14:08:28 +0100, tristan.pretty@xxxxxxxxxxxxxxxx
<tristan.pretty@xxxxxxxxxxxxxxxx> wrote:
> I'm moving hosts for a freelance site I do...
> 
> They have an events section, and it's sortable by date, name and category
> etc...
> To achieve this, I passed the search/sort variables via the URL...
> However, I'm testing the new server, and those variables are not being
> detected?
> 
> I've put this code at teh top of the code on events page '$sort_by =
> $_GET[sort_by];' etc...
> And while that sorts out the problem, I'm curious as to why I need to do
> that, and if those changes will cause me probs elsewhere?
> 
> Perhaps a rookie Q, but I guess we all learn something every day eh?
> 
> Any thoughts?

I'm guessing you used to have register_globals on, and now you don't.


-- 
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux