|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
php4 - Help me load a remote page without curl and fopen
Help me load a remote page with curl and fopen disabled, please.
I need to load the page so I can extract data from it and use it in my page. Problem is curl and fopen are disabled and I failed to do it with sockets as well. Give me a hint, please, how to load the remote page. |
|
#2
|
||||
|
||||
|
have you looked into:
http://us3.php.net/file_get_contents
__________________
When I die, I want to go peacefully like my Grandfather did, in his sleep -- not screaming, like the passengers in his car. |
|
#3
|
|||
|
|||
|
Thank you for your reply, DavidMr
I looked at the link and I am still concerned weather it will work. Quote:
|
|
#4
|
||||
|
||||
|
ok, who disabled fopen and curl? and how about more information about what you are trying to achieve?
PHP Code:
thats a quick way to check if it will work or not... |
|
#5
|
|||
|
|||
|
Thank you for your reply, DavidMr.
I ran the test script and I got this. Code:
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /www/zxq.net/x/x/x/xxxyyyzzz/htdocs/index.php on line 2 Warning: file_get_contents((URL address blocked: See forum rules)) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /www/zxq.net/x/x/x/xxxyyyzzz/htdocs/index.php on line 2 |
|
#6
|
||||
|
||||
|
you might need to get onto your provider and get them to allow it if thats the same case with cURL...
|
|
#7
|
|||
|
|||
|
Quote:
You mean there is no other way this can be achieved ? |
|
#8
|
||||
|
||||
|
theres httpclient but i believe that uses fsockopen and since you cant use fopen im not sure that would be of use to you.
Im out of ideas im afraid and my knowledge isnt vast enough to tell you for definite but i would swap providers if i was limited like that... |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > php4 - Help me load a remote page without curl and fopen |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|