Myspace Backgrounds - Debt Consolidation - Mortgage - Ogłoszenia,praca - Mortgage Calculator

PDA

View Full Version : i am a newbie needs help


salma
Jul 22nd 2004, 7:58 am
PHP:
example
<?
$dat_base_path="/var/www/html/san/platinums";
$dat_base_url="http://168.0.2/san/platinums";
$dat_dbhost="localhost";
$dat_dbuser="root";
$dat_dbpasswd="";
$dat_dbname="platinumtest";
$dat_table_prefix="platinum_1_";
?>

i'm confused
my files are kept in public_html so how aint surewhat to put in dat_base_path, dat_base_url

somebody please help

digitalpoint
Jul 22nd 2004, 8:13 am
base path will be the path on your server's file system. For example, the base path for http://www.digitalpoint.com is /home/sites/site1/www/ and the base URL would be http://www.digitalpoint.com

salma
Jul 22nd 2004, 8:22 am
does that mean this correct for me to use

/home/sites/site1/www/

example http://www.xc.com

thanks for your help much appreciated

digitalpoint
Jul 22nd 2004, 8:24 am
If your site was in that directory on my server, it would be right. But it's going to be different for you.

salma
Jul 22nd 2004, 10:39 am
/home/xclusive/public_html

i cant do it the only thing i can tell you is every file is kept in public_html directory

http://www.xclusive-collection.com/ this aint mine site sis, just borrowing it to figure out how my template works

salma
Jul 23rd 2004, 10:49 am
Access denied for user: 'root@localhost' (Using password: NO)

i get this message now
what do i do

digitalpoint
Jul 23rd 2004, 10:52 am
Talk to your system administrator and have them give you access to MySQL.

salma
Jul 25th 2004, 6:07 pm
sorted

thanks everyone who helped