note 27539 deleted from features.remote-files by irchtml
| From: | irchtml@php.net | Date: | Sat, 28 Feb 2004 07:58:14 +0000 |
| Subject: | note 27539 deleted from features.remote-files by irchtml | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-65925@lists.php.net to get a copy of this message | ||
Note Submitter: buht@mail.ru
----
I`ve read all that You say and try to do next two simple files.
First file make include throught Web:
<?php
include('http://YourTempAddress/test.php');
?>
Second File (test.php) make output as html, but result is the new php script:
<?
echo "<?\$ip=getenv('REMOTE_HOST');echo \"IP=\$ip;\";?>";
?>
That work perfectly without searching of server that does not support of php scripts but allow to
store php files on it. Extention is also not important.
So that is more secure to reject using of including through Web.
But know somebody any other possibility to include a document as it from another URL using php?