Hi,
I'm trying to use php to upload a file as well as post user input from a single page. Without Xupload, the php page works fine, and posts the data to itself. However, with Xupload I figured that I have to create two seperate php files, one to accept user input, and the second to parse the user input. I integrated code from the upload_form.html into my first php file. I configured XUploadConfig.pm to url_post to my second php file. However, it doesn't seem to be working.
This is what I have in my first php file:
<form enctype="multipart/form-data" action="http://laashaikhlinux/cgi-bin/xupload/u ... upload_id=" method="POST" name="F1" onS
ubmit="return StartUpload();" target="upload">
The upload progress bar works fine, it's just the url_post doesn't work. Any suggestions? TIA!
XUpload - XUpload not posting to new url using php
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
I don't see any errors. I see all the post information. It doesn't call the second.php file. It just reloads the original one with the post information. I pasted the output information below. I am using XUpload Free. Thanks.
Content-type: text/html
New Horizons Courses.txt
New Horizons Courses.txt
OK
Active Directory
524288
on
3
Submit/Save
uploads
Content-type: text/html
New Horizons Courses.txt
New Horizons Courses.txt
OK
Active Directory
524288
on
3
Submit/Save
uploads
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm