31.08.2010, 01:40
(
Последний раз редактировалось Cameltoe; 31.08.2010 в 02:46.
)
- Website Starter Kit
- Install1. Download the files.- Screenie
2. Extract it to your apache folder.
3. Configure config.inc to match your database (see "Config" longer down in this thread).
4. Import the sql file.
5. Run any browser with url directing to your website.
6. Watch the beauty of PHP, Enjoy!
- Screenshot 1- Config
- Future list:PHP код:
define ("DB_HOST", "localhost"); // Set this to the host the database is hosted on.
define ("DB_USER", "urusernamehere"); // Set this to whatever Account the have access to the server.
define ("DB_PASS","urpasshere"); // Set this to whatever the pass for the account is.
define ("DB_NAME","db"); // Chooses database.
define ("DB_TABLE","vehicles"); // Chooses database table.
$link = mysql_connect(DB_HOST, DB_USER, DB_PASS) or die("Couldn't make connection.");
$db = mysql_select_db(DB_NAME, $link) or die("Couldn't select database");
- Easy structure so it's easier for not so advanced users to edit etc.- Updates:
- Shows how to fetch data from a mysql database.
- Contains a easy readable And understandable .css file.
- Contains all vehicle images.
- Contains mysql database structure ( vehicles only for the moment, further updates will include more. )
- Make the script loop through all Vehicles. [ *** ]- Download
- The style right now looks like shit. [ ** ]
- Menu's and navigation. [ * ]
- Structure: Users, Skins, Logg's into the database. [ * ]
[ * ] = Undone. [ ** ] = Working with. [ *** ] = Done.
- Link to folder with all files.- Credits
- Images
- phpfiles && Style
- Sql
- Me.
- My dad ( learning me php basics ).
- sa-mp team.