Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100



Go Back   PHP-Editors > Programming Help > PHP Programming Help

PHP Programming Help Post any question relating to PHP Programming here and hopefully someone can help.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2004-07-22, 10:39 AM
Junior Member
 
Join Date: Jul 2004
Posts: 1
salma
Default

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
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 2004-07-26, 05:32 PM
Junior Member
 
Join Date: Jul 2004
Posts: 2
invader980
Default

what is the varaible going to be used for ?? ... it looks as tho it points to the root folder on ur server. ur publichtml folder but im not exsaclty sure if thats what its asking for
Reply With Quote
  #3 (permalink)  
Old 2004-07-28, 01:06 AM
Moderator
 
Join Date: May 2004
Location: Portugal
Posts: 143
gesf is an unknown quantity at this point
Send a message via ICQ to gesf Send a message via MSN to gesf Send a message via Skype™ to gesf
Default

Maybe: /home/virtual/site_something/var/www/html... really don´t know!

Try this:
Code:
<?php
  echo $_SERVER['DOCUMENT_ROOT'];
?>
Better yet: Create a php file with the name you want (e.g.: phpinfo.php) and put this next code in it:
Code:
<?php
  phpinfo();
?>
That´s it! upload and accesss it and you´ll have all the information you need!
__________________
Best Regards,
Gonçalo "GesF" Fontoura

Website : gesf.org
Reply With Quote
Must read Review for Serious PHP Developers


NuSphere PhpED 5.5 : The Staff of php-editors.com recently spent a few days working with NuSphere PhpED 5.5 (a popular PHP IDE) and NuCoder 2.0 (a PHP Encoding Utility), read up on all the details.

Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:01 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.