Jump to content
xisto Community
Sign in to follow this  
green nonstop

Need Help With Getting Started On Php

Recommended Posts

I want to learn php, and as I am a complete idiot, I really need some help with getting started.. I have read some tutorials and such, but I just don't seem to be getting anywhere. I have a host that supports php, and I want to use it on my website. I have read that I will have to install php, apache, mySQL and all that on my computer. Is it really necessary to do all that when I am not hosting it myself? Also, I don't know at all what kind of editor to use for making my webpages in php:(.. Help anyone??

Edited by microscopic^earthling (see edit history)

Share this post


Link to post
Share on other sites

OK. I'm sure your not a complete idiot. Tutorials will help you a great deal and they are probably the most helpful tool when learning something. I would suggest downloading the PHP Manual from PHP Freaks. There are some great beginner and "all you need to know" tutorials in the Tutorials section so you should look there. We all suggest installing PHP, Mysql and Apache on your system so you can test and still code PHP when you are not online also you dont have to keep uploading the script everytime you update it. It is just extremly convenient having it all installed on your system. You can use any editor while making PHP pages the only difference is you have to include all things PHP within:

<?php        CODE HERE?>

in a .php page. If a page has PHP in it it must be saved with the .php extention like file.php. There are some editors out there for scripting PHP but i dont know of any at the moment. I am sure others will know they have been mentioned here before.

Good luck.
Edited by vizskywalker (see edit history)

Share this post


Link to post
Share on other sites

I want to learn php, and as I am a complete idiot, I really need some help with getting started.. I have read some tutorials and such, but I just don't seem to be getting anywhere. I have a host that supports php, and I want to use it on my website. I have read that I will have to install php, apache, mySQL and all that on my computer. Is it really necessary to do all that when I am not hosting it myself? Also, I don't know at all what kind of editor to use for making my webpages in php:(.. Help anyone??

i, myself, do not know PHP. however, for a great site to learn it, check out:

http://searchnow.com/

that site has many scripts, programs, and tutorials for PHP, HTML, Java, Javascript, perl, and so much more.

hope that helps!

zack

Notice from vizskywalker:
when you copy someone's text be sure to quote it

Share this post


Link to post
Share on other sites

OK. I'm sure your not a complete idiot. Tutorials will help you a great deal and they are probably the most helpful tool when learning something. I would suggest downloading the PHP Manual from PHP Freaks. There are some great beginner and "all you need to know" tutorials in the Tutorials section so you should look there. We all suggest installing PHP, Mysql and Apache on your system so you can test and still code PHP when you are not online also you dont have to keep uploading the script everytime you update it. It is just extremly convenient having it all installed on your system. You can use any editor while making PHP pages the only difference is you have to include all things PHP within:

How do i install all that on my PC??? Can someone provide the links to the downloads...???

Share this post


Link to post
Share on other sites

It's not absolutely necessary to install Apache and PHP on your computer, but if you don't, you can't test your websites before uploading them to your webspace.

 

The easiest way to install the whole thing in one run is XAMPP from Apachefriends. You have one .exe-file and simply install it, that's all.

 

Taken from their website:

"Many people know from their own experience that it's not easy to install an Apache web server and it gets harder if you want to add MySQL, PHP and Perl. XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use - just download, extract and start."

You can find it here:

https://www.apachefriends.org/index.html

 

GreetingZ

Edited by jipman (see edit history)

Share this post


Link to post
Share on other sites

php files are just plain text files . You can use any thing which can write plain text files for that matter (front page is ok , but i would recomend jedit a free editor written in Java)If you really want to learn PHP you should invest in some good book. I would recomend Wrox publisher Beginning PHP4 or 5.Then you can always go on to the next level. The time you would spend on learning from unfinsied tutorials and the problems which they would create is not worth saving money for a bookLearning any new programming language is better done by a book than online tutorials.

Share this post


Link to post
Share on other sites

nakulgupta: i have installed EasyPHP, it have PHP, Mysql and Apache Server. It works fantastically for me. Link:Easy PHP

Read the FAQs and the documentation provided it may help you alot in configuring it as i did.

Books have never worked for me!

Share this post


Link to post
Share on other sites

I use EasyPHP too. I think it's really quite good to have PHP enabled server right at your computer. That way, things happen a lot quicker, don't have to
wait long at all for uploading scripts before seeing if they worked. One script here, one script there it all adds up.. can be frustrating. I learn better when I can immediately try out what I've just learned.

EasyPHP's latest version 1.8 allow you to select between php5 and php4. I have given much thought about switching to XAMPP from apachefriends.org but have not come ot it yet, I was wondering if it's possible to have EasyPHP and XAMPP running side by side on the same computer? Anyone has have EasyPHP and XAMPP on the same computer before, care to share your experience?

Regarding getting good at PHP, for me I liked this beginners tutorial from Zend's site http://forums.xisto.com/no_longer_exists/ It's fun to read and good for giving you a general idea of what to expect. Just read it quickly one time through.

Share this post


Link to post
Share on other sites

The way I learnt php and html is peeking at other's works :lol: Just search for scripts you need, try and understand all the scripting and all the commands, then try script your own. Don't choose a hard script though :lol:Also, you may get a php website creator if you don't want to learn the language fully. There's lots of tutorials out there too.

Share this post


Link to post
Share on other sites

Hey this is a very great thread! I posted my own thread a while ago asking the same question lol. Perhaps I should of looked through the site throughly. In any event, these links seem to be of great help so I'm off to start to try and design my own php based website. Thanks for all the helpful links :lol:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.