|
|
I Need Help Finding The Best Way To Learn Php | ||
Discussion by dipesh with 4 Replies.
Last Update: June 1, 2008, 1:43 am | |||
![]() |
|
|
PHP - This is the source of it all. Global information and data is put here. Think of it as a template, you have a place for the user's name, level est. to go into but they are not their yet.
MySQL - All your "changeable" data such as usernames, levels est. are stored in databases so you don't need to write your HTML/PHP page for every user. This data can be changed with PHP MyAdmin read this: Overview of setting up MySQL and Connecting. In our example this is the name, level est. that is inserted into the PHP.
Cookies - Since all your data is in a database and you can select it you need to make specification on the user so that John Doe doesn't have get Jain's info. Most PHP sites use WHERE tags that check for a "password" from the user's computer. You can do this two ways: make the server check the WHERE for the IP or even better have the server get a cookie (data received from the computer that was set by the server) read this: Cookies. This is also used a lot for identification but CANNOT be trusted because people can change both their IP and Cookies. In our little example, this is usually used as the key to your office "template". Insert in your key and either get rejected (3 rejections you get kicked from the building all together) or get into your unique office.
I know that is probably way confusing but it is good to know what everything is. Look through the tutorial section of Astahost to find just about everything about PHP. I also like to use: Tizag for MySQL and I have heard that people love W3 Schools.
Good Luck,
Sparkx
As an overall rule as well, web coding is very popular and as such anytime you get stuck a simple google query will usually result in a quick example to help you solve your problems. Good luck learning php!
Aiming high, as you are doing, whilst many won't recommend it until you have a lot of PHP knowledge, is the way I amassed most of my programming knowledge. Despite people telling me not to, I made a 3D RPG style game in several game programming languages, always taking under a month to do so. My first javascript project was, interestingly, to make an isometric browser MMORPG. It's still in dvelopment, but a lot works (login, register, select a location, walk).
Now, for your game, you will also be needing some javascript, as php alone could not do everything without a very, very, long time working out solutions. You'll also need mySQL, for storing data, or alternatively, if you have knowledge in any desktop programming languages, you could do what I done and create a server that sends back data quickly when it's needed, which itself reads from an SQlite database. For learning all those languages and technologies, you should visit a site for learing them, such as w3schools, recommended by many, or my personal favoruite, Tizag. All of them are great for beginners, and good luck with your project!
Similar Topics:
Help:i Would Like To Learn Php
Learning Php/sql Basics
Learning Php - Part 1
My Works (1)
|
(0) Need Help With Code For Battle Calculator For An Mmorpg I Am Planning
|
HOME 





Learn PHP Free 054 - Creating a Find and Replace Application Part 1.flv
PHP Tutorial Learn Array Programming for User Agent Script : Get Browser and OS
Php For Dummies - Php Tutorial 13

