Jump to content


Photo

Precheck the PHP code?


  • Please log in to reply
4 replies to this topic

#1 Lambi

Lambi
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 12 March 2006 - 07:59 PM

is it possible to precheck my poor PHP code before I upload it to my internet site?
if it is possible, how do I do it?

by the way, I'm new here.

#2 keeB

keeB
  • Staff Alumni
  • Advanced Member
  • 1,078 posts
  • LocationCalifornia

Posted 12 March 2006 - 08:07 PM

[!--quoteo(post=354272:date=Mar 12 2006, 07:59 PM:name=Lambi)--][div class=\'quotetop\']QUOTE(Lambi @ Mar 12 2006, 07:59 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
is it possible to precheck my poor PHP code before I upload it to my internet site?
if it is possible, how do I do it?

by the way, I'm new here.
[/quote]

Welcome!

What do you mean by pre-check your code..?

Come visit my site to see my latest projects
http://nick.stinemates.org/wordpress/


#3 Lambi

Lambi
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 12 March 2006 - 08:31 PM

make sure it works. You know when I'm learning PHP I don't just wanna host a simple echo command thing just to see if I learned it right...
do you understand?

#4 wickning1

wickning1
  • Members
  • PipPipPip
  • Advanced Member
  • 405 posts

Posted 12 March 2006 - 10:25 PM

The only real way to find out if a script is working is to try it out and see if you get what you expect. If you have a syntax error, it should come up and tell you so when you try to access the page.

You can always set up a test server, even on your home machine. You can try a XAMPP install:

[a href=\"http://www.apachefriends.org/en/xampp.html\" target=\"_blank\"]http://www.apachefriends.org/en/xampp.html[/a]

#5 Lambi

Lambi
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 13 March 2006 - 06:22 AM

Thank's I'll try that out.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users