PDA

View Full Version : I need help calling variables


AbstractHipHop
05-23-2004, 07:42 AM
i setup apache, php, mysql, phpmyadmin on my cpu
so i could do all of my programming before uploading the site

i'm having a huge problem
i need to call variables from the config.php
and connect to the vb database

simple as i'd assume it would be
i don't know what my path is on my cpu

the error message is telling me this

(include_path='.;c:\php4\pear')

all of my files are located in

C:\Program Files\Apache Group\Apache\htdocs

any help would be appreciated
thanx

will_lean
05-24-2004, 06:31 PM
you can run phpinfo.php

<? phpinfo() ?>
and it will show you the dir paths of your setup as well as the settings you have in php.

If includes is a problem you can try changing the includes path in php.ini

Ive also tried to create a .htaccess file with the path to my includes dir as so:
php_value include_path .:/usr/local/httpd/htdocs/includes

*changing the path to reflect your server dir of course.