PDA

View Full Version : php redirection (i think that describes it)


SteveIFN
04-22-2002, 01:16 AM
How hard is it to create a php script that allows you to access a url like this:
www.domain.com/get.php?=about *Note this is a fake link so dont bother to click :D

dank
04-22-2002, 02:20 AM
How hard is it to create a php script that allows you to access a url...
Easier than it is to figure out what you're asking. ;)

Dan

SteveIFN
04-22-2002, 02:53 PM
oh sorry i will be more descriptive. I was wondering if i can create a php file with url's in it, then the php script could be queried using a name for a certain page like "home" would be www.domain.com/home.html but could be accessed simliar to how fileplanet's ASP links work. http://www.fileplanet.com/index.asp?page=movies

dank
04-22-2002, 10:53 PM
I'm still not entirely sure what you're asking, but...

Can a PHP script have links in it? Yes, pretty much standard HTML (lots of choices how to go about it).

Can a PHP script be accessed with a query string like "home"? Yes.

Where I get confused is your mixing of the home/home.html and page=movies/index.asp examples, and whether or not the URL/receiving questions refer to a single script...

In short, yes, all of that can be done, but I honestly have no idea what question I'm attempting to answer.

Dan