You are here: conituation regarding register_globals « PHP Programming Language « IT news, forums, messages
conituation regarding register_globals

Posted by Dave on 08/17/07 09:07

Hi guys, i have a small question regarding register_globals

I have managed to change the way my forms work so they will process
with register_globals turned off.

However i have one page which enables staff to "browse" by product,
which will list all products that begin with the letter they had
chosen.

On the return of this, i had previously used the results to form a
hyperlink to the product page, using the productcode as a reference
like this:

echo "<a href=product.php?product=" .$result['code']. ">" .
$result['name']. "</a>";

On the result page, i had it set out to check for form submission, and
if it wasnt, display the page searching for the product ( $product ),
if it couldnt find it return the page as item doesnt exist in the
database.

However, I am now unsure how to get the variables passed directly from
the link.
I have searched quite a lot over the last day, but not a lot of
information regarding non forms and register_globals. I am starting to
get the impression it may not be possible.

Hope someone tells me im wrong !!

Dave.

 

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

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