Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

asp help!

  • 18-01-2007 09:09PM
    #1
    Registered Users, Registered Users 2 Posts: 304 ✭✭


    it was inevitable! well, so as a continuation from html form help, i have now implemented some asp code into my website, so that people can enter in information into a form, and this information is then emailed to my internet account from the website, as opposed to using people's email applications.

    however, I put the asp code in, and uploaded the page onto eircom, but for some reason all that comes up is code on the page...

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

    <%

    if Request.Querystring("isSubmitted") = "yes" then



    Dim fname, lname

    Dim objCDO



    lname = Request.Querystring("Last_Name")



    'Here is where we insert new code to invoke CDONTS



    'This line invokes the object using the name objCDO

    Set objCDO = Server.CreateObject("CDONTS.NewMail")


    objCDO.To = "eilyis@gmail.com"

    objCDO.Subject = "Submitted form data from my page"

    objCDO.Body = "Name: " & lname



    objCDO.BodyFormat = 1

    objCDO.MailFormat = 1



    objCDO.Send



    ConfirmMsg = "Thanks for submitting your decision!"

    end if

    %>

    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>

    <body>

    <% if ConfirmMsg <> "" then %>

    <h2><%= ConfirmMsg %></h2>

    <% end if %>



    <form action="formtest.asp" method="get" name="Input_Form">


    <br>

    Please Enter Your Decision:

    <input type="text" size="30"

    maxlength="50" name="Last_Name">

    <br>

    <input type="submit" value="Submit Form">
    <br>





    <input type="hidden" name="isSubmitted" value="yes">


    <input type="submit" value="Submit Form">

    </form>
    </body>
    </html>


    as you can see this is the code that is on my page... now is it just that eircom won't accept asp scripts? or is it that I have done something wrong?

    I appreciate ANY response!

    Thanks in advance!


Comments

  • Moderators, Politics Moderators, Paid Member Posts: 44,036 Mod ✭✭✭✭Seth Brundle


    €ircon don't support ASP - they support HTML and little else IIRC!
    You are confusing €ircon with a proper web host. Their hosting service, like many other of their products leaves a lot to be desired.


  • Registered Users, Registered Users 2 Posts: 32,132 ✭✭✭✭is_that_so


    Is it an ASP page i.e. mail.asp?


  • Registered Users, Registered Users 2 Posts: 304 ✭✭Smiley012


    ah ok, that would be the problem, I take it they don't support php either?

    yeah it'll be an asp page, but I think I may have decided on using php instead, seems it's a bit easier for me!


  • Moderators, Politics Moderators, Paid Member Posts: 44,036 Mod ✭✭✭✭Seth Brundle


    Don't know about PHP on paid hosting but on the free hosting it ain't there!
    Spend a few quid and sign up with www.blacknight.ie or www.hosting365.ie and get some decent hosting!


  • Registered Users, Registered Users 2 Posts: 304 ✭✭Smiley012


    yeah i think that'll be what i'll do! no choice and looks better anyway, so you'd recommend both of these? excellent, thanks very much for the advice!:D


  • Advertisement
  • Moderators, Politics Moderators, Paid Member Posts: 44,036 Mod ✭✭✭✭Seth Brundle


    both come highly recommended on here.
    If you do sign up then make sure its on windows hosting!


  • Registered Users, Registered Users 2 Posts: 2,931 ✭✭✭Ginger


    I thought Brinkster did "free" ASP Hosting ..


  • Moderators, Politics Moderators, Paid Member Posts: 44,036 Mod ✭✭✭✭Seth Brundle


    They used to but looking at brinkster.com, I can't see it. Anyhow, IIRC it was a PITA as you had to use a web based upload tool and not FTP.


  • Registered Users, Registered Users 2 Posts: 7,468 ✭✭✭Evil Phil


    Blacknight have an account type that comes to something like €3 a month or there abouts and it seems to be quite solid. Solid in that it doesn't go down at 6:30pm every friday and stays down until Monday lunchtime :)


  • Registered Users, Registered Users 2 Posts: 304 ✭✭Smiley012


    ok what does anyone think about bravenet.com? see I only need hosting for about three months...

    anymore suggestions?


  • Advertisement
  • Moderators, Politics Moderators, Paid Member Posts: 44,036 Mod ✭✭✭✭Seth Brundle


    Is your site a personal site?
    Will it be busy?
    3 months isn't much so it may suit


Advertisement