jesj Posted September 8, 2009 Share Posted September 8, 2009 Hello, I was wondering if anyone could help me with this? I was wondering if you can modify something in php.ini to allow these things. When you have www.domain.com/fileName it returns an error, but no error when url is www.domain.com/fileName.php When using a require_once(), instead of having your whole root folder displayed such as home/user/public_html/DirectoryName/fileName. Have it so it's just ../DirectoryName/fileName. I hope I explained it well. Please let me know if this can be fixed via php.ini. Link to comment https://forums.phpfreaks.com/topic/173538-using-phpini/ Share on other sites More sharing options...
trq Posted September 9, 2009 Share Posted September 9, 2009 The first relates to your server, not php. The second simply relates to relative vs absolute paths. Again, not a php setting. Link to comment https://forums.phpfreaks.com/topic/173538-using-phpini/#findComment-915135 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.