You want "r" instead of "w+". I'd suggest reading the Filesystem
Functions section of the manual again...
good luck!
-philip
On Tue, 27 Aug 2002, phper wrote:
> how do I read the contents of a file.
>
> $FileStream = fopen("webmaster/forum".$Forum."/forumtopics.txt", "w+");
> $line = fgetss
>I am getting data froma website for stock information. If I type in the
>brower the URL I get a text file display list this;
>
>Date,Open,High,Low,Close,Volume
>16-Jul-02,7.92,8.10,7.68,7.82,605500
>15-Jul-02,7.98,8.02,7.59,8.02,577200
>12-Jul-02,7.80,8.00,7.57,7.95,411100
>11-Jul-02,7.82,7.94,7.
2 matches
Mail list logo