Welcome Guest ( Log In | Register )




                Web Hosting

 
Reply to this topicNew Topic
Php Basics
Ky1e
post Aug 5 2006, 06:10 PM
Post #1


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 31
Joined: 4-August 06
Member No.: 14,968


Hey everybody, I was just wondering of the PHP basics. I fluently know html currently, but am having trouble understand PHP. I'd like to use PHP for the scripts such as stats, login, etc etc. Any tips would be much appreciated

-Kyle
Go to the top of the page
 
+Quote Post
seec77
post Aug 5 2006, 11:18 PM
Post #2


Advanced Member
Group Icon

Group: Members
Posts: 157
Joined: 16-May 06
Member No.: 13,476


Have you any previous programming knowledge? Becuase if so, I think that the best way for you to learn PHP would be by looking at other people's codes (like, try studying an installation of phpBB). PHP is really an easy language, syntax-wise, but if you want to go thuroughly, try the tutorial over at the PHP manual. Anyways, the PHP manual is really the best resource for the language. As for running PHP on your system, I've heard good things about XAMPP. Good luck on your endeavors!
Go to the top of the page
 
+Quote Post
Ky1e
post Aug 5 2006, 11:34 PM
Post #3


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 31
Joined: 4-August 06
Member No.: 14,968


Thanks for the help, seec!
I have programming knowledge in small, which I used to code plugins for a C++ script. I have studied other peoples' php scripts before, and it really helps. I have started to learn the basics and stuff, but I was wondering how on PHP you can make pages like www.blahblahblah.com/index.php?page=staff and stuff like that. Thanksfor helping seec
-Kyle
Go to the top of the page
 
+Quote Post
vujsa
post Aug 6 2006, 01:38 AM
Post #4


Absolute Newbie
Group Icon

Group: Admin
Posts: 888
Joined: 20-February 05
From: Indianapolis, Indiana, USA (Midwest)
Member No.: 2,714
myCENTs:35.43


QUOTE(Ky1e @ Aug 5 2006, 07:34 PM) [snapback]84314[/snapback]
Thanks for the help, seec!
I have programming knowledge in small, which I used to code plugins for a C++ script. I have studied other peoples' php scripts before, and it really helps. I have started to learn the basics and stuff, but I was wondering how on PHP you can make pages like www.blahblahblah.com/index.php?page=staff and stuff like that. Thanksfor helping seec
-Kyle

I think I know what you are looking for. Here are a couple of tutorials that I wrote that give a basic rundown of how PHP can be used to control your website and make maintaining it easier.
The first one deals with the basics of includes in PHP which allow you to build your website in modules which can be edited easily without changing every page of the site:
http://www.astahost.com/cms101-content-man...sign-t7778.html

The second deals with more advanced ideas including how you use URL's like you are interested in:
http://www.astahost.com/cms102-content-man...ign-t11367.html

The URL that you are talking about is an extended URL that passes variables from the browser to the server using the GET method of form submissions.
Basically, this is the way a URL looks after a form using the GET method is submitted. In order to use these variables in your script, you must request the data stored in the $_GET Super Global variable which is actually an array of data.

Most of the PHP tutorials I have written are focused toward new PHP users and I that they may be pretty helpful to you.

These may be helpful:
PHP Tutorial's By vujsa

Let us know if you need any help. cool.gif

vujsa
Go to the top of the page
 
+Quote Post
Quatrux
post Aug 6 2006, 08:25 AM
Post #5


the Q
Group Icon

Group: [HOSTED]
Posts: 1,206
Joined: 13-July 05
From: Lithuania, Vilnius
Member No.: 7,059
myCENTs:49.62


To understand the most basics you also could visit w3schools website, I think it introduces people to the basics of php in a quite simple way, here is the url: http://www.w3schools.com/php/default.asp

Later you can find yourself a PDF book about PHP, once you read it and do some practical things with it, you will know more and more, always remember to use the PHP Manual when developing something. wink.gif

Moreover, I think you could install yourself a WAMP or LAMP Server on your system, to test your php code on localhost, if you don't know how to do it there are loads of tutorials online how to do it and even software which does everything for you, but I never used it though. tongue.gif
Go to the top of the page
 
+Quote Post
Humphrey1988
post Aug 19 2006, 03:51 PM
Post #6


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 18
Joined: 19-August 06
Member No.: 15,398


Hi

I have just started learning PHP programming too. I think that it will be easy to pick it up if you have prior knowledge of the other programming languages (not HTML). I know that you do not have any past experiences with the other languages. However, I believe that if you really wish to learn, you still can pick it up speedily. The website that I would recommend you is http://sg.php.net. This website provides all that you need regarding PHP programming. I got to learn alot from this website as it gives real examples of codes and gives a detailed explanation of how the codes will work.

I hope that you would give this website a try. I also hope that you can be able to be a PHP savvy soon.
Go to the top of the page
 
+Quote Post

Reply to this topicNew Topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   12 dhanesh 2,315 25th November 2008 - 12:49 PM
Last post by: iG-farah
No new   21 dhanesh 3,791 18th October 2008 - 05:36 AM
Last post by: oxydon
No New Posts  
5 PHP
10 Houdini 1,802 6th September 2008 - 07:02 AM
Last post by: Guest
No New Posts   5 Jimmy89 682 24th August 2008 - 02:19 AM
Last post by: jlhaslip
No New Posts   8 Burgin 1,691 22nd April 2008 - 10:54 PM
Last post by: Musallio :-)
No New Posts 2 ramin 1,090 3rd February 2008 - 07:33 PM
Last post by: Ggadget
No New Posts   17 readme123456 1,130 21st November 2007 - 03:46 AM
Last post by: readme123456
No New Posts   5 Vyoma 1,537 29th October 2006 - 11:42 AM
Last post by: Vyoma
No New Posts 9 feroze 1,116 21st March 2006 - 05:19 PM
Last post by: Samya
No New Posts   1 amit 733 6th September 2005 - 06:26 PM
Last post by: Stingray
No New Posts   14 squirel 2,092 8th February 2005 - 04:36 PM
Last post by: jipman
No New Posts   3 illusion 1,025 3rd January 2005 - 02:29 PM
Last post by: mastercomputers
No New Posts   6 jackson_cn 1,074 18th September 2004 - 09:59 AM
Last post by: qwijibow