GeonoTRON2000 wrote:
thebuilderdd wrote:
A question... How can I do something like this on my website? (No ban)
Code:
<base href="http://scratch.mit.edu/"> <!--DO NOT CLOSE THAT TAG!--> <?php require_once("http://scratch.mit.edu/"); ?>
What I got...
PHP Error Message
Warning: require_once() [function.require-once]: URL file-access is disabled in the server configuration in /home/a6998818/public_html/scratch/index.php on line 3
Free Web Hosting
PHP Error Message
Warning: require_once(http://scratch.mit.edu/) [function.require-once]: failed to open stream: no suitable wrapper could be found in /home/a6998818/public_html/scratch/index.php on line 3
Free Web Hosting
PHP Error Message
Fatal error: require_once() [function.require]: Failed opening required 'http://scratch.mit.edu/' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a6998818/public_html/scratch/index.php on line 3
Offline
thebuilderdd wrote:
GeonoTRON2000 wrote:
thebuilderdd wrote:
A question... How can I do something like this on my website? (No ban)
Code:
<base href="http://scratch.mit.edu/"> <!--DO NOT CLOSE THAT TAG!--> <?php require_once("http://scratch.mit.edu/"); ?>What I got...
PHP Error Message
Warning: require_once() [function.require-once]: URL file-access is disabled in the server configuration in /home/a6998818/public_html/scratch/index.php on line 3
Free Web Hosting
PHP Error Message
Warning: require_once(http://scratch.mit.edu/) [function.require-once]: failed to open stream: no suitable wrapper could be found in /home/a6998818/public_html/scratch/index.php on line 3
Free Web Hosting
PHP Error Message
Fatal error: require_once() [function.require]: Failed opening required 'http://scratch.mit.edu/' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a6998818/public_html/scratch/index.php on line 3
Sad.
In php.ini you need to turn allow_url_include on.
Offline
GeonoTRON2000 wrote:
thebuilderdd wrote:
GeonoTRON2000 wrote:
Code:
<base href="http://scratch.mit.edu/"> <!--DO NOT CLOSE THAT TAG!--> <?php require_once("http://scratch.mit.edu/"); ?>What I got...
PHP Error Message
Warning: require_once() [function.require-once]: URL file-access is disabled in the server configuration in /home/a6998818/public_html/scratch/index.php on line 3
Free Web Hosting
PHP Error Message
Warning: require_once(http://scratch.mit.edu/) [function.require-once]: failed to open stream: no suitable wrapper could be found in /home/a6998818/public_html/scratch/index.php on line 3
Free Web Hosting
PHP Error Message
Fatal error: require_once() [function.require]: Failed opening required 'http://scratch.mit.edu/' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a6998818/public_html/scratch/index.php on line 3Sad.
In php.ini you need to turn allow_url_include on.
I don't think there is one in 000webhost.
Offline
thebuilderdd wrote:
GeonoTRON2000 wrote:
thebuilderdd wrote:
What I got...
PHP Error Message
Warning: require_once() [function.require-once]: URL file-access is disabled in the server configuration in /home/a6998818/public_html/scratch/index.php on line 3
Free Web Hosting
PHP Error Message
Warning: require_once(http://scratch.mit.edu/) [function.require-once]: failed to open stream: no suitable wrapper could be found in /home/a6998818/public_html/scratch/index.php on line 3
Free Web Hosting
PHP Error Message
Fatal error: require_once() [function.require]: Failed opening required 'http://scratch.mit.edu/' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a6998818/public_html/scratch/index.php on line 3Sad.
In php.ini you need to turn allow_url_include on.I don't think there is one in 000webhost.
Actually, you would have to 000webhost because that's a server issue.
Tell them to please turn allow_url_include on in php.ini for your server.
Offline
NO! WAIT! THERE'S A PHP FUNCTION!
<?php
ini_set("allow_url_include", "On");
?>Perfect timing
.
Offline
GeonoTRON2000 wrote:
NO! WAIT! THERE'S A PHP FUNCTION!
Code:
<?php ini_set("allow_url_include", "On"); ?>Perfect timing
.
Where do I put it?
Offline
thebuilderdd wrote:
GeonoTRON2000 wrote:
NO! WAIT! THERE'S A PHP FUNCTION!
Code:
<?php ini_set("allow_url_include", "On"); ?>Perfect timing
.
Where do I put it?
Top of the page.
Offline