Reply to Re: PHP Beginner question

Your name:

Reply:


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-

[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

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