SunQuest
           Older Contests
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP ContestsOlder Contests

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old August 7th, 2002, 10:21 AM
postmoderngoblin's Avatar
postmoderngoblin postmoderngoblin is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: UK
Posts: 55 postmoderngoblin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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.

Reply With Quote
  #2  
Old August 7th, 2002, 10:22 AM
postmoderngoblin's Avatar
postmoderngoblin postmoderngoblin is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: UK
Posts: 55 postmoderngoblin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 53 sec
Reputation Power: 2
RE: Curios extra text

Damnit, I got the wrong forum, sorry folks.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP ContestsOlder Contests > Curios extra text


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

IBM developerWorks




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway