Page 2 of 2
Re: PHP Basics
Posted: Fri Aug 21, 2009 9:35 am
by tabutcher
I use notepad as well and find that you learn to pick up errors better than if you used an IDE that highlighted or underline your syntax. Only problem with notepad is that there is no option for viewing line numbers for when your debugging.
Re: PHP Basics
Posted: Fri Aug 21, 2009 9:37 am
by Eran
I use notepad as well and find that you learn to pick up errors better than if you used an IDE that highlighted or underline your syntax.
How does that make sense? syntax highlighting is a major visual aid
Re: PHP Basics
Posted: Sat Aug 22, 2009 6:01 am
by jackpf
Why do you use notepad? Most real editors are free.
Re: PHP Basics
Posted: Sat Aug 22, 2009 6:06 am
by juma929
Hello,
I've already explained why I personally use notepad on certain occasions, not just for the reason of being used to using it for all this time. If you enable the status bar in notepad by the way you can see line numbers but only when you select the line, a few random clicks and you get to the line pretty quickly.
I use Notepad++ at home and for certain clients but as I say there are occasions (more often than you would think) where I have to use notepad, but its not a problem.

Re: PHP Basics
Posted: Sat Aug 22, 2009 6:32 am
by jackpf
Yeah, I understand why you use notepad...but that's because you have to right?
But surely no one would use it out of choice
I was just wondering why tabutcher used it instead of something better.
Re: PHP Basics
Posted: Sat Aug 22, 2009 6:42 am
by juma929
Hello,
Ah okay

. Yeah I have to in certain circumstances due to certain clients software installations. I could put notepad++ on a usb stick and run from there but certain types of organisations such as Insurance etc arnt too keen on plugging things into their systems!

Re: PHP Basics
Posted: Sat Aug 22, 2009 12:43 pm
by Christopher
karthik.sreenivasan wrote:Thanks for the reply.
Currently I am using Eclips IDE for PHP. I see that there is an option CTRL+F9 which is run but when I run it it says (Action Cancelled). What does this infer. I tried to make some settings but it seldom works. How am I supposed to link php compilters to the Eclips ?
Am I basically going wrong somewhere ?
As someone said above, PHP does not use a compiler. When you request a PHP script with a browser (e.g.,
http://www.example.com/foo.php) the webserver will run the script with the PHP interpreter automatically.
karthik.sreenivasan wrote:If there is a step by step procedure for running the PHP code it would be of great help!!!
e.g.
1. Write PHP code.
2. Run server. 3, 4, 5 and so on...
I just want to write a simple PHP code to print on the screen(ECHO).
For a remote web server you might do:
1. Edit the PHP file
2. Copy it to the web server
3. Refresh the browser
Many programmers run a local webserver on the localhost domain. If you do that then:
1. Edit the PHP file
2. Refresh the browser
3. Repeat 1 and 2 until done
4. When done then copy it to the web server
Re: PHP Basics
Posted: Tue Aug 25, 2009 3:24 am
by karthik.sreenivasan
Thanks for the reply.
I just have one final clarification. Where do I get PHP Compiler which gets embeded into the browser ? Is it a software which gets attached or a explicit web server ? I think if I know this then I can start right away ?
Thanks in advance.
Re: PHP Basics
Posted: Tue Aug 25, 2009 6:22 am
by jackpf
PHP has nothing to do with the browser.
It's
SERVER SIDE!!!
I think most people install it as an apache/IIS module, but you can use it as CGI binary as well.
Re: PHP Basics
Posted: Tue Aug 25, 2009 9:12 am
by klevis miho
I have used notepad, notepad++ and some other editors around.
But now im using dreamweaver, i think it's the best.
Re: PHP Basics
Posted: Wed Aug 26, 2009 3:39 am
by Christopher
PHP is a server side language that is use to create data to send to browsers. That data is usually HTML+CSS+Javascript, but could be XML, JSON, RSS, PDF, delimited data, etc., etc., etc. PHP can also reveive a request from a browser with GET and/or POST data, plus header information.
Re: PHP Basics
Posted: Sun Aug 30, 2009 10:23 pm
by karthik.sreenivasan
Thanks guys. I finally figured out to work with PHP with the information you have provided. Thanks.
I just have a small query. How does JQuery corelate with PHP ?