Categorized | PHP

PHP Tutorial: Installation and The Basics

Posted on 19 February 2010 by Abidoon


To get php and apache installed use xampp. xampp is free and contains php / apache (around 33mb) 1. Download and Install XAMPP from here: www.apachefriends.org 2. on windows go to C:\xampp it should have a folder called htdocs. If you put a file called foo.html into the htdocs folder you should be able to access it by going to localhost or /foo.php. There’s also something called WAMP www.wampserver.com There’s a lot of php tutorials out there just search google www.google.com Request tutorials here youtube.jimmyr.com More PHP tutorials here killerphp.com Some people have recommended other editors www.scintilla.org www.pspad.com en.wikipedia.org www.context.cx %%programming

Tags | , ,

25 Responses to “PHP Tutorial: Installation and The Basics”

  1. anjaneai says:

    Good Job Dude … Superb .. U made me learn a bit .. Thanks! from India

  2. viktorsundberg says:

    @cappew22

    Of course

  3. deejayedwards says:

    @cappew22 Yeah you can have them both in the same file (.php file). You can even have them completely weaved in with each other.

  4. nuclearpsyche says:

    great example for the boolean conditional!

  5. smwExpert says:

    Yes.

  6. cappew22 says:

    Can i mix HTML and PHP?

  7. Shinykangaroo says:

    @Yarikus23 Yeah, at least it does here.

  8. Yarikus23 says:

    Does xampp work properly on Windows 7?

  9. flameof2142 says:

    hello guys wts up ?? i really need a good tutorial to learn php from the basic this is good but not enough ! so plz recommend something!

  10. AcuteGaming says:

    @AllphrncMetactzn No problem if you need any help just send me a message or comment on a video, I’ll be glad to help. :D

  11. AllphrncMetactzn says:

    @AcuteGaming Thanks very much, I can’t understand very well yet but I’ll continue learning html and when I learn it well I’ll give PHP a try

  12. AcuteGaming says:

    @AllphrncMetactzn PHP and HTML are not to be compared. They are totally different languages, designed to be used together.

    HTML – used for presentation on your site, along with style sheets.

    PHP – scripts executed on the server to allow dynamic features like logging in etc.

    Thats it put very briefly. You should learn HTML first then PHP to use along with your HTML.

  13. septictesticle says:

    Yeah the only downside is that the parser is looking for a var that isnt there, slowing the script down, wont make much of a difference unless your writing big scripts to be honest.

    Good practice though, when i used to code if i used vars in double quotes I used it like so “This is my {$var}”.

  14. inerd2 says:

    If your on mac/linux there is MAMP, all though I suggest clearing your cookies/cache and re-download the XAMPP as it was most likely due to a download error.

  15. inerd2 says:

    Well put!

  16. AllphrncMetactzn says:

    what’s the advantage of PHP over html?

  17. flash4real says:

    Amen to that !

  18. flash4real says:

    You have to go to localhost, and then navigate to the php file from there.

  19. flash4real says:

    If html is the outer part of a car that looks nice, php would be the inner gears.

    I hope you know what html is O.o

  20. flash4real says:

    Facebook.

    But Facebook uses other languages as well.

  21. flash4real says:

    @septictesticle

    Its not wrong strictly speaking, just inconvenient.

  22. flash4real says:

    @bas24680

    A string simply means a piece of text, for example:

    “Dog”
    “Food”
    Etc…

    A var, denoted by the “$” in php, means a variable, and can store pretty much anything.

    Hope that helps :)

  23. rahulxxx2000 says:

    man it not installing it says some files are curropted so please suggest me a alternative to xampp thankyou ur tutorial is great

  24. CodecallTutorials says:

    good tut, for everyone into programming, check out

    Codecall(.)net

    It’s the largest programming forum on the net

  25. Sinisa161 says:

    Hey man i have problem i have been installed XAMPP and wenn i go to localhost my browser say: This site can not be load” Why say it Please Help me


Leave a Reply

 

February 2010
M T W T F S S
« Oct   Mar »
1234567
891011121314
15161718192021
22232425262728