Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-28-2006, 08:39 PM   PM User | #1
TrainReq
Guest

 
Posts: n/a
2 Simple cURL questions

I have 2 questions about cURL...

1. How do I make cURL click a link on a certan page
2. How do I make it exictute a javascript: link on a certan page. (probally not possible)
  Reply With Quote
Old 12-29-2006, 01:10 AM   PM User | #2
TrainReq
Guest

 
Posts: n/a
can someone please help me? it is really simple.
  Reply With Quote
Old 12-29-2006, 12:04 PM   PM User | #3
GJay
Senior Coder

 
Join Date: Sep 2005
Posts: 1,791
Thanks: 5
Thanked 36 Times in 35 Posts
GJay is on a distinguished road
what do you mean by 'click a link'? cURL just sends HTTP requests to URLs, it has no concept of 'clicking', and certainly can't understand javascript.
GJay is offline   Reply With Quote
Old 12-29-2006, 09:24 PM   PM User | #4
TrainReq
Guest

 
Posts: n/a
well... one of the links on the page i'd like for it to exicute is a javascript: url.
  Reply With Quote
Old 12-29-2006, 11:31 PM   PM User | #5
GJay
Senior Coder

 
Join Date: Sep 2005
Posts: 1,791
Thanks: 5
Thanked 36 Times in 35 Posts
GJay is on a distinguished road
cURL won't do what you want then.

What exactly are you trying to do?
Selenium might help you (http://openqa.org) might be able to do what you want...
GJay is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:39 PM.


Advertisement
Log in to turn off these ads.