Reply to Re: conituation regarding register_globals

Your name:

Reply:


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

On 17 Aug, 10:07, Dave <david.greenh...@praybourne.co.uk> wrote:
> 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.

Its always the way, decide to post to the groups, cause you cant find
the answer.... and then bang! its on the next bloomin page.

sorry
Dave.

[Back to original 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

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