From: salah j. <s_...@ya...> - 2006-03-26 14:29:00
|
Hi all I used upload utilility , i have a problem such that when i submit the upload form i want to return to the same page with the same address "parameter" This is happen because i have many users and each user has his own folder i tried to keep track t the user by posting also the username in a hidden field but it didn ot work let us say that http://localhost:8015/upload.tml?username=abc <form ENCtype=multipart/form-data action=/[return $username] method='post'> File <input type=file> <p> <input type='hidden' name='username' value='[return $username]'> <input type=submit> </form> so it excutes Upload_Url /abc [file join [Doc_Root] /abc] FileUpload FileUpload is defined by proc FileUpload {args} { foreach {name value} $page(query) { set $name $value } Redirect_Self /upload.html?username=$username } it gives me this message can't read "page(query)": no such variable how can i solve this issue --------------------------------- New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. |