CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Regular Expressions:
modify links in html document for proxy


New User

Nov 15, 2008, 3:16 PM

Post #1 of 1 (8245 views)
modify links in html document for proxy Can't Post

Hello Guys,
This is my first post and I need some help here.
I am working on my thesis for which I have to create a proxy( I found some proxy codes online but... its too hard to modify accordingly).
So what really I am looking for is
I am creating my own proxy.
->Enter any URL
->then downloading page source using lynx in a file
->modify all href, images and other links to redirect through my proxy.

example-- if it is then i download the source code for yahoo in a file and modify the hrefs as
which will display same as

Once I click any other link on that page then the url will be like

For websites href is written in different ways like
in so many different ways..
so how can I make sure that I can read every href and modify it???


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives