A few questions...

From: Date: Sun, 25 Mar 2001 22:43:16 +0000
Subject: A few questions...
Groups: php.general 
Request: Send a blank email to php-general+get-45528@lists.php.net to get a copy of this message
hey- Alright I noticed that question about URL parsing. I could've sworn I saw some article on PHPBuilder.com that said that instead of doing all that modifying with apache, you could simply write something to change the URL with '?' and '&' and '=' so that they symbols could be represented using a simple /, does anyone remember seeing it?... In any case, I'll ask, what would be the best way to do this with scripting, something like str_replace() or perhaps a regular expression to both modify the URL and then allow pages using that modified URL to recognized the variable/value pairs? Or is that even possible? My other question is this: Sometimes I notice URL's where it looks like this, http://www.whatever.com/?blah=blah&d=d, or http://www.whatever.com/local?name=name&d=d. How is that done, where there is no file extension after the file name, or no file name at all, just a question mark directly after the slash? thanks Chris

« previous php.general (#45528) next »