Jump to content
Larry Ullman's Book Forums
Sign in to follow this  
megadutch

Chapter 9 - Yahoo! Stock Market Link No Longer Valid.

Recommended Posts

Thank you for this information, Larry.

 

Would this be the URL I need to use in my code?

 

http://finance.yahoo...=snd1l1ohgvwdyr

 

I was able to parse the file name. However, the file seems to download to my hard drive instead of being saved to the server and I get the following message:

 

"The latest value for Missing Symbols List. is $"

 

Here is my script:

 

http://megadutch.com/php/advphptech/chptr9

 

Any assistance would be appreciated.

 

Thank you for your time! -- John.

Share this post


Link to post
Share on other sites

Off the top of my head, that looks right. It worked just fine for me. It should download to your hard drive if you access it in your browser, because your browser doesn't know how to handle CSV. You'll also need to change the formatting (the characters after f=) to only request the information you want.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...