Current location: Hot Scripts Forums » Programming Languages » PHP » how to make php bot to post data in several sites?


how to make php bot to post data in several sites?

Reply
  #1 (permalink)  
Old 01-27-08, 10:34 PM
sharif_aly sharif_aly is offline
Newbie Coder
 
Join Date: Oct 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
how to make php bot to post data in several sites?

how to make php bot to post data in several sites ?
Reply With Quote
  #2 (permalink)  
Old 01-28-08, 03:03 AM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,075
Thanks: 11
Thanked 88 Times in 83 Posts
The easiest way is using cURL. However, if your host does not support cURL, you can use fopen() or file_get_contents() for example, along with stream_context_create(), to POST the data. (Examples in the user comments of this page)
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"SEND" / "GET" Post Data (Packing bytes) Gondie Visual Basic 2 12-13-06 06:07 PM
php irc bot zivs PHP 0 07-17-05 11:44 AM
Do PHP can make a user base update web site whitout Database? explorer1979 PHP 5 04-23-05 05:08 AM


All times are GMT -5. The time now is 07:34 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.