setting user id?
| From: | Lelon Stoldt | Date: | Sat, 18 Nov 2000 19:26:52 +0000 |
| Subject: | setting user id? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-26072@lists.php.net to get a copy of this message | ||
can i set the userID of my script so that it can read files that arent chmod public? here's
the code i'm working with....
Header ( "Content-Type: application/octet-stream");
Header ( "Content-Length: ".filesize($url));
Header( "Content-Disposition: attachment; filename=$song_name");
readfile($url);
if I chmod the file ($url) so it can be publically read it works fine, if its not public it
downloads a file with the line (permission denied)
-lelon