|
|
#1 (permalink) | |
|
Moo indeed.
Join Date: Dec 2002
Location: In a grassy field :D
Posts: 140
|
PHP fputs() error; working on Home Grown IIS5.1 server
Hey guys,
Problemo: PHP Code:
Quote:
Thanx for help. K-C
__________________
|
|
|
|
|
|
|
#2 (permalink) |
|
Da House Nerd
Join Date: Dec 1969
Location: One CPU Lane
Posts: 3,512
|
LOL:
2 $file = 'txt.txt' ; 3 $fp = fopen($file, "w") ; 4 $hello = "Hello Writing File" ; 5 fputs($file, $hello) ; 6 fclose($fp) ; look closely at line 5, it should read fputs($fp, $hello); ![]() small mistake, lots of nosehair being pulled out
__________________
Linux virusscanner detected a virus: Windows 95 ... delete [Y/n] y ~ ~ :wq |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|