RE: [PHP] URL w/o script name

From: Date: Mon, 09 Apr 2001 13:51:35 +0000
Subject: RE: [PHP] URL w/o script name
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-47782@lists.php.net to get a copy of this message
Another thing to add: by using apache's mod_rewrite you can have your variables (as witty suggested) in the/very/elegant/and/search-engines-readable/way.php I have it working on PHPBeginner.com and several other sites. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) maxim@phpbeginner.com www.phpbeginner.com -----Original Message----- From: Jason Lotito [mailto:Jason@LehighWeb.com] Sent: Tuesday, April 10, 2001 12:28 AM To: mailing_list@gmx.at; elias Cc: php-general@lists.php.net Subject: RE: [PHP] URL w/o script name > -----Original Message----- > From: mailing_list@gmx.at [mailto:mailing_list@gmx.at] > Sent: Monday, April 09, 2001 4:50 AM > To: elias > Cc: php-general@lists.php.net > Subject: Re: [PHP] URL w/o script name > > > > and sometimes i see: > > > > www.site.com/?asdasdf=adasd > > > > can someone please explain me this process. > > the server looks in its configuration (for example Apache: DirectoryIndex > index.php) and returns this page - with the GET-Varaibales as well (your > Browser doesn't have to know, what this page's name is!) > > But I'm sure you can configure your webserver (or put it in your > script) to > make a 301/2/3 and redirect to the full URL! > > witty Just to point out, the /?asdf=asdf style is poor in my opinion, more so because I have experienced errors (well, visitors have experienced errors) with links that were linked like that. I believe it was a Lynx user, or maybe Opera, don't remember. However, the fact is that I suggest actually putting the script name in there. =) Jason Lotito www.NewbieNetwork.net Where those who can, teach; and those who can, learn. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#47782) next »