Code: Select all
andCode: Select all
tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
Hi
I recently purchased a php script and I am just learning php, wonder if you could tell me if this part finished script is correct so I can load up on ftp? I have removed part of the passwords :-Code: Select all
<?php
$cfg = array();
/*
* Database Credentials
*/
$cfg['db_user'] = "user pass";
$cfg['db_pass'] = "00000";
$cfg['db_host'] = "mysql6.";
$cfg['db_name'] = "cleverli";
/*
* Database Table Names
*/
$cfg['adverts'] = 'adverts';
$cfg['news'] = 'news';Also:-
/*
* Where to store your adverts (Must be writable, chmod 777)
*/
$cfg['upload_path'] = 'adverts/';
I'm not sure what to do on this part??
Any help would be appreciated
Thanks
Julie............
feyd | Please use
Code: Select all
andCode: Select all
tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]