Ok i've been building an API so users can connect to my site to get access to features etc. They put the parameters in the URL, and then use an include or require function to get the contents of that URL.
For E.g.
That would return some html and css, which would be printed on the user's page...
In theory...
I spoke to my host earlier, and all remote connections have been blocked for PHP. You can't access files remotely. Aaahh!
Anyone had this kind of problem before...is there any way round it? Could it be done with Javascript?
Hope someone can help ASAP!
Cheers,
Rich
For E.g.
Code:
<?php
require_once("http://api.routehiker.escouts.net/?routecard&username=john smith&password=test");
?>
That would return some html and css, which would be printed on the user's page...
In theory...
I spoke to my host earlier, and all remote connections have been blocked for PHP. You can't access files remotely. Aaahh!
Anyone had this kind of problem before...is there any way round it? Could it be done with Javascript?
Hope someone can help ASAP!
Cheers,
Rich