Welcome Guest, Not a member yet? Register   Sign In
file exist check failing
#2

[eluser]TheFuzzy0ne[/eluser]
If neither are working, then you have one of two problems.

a) Your file has incorrect permissions set, or
b) You are not looking in the right place for your file.

I would recommend you echo $source into your log file, and then SSH over to your server if you can, cd to your Web directory, and then cat the file:

cat whatever/came/from/source/variable

It will either tell you the file doesn't exist in which case it's a problem with your script. Otherwise it's probably a problem with permissions.

If you don't have SSH access to your server, you can use "getcwd()" in your script to ascertain the working directory, and then you can work from there.

Hope this helps.


Messages In This Thread
file exist check failing - by El Forum - 02-23-2009, 04:13 AM
file exist check failing - by El Forum - 02-23-2009, 05:06 AM
file exist check failing - by El Forum - 02-23-2009, 05:16 AM
file exist check failing - by El Forum - 02-23-2009, 05:25 AM
file exist check failing - by El Forum - 02-23-2009, 05:28 AM
file exist check failing - by El Forum - 02-23-2009, 06:11 AM
file exist check failing - by El Forum - 02-23-2009, 06:17 AM
file exist check failing - by El Forum - 02-23-2009, 06:31 AM
file exist check failing - by El Forum - 02-23-2009, 07:00 AM
file exist check failing - by El Forum - 02-23-2009, 10:20 PM
file exist check failing - by El Forum - 02-23-2009, 10:35 PM
file exist check failing - by El Forum - 02-23-2009, 11:20 PM
file exist check failing - by El Forum - 02-24-2009, 05:36 AM
file exist check failing - by El Forum - 02-24-2009, 06:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB