RE: [PHP] choosing the name to save a file as in a script

From: Date: Tue, 26 Dec 2000 22:07:16 +0000
Subject: RE: [PHP] choosing the name to save a file as in a script
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-31887@lists.php.net to get a copy of this message
why not just pass it as a variable? http://www.foo.com/view.php3?file=filename.ext&id=17982 -----Original Message----- From: Rasmus Lerdorf [mailto:rasmus@php.net] Sent: Tuesday, December 26, 2000 5:02 PM To: Blaster Cc: php-general@lists.php.net Subject: RE: [PHP] choosing the name to save a file as in a script You probably can't. -Rasmus On Tue, 26 Dec 2000, Blaster wrote: > Unfortunately, my site is running IIS :( > > Any idea how that could be done with it? > > -----Original Message----- > From: Rasmus Lerdorf [mailto:rasmus@php.net] > Sent: Tuesday, December 26, 2000 17:51 > To: Blaster > Cc: php-general@lists.php.net > Subject: Re: [PHP] choosing the name to save a file as in a script > > > > What I don't get is how can you pass "/filename.ext?id=17982" as an > > argument? I tried it and the web server will of course look for file > > "filename.ext", but it doesn't exist since view.php3 is obviously not a > > directory... > > You tried it? If you have a decent web server it will work fine. Apache > is smart enough to see that view.php3 is your script and it will give you > "/filename.ext" in the $PATH_INFO. > > -Rasmus > > > > -- > 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 > -- 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 (#31887) next »