From: Don S. <do...@se...> - 2003-03-31 23:46:00
|
phatfile's File.php save() function references the $_REQUEST["PHAT_FILE"] object. I do believe this needs to be $_FILES["PHAT_FILE"]. I believe this because I ran into the same mistake in one of my own mods, and because phatfile doesn't save unless I change those REQUEST calls to FILES for PHAT_FILE. Don. |
From: Matthew M. <ma...@tu...> - 2003-04-01 15:53:52
|
> phatfile's File.php save() function references the $_REQUEST["PHAT_FILE"] > object. I do believe this needs to be $_FILES["PHAT_FILE"]. I believe > this because I ran into the same mistake in one of my own mods, and > because phatfile doesn't save unless I change those REQUEST calls to FILES > for PHAT_FILE. This has been changed in CVS. Though I agree that $_FILES is more precise, REQUEST works in our installations. Is there a reason why $_REQUEST does not function? I am running 4.2.2. Just curious :) Matt |
From: Don S. <do...@se...> - 2003-04-01 15:59:19
|
Hm I can't say. I'm running php 4.3.1. I believe that PHP says to use $HTTP_POST_FILES for files. Don. On Tue, 1 Apr 2003, Matthew McNaney wrote: > > phatfile's File.php save() function references the $_REQUEST["PHAT_FILE"] > > object. I do believe this needs to be $_FILES["PHAT_FILE"]. I believe > > this because I ran into the same mistake in one of my own mods, and > > because phatfile doesn't save unless I change those REQUEST calls to FILES > > for PHAT_FILE. > > This has been changed in CVS. Though I agree that $_FILES is more precise, > REQUEST works in our installations. Is there a reason why $_REQUEST does > not function? I am running 4.2.2. > > Just curious :) > Matt > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > |
From: Steven L. <st...@tu...> - 2003-04-01 16:06:17
|
Php says here: http://www.php.net/manual/en/reserved.variables.php that prior to 4.3.0 the files information was also stored in the $_REQUEST array. After that no longer. Steven > Hm I can't say. I'm running php 4.3.1. I believe that PHP says to use > $HTTP_POST_FILES for files. > > Don. > > On Tue, 1 Apr 2003, Matthew McNaney wrote: > >> > phatfile's File.php save() function references the >> $_REQUEST["PHAT_FILE"] >> > object. I do believe this needs to be $_FILES["PHAT_FILE"]. I >> believe >> > this because I ran into the same mistake in one of my own mods, and >> > because phatfile doesn't save unless I change those REQUEST calls to >> FILES >> > for PHAT_FILE. >> >> This has been changed in CVS. Though I agree that $_FILES is more >> precise, >> REQUEST works in our installations. Is there a reason why $_REQUEST does >> not function? I am running 4.2.2. >> >> Just curious :) >> Matt >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: ValueWeb: >> Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >> No other company gives more support or power for your dedicated server >> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >> _______________________________________________ >> Phpwebsite-developers mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers >> >> >> > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > -- Steven Levin Electronic Student Services Appalachian State University Phone: 828.262.2431 PhpWebsite Development Team URL: http://phpwebsite.appstate.edu Email: st...@NO... |
From: Don S. <do...@se...> - 2003-04-01 16:14:40
|
To quote "Police Cops" from Simpsons: " ... and that's the end of THAT chapter." Don. On Tue, 1 Apr 2003, Steven Levin wrote: > Php says here: > > http://www.php.net/manual/en/reserved.variables.php > > that prior to 4.3.0 the files information was also stored in the $_REQUEST > array. After that no longer. > > Steven > > > Hm I can't say. I'm running php 4.3.1. I believe that PHP says to use > > $HTTP_POST_FILES for files. > > > > Don. > > > > On Tue, 1 Apr 2003, Matthew McNaney wrote: > > > >> > phatfile's File.php save() function references the > >> $_REQUEST["PHAT_FILE"] > >> > object. I do believe this needs to be $_FILES["PHAT_FILE"]. I > >> believe > >> > this because I ran into the same mistake in one of my own mods, and > >> > because phatfile doesn't save unless I change those REQUEST calls to > >> FILES > >> > for PHAT_FILE. > >> > >> This has been changed in CVS. Though I agree that $_FILES is more > >> precise, > >> REQUEST works in our installations. Is there a reason why $_REQUEST does > >> not function? I am running 4.2.2. > >> > >> Just curious :) > >> Matt > >> > >> > >> ------------------------------------------------------- > >> This SF.net email is sponsored by: ValueWeb: > >> Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > >> No other company gives more support or power for your dedicated server > >> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > >> _______________________________________________ > >> Phpwebsite-developers mailing list > >> Php...@li... > >> https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > >> > >> > >> > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > > No other company gives more support or power for your dedicated server > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Phpwebsite-developers mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > > > |