MadnessRed Posted May 20, 2008 Share Posted May 20, 2008 OK, I dont want any error message or anything like that, i jsut want to write $f1u to $url1 where $f1u is the test i want to write and $url1 is the file name. Also what should I chmod the file to? i want it to be writable by anyone provided the script it on my website? Thanks Anthony Link to comment https://forums.phpfreaks.com/topic/106478-really-basic-write-script/ Share on other sites More sharing options...
BlueSkyIS Posted May 20, 2008 Share Posted May 20, 2008 what code have you got so far? Link to comment https://forums.phpfreaks.com/topic/106478-really-basic-write-script/#findComment-545755 Share on other sites More sharing options...
MadnessRed Posted May 20, 2008 Author Share Posted May 20, 2008 $handlef1u = fopen($f1u, 'w'); fwrite($handlef1u, $url1); Link to comment https://forums.phpfreaks.com/topic/106478-really-basic-write-script/#findComment-545759 Share on other sites More sharing options...
BlueSkyIS Posted May 20, 2008 Share Posted May 20, 2008 there you go! i guess i'd chmod the file to 755, if you can. Link to comment https://forums.phpfreaks.com/topic/106478-really-basic-write-script/#findComment-545762 Share on other sites More sharing options...
MadnessRed Posted May 20, 2008 Author Share Posted May 20, 2008 kl thanks btw who is the owner group and public in chmod? Link to comment https://forums.phpfreaks.com/topic/106478-really-basic-write-script/#findComment-545774 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.