1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

i am a newbie needs help

Discussion in 'Programming' started by salma, Jul 22, 2004.

  1. #1
    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_"; 
    ?> 
    PHP:
    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
    SEMrush
     
    salma, Jul 22, 2004 IP
    SEMrush
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,288
    Likes Received:
    2,600
    Best Answers:
    460
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    digitalpoint, Jul 22, 2004 IP
  3. salma

    salma Guest

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    does that mean this correct for me to use

    /home/sites/site1/www/

    example http://www.xc.com

    thanks for your help much appreciated
     
    salma, Jul 22, 2004 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,288
    Likes Received:
    2,600
    Best Answers:
    460
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    If your site was in that directory on my server, it would be right. But it's going to be different for you.
     
    digitalpoint, Jul 22, 2004 IP
  5. salma

    salma Guest

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    /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 22, 2004 IP
  6. salma

    salma Guest

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Access denied for user: 'root@localhost' (Using password: NO)

    i get this message now
    what do i do
     
    salma, Jul 23, 2004 IP
  7. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,288
    Likes Received:
    2,600
    Best Answers:
    460
    Trophy Points:
    710
    Digital Goods:
    29
    #7
    Talk to your system administrator and have them give you access to MySQL.
     
    digitalpoint, Jul 23, 2004 IP
  8. salma

    salma Guest

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    sorted

    thanks everyone who helped
     
    salma, Jul 25, 2004 IP