PDA

View Full Version : basic question: $config_basedir



goldenbough
03-10-2008, 05:56 AM
So this is my basedir:
$config_basedir = "http://localhost/sites/auction/";

Now if I want to put some something here what exactly would I save the php file as?

my config.php file is :

<?php

$dbhost = "localhost";
$dbuser = "";
$dbpassword = "";
$dbdatabase = "auction";

$config_basedir = "http://localhost/sites/auction/";

$config_currency = "$";
?>

StupidRalph
03-10-2008, 06:42 AM
So this is my basedir:
$config_basedir = "http://localhost/sites/auction/";

Now if I want to put some something here[huh?] what exactly would I save the php file as?

my config.php file is :

<?php

$dbhost = "localhost";
$dbuser = "";
$dbpassword = "";
$dbdatabase = "auction";

$config_basedir = "http://localhost/sites/auction/";

$config_currency = "$";
?>

Don't understand the question

goldenbough
03-10-2008, 07:21 AM
I guess I don't really understand the purpose of the $config_basedir. I am trying to run a "recipe" from a tutorial. Should I be able to put http://localhost/sites/auction/ in the url bar and then open as page? Or maybe another way of putting is, how do I save a file as index.php and open it through
http://localhost/sites/auction/ ? I normally would open index.php through localhost/index.php, but in the example it appears that it is has it opened through http://localhost/sites/auction/

geogeorgik
04-03-2013, 07:38 PM
Hello.
Do you still have the Jono Bacon auction website code fully working?
If so, could you post it?

Thank you very much.