View Single Post
  #2 (permalink)  
Old 2003-09-12, 01:35 AM
Bob
Guest
 
Posts: n/a
Default

By using

function dec_string($string) {
return stripslashes($string);
}


function enc_string($string) {
return stripslashes($string);
}

in functions.php seems to resolve the problem.

Apache would not execute files that end with .s as PHP files; in fact, it outputs the contents of the snippet right into the browser, just as with a regular text file
(and the contents of the directory could be filtered out/hidden from direct view with .htaccess).
Is there anthing else that I should be aware of?

Another thing is that I am thinking about is integrating some of the ideas found in php.ide, so you are able to run/debug the scripts in a separate window.

It is nice that there in no security authentication scheme implemeted; it makes it easier to custom build this part (with .htaccess or MySQL for example).


Thanks.
Bob
Reply With Quote