fileupload script help

Discussion in 'C#' started by polaris, Feb 1, 2007.

  1. #1
    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
     
    polaris, Feb 1, 2007 IP
  2. intothemiddle

    intothemiddle Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    intothemiddle, Feb 1, 2007 IP
  3. polaris

    polaris Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    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 "
     
    polaris, Feb 1, 2007 IP