Page 1 of 1

index editing!

Posted: Sat Jun 26, 2004 11:22 am
by Joe
Is there any way to edit the index.php page from your admin panel. I set something up which grabs the source and puts it into a textarea where it can then be submitted after changes have been made. The only problem is when the update is complete and I head to my index.php page it says a load of errors and inside the file there is slashes between quotes. Is it possible to bypass this?

Posted: Sat Jun 26, 2004 11:45 am
by John Cartwright
[php_man]stripslashes[/php_man]

or
[php_man]preg_quote[/php_man]

Posted: Sat Jun 26, 2004 11:50 am
by Joe
OK worked a treat. Thanks man!