[PHP] Retrieving data from a URL in PHP

2002-06-05 Thread Anthony Ritter
The code that follows is from Welling and Thomson's book on PHP and mysql (page 372) I've tried it on Apache/ MS Windows 98 / PHP and I get the following line: No quote available. Questions... 1. Why can't I retrieve the present stock quote? 2. What is the variable $quote represent in the

RE: [PHP] Retrieving data from a URL in PHP

2002-06-05 Thread Vail, Warren
-658 -Original Message- From: Anthony Ritter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 1:11 PM To: [EMAIL PROTECTED] Subject: [PHP] Retrieving data from a URL in PHP The code that follows is from Welling and Thomson's book on PHP and mysql (page 372) I've tried

Re: [PHP] Retrieving data from a URL in PHP

2002-06-05 Thread Analysis Solutions
Try $content = implode('', file(URL...) ); rather than the fopen(), file pointer route. --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N

Re: [PHP] Retrieving data from a URL in PHP

2002-06-05 Thread Austin Gonyou
You may need a user:pass appended to the URI. On Wed, 2002-06-05 at 15:11, Anthony Ritter wrote: The code that follows is from Welling and Thomson's book on PHP and mysql (page 372) I've tried it on Apache/ MS Windows 98 / PHP and I get the following line: No quote available.

RE: [PHP] Retrieving data from a URL in PHP

2002-06-05 Thread Scott Hurring
PROTECTED]] Sent: Wednesday, June 05, 2002 4:53 PM Subject: [PHP] Retrieving data from a URL in PHP The code that follows is from Welling and Thomson's book on PHP and mysql (page 372) I've tried it on Apache/ MS Windows 98 / PHP and I get the following line: No quote available. My