Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

asp help!

  • 18-01-2007 8: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 Posts: 41,211 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,136 ✭✭✭✭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 Posts: 41,211 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 Posts: 41,211 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 Posts: 41,211 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 Posts: 41,211 Mod ✭✭✭✭Seth Brundle


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


Advertisement