Skip to content
Advertisement

Tag: path

PHP – format path urls

In my PHP project, I have an url path string returned like: What I would like to accomplish is for this two paths to be without and % .. How can I format them? I know this question is already answer but I can not find right PHP fucntion for it. Code: and the problem persists. Answer Working Solution:

what is the difference of absolute path in html and php?

I am developing a website on php, I have installed wamp on my personal computer and my website files are in the www folder of wamp. now considering www as my root folder i have a template folder in the root folder and header.inc.html file in the template folder. when I try to include this header.inc.html file in any other

PHP Fatal Error Failed opening required File

I am getting the following error from Apache [Sat Mar 19 23:10:50 2011] [warn] mod_fcgid: stderr: PHP Fatal error: require_once() [function.require]: Failed opening required ‘/common/configs/config_templates.inc.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /home/viapics1/public_html/common/configs/config.inc.php on line 158 I am definately not an expert of Apache but the file config.inc.php & config_templates.inc.php are there. I also tried navigating to a test.html page I placed in common/configs/ so

Advertisement