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:
Perfect Job !!! Thank you very much.
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
haha i have your ip address
oh god no, please don’t attack 127.0.0.1 at full force
@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.”
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
@Allroundeath
i believe he was being sarcastic.. i think..
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.
Haha! You’re hilarious.
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
win.
But what is PHP used for? I mean a practicle example?
Dynamic website development. It’s everywhere.
oh thanks, I’ve been in a nuclear bunker for the last 10 years in case of imminent war!
log ins, registration forms and more stuff like that
PHP membership for your website, very affordable
phpmember . com
it was used to create facebook
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)
xampp slow yours computers :S
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”;
Wrong, double quotes are meant for strings that contain variables.
Nice man! Nice example on bushissmart=”false” xD
Reminds me of C# its the “;”
Not mine!
I use wamp, I have seen no issues yet.