post to php file upload
Posted: Thu Nov 10, 2011 1:35 am
Hi, sorry if this is double posting, but I'm becoming increasingly desperate. I can't get livecode's ftp to work so I'm hoping I can mimic a php file upload submit.
Livecode's post works well when the php isn't a file upload i.e. <form action="my_stuff.php" method="post">
But I need it to replace <form action="my_upload_file.php" method="post" enctype="multipart/form-data">
With php submit forms the first method populates the $_post array, the other (the file upload form) creates a $_post and a $_file array.
I'm very new to php.
Has anyone managed a file upload using livecode's post to a custom php page?
Steve
Livecode's post works well when the php isn't a file upload i.e. <form action="my_stuff.php" method="post">
But I need it to replace <form action="my_upload_file.php" method="post" enctype="multipart/form-data">
With php submit forms the first method populates the $_post array, the other (the file upload form) creates a $_post and a $_file array.
I'm very new to php.
Has anyone managed a file upload using livecode's post to a custom php page?
Steve