Hi, im working w/ PHP 4.1.1 on Apache 1.3.22 running localhost tests on a WinXP machine.
I can run through most scripts w/o much problem a tweak here and there and no problem.
my newest problem is with file uploads, and im sure it has to do w/ how Win handles file pointers, and had to delete the php.ini from the %SYSDIR% to get just a basic two line .txt file to upload!!!
Now, i know part of the problem could be the "safety" built in, as I read re: past hx. w/ malicious uploading of scripts/args.
But it is quite odd, that a) php starts up w/o an .ini at all after I delete it, and b) that i find this 'default' environment to be less stringent that the copied php_dist.ini that came as part of the package and used as the php.ini in the %sysdir%
Can anyone shed any light on why this is...and... is there a default set of env variable to turn on/off that work best in a win environment so that pointers are pointing to the correct places, so that file handling is more like how it is when php is started w/o an .ini?
If so it would be helpful because then all i must change from there, is the file size directive, and then code in the "type" of file, so that it can be other than the current "text/plain" that is only allowed currently.
Again this is only a test environment so I do understand the reasons there are more stringent variations on how the env variables in the php.ini "should" be setup, its just not necessary atm in this case.
TIA.
p.s., i guess the short question is:
Does anyone have a "default" php.ini that works "out of the box" per se for the WinNT/2k/XP environment?