
August 7th, 2002, 10:21 AM
|
 |
Contributing User
|
|
Join Date: Apr 2007
Location: UK
Posts: 55
Time spent in forums: 17 m 53 sec
Reputation Power: 2
|
|
|
Curios extra text
I recently got a webserver sorted to play on and can now run php from the command line - yay! Also quite usefully I found this:
php -s test.php
which produces lovely coloured text that would have made previous coding so much easier to debug. But I get:
<?php
//open file
$wordlist = fopen (" wordlist.txt", "r ");
/ / read each word into and array.
while (!feof ($wordlist )) {
$buffer = "";
&n bsp; $buffer = fgets($wordlist, 50);
&n bsp; echo "$buffe r";
}
; fclose ($wordlist);
< /font>?>
Now I see ' &n bsp;' preceeding some lines, and I didn't put them there, I'm curious and would like to know why they are they, what they are etc..
Server knowledge and experience on my side is "yes there are servers" and thats about it, its an apache server running on -I believe - Linux, if that makes any difference.
|