php/java question

Previous topic - Next topic


I know this is way off topic but I am hoping that someone may be able to help.

I have a list of 1000 url addresses that add free bonuses into a facebook game im playing and each url needs to be clicked in turn to add the bonus. Now I know you can get Java to use to automatically open a new window/tab for each url but I cant think how to automate it in with php to open a text file, read in the first line, open the url, wait 5 seconds, close the window and then grab the next url and so on. Has anyone done anything similar or know how I can do it?

I did wonder if GLB could do it with its web commands but as you need to be logged onto facebook to get the bonus it needs to be opened in a proper browser window so I discounted a quick GLB project

Hope someone has some ideas that might work



the code I have tried so far that should work is

Code (glbasic) Select

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<script type="text/javascript">
function open_win()


function closeWin()

function pausecomp(ms) {
ms += new Date().getTime();
while (new Date() < ms){}
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>

<input type="button" value="Open Windows" onclick="open_win()">

Which creates a button, you click on it and then it opens a new window/tab but doesnt seem to actually load the content :([/code]


Quote from: Gary on 2012-Jul-06
I discounted a quick GLB project

Good thinking, GLBasic isnt really geared towards webbrowsing, though not impossible.
Coolo has a project based on javascript, somewhere here in the forums.
Bing ChatGpt is pretty smart :O