/    Sign up×
Community /Pin to ProfileBookmark

Open a URL and Automatically Click on the First Link

Hi

I need a script that open a url and automatically click on the first link and the eight link of this url

how can it be done ?

Thank´s in advance

to post a comment
PHP

5 Comments(s)

Copy linkTweet thisAlerts:
@netbuddyOct 06.2006 — What!

Very Dodgy m8, sounds like a hack.
Copy linkTweet thisAlerts:
@JDM71488Oct 06.2006 — i assume you could:

read in a file.

do a preg_match for a url. (between href=" and ")

trim both sides. (href=" and ")

do a header redirect with the url.
Copy linkTweet thisAlerts:
@netbuddyOct 06.2006 — Yes you possibly could but you fail to see the relavence of my comment, it smells like a hack.

Think about it for a minute, why would someone want you to visit a web page that automatically clicks a link on page visit???

Rocket science this is not, it has all the hallmarks of a hack, thos links could be malware or a method of exploiting php, you have no idea what the guy has in mind.

So please exercise caution next time you offer up a possible solution, security starts somewhere and I would like to think some of it starts here with responsible advice.
Copy linkTweet thisAlerts:
@amrigoauthorOct 09.2006 — i assume you could:

read in a file.

do a preg_match for a url. (between href=" and ")

trim both sides. (href=" and ")

do a header redirect with the url.[/QUOTE]

Thank´s it is working now best regards!
Copy linkTweet thisAlerts:
@amrigoauthorOct 09.2006 — netbuddy ! to renew all the books from my library i have to choose between "all books" or "just some books" it annoys me, now it is automated!

You may consider that real hackers (crackers) have another ways to learn what they do. I usually clean security holes against hackers in webapps . ok!
×

Success!

Help @amrigo spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...