File_get_contents

Hi, this stop work.

<?php echo file_get_contents("https://stooq.com/q/d/l/?s=^UX&i=d");?>

Any idea why?

  1. Is it bolcked site?
  2. any different restriction?

If you type https://stooq.com/q/d/l/?s=^UX&i=d internet explorer works well… :frowning:

Thanks…

When i visit the site. It downloads csv file.

You want browser opens it inside?

1 Like

Why did it stop working? What do you see when you run this code on your site?

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.