Re: PHP Beginner question
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Tue, 30 May 2006 09:32:03 -0400
pepito3@xxxxxxxxx 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@xxxxxxxxxxxxx
==================
.
- References:
- PHP Beginner question
- From: pepito3
- Re: PHP Beginner question
- From: David Haynes
- Re: PHP Beginner question
- From: pepito3
- Re: PHP Beginner question
- From: David Haynes
- Re: PHP Beginner question
- From: pepito3
- Re: PHP Beginner question
- From: David Haynes
- Re: PHP Beginner question
- From: pepito3
- PHP Beginner question
- Prev by Date: Re: Sending a String from php script to separate app
- Next by Date: Re: PHP Beginner question
- Previous by thread: Re: PHP Beginner question
- Next by thread: Re: PHP Beginner question
- Index(es):
Relevant Pages
|