This option will reset the home page of this site. Restoring any closed widgets or categories.

Reset

PHP Tutorial: Installation and The Basics


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 …

Related posts:

  1. PHP Tutorial #1 – Covering the basics

26 Comments

  1. 123Toblerone123

    Perfect Job !!! Thank you very much.

  2. lenghorne

    Just some minor details I would like to know. Can I save the index.php anywhere on the computer and have it opened in the browser. Could someone explain to me please where and how to save the PHP files to see them in the browser

  3. WindowsOS8

    haha i have your ip address

  4. jimmyrcom

    oh god no, please don’t attack 127.0.0.1 at full force

  5. Allroundeath

    @jimmyrcom lol……

    THE WORLD WILL EXPLODE IF YOU ATTACK IT!! D; xD idiot… 127.0.0.1

    Seriously… You’ll attack yourself…

    I quote ”127.0.0.1 is the standard IP address used for a loopback network connection.

    This means that if you try to connect to 127.0.0.1, you are immediately looped back to your own machine.”

  6. jimmyrcom

    you’re right, my IP is actually 192.168.1.100 , please don’t attack it, I just set my router and firewall on bypass

  7. carlsalonga1

    @Allroundeath

    i believe he was being sarcastic.. i think..

  8. busybjorn

    1: I personally think XAMPP is for people that don’t want to learn how to set up Apache, PHP and MySQL. It’s really not that difficult.

    2: Short tags are unsupported as of PHP5. That’s a good thing.

    3: Putting variables inside strings does work but isn’t very neat according to many coders.

  9. ColdFire417

    Haha! You’re hilarious.

  10. TheDragonfiles

    please answer.

    i got xampp installed in my laptop. and it loads those html and php files.

    but when i tried to make a simple php file using notepad and saved is as document.php and saved it to htdocs then loaded it.
    it displays file not found

  11. elwoodetubes

    But what is PHP used for? I mean a practicle example?

  12. yojayy

    Dynamic website development. It’s everywhere.

  13. elwoodetubes

    oh thanks, I’ve been in a nuclear bunker for the last 10 years in case of imminent war!

  14. locdown120

    log ins, registration forms and more stuff like that

  15. secondincomefast

    PHP membership for your website, very affordable
    phpmember . com

  16. lowkey567

    it was used to create facebook

  17. weyzer01

    pretty much every site has it. If you’re on a site with boxes where you fill in any kind of information, php is used. (all sites where you can register or search and so on)

  18. TheRuffy94

    xampp slow yours computers :S

  19. bas24680

    you have to end a echo to put a string in it
    like this:

    echo “hello youtube “.$str;

    or

    echo “hello youtube “.$str.”and continue”;

  20. septictesticle

    Wrong, double quotes are meant for strings that contain variables.

  21. BrainTweaker93

    Nice man! Nice example on bushissmart=”false” xD

  22. wasitrealy

    Reminds me of C# its the “;”

  23. KnightSama

    I use wamp, I have seen no issues yet.

Trackbacks and Pingbacks