but they didn't work. I also tried to catch $_POST['data'] but it was
empty. Do you have full php sample file or any idea? Please help me.
On Mar 23, 12:43 am, Giraldo Rosales <
nitr...@gmail.com> wrote:
> The file name is uploaded as the variable, data, on Big5. So the PHP would
> be...
>
> <?
>
> $uploadDir = 'upload/';
>
> move_uploaded_file($_FILES['data']['tmp_name'], $uploadDir .
> $_FILES['data']['name']);
>
> ?>
>
> On Sun, Mar 22, 2009 at 2:22 AM, Javier Menendez <
jfm...@gmail.com> wrote:
> > oh ok thanks giraldo but the links dont seem to work.
>
> > this is the script that I'm using :
>
> > <?php
>
> > $fp= stripslashes($_POST['data']); //4 OK
> > file_put_contents("temp/temp.jpg",$fp,FILE_BINARY);
>
> > ?>
>
> > folder and script have 755 permissions.
>
> > thank you.
>