Curl scripting - firefox plugin - is there such a thing

rankdominator

Junior Member
Joined
Dec 18, 2009
Messages
120
Reaction score
68
Hi all,

This may seem like a daft request - but is there a firefox plugin that will emulate your on-screen web browser actions (i.e. launch a website url, fill out form etc.) and then convert this to curl type php syntax?

Is that asking too much?

Basically I need to emulate what I do in the browser, and have that converted to CURL syntax for php. Without messing around with too much coding...

Any help or applications would be appreciated

Thanks
 
run this search on google:
curl and php windows

and the top link should point you in the right direction - I am running PHP on my windows computer and I'm pretty sure that you;ll figure out curl too
 
You can install php on windows- yes
You can run curl on windows- yes
Is there such a program or plugin which sniffs activity of my browser and writes an script based on that activity with nice user friendly interface- no
 
Sounds like you are looking for something more along the lines of imacros.
Posted via Mobile Device
 
There's a handy tool that does that in perl, generating output for www::mechanize. Best thing since sliced bread, if you have perl available.
 
For complex jobs like this I consider ubot, for simple jobs PHP some times is the best option. It's sounding like a ubot job. (never tried imacros)
 
it takes about 10 minutes to install apache and php on windows
and curl or any php code will work
 
PHP Snoopy is a nice little class for a little more advanced php browser emulation...

Check it out :)
 
iMacros is close, and then again www::mechanize for perl has a recorder that converts actions to script. Personally, I like mechanize for web automation, but that's just me.
 
PHP Snoopy is a nice little class for a little more advanced php browser emulation...

Check it out :)

I think snoopy class is full of fgets(), fsockopen() while this dude needs something to do with curl
 
Last edited:
it takes about 10 minutes to install apache and php on windows
and curl or any php code will work

Actually, when you install apache, php, java, curl, etc..all that does is allows your computer to be able to read the script, as a false server. It is more of a ' reader ' to test if it is functional and to check for errors on your local machine. This is an alternative to having to upload and test each script by remote server access.

Php scripts will test , edit and parse but ' any php code will work ' - as in fully function to the point of using it on your machine...not so much.
 
... I think everyone is overlooking OP's actual request..

AFAIK, there isn't something like you are looking for. If you are going for short curl scripts, then there is no problem with doing it manually, I guess the issue would be if you are spanning across hundreds of websites, trying to output that.

For things like submitting forms, Use something like httpliveheaders plugin for firefox. That will record all the post data (And get data if you need it). And although it doesn't plug it directly into a curl expression with all the data, it is far easier to segment it up into a curl request.
 
Back
Top