Click to See Complete Forum and Search --> : how can i set include_path with PHP3


Anon
07-01-2000, 08:24 AM
Hi,

I've got my Win98 System to test my website before publishing it .. i wan't to set the include path fot PHP3 to a directory in :
D:\http\includes
How Can I do This ??

i've used this line in php3.ini :
include_path = ".;D:\http\includes\"

What's wrong? how can i fix it?
I'm using Apache 1.3.12

Thanks in advance

Anon
07-01-2000, 12:03 PM
use this
include_path = "D:\http\includes\"
-Nitin

Anon
07-02-2000, 07:59 AM
Thanks Nitin Gaur ..
but it didn't worked either :(

Anon
07-02-2000, 02:15 PM
Hi,
I am a starter in PHP and i wana know how to begin. I do install php and do made some changes in the php.ini files and also i put my file first.php3 in c:\Inetpub\wwwroot but my browser IE 5.0 does not compile or interprate my php file. can u please provide me some help in this regard

Thanking in anticipation

From
Omer Mustafa

Anon
07-02-2000, 02:25 PM
The PHP Scripts aer server-side programs, so the are interpreted by the server ( actually the interpreter that is called by the server ) and the results ( only ) of the execution are returned to the user .. so IE5 have nothing to do with this ..

You have to install the PHP interpreter as described in the Readme file that comes with it.

after you do all the steps as descibed you must start your server ( PWS ) and type this in the URL box for the browser ( http://localhost/first.php3 ) and you should see youre documnet interpreted there !

for more information check out my website ..
http://www.mubarmej.f2s.com/

Anon
07-02-2000, 06:57 PM
Change this:

include_path = "D:\http\includes\"

to this:

include_path = d:\http\includes

and it should solve the problem. Good luck!!!!


Geoff

Anon
07-03-2000, 07:43 AM
I cant read your side.
Do you have an english version?

Anon
07-04-2000, 07:40 AM
how about
include("d:/dunno/where/x.html");

or try using relative declaration from the actul directory....

or even.. "file://d:/dunno..."

windoze sux :)