Re: Re: PHP 4.0 Bug #6682 Updated: remote require is not perfect
| From: | Stanislav Malyshev | Date: | Tue, 12 Sep 2000 09:56:14 +0000 |
| Subject: | Re: Re: PHP 4.0 Bug #6682 Updated: remote require is not perfect | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-33015@lists.php.net to get a copy of this message | ||
tk>> about require, include, remote file accessing, fopen
tk>> many times. However I couldn't get what I want.
tk>> I want to make my php script to use the function that
tk>> is defined in other file on remote host. If the
Then you should make that host to return PHP script in source form. I
guess that is not what it does. Also be aware that it is _extremely_
insecure (basically, you are trusting whole internet to execute whatever
code they like on your server).
tk>> Actually, I tried another way. I changed the extension
tk>> of the file on remote server into .txt. Then it
tk>> worked. Can you explain to me how this works ?
Exactly. .txt files are returned as-is. See above.
Also, generally you should ask such questions on
php-general@lists.php.net.
--
Stanislav Malyshev stas@zend.com http://www.zend.com/
+972-3-6139665 ext.106