views:

92

answers:

2

I am using codepad.org and ideone.com for sharing my php code with others and using jsfiddle.net to share my jquery code with others.

Now I want to share a php script with others in which a form submission work is done. In my local machine I have two files. 1. myform.php(contain form) 2. _myform.php(action on form submission). How can I share this type of code online in running position.

So is there any online php compiler in which I can use multiple php files and jquery will be a plus.

Thanks

A: 

If you want a live online web-enviroment (as in: a live website which accepts code from an unknown source and execute it), the awnser is short: no.

The security risks are just too great.

Laurens Ruijtenberg
+2  A: 
  1. Sign up for a free PHP hosting on http://www.byethost.com/ or http://www.freehostia.com/ or any similar site.
  2. Upload your code there. It will run like a website.
  3. For sharing, upload the code with .txt extension appended like myfile.php.txt.
shamittomar