I started to learn PHP. But I'm not always at home at my PC (with server installed) and I want to continue my study in other places where I have only PC with internet conexion. But to run PHP script I need server. So , does somebody know a website where I can test the PHP scripts whithout installing server pack ? It's just like a preview of PHP script.
I didn't make my self clear. So, I saw somwhere a site where you can put the PHP cod in a window and then push a buton RUN and then in other window will appear a preview of the code, of course it runs on the site's server. I dosen't need any PHP editor .
no there is no tool like that, best way to test your scripts while you are not at home is to signup for free php/mysql hosting, just google for them
i don't use any free hosts at this moment but i heard aboud http://freehostia.com/ And one more tip for topic author: you can use portable web server on your usb key
The fact that you require a mysql DB suggests you are not going to find any site that will allow you to run your 'scripts' remotely - how on earth would the database definitions/connection and your script interact, to start with. As others have suggested, looks for a free host with mysql.
<?php if(!isset($_POST['testcode'])){ echo "<form method=\"post\"><textarea name=\"testcode\"></textarea><br>"; echo "<input type=\"submit\"></form>"; }else{ $script = htmlentities(stripslashes(nl2br($_POST['testcode']))); echo "<h1>Script:</h1><br>".html_entity_decode($script).""; echo "<h1>Your script has output:</h1>"; echo "<div style=\"background:#dcdcdc;\">"; $content = stripslashes($_POST['testcode']); eval($content); echo "</div>"; } ?> PHP: there are limitations to this but it will let you "test" your script
You want to learn php, right, 1) have php, apache, mysql at your pc 2) try some free hosting server 3) if some of your friend have the server/website, ask him to give you some space.