Jump to content

File Manipulation


rickb

Recommended Posts

I'm pretty usless with PHP, so i guess i need a little help :(

I need a way of editing the contents of a .txt or .html file using and form intergrated with a PHP script, but i can't seem to find a way of doing it!

I tried using a script found in the 'PHP code library' but i had not much sucess with it...

Script: [a href=\"http://www.phpfreaks.com/quickcode/Reading-in-Files-from-a-Directory-and-Editing-Them/68.php\" target=\"_blank\"]http://www.phpfreaks.com/quickcode/Reading...ing-Them/68.php[/a]

The page using the script: [a href=\"http://dirtydiamond.srcom.info/test.php\" target=\"_blank\"]http://dirtydiamond.srcom.info/test.php[/a] , the files and the edit link appear but when you click the edit link it doesn't do nothing... as i said before i aint to savvy with PHP so i can't find out whats wrong with it!

Any help is welcomed!

cheers
rick
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.