Can't shake the "Warning: include()" error


Posted on 16th Feb 2014 07:03 pm by admin

I've just uploaded my site to a new server and where I have PHP include tags in my HTML, the browser reads:

"Warning: include() [function.include]: SAFE MODE Restriction in effect. The script whose uid is 500 is not allowed to access ../header.php owned by uid 0 in....."

It seems to be for every include tag which has the address starting from the root directory. For example "/images/pirate.php". I'm not a programming master but I've checked the PHP.ini file and SAFE MODE is turned off. What else could this be?

No comments posted yet

Your Answer:

Login to answer
95 Like 19 Dislike
Previous forums Next forums
Other forums

want a code for uploading and downloading
i m trying to upload and download to my site..i need upload and download code ...i use a code for up

some query on multilingual website
Hi all,

Which is the simplest and easiest method to make a website multilingual,
is it put

New Search Engine problem
Hey everyone,

I have a ZIP Code Radius search engine already functional. it displays all of t

LOOPing Problem
Hello All!

The following code loops through the data and displays the data accordingly. My p

Images in email problem
I found this script for sending emails, it works but if the email has <img src="image.jp

Nested (echoed) php running wrong script
Got a problem with a php website I'm creating.

In a nutshell, the first page is entirely html

Why is this query failing?
Why is this not working?
$query = "SELECT * FROM `users` WHERE `userid` = " . $USERID

Random date selection
i want to select random date with time(hour+minutes+sec) where date is specified(10/22/2009) and tim

output printing as hexadecmal... XD
Everything works except the calcem call for the totusold and totuprice. The out put shows up as hex.

button.click += new eventhandler() not works in if(!ispostback)
i want to use button.clcik event in function VIewScrap() which is called in if(!ispostback) but itdo

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash