Hello people!
I have a major PHP problem and vBulletin is the single example I can give to other PHP programmers so thay will advise me.
I have a page with a form. I put some text in the form and the thext is inserted into database. Simple.
Ok, on each ENTRY I want to add pictures. JPG files. I made the PHP script, I made thumbnails, etc.
This is my problem.
Imagne POST NEW REPLY from vBulletin like my form and a UPLOAD PICTURE link/button that will bring another page with a textfileld and a "browse" button. Like Manage Attachments from vBulletin.
What I want to do is, UPLOAD a picture, then refresh the main form window with a link to the picture, then upload another picture if I want, etc.
Got my point?
Do you have some sugestions? How can I do that? I repeat. The uploading It's done, thumbnails is done. I just don't know how to send the "file name" to the form.
I have done it with $_SESSION['upload'] but in this case I only have 1 (one) upload and I want unlimited uploads.
Thanks
I have a major PHP problem and vBulletin is the single example I can give to other PHP programmers so thay will advise me.
I have a page with a form. I put some text in the form and the thext is inserted into database. Simple.
Ok, on each ENTRY I want to add pictures. JPG files. I made the PHP script, I made thumbnails, etc.
This is my problem.
Imagne POST NEW REPLY from vBulletin like my form and a UPLOAD PICTURE link/button that will bring another page with a textfileld and a "browse" button. Like Manage Attachments from vBulletin.
What I want to do is, UPLOAD a picture, then refresh the main form window with a link to the picture, then upload another picture if I want, etc.
Got my point?
Do you have some sugestions? How can I do that? I repeat. The uploading It's done, thumbnails is done. I just don't know how to send the "file name" to the form.
I have done it with $_SESSION['upload'] but in this case I only have 1 (one) upload and I want unlimited uploads.
Thanks
Comment