|
|
|
|
![]() ![]() |
Jun 16 2005, 01:24 PM
Post
#1
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 1 Joined: 16-June 05 Member No.: 6,283 |
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??
This post has been edited by microscopic^earthling: Jun 16 2005, 02:24 PM |
|
|
|
Jun 16 2005, 01:37 PM
Post
#2
|
|
|
Premium Member Group: Members Posts: 208 Joined: 6-September 04 From: England Member No.: 315 |
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:
CODE <?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. This post has been edited by vizskywalker: Jun 16 2005, 04:38 PM |
|
|
|
Jun 16 2005, 02:56 PM
Post
#3
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 1 Joined: 16-June 05 Member No.: 6,283 |
Thanks
|
|
|
|
Jun 16 2005, 11:13 PM
Post
#4
|
|
|
Member [ Level 1 ] Group: Members Posts: 39 Joined: 31-May 05 From: Milford, CT Member No.: 5,650 |
QUOTE 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: www.scriptlibrary.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
|
|
|
|
Jun 17 2005, 06:36 AM
Post
#5
|
|
|
Advanced Member Group: Members Posts: 173 Joined: 22-March 05 From: Hyderabad,India Member No.: 3,155 |
QUOTE 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...??? |
|
|
|
Jun 17 2005, 08:03 AM
Post
#6
|
|
|
Premium Member Group: Members Posts: 230 Joined: 15-May 05 From: your sister Member No.: 5,102 |
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: QUOTE "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: http://www.apachefriends.org/ GreetingZ This post has been edited by jipman: Jun 17 2005, 08:12 AM |
|
|
|
Jun 17 2005, 11:53 AM
Post
#7
|
|
|
Member [ Level 1 ] Group: [HOSTED] Posts: 43 Joined: 15-September 04 Member No.: 610 |
Thanks everyone. Can I use Microsoft Front Page for creating php files?
|
|
|
|
Jun 17 2005, 12:09 PM
Post
#8
|
|
|
Advanced Member Group: Members Posts: 196 Joined: 17-June 05 From: Topi,Swabi,NWFP,Pakistan Member No.: 6,301 |
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 book Learning any new programming language is better done by a book than online tutorials. |
|
|
|
Jun 17 2005, 03:55 PM
Post
#9
|
|
|
Premium Member Group: Members Posts: 208 Joined: 6-September 04 From: England Member No.: 315 |
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! |
|
|
|
Jun 29 2005, 03:49 AM
Post
#10
|
|
|
Newbie [ Level 2 ] Group: Members Posts: 13 Joined: 29-June 05 Member No.: 6,692 |
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://www.zend.com/php/beginners/index.php It's fun to read and good for giving you a general idea of what to expect. Just read it quickly one time through. |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 30th August 2008 - 12:51 PM |