|
Posted by Martin Leese on 12/24/07 18:13
shror wrote:
> Hi every body,
>
> What I am trying to do is to create a tutorial for my beginning
> students for JavaScript and PHP, using a very simple online editor
> like the one @ w3schools
> So the left window will be the text file code, such as
>
> <html>
> <body>
> <script>document.write("This is a test.");</script>
> </body>
> </html>
>
> And the right hand window would display
>
> This is a test.
>
> User can change the text file to make it display differently.
>
> If the left hand side has PHP file, I just want it to be displayed as
> a server-processed file, but not to endanger the system, any way to
> avoid it from danger or hacking??
Use PHP CLI (Command Line Interpreter). That
way the PHP processing goes nowhere near the
server.
--
Regards,
Martin Leese
E-mail: please@see.Web.for.e-mail.INVALID
Web: http://members.tripod.com/martin_leese/
Navigation:
[Reply to this message]
|