Author |
Message |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Wed Dec 06, 2006 11:08 pm |
|
I'm just asking to see if anyone knows a way to grab an external file if allow_url_fopen is disabled.
The only alternative I have seen is cURL. That is also not enabled.
Any ideas? |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
 |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Thu Dec 07, 2006 5:21 am |
|
Would a solution be reading the page (not the file), parsing the text to display?
something like that? |
|
|
|
 |
djmaze
Subject Matter Expert

Joined: May 15, 2004
Posts: 727
Location: http://tinyurl.com/5z8dmv
|
Posted:
Thu Dec 07, 2006 8:06 am |
|
|
|
 |
hitwalker

|
Posted:
Thu Dec 07, 2006 8:42 am |
|
very smart djmaze...  |
|
|
|
 |
evaders99

|
Posted:
Thu Dec 07, 2006 8:59 am |
|
Thanxs djmaze
I could not use your class in PHP 4, but I used fsockopen() directly to get what I wanted. Thanxs for pointing in the right direction |
|
|
|
 |
technocrat
Life Cycles Becoming CPU Cycles

Joined: Jul 07, 2005
Posts: 511
|
Posted:
Thu Dec 07, 2006 11:02 am |
|
*Shakes head in amazement* DJMaze your one smart programmer. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! / Only registered users can see links on this board! Get registered or login! |
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Fri Dec 08, 2006 6:28 am |
|
djmaze, was the download removed? The link provided in the post keeps coming up as "file doesn't exist".
Excellent work! |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
hitwalker

|
Posted:
Fri Dec 08, 2006 7:30 am |
|
|
|
 |
djmaze

|
Posted:
Fri Dec 08, 2006 4:08 pm |
|
he probably also didn't read the notice which was even red colored  |
|
|
|
 |
gregexp
The Mouse Is Extension Of Arm

Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol
|
Posted:
Fri Dec 08, 2006 5:55 pm |
|
Excellent Code. |
_________________ For those who stand shall NEVER fall and those who fall shall RISE once more!! |
|
 |
 |
montego

|
Posted:
Sun Dec 10, 2006 9:57 am |
|
djmaze wrote: | he probably also didn't read the notice which was even red colored |
I read enough of the original post to get a feel for the approach and just glossed over the subsequent posts (would read later in detail). Indeed an excellent idea. Hat's off to you... |
|
|
|
 |
montego

|
Posted:
Sun Dec 10, 2006 10:00 am |
|
So, then, why am I getting this error on trying the second link?
Code:
The URL that you requested, http://cvs.moocms.com/moo/moo_core/libraries/stream_wrappers/http.php?v, could not be found. Perhaps you either mistyped the URL or we have a broken link.
We have logged this error and will correct the problem if it is a broken link.
|
|
|
|
|
 |
djmaze

|
Posted:
Sun Dec 10, 2006 11:59 am |
|
Correct it's broken, i'm upgrading the website to reflect my latest CVS files.
the cvs viewer module isn't installed yet
Update: CVS Viewer is installed again  |
|
|
|
 |
marky_uk
New Member


Joined: Feb 07, 2009
Posts: 1
|
Posted:
Sat Feb 07, 2009 10:07 am |
|
You are amazing djmaze <3 |
|
|
|
 |
|