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 8444007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T09:17:34+00:00 2026-06-10T09:17:34+00:00

Hi I have a link that is download a CSV file, I would like

  • 0

Hi I have a link that is download a CSV file, I would like to use the data inside to build my website, but I don’t wont to download the file, is there anyway to do it?
the link is: http://www.nasdaq.com/screening/companies-by-name.aspx?letter=0&exchange=nasdaq&render=download

  • 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-10T09:17:36+00:00Added an answer on June 10, 2026 at 9:17 am

    Use fopen() or PHP cURL library:

    fopen() (Usually this is not as safe as cURL, and you might run into issues when fopen is not allowed in the PHP settings file, but it is a quick and dirty way to do it):

    // Load file into resource from URL.
    $fileHandle = fopen("http://www.nasdaq.com/screening/companies-by-name.aspx?letter=0&exchange=nasdaq&render=download", "r");
    // Edit: Load file resource into string.
    $fileContents = fread($fileHandle);
    echo $fileContents;
    

    cURL (The preferred way. Read up on cURL here: http://php.net/manual/en/book.curl.php):

    $curl = curl_init(); // Open a cURL library resource.
    
    // Set the resource option for the URL.
    curl_setopt($curl, CURLOPT_URL, "http://www.nasdaq.com/screening/companies-by-name.aspx?letter=0&exchange=nasdaq&render=download");
    // Set the resource option to let it return a value from the execution function.
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
    
    $file = curl_exec($curl); // Execute cURL, load the result into variable $file.
    curl_close($curl); // Close the cURL resource.
    
    print_r($file); // The file should now be a string, exactly the CSV string that was scraped.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a link on my web page to download a .CSV file that
i have a link <a id=DownloadLink href='controller/action' target=_blank>Download File</a> that has to open a
I have a link that opens up JSON data in the browser, but unfortunately
The file that I have is: $file_path='CSVs/data'.time().'TaskID_'.$this->task_id.'.csv'; Then I attach it to this function.
I have a link that I want to look like a button so I
I have a link that looks like this: <a onclick=myLightbox rel=lightbox href=image.jpg title=> I
I have a link that takes me to an image. How would I go
I have a huge collection of visual foxpro dbf files that I would like
I'd like to read the contents of a .csv file from a website, into
I have a Drupal website where users are clicking on a link that initiates

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.