RE: [PHP] choosing the name to save a file as in a script
| From: | Blaster | Date: | Tue, 26 Dec 2000 21:56:06 +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-31885@lists.php.net to get a copy of this message | ||
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