PlanetSquires Forums

Support Forums => General Board => Topic started by: Elias Montoya on March 09, 2010, 08:55:33 PM

Title: Getting started with php, need advice.
Post by: Elias Montoya on March 09, 2010, 08:55:33 PM
 Hello Guys,

Last night i was taking a look at php (because PBCC cgi's are not allowed by  my web host),
and i think its pretty simple and strightforward.

So i plan to start converting a cgi i have to php. Now, the question is, Do you guys recomend
a specific php editor? will notepad do? something to test them locally? any advice you might have?

Any input is greatly appreciated.

Thanx!
Title: Re: Getting started with php, need advice.
Post by: Brian Chirgwin on March 09, 2010, 11:31:13 PM
I recommend UltraStudio http://www.ultraedit.com/ for more than just php.

Free trial. UltraEdit is a little cheaper, but has fewer features.


Title: Re: Getting started with php, need advice.
Post by: Rolf Brandt on March 10, 2010, 05:05:16 AM
I am using PSPad for php, it is free. You might want to give it a try.

http://www.pspad.com/ (http://www.pspad.com/)
Title: Re: Getting started with php, need advice.
Post by: Ivan Iraola on March 10, 2010, 09:22:57 AM
I use Notepad++ (http://notepad-plus.sourceforge.net/uk/site.htm), not only for PHP but also JavaScript.

It's free, lots of features and small.
Title: Re: Getting started with php, need advice.
Post by: Roger Garstang on March 12, 2010, 11:07:55 AM
Notepad++ is nice. Helped me out a lot with nested brackets and parenthesis issues. HTML Kit is also pretty good for HTML...although it doesn't help with PHP as much other than highlighting. PSPad looks interesting too, going to download it now.

As far as PHP books go, the Larry Ullman books are all very good. I bought [PPH for the Web: Visual Quickstart Guide] and really enjoyed it. I looked at all of them and it had the most range covered without focus on just one thing like MySQL, etc. After reading it I mostly just use the CHM files for PHP and MySQL now and get great results.
Title: Re: Getting started with php, need advice.
Post by: Rolf Brandt on March 12, 2010, 11:14:01 AM
You might want to check this site:

http://www.w3schools.com/php/default.asp (http://www.w3schools.com/php/default.asp)

Lots of code, tutorials, and examples.
Title: Re: Getting started with php, need advice.
Post by: Elias Montoya on March 12, 2010, 02:02:34 PM
 Hello guys, thank you for all the input! i tested all therecommendations and for now im settled with PSPad,
i think its nice and hasnt given me any troubles in the couple days i have worked with it. In case of problems
i have options.

Rolf, thats the same link i am using since tuesday! :) I guess they are the best choice to learn Php.

Well, everything is going well, Php is a slightly diferent language but not hard at all. Just less forgiving, specially
when you forget to add those pesky ; characters. :)

As for MySQL, i love the funcionality in php. After only 3 days and i am already kind of fluent in php language.
Its kind of like c.

Anyway, maybe i am doing things wrong, but i am storing forms in a MySQL TEXT field, from there i just load them and modify them as i need. This is more or less what i was doing in PBCC, but instead of storing the form in a database, i stored them in resources.

Is this an acceptable way to do it or is there a best way?


Edit:
I typed SQLite instead of MySQL twice!  :-[


Title: Re: Getting started with php, need advice.
Post by: Elias Montoya on March 13, 2010, 10:50:22 PM

Hello, i need to compile my php scripts, any recommendations?

:)
Title: Re: Getting started with php, need advice.
Post by: Rolf Brandt on March 14, 2010, 05:01:54 AM
This looks good to me:

http://www.zzee.com/phpexe/?r=google&group=1&ad=2

Haven't tried it though.