Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Mar 2004
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ApacheASP (Perl based script)

    Hi everyone,

    I have been told that "Our servers only run ApacheASP at the moment which may only run Perl based script."

    So how would I convert the following script so it will run on my server?

    Code:
    <%
    url=request.QueryString("link") 'set the variable url to the url query string
    st=request.QueryString("st") 'set the variable st to the st query string
    
    if st = 0 then 'check to see if st is equal to 0
    	response.Redirect(url) 'redirects the page to the url variable
    elseif st = 1 then
    	response.Redirect("https://" & url)
    else 'if st is equal to anything else
    	response.Redirect("/index.html") 'redirects to the home page if the st not equal to 0
    end if
    %>
    Thank you in advance,

    Jon
    ====================
    Jon
    ====================

  • #2
    Senior Coder angst's Avatar
    Join Date
    Apr 2004
    Location
    Toronto, Ontario
    Posts
    2,114
    Thanks
    15
    Thanked 122 Times in 122 Posts
    hmm,
    i think your going to have to do a google search for that,
    most people don't use apacheASP,

    u could try ASP2PHP,
    http://asp2php.naken.cc/

    or

    for Apache::ASP
    try checking out:

    http://www.apache-asp.org/

    but just while finding these links i read posts from users saying that it doesn't work very well..


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •