Creating symlink from browser
| From: | Radu Manole | Date: | Thu, 08 May 2003 09:13:56 +0000 |
| Subject: | Creating symlink from browser | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-146805@lists.php.net to get a copy of this message | ||
Hi guys,
I have this server with PHP is installed as an apache module on a linux box
and I want to create a symlink from browser.
1. When running the PHP script from shell (using #!/usr/local/bin/php)
everything works fine.
but
2. I copied the file into cgi-bin directory and called it from browser
and it did not worked. The log file said something like
"glob failed ...<_GEN_0> chunk1"
3. tried exec(), symlink() but no luck
Any ideas about how can I do this are appreciated.
many thanks,
Radu