Hello,
I have a script which uses mkdir() to generate user folders on registration, is there a similar function for file creation? I would like the script to create a redirect file for the folder generated by mkdir() upon user registration, any ideas?
Thanks,
Jason
what do you mean a redirect file? if you want to create something that redirects to a fle or folder, use symlink()
If you just want to make a file, look into fopen(), fwrite(), and fclose(), or just use file_put_contents().