Re: [PHP] file problem

2003-06-20 Thread Jason Wong
On Friday 20 June 2003 16:23, Adina wrote: > I have this script named test.php: [snip] > This script dosen't work. I receive the following warning: > Warning: > file("http://www.google.fr/search?q=beautiful&hl=fr&lr=&ie=UTF-8&oe=UTF-8&s >tart=10&sa=N") - No such file or directory in test.php on l

[PHP] file problem

2003-06-20 Thread Adina
I have this script named test.php: http://www.google.fr/search?q=beautiful&hl=fr&lr=&ie=UTF-8&oe=UTF-8&start=10&sa=N'); // Loop through our array, show html source as html source; and line numbers too. foreach ($lines as $line_num => $line) { echo "Line #{$line_num} : " . htmlspecialchars($li

Re: [PHP] File problem - PHP Quest

2003-03-02 Thread Marek Kilimajer
Monil Chheda wrote: Hi, I have a problem in grabbing data from a file. I need to fetch data from raw log files and display it in a proper tabular manner. The log file contains: AWSTATS DATA FILE 5.0 (build 1.345) # If you remove this file, all statistics for date 2

[PHP] File problem - PHP Quest

2003-03-01 Thread Monil Chheda
Hi, I have a problem in grabbing data from a file. I need to fetch data from raw log files and display it in a proper tabular manner. The log file contains: AWSTATS DATA FILE 5.0 (build 1.345) # If you remove this file, all statistics for date 2002-12 will be lost/re

RE: [PHP] file problem

2001-09-22 Thread Niklas Lampen
You might mean \n. Line: $str = "This\nis a\nsample" would output: This is a sample Did it help? Niklas -Original Message- From: Nikola Weber [mailto:[EMAIL PROTECTED]] Sent: 22. syyskuuta 2001 0:35 To: php forum Subject: [PHP] file problem Hi ! Thanks for the quick

[PHP] file problem

2001-09-22 Thread Nikola Weber
Hi ! Thanks for the quick reply last time :) I stucked with the following :I made a log file, but when I open it in "a+" mode, the pointer is set on the end of file, in the same line. Is there anything like in html, or a command that puts a pointer in the new line ? One more question : Is it