Hi,
I'm trying to integrate XUpload in my CMS. This means that I need a general soution for integrating XUpload for any given form.
I need to add an upload field in my general html form. The upload field must have a seperate action button which will start the upload proccess. When the upload proccess finishes I need to show in the general html form, beside the upload field, a thumbnail of the uploaded photo, without refreshing the screen. When hitting the general html form sumbit button the uploaded file name and path should be passed with the general html form for other php proccessing.
Do you have a simple code for doing this?
I also need to know whitch files are relevant for the operetion of the xupload proccess and whitch files are not.
Thank you
XUpload - New to XUpload
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
How much is the extra fee?PilgrimX182 wrote:Not sure what you' on your own but yes, you should make this yourself creating php code. xupload will send upload results to your code, and you do there whatever u want.
Or we can offer custom development which is extra fee ofcourse.
1 How do I get the uplaod parametes to my form using ajax without redirecting to another page?
2. What do I do if I need a different cinfiguration for every form?
3. Is it possible to pass redirection url in a hidden field so that every form will be redirecting to a different page after the upload is complete?
4. Can you send me a list of params whitch can be passed using hidden fields in order to control config params?
5. Whitch files can be dropped when I upload your tool to the server?
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Fresh idea for you: check out XUpload Nano demo: http://www.sibsoft.net/xupload-tiny.html
I think it's almost what you need. And it's special discounted price: $25 only.
Custom development is $20 per hour.
I think it's almost what you need. And it's special discounted price: $25 only.
Custom development is $20 per hour.
I allready purchased the pro version.PilgrimX182 wrote:Fresh idea for you: check out XUpload Nano demo: http://www.sibsoft.net/xupload-tiny.html
I think it's almost what you need. And it's special discounted price: $25 only.
Custom development is $20 per hour.
In the Nano, is it possible to start the upload with a click insted of automatically?
What about my other questions?
Thanks
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
It is possible theoretically, but not implemented yet.In the Nano, is it possible to start the upload with a click insted of automatically?
You can replace this code in upload.cgi:1 How do I get the uplaod parametes to my form using ajax without redirecting to another page?
Code: Select all
print"</Form><Script>document.location='javascript:false';document.F1.submit();</Script></BODY></HTML>";
Code: Select all
my $fname=$files->[0]->{file_name};
print""</Form><Script>parent.document.myForm.myInput.value='$fname';</Script></BODY></HTML>";
In config you see sample with 2 modes, you can add more there with different variables and then in upload form just specify number:2. What do I do if I need a different cinfiguration for every form?
Code: Select all
<input type="hidden" name="xmode" value="1">
Need customization.3. Is it possible to pass redirection url in a hidden field so that every form will be redirecting to a different page after the upload is complete?
all extra hidden parameters are POSTing after upload.4. Can you send me a list of params whitch can be passed using hidden fields in order to control config params?
You can view this yourself using post.php!
htdocs/env.php only5. Whitch files can be dropped when I upload your tool to the server?