Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Wierd ?
Name: Jamie_McCoy Date: December 30, 2004 at 17:39:52 Pacific OS: XP Pro 5.1 CPU/Ram: Pentium 4 2.4Ghz
Comment:
i get this error, which has only came about when i switched hosts...
Warning: Unknown(): open_basedir restriction in effect. File(/home2/jaydio/public_html/index.php) is not within the allowed path(s): (/home2/refine/:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0
Warning: Unknown(/home2/jaydio/public_html/index.php): failed to open stream: Operation not permitted in Unknown on line 0
Warning: (null)(): Failed opening '/home2/jaydio/public_html/index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0
their is no problem with my code, seems to be something on the server, but they dont know what either..
Name: Khalid Date: December 31, 2004 at 02:38:43 Pacific
Reply:
When you change servers, a lot of system variables change aswell. For example the directory on the server where the pages are located. You must alter your script to meet these new variables. When I write scripts, I always keep in mind that sometimes I have to relocate my files on the server, so I assign a variable to the location and use that one in the scripts. That way I only have to change the location ones to take effect in all the files.
0
Response Number 2
Name: Jamie_McCoy Date: January 4, 2005 at 18:40:53 Pacific
Reply:
it was a PHP protection scheme, meaning PHP wont be execute unless the refferer is the assigned domain name to that account
in otherwise has soon as my DN resolved, it was fine
Summary: ok ill make this simple i have written member area script (user fills in form, sent to PHP, php checks to see if the username exists etc etc) also in the script, is detection so it tells you if the us...
Summary: ok, so i have a register script on my website to become a member, this script created a folder called (yr usernname) in a folder called members it works perfect, how ever ive reched the stage where i ...
Summary: I"m trying to build a website, and started off with the simple 'slice and code'. Well, i sliced it all up in photoshop, however, when i try to add text on top of a picture, the colours go all wierd, l...