Results 1 to 25 of 103
Dec 8, 2012, 15:48 #14
- Join Date
- Jun 2007
- 215 Post(s)
- 12 Thread(s)
Here it is:
<?php $url = "http://us.1.p10.webhosting.yahoo.com/forms?login=xxx"; $post_data = array ( "person" => "Pullo", "onlineaddress" => "email@example.com", "ringer" => "12345678", "action" => "Submit" ); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data); curl_exec($ch); curl_close($ch); ?>
What you need to do is to create a blank PHP file on your PC and name it "test.php"
Copy the above code into this file.
Change the url in the first line accordingly.
Upload the PHP file to your webserver.
Access the file in your browser by navigating to address you uploaded it to (e.g. http://easydigging.com/Contact/test.php).
If everything is good, shortly afterwards you'll receive a mail from me.
Let me know how you get on.