Jump to content


php create file?


4 replies to this topic

#1 Av-

    I Feel Left Out

  • Members
  • PipPipPipPip
  • 1,971 posts
  • Gender:Male
  • Location:10 ft. below sea level

Posted 22 September 2005 - 11:32 AM

i know its possible to write to a file using php, but is it also possible to actually create a new file using php??

#2 Ruben K

    Cliff

  • Twodded Staff
  • PipPip
  • 438 posts

Posted 22 September 2005 - 12:51 PM

yes.

#3 Av-

    I Feel Left Out

  • Members
  • PipPipPipPip
  • 1,971 posts
  • Gender:Male
  • Location:10 ft. below sea level

Posted 22 September 2005 - 01:47 PM

lol, and could you tell me how?

#4 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 22 September 2005 - 03:24 PM

Well, you know how to write to a file correct? Same concept (same function even :D).
http://php.net/manua...ction.fopen.php

A little reading brings you to mode "x"

#5 Av-

    I Feel Left Out

  • Members
  • PipPipPipPip
  • 1,971 posts
  • Gender:Male
  • Location:10 ft. below sea level

Posted 22 September 2005 - 03:42 PM

thanks :D





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users