There are several things you can do to troubleshoot this issue.

1. Print out the contents of _POST on the PHP side: print_r($_POST) or
print_r($_REQUEST); Look in firebug to see the results
2. Is the "data" option in the Request.send() method supposed to be a string
and not an object? (as a side note, I personally think an object should be
allowed)
3. Check for the file's existence before trying to delete. if (file_exists
($file)) { if (!unlink($file)) { echo "uh oh!";  } } You also may consider
suppressing the default warning/error messages that PHP emits by using the @
in front of a function call.

Hope something here helps.

~Philip


On Mon, Aug 1, 2011 at 9:13 AM, Jorge Amaury Vega Zavala <
[email protected]> wrote:

> No I dont understand where I have to look, but in firebug in post its says
> files=1294861647_-desktop.png, but $_POST does not take the file. Thanks
> for answering, I dont know what can be the problem
>
>
> On Mon, Aug 1, 2011 at 9:07 AM, Sanford Whiteman <
> [email protected]> wrote:
>
>> I'm saying you are putting the data on the wire, so this isn't a MooTools
>> problem. Please check your console for the request trace and you will see
>> the URL-encoded data. Do you understand where I'm telling you to look?
>
>
-- 
http://lonestarlightandsound.com/

Reply via email to