By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,987 Members | 1,592 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,987 IT Pros & Developers. It's quick & easy.

Can you write to a text file with php?

P: n/a
Hi,

Is it possible to have a php script that creates a text file on it's
host server... something like a print to file or write to file?

What I want to do is have a php script that creates a html file rather
than just echoing text to the screen.

thanks
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Ti**@tino.com" a écrit le 12/12/2003 :
Hi,

Is it possible to have a php script that creates a text file on it's
host server... something like a print to file or write to file?

What I want to do is have a php script that creates a html file rather
than just echoing text to the screen.

thanks


RTFM... see signature.
fwrite() is your friend

--
Have you read the manual?
http://www.php.net/manual/en/

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.