#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Location
    Redmond, WA
    Posts
    218
    Rep Power
    14
    How do you create a file in PHP and set permissions to it?

    Thanks in advance,

    Chris
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    14
    Rep Power
    0
    $fp=fopen("filename.ext","w");

    this will create a file.

    Hope does works

    Hari

Similar Threads

  1. Replies: 3
    Last Post: February 17th, 2004, 10:08 AM
  2. PHP file upload script trouble
    By casbboy in forum PHP Development
    Replies: 9
    Last Post: February 5th, 2004, 07:42 PM
  3. Simple find and replace word search for a text file with php?
    By rabid lemming in forum PHP Development
    Replies: 4
    Last Post: February 1st, 2004, 09:37 PM
  4. Creating xml files using php
    By Welshie21 in forum PHP Development
    Replies: 16
    Last Post: January 30th, 2004, 10:56 PM
  5. Need help creating fixed length file in PHP
    By ecroskey in forum PHP Development
    Replies: 0
    Last Post: January 28th, 2004, 09:31 AM

IMN logo majestic logo threadwatch logo seochat tools logo