Hello i got an issue that i would like anyone to help me, i would offer free lifetime Megauload account for anyone who can solve it I have a javascript that generates a random link when ever visited. I want using curl/php to get the information in that hyperlinked page. Easy part: I curl current page containing the javascript code that generates the link and i will have it saved as a variable $var Hard part: How to know the link that i have to visit next (generated by javascript) their is no pattern for links, they are totaly random links. I have no power over the script as it is inserted from a news site. Any help will be much appreciated! You can provide any example on how to do it and this will be great! If you came accross this site, u can reach me here: