Posted by David Haynes on 05/29/06 23:09
pepito3@gmail.com wrote:
>> redirect('list_product.php');
>
> The problem is that I won't always call add_product.php from
> list_product.php. Moreover, list_product complete url may be:
> ...list_products.php?section=X&page=X&...
> so a static "redirect" won't work fine for my problem...
>
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.
-david-
Navigation:
[Reply to this message]
|