What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » [Solved]Download a file from an external server using PHP

[Solved]Download a file from an external server using PHP
Author: Message:
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: Download a file from an external server using PHP
code:
        function geturl($url)
        {
                $ch = curl_init();

                curl_setopt($ch, CURLOPT_URL, $url);
                curl_setopt($ch, CURLOPT_HEADER, 0);
                curl_setopt($ch, CURLOPT_RETURNTRANSFER , 1);

                $out = curl_exec($ch);
                curl_close($ch);
                return $out;
        }

The previous sentence is false. The following sentence is true.
07-07-2006 09:19 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Solved]Download a file from an external server using PHP - by Mike on 07-07-2006 at 08:39 PM
RE: Download a file from an external server using PHP - by segosa on 07-07-2006 at 09:19 PM
RE: Download a file from an external server using PHP - by Mike on 07-07-2006 at 09:23 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On