roddik Posted January 12, 2007 Share Posted January 12, 2007 Hi guys! Can you offer any ways to make cURL follow the redirect which is coded via Javascript please? It would be very nice of anybody to help. Thanks Link to comment https://forums.phpfreaks.com/topic/33951-curl-working-with-javascript/ Share on other sites More sharing options...
ShogunWarrior Posted January 12, 2007 Share Posted January 12, 2007 Unfortunately this is impossible. JavaScript is executed by the browser. cURL only retrieves the page, you would need the processing part of a browser to run the javascript.There may be a chance if you can manually parse the javascript but it's quite a dodgy solution. Link to comment https://forums.phpfreaks.com/topic/33951-curl-working-with-javascript/#findComment-159516 Share on other sites More sharing options...
roddik Posted January 12, 2007 Author Share Posted January 12, 2007 ok, thanks, I've heard about a kind of class that imitates browser (maybe SOAP or Smarty, don't remember), does it really exist in the Web? Link to comment https://forums.phpfreaks.com/topic/33951-curl-working-with-javascript/#findComment-159528 Share on other sites More sharing options...
ShogunWarrior Posted January 12, 2007 Share Posted January 12, 2007 Never heard of it myself. Link to comment https://forums.phpfreaks.com/topic/33951-curl-working-with-javascript/#findComment-159532 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.