Hosted by: Eyo Technologies Pty Ltd. Sponsored by: Actiontec Pty Ltd
running php scripts externaly. [Archive] - Aussie Phorums

PDA

View Full Version : running php scripts externaly.



RANDOID
14-08-2006, 08:43 AM
I want to be able to place a number of php scripts on one partition of a server, and ahve a few site able to access thoes scripts.

i tried
<?php include('http://www.website.com/script.php'); ?>
But it comes back with;

Warning: main(): URL file-access is disabled in the server configuration in /location_of_page_on_server.php on line 4

Warning: main(http://script_trying_to_access.php): failed to open stream: no suitable wrapper could be found in /location_of_page_on_server.php on line 4

Warning: main(): Failed opening 'http://script_trying_to_access.php' for inclusion (include_path='.:/usr/share/pear') in /location_of_page_on_server.php on line 4

any ideas as to how i can access these scripts this way? I can use other servers and access the scripts, but i don't seem to be able to grab scripts from the spaces on this spacific server.