House of Xrvel

Just another WordPress weblog

Login to Remote URL with PHP Curl

with 2 comments

If you want to fetch page from remote URL or you want to perform form submission to a remote URL, here is a solution for you. You should use PHP curl.

Here is a simple PHP code about curl that i wrote. It performs remote form submission.

If you perform a remote form submission, do not forget to fill the User Agent option and Referer option, so the remote script can not notice that we submit use a remote curl script :D

Written by Xrvel

February 24th, 2009 at 12:58 pm

Posted in PHP

2 Responses to 'Login to Remote URL with PHP Curl'

Subscribe to comments with RSS or TrackBack to 'Login to Remote URL with PHP Curl'.

  1. takien

    21 Oct 09 at 4:18 pm

  2. can you repost the working link? thanks

    KaiToU KiD

    3 Jan 10 at 7:21 am

Leave a Reply