Basically,
I am developing part of an intranet and I am trying to allow people to upload images to a directory on a server... however, the window that contains the file selection and submit button (which pops up when you click a button on the main html intranet page), needs to return the file path for the image in its new location!. This seems to cause problems with all the upload examples I have seen, as they all want to pass on parameters again to another function. All i want is a very simple upload function that will upload all images to a directory ("~/images/").
CAN SOMEONE HELP ME OUT AND SHOW ME HOW TO DO THIS... i have been looking at it all day and my head is killing... sounds easy.... but not when you are a novice and you dont know how.
My code for my pop up window with the file selection box and submit button is attached..... i dont think it matters whether it is a .asp or .html file... i was just trying a few things out.
Cheers,
Stu
I am developing part of an intranet and I am trying to allow people to upload images to a directory on a server... however, the window that contains the file selection and submit button (which pops up when you click a button on the main html intranet page), needs to return the file path for the image in its new location!. This seems to cause problems with all the upload examples I have seen, as they all want to pass on parameters again to another function. All i want is a very simple upload function that will upload all images to a directory ("~/images/").
CAN SOMEONE HELP ME OUT AND SHOW ME HOW TO DO THIS... i have been looking at it all day and my head is killing... sounds easy.... but not when you are a novice and you dont know how.
My code for my pop up window with the file selection box and submit button is attached..... i dont think it matters whether it is a .asp or .html file... i was just trying a few things out.
Cheers,
Stu