
July 6th, 2006, 08:26 PM
|
|
|
|
Join Date: Apr 2007
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Windows Mobile Upload Script
I am attemping to use a simple php upload script on a windows mobile enabled device. I use php vs.4.4.2. Here is the code snippet:
if (filecheck($filenamea) == FALSE )
die ('Image 1 is not of an accepted type');
//if the temp file1 is there copy it to the server
if (@is_uploaded_file($_FILES["imagepath"]["tmp_name"])) {
copy($_FILES["imagepath"]["tmp_name"], "/home/conner/public_html/mobile/storewalkaudit/images/" . $_FILES["imagepath"]["name"]);
echo "<br>";
}
this is just the upload portion. Now the error Im getting is:
Not Acceptable
An appropriate representation of the request resource (my file) could not be found on this server
now this script works fine in a normal IE browser. Anybody know what might be going on here? Or a go around?...THANKS
|