SRL Archive - Web Development

Need to test php code


Neehosoft

2009-11-13 18:24:04

I don't want to install apache for 30 lines of code, and i dont want to upload just yet.
Is there a website online code thing where i can test my php?
For example, i type it and it shows me an example like W3Schools.com does for html?

Rick

2009-11-13 18:29:16

Like this: http://www.writecodeonline.com/php/

Neehosoft

2009-11-13 18:30:22

From: r!ch!e
Like this: http://www.writecodeonline.com/php/


Edit:
It's giving me a error. Im pretty sure this is php code, it was given to me by Sex without any other words or discription.
[PHP]<form method="get" action="http://www.google.com/search"><input type="text" name="q" size="31" maxlength="255" value="" /><input type="submit" value="Search" /></form>[/PHP]
and it was wrapped in php tags.
But im getting a unexpected < error

Rick

2009-11-13 18:46:43

Thats HTML

Neehosoft

2009-11-13 18:49:22

From: r!ch!e
Thats HTML


Never knew html took it that far.:duh:
Thanks lol….

Wizzup?

2009-11-13 18:50:08

Show us the code? :)

Smartzkid

2009-11-13 19:51:47

XAMPP Portable

Daniel

2009-11-13 20:22:14

http://codepad.org/

Try it ;)

Harry

2009-11-13 22:05:17

You can also use PHP CLI; in Ubuntu it is as: `php file.php'; no webserver required! :)

code841

2009-11-14 00:14:41

http://www.meandeviation.com/tutorials/learnphp/php-syntax-check/
PHP syntax checker? Is that it?