i am writing a small order manager that lets the users fill out forms/orders, and in these orders, they can upload files. to do the fileuploading, i am using JUpload.
my question is this:
in my html, i have the <applet> stuff working, and the JUpload stuff works great (I changed it a little so I could dynamically direct what directory it uses), but it has to use the actionURL thing inside a <param> tag.
What it takes is this:
<applet code="JUpload.startup()"
......
....
<param name="actionURL" value="jupload.php">
</applet>
so i need this in there because this is the script that JUpload looks at to actually do the uploading on the server.
is there any way i can do this inside this tag, or within the same page? i.e. just put some php code in between the value attribute, so i get something like this
<param name="actionURL" value="<?php ....some code....?>">
the reason i ask is that each of these orders have order numbers, and i need to keep track of which uploads go with which orders, so i can upload this info into a table that is basically order_has_uploads. because im using autoincremented integers as the order numbers, theres no way for me to get that information from another page, because i cant pass information to this jupload.php page. so it would be nice if i could keep all my code in this one order page, so that i can access variables and queries that i have already performed.
do you understand what im asking?
does the actionURL thing need a real url, or can you just put some php code in there telling what to do. i tried it a few days ago and didnt get it to work, but i may have messed up.
anyone have any luck/advice for this?
thanks ahead of time