You are here: Re: PHP Beginner question « PHP Programming Language « IT news, forums, messages
Re: PHP Beginner question

Posted by Jerry Stuckle on 05/30/06 13:32

pepito3@gmail.com wrote:
>>I think you need to read up on how a browser and web server interact
>>some more. This is pretty basic stuff but you seem to be missing some
>>key concepts based upon the type of questions you are asking.
>
>
>>The 'list_product.php' may be *any* valid url string.
>>That includes:
>>URLs that are not absolute.
>>Different urls based upon code.
>>URLS that include get operators.
>>URLS that are mod_mapped.
>
>
> My question is much simpler (and I understand how a http server works),
> maybe I didn't explain myself very well:
>
> If I used redirect(X) I would have to store X in $_POST or $_SESSION
> arrays so that add_product.php can get that X. That's something I can't
> do as an action performed when the user clicks on a link. So how can I
> do that?
>

You can't just store it in the $_POST variable; a new page will wipe out any
values here. But storing them in $_SESSION works fine (as long as you don't
change domains).

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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