Check out Atomic Chess, our featured variant for November, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments/Ratings for a Single Item

Earlier Reverse Order Later
memberupload2.php[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Thu, May 17, 2012 04:10 PM UTC:
David,

I was just testing the ability of members to upload files, and I found that
memberupload2.php makes use of functions that are not defined in itself or
in indexingfuncs.php, which it includes. I wrote a get_base_path() function
and put it in indexingfuncs.php, but then I found move_uploaded_file()
undefined, and I don't know how to write this function or just what it is
supposed to do.

🕸Fergus Duniho wrote on Thu, May 17, 2012 04:25 PM UTC:
Never mind about defining that one. It is a PHP function. But something
isn't working right in the script just at the point where that function is
called.

🕸Fergus Duniho wrote on Thu, May 17, 2012 04:46 PM UTC:
Okay, the problem was that my new get_base_path() function didn't include
the end slash. I changed it so it would, and now members can upload files
again.

3 comments displayed

Earlier Reverse Order Later

Permalink to the exact comments currently displayed.