Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2006-11-15, 06:28 PM   #1
Jeremy
Remember to rebel against the authorities, kids!
 
Jeremy's Avatar
 
Join Date: Aug 2003
Location: AU
Posts: 406
Changing the backslashes would break everything else under the localhost / apache & on the remote server :-( I'm really just trying to get a properly working local / apache version of the site so I can test mods to it in a 'live / real' environment and just upload it.

In php.ini, I'm using the Windows syntax. I wonder....... if Apache is doing calling on php if I should be using the Unix line and just referencing root?
__________________
XXX Porno Hardcore
Jeremy is offline   Reply With Quote
Old 2006-11-15, 06:40 PM   #2
JK
Well you know boys, a nuclear reactor is a lot like women. You just have to read the manual and press the right button
 
Join Date: Nov 2003
Posts: 157
Not sure why it's not working, but I have a common 'includes' folder that I put in php.ini so i don't have to worry about paths in my scripts.

include_path = ".;\php;\www\includes;"

If you put your include dir in here, you should just be able to include('file.php'); and not worry about the slashes
__________________
To alcohol! The cause of, and solution to, all of life’s problems
JK is offline   Reply With Quote
Reply


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

Forum Jump


All times are GMT -4. The time now is 09:12 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc