Re: [PHP4BETA] cvs: /php4/ext/standard link.c
| From: | Stanislav Malyshev | Date: | Sun, 28 Nov 1999 16:31:13 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4/ext/standard link.c | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-6990@lists.php.net to get a copy of this message | ||
RL>> + }
RL>> + if (!strncasecmp((*topath)->value.str.val,"http://",7
RL>>) ||
RL>> !strncasecmp((*topath)->value.str.val,"ftp://",6)) {
RL>> + php_error(E_WARNING, "Unable to symlink to a URL");
I fear this won't work. I still can symlink "ftp:" and add
"//" afterwards
- Unix will ignore extra slashes. Also, "link" should be patched too, I
think - not only symlink. At least my Linux will happily link() all files,
which I don't own. And other Unices too, I suppose (tried it on BSDI -
worked).
--
Stanislav Malyshev stas@zend.com
+972-50-624945