Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8805971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T01:59:58+00:00 2026-06-14T01:59:58+00:00

What I am trying to achieve, when I open a website, it starts a

  • 0

What I am trying to achieve, when I open a website, it starts a network activity by loading images, swf files, css file etc. Is there any way in php to get a list of those resources as array?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T01:59:59+00:00Added an answer on June 14, 2026 at 1:59 am

    The only way I see this being (kinda) possible is by parsing the rendered HTML page with PHP and look for resources. – PeeHaa

    You can use file_get_html if you want to follow this direction

    $html = file_get_html("http://stackoverflow.com");
    $list = array();
    foreach ( $html->find("[src=*],link") as $src ) {
        isset($src->src) AND $list[] = $src->src ;
        isset($src->href) AND $list[] = $src->href ;
    }
    var_dump($list);
    

    Example

    array
      0 => string 'http://cdn.sstatic.net/stackoverflow/img/favicon.ico' (length=52)
      1 => string 'http://cdn.sstatic.net/stackoverflow/img/apple-touch-icon.png' (length=61)
      2 => string '/opensearch.xml' (length=15)
      3 => string 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' (length=63)
      4 => string 'http://cdn.sstatic.net/js/stub.js?v=8a629d6e9fb6' (length=48)
      5 => string 'http://cdn.sstatic.net/stackoverflow/all.css?v=d16ae3f98d2e' (length=59)
      6 => string '/feeds' (length=6)
      7 => string 'https://i.stack.imgur.com/NAGkl.png' (length=34)
      8 => string 'https://i.stack.imgur.com/tKsDb.png' (length=34)
      9 => string 'https://i.stack.imgur.com/tKsDb.png' (length=34)
      10 => string 'https://i.stack.imgur.com/tKsDb.png' (length=34)
      11 => string 'https://i.stack.imgur.com/L8rHf.png' (length=34)
      12 => string 'https://i.stack.imgur.com/tKsDb.png' (length=34)
      13 => string 'https://i.stack.imgur.com/tKsDb.png' (length=34)
      14 => string 'https://i.stack.imgur.com/tKsDb.png' (length=34)
      15 => string 'https://i.stack.imgur.com/6QN0y.png' (length=34)
      16 => string 'https://i.stack.imgur.com/L8rHf.png' (length=34)
      17 => string 'https://i.stack.imgur.com/L8rHf.png' (length=34)
      18 => string 'https://i.stack.imgur.com/tKsDb.png' (length=34)
      19 => string 'https://i.stack.imgur.com/dmHl0.png' (length=34)
      20 => string 'https://i.stack.imgur.com/tKsDb.png' (length=34)
      21 => string 'https://i.stack.imgur.com/L8rHf.png' (length=34)
      22 => string 'https://i.stack.imgur.com/dmHl0.png' (length=34)
      23 => string 'http://pixel.quantserve.com/pixel/p-c1rF4kxgLUzNc.gif' (length=53)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im trying to achieve the same goal as OP there: Downloading mp3 files using
Here's what I'm trying to achieve: open a shell (korn or bash, doesn't matter),
I have trouble setting directives in .htaccess file. Trying to achieve that if visitor
I am trying to achieve following things: To create subset of original font file
The main task I'm trying to achieve is to open my app with a
Trying to achieve any moving effect while appending an element from one to another
im trying to achieve something but i dont really know how I have set
What I'm trying to achieve is show count of lines starting with/ending with needle
What i'm trying to achieve is playing a guitar chord from my python application.
What I'm trying to achieve is: Let inflector slug Ignore a special character in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.