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
-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
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
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.
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
5 matches
Mail list logo