Reply to Re: How do you pass a variable via a "pseudo-directory" or URL prefix?

Your name:

Reply:


Posted by Andy Hassall on 10/19/06 22:16

On 19 Oct 2006 15:12:50 -0700, "jonnyblazed@gmail.com" <jonnyblazed@gmail.com>
wrote:

>I've searched everywhere for this but I'm not sure exactly what to
>search for.
>
>What I am trying to do is pass a variable to a php script via the URL.
>However, I don't want to use the standard "?name=value format." I want
>to either pass the variable as "value website.com" or
>"website.com/value" where the script is stored in some directory
>"website.com/script/index.php" and the value gets stored in a variable
>declared within my php script.
>
>I have seen this done but I just need some guidance on how to go about
>doing it.

Look up "mod_rewrite" for Apache.

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

[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

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