tags:

views:

54

answers:

2

Hey,

I basically created a script using Curl and PHP that sends data to the website e.g. host, port and time. Then it submits the data. How would I know if the Curl/PHP actually sent those data to the web pages?

$fullcurl = "?host=".$host."&time=".$time.";

Any ways to see if they actually sent the data to those URLs on My MYSQL?

A: 

Hello,

in order to be sure that curl sends something, you will need a packet sniffer. You can try wireshark for example.

I hope this will help you,

Jerome Wagner

Jerome WAGNER
Nope, I heard I need regex or curlopt.
Raymond
Hello. I think i misunderstand your question. what is the relation between curl doing its job and mysql ?
Jerome WAGNER
Basically curl grabs the URL's from MYSQL then sends the post data to them.
Raymond
A: 

Do you want to know if the request gets sent or want to see what the HTTP response is?

sent the data to those URLs on My MYSQL?

Does this mean the URL being called is interacting with a MySQL database?

Since I can't comment, I'll update this answer after you elaborate.

Kevin Stich
Yeah, basically it grabs the URL from MYSQL table "url"
Raymond
So you're doing a MySQL query in php and iterating through the results and sending requests with CURL to the url?
Kevin Stich