Jump to content

Archived

This topic is now archived and is closed to further replies.

Spixxx

PHP File Editor Help

Recommended Posts

First off, here's a link to my code, because I dont know but it wont post the topic if I include it...I have no idea why:

[a href=\"http://www.fefusion.net/spx/code.txt\" target=\"_blank\"]http://www.fefusion.net/spx/code.txt[/a]

Everything works its just that when I edit the file in the second page, the...

[code]
echo "<input type='hidden' name='data' value='$data'>";
[/code]

...messes up the second page and displays random input buttons, text, etc

What other way can I do this while still preserving the orginal $data before replaceIn() and use the old $data for the next page?

Share this post


Link to post
Share on other sites
My bad my server was acting up, the link should work now...

If you have questions IM me at nitejag.

Share this post


Link to post
Share on other sites
I got help from another forum, but as of now disregard the above, I have one last question on this subject

My huge code:

[a href=\"http://www.fefusion.net/spx/code.txt\" target=\"_blank\"]http://www.fefusion.net/spx/code.txt[/a]

Here's what it does, forget the bottom part, but at the top...
The beggining form shows an input box and a dropdown to specify wether the file is a backup file
If it is, then it does its own thing, and forgets the bottom part, which would be if it WASNT a backup file
It goes to a new page, posts the backup/$filename in a textarea, and you can edit/save it.
But when I click save, it doesnt save and it disregards this whole section:

[code]
if($submit3 == "Save"){BLAH}
[/code]

...and doesnt save or echo $filename Updated, just goes back to the first form, which was if(!$submit1){}

I know its long and everything but it would be greatly appreciated if someone would tell me what I did wrong...probably some small mistake grr...

Thanks.

Share this post


Link to post
Share on other sites

×

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.