SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    if ($zee == "Guru") { $zee--;}
    Join Date
    Nov 2005
    Location
    Karachi - Pakistan
    Posts
    1,134
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with Cache / Archive

    Hi

    I need a way where i can get full source code of a WEB PAGE and can store that to my database.

    I know that i can do this via CURL, but main problem is that - I want ABSOLUTE LINKS for:

    1) CSS
    2) Javascript
    3) Images
    4) Links
    5) Any other media file etc.

    So that i can only keep the source of the page and whenever I load it, it loads the images etc from the real site. Please guide me what is the best way to do this ?

    Regards
    ZH

  2. #2
    if ($zee == "Guru") { $zee--;}
    Join Date
    Nov 2005
    Location
    Karachi - Pakistan
    Posts
    1,134
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay, I found a solution my self !

    For any one else need help with the same issue, just use the HTML's <base> tag.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •