Hi guys can anyone help me? i need an asp script that shows "hello!" in a html code by default But when i write for e.g : "page.asp?act=upload" in url, it shows a file uploader for example : something like this in php echo "hello"; if(@$_GET['act']=="upload"){ <FILE UPLOADER SECRIPT> } But i need ASP code of this Thanks
<% dim act act = Trim(Request("act")) If Len(act) > 0 Then ' SHOW UPLOADER SCRIPT ' http://www.asp101.com/articles/jacob/scriptupload.asp Else Response.Write "hello!" End If %>
Thanks for your reply how do u put this script into this script? If Len(act) > 0 Then < AND > Else if you can please put it bestead of <AND> because when i do it i receive "500 Error "