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

Transfering Webform from one site to another

Options
  • 24-11-2007 1:44pm
    #1
    Registered Users Posts: 3,056 ✭✭✭


    Hey all,

    I'm overhauling a site for a client, and I wish to port his existing webform to my modified site...

    The form is basicially fairly simple with a few inbuilt instructions:

    1) the form is submitted to the client via email obviously! - in clear text
    2) The customer receives an automated confirmation email that the company will be in touch within 24 hours.

    These are in place within the form already.

    Can I simply copy and paste the form into my new site structure?

    The origional form was in the "index" page - it's now moves to "parts request" page - does this geographic moving effect the fuctionality?

    I'll copy the formmail asp file also into the new site too...

    Here's the code from the html form:

    Thanks in advance!



    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
    <html>
    <head>
    <title>Summerhill Auto Recycling, used car parts, end of life</title>




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

    <body bgcolor="#ffffff">

    <a href="http://www.summerhillspares.ie/requestprocessed.htm"><img src="images/SummerhillSparesTopofpage.jpg" alt="" border="0" style="width: 762px; height: 396px;"></a>

    <form ACTION="cgi-bin/formmail.asp" method="get" name="form1">
    <input name="recipient" value="info@summerhillspares.ie" type="hidden">
    <input type="hidden" name="redirect" value="http://www.summerhillspares.ie/requestprocessed.htm"&gt;
    <input name="subject" type="hidden" id="subject" value="spare parts request">

    <table width="760" border="1" cellpadding="1" cellspacing="1" bgcolor="#006600">

    <tbody>
    <tr bgcolor="006600">


    <td width="171"><font color="CCCCCC" face="Arial, Helvetica, sans-serif" size="3">
    Your Name</font></td>

    <td width="576"><font color="006600" face="Arial, Helvetica, sans-serif" size="2">
    <input name="CustomerName" id="CustomerName" type="text">
    </font></td>

    </tr>

    <tr bgcolor="006600">


    <td><font color="CCCCCC" face="Arial, Helvetica, sans-serif" size="3">Phone
    Number </font></td>

    <td><font color="CCCCCC" face="Arial, Helvetica, sans-serif" size="2">
    <input name="PhoneNumber" id="PhoneNumber2" type="text">

    </font></td>

    </tr>


    <tr>
    <td bgcolor="006600"><font color="CCCCCC" face="Arial, Helvetica, sans-serif" size="3">email
    address </font></td>


    <td bgcolor="006600"><font color="CCCCCC" face="Arial, Helvetica, sans-serif" size="3">
    <input name="EmailAddress" id="EmailAddress2" type="text">
    </font></td>

    </tr>

    <tr>
    <td bgcolor="006600"><font color="CCCCCC" face="Arial, Helvetica, sans-serif" size="3">Make
    of Vehicle/Car</font></td>


    <td bgcolor="006600"><font color="CCCCCC" face="Arial, Helvetica, sans-serif" size="2">
    <input name="CarMake" id="CarMake2" type="text">
    </font></td>

    </tr>

    <tr bgcolor="006600">


    <td><font color="CCCCCC" face="Arial, Helvetica, sans-serif" size="3">Model,
    eg. 1.6, 5 door</font></td>

    <td><font color="CCCCCC" face="Arial, Helvetica, sans-serif" size="3">
    <input name="ModelofCar" id="CarMake2" type="text">
    </font></td>

    </tr>

    <tr>



    <td bgcolor="006600"><font color="CCCCCC" face="Arial, Helvetica, sans-serif" size="3">Year
    of Vehicle</font></td>


    <td bgcolor="006600"><font color="CCCCCC" face="Arial, Helvetica, sans-serif" size="3">
    <input name="YearofCar" id="YearofCar2" type="text">
    </font></td>

    </tr>

    <tr>


    <td bgcolor="006600"><font color="CCCCCC" face="Arial, Helvetica, sans-serif" size="3">Extra
    information, if you require a specific part or number of parts enter here</font></td>


    <td bgcolor="006600"><font color="CCCCCC" face="Arial, Helvetica, sans-serif" size="2"> 

    </font><textarea name="PartsRequired" cols="70" id="PartsRequired"></textarea>
    </td>

    </tr>
    <tr>


    <td bgcolor="006600"></td>


    <td bgcolor="006600"><font color="CCCCCC" face="Arial, Helvetica, sans-serif" size="2"> 

    </font><input type="submit" value="SEND">


    </td>

    </tr>



    </tbody>
    </table>

    </form>

    <img style="width: 762px; height: 54px;" alt="" src="images/SummerhillSpares.gif">
    <p> </p>

    <p></p>


    </body>
    </html>







    Here's the code form the Active Server Document:












    <%@ Language = vbscript%>
    <%option explicit %>
    <%server.scripttimeout = 600 %>
    <%
    '

    FORMMAIL V1.3

    '
    'copyright information
    '

    'This script is Freeware, which means you are free to use and modify
    'the script for your own use.
    'The only condition is this copyright header remain intact and you don't
    'try and sell this script for profit without first asking us.


    '
    'license agreement - Important
    '
    'By using this script you agree to indeminfy the developers - Sorted Sites of any loss
    'or damages that may arise from its use or missue.
    'This script is provided as is with all faults - no warranties and no guarantees.
    'basically its free - use it at your own risk and cost.
    'No warranties and no tech support - if you need help with this don't ask us!
    'The documentation is provided as is with all the help we can offer.
    'As we develop this script we shall post updates hopefully fix any bugs
    'We are not obliged to release any future versions and we might not bother...
    'By using this script you accept this license agreement!

    '
    'documentation v1.3
    '

    '####################################################################################################
    'this is where the code starts for real
    '####################################################################################################

    '
    'declare variables
    '
    Dim strFrom, strTo, strSubject, strBody
    Dim objMessage, objConfig, strServer, intPort
    Dim recipient, redirect, subject, realname, email, required, strEmail1, strEmail2
    Dim referer, url, url_verified, icounter, query, iloop, query2, query3, i, agree, validation, error0, error0ok

    '############################## CONFIGURATION VARIABLES ####################################

    'These are the only lines you will need to change
    '
    strServer = "mail.summerhillspares.ie" 'set which smtp server will be used to send the email. enter ip address or domain name. eg: "xxx.xxx.xxx.xxx" or "smtp.your-domain.com"
    intPort = 25 'set the smtp port to be used when sending mail (by default port 25 is used)
    'Referrer's Array is defined here. Enter the valid domains which may use this script.
    url = Array("www.summerhillspares.ie","summerhillspares.ie","www.hotmail.com","hotmail.com")'Set which urls that will be accepted. http://xxxxx/
    'Seperate multiple domains by commas
    'eg: url= Array("www.your-domain.com","your-domain.com","www.my-domain.com")
    'computer names can be used instead of domains if this script is being run locally
    'eg: url = Array("computername")

    '######################################### IMPORTANT NOTICE #########################################
    'IMPORTANT: do not modify anything below this line unless you know what you are doing!!
    '######################################### IMPORTANT NOTICE #########################################

    '
    'information type and CDOSYS constants
    '
    %>
    <!--METADATA TYPE="typelib"
    UUID="CD000000-8B95-11D1-82DB-00C04FB1625D"
    NAME="CDO for Windows 2000 Library" -->
    <!--METADATA TYPE="typelib"
    UUID="00000205-0000-0010-8000-00AA006D2EA4"
    NAME="ADODB Type Library" -->
    <%
    '
    'retrieved default fields
    '
    recipient = request("recipient")
    redirect = request("redirect")
    subject = request("subject")
    email = request("email")
    required = request("required")
    if required = "" then
    required = "recipient,subject,email,redirect"
    else
    required = "recipient,subject,email,redirect," & required
    end if

    '
    'verify the referer
    '
    Dim sRef, avarRef
    sRef = request.ServerVariables("HTTP_REFERER")
    If sRef <> "" Then
    If instr(sRef, "/") > 0 Then
    avarRef = split(sRef, "/")
    End If
    End If

    If isArray(avarRef) Then
    If ubound(avarRef) > 1 Then
    for icounter = Lbound(url) to Ubound(url) '
    if avarRef(2) = url(icounter) then
    url_verified = "yes"
    end if
    next
    End If
    End If
    next
    if not url_verified = "yes" then
    response.write("The url specified is invalid!")
    response.End
    end if

    '
    'verify the recipient(not tested)
    '
    'trimed_referer = split(referer(2),".")'
    'response.write recipient & "<br>" & referer(2) & "=" & trimed_referer(0) & "<br>"
    'if trimed_referer(0) = "www" then
    ' if InStr(1,recipient,trimed_referer(1),1) = 0 then
    ' response.write "recipient don't match the referer"
    ' response.end
    ' end if
    'else
    ' if InStr(1,recipient,trimed_referer(0),1) = 0 then
    ' response.write "recipient don't match the referer"
    ' response.end
    ' end if
    'end if

    '
    'retrieve form contents and create email fields
    '
    query = Request.ServerVariables("QUERY_STRING")
    query = split(query,"&")
    query3 = split(required,",")
    For iLoop = Lbound(query) to UBound(query)
    query2 = split(query(iloop),"=")

    '
    'form validation, checks required fields are not null
    '
    for i = LBound(query3) to UBound(query3)
    if query3(i) = query2(0) then
    if query2(1) = "" then
    response.write ("you must enter a valid ") & query2(0)
    response.end
    end if
    end if

    'if query2(0) = "agree" then
    'if query2(1) <> "on" or query2(1) = "" then
    ' response.write("You must agree to terms and conditions to enable Formmailv1.3 to execute!")
    'response.end
    'end if
    'end if



    '
    'form validation, checks terms and conditions checkbox has been ticked
    '

    Next
    if not query2(0) = "recipient" and not query2(0) = "redirect" and not query2(0) = "subject" and not query2(0) = "realname" and not query2(0) = "email" and not query2(0) = "required" and not query2(0) = "agree" then
    strBody = strBody & vbnewline & vbnewline & query2(0) &": " & query2(1)
    end if
    Next
    if email = "" then
    email = "formmail@" & referer(2)
    end if
    '
    'replaces any special characters parsed through the query string
    '
    strbody = replace(strbody, "+"," ")
    strbody = replace(strbody, "%26%238364%3B","€")
    strbody = replace(strbody, "%A1","¡")
    strbody = replace(strbody, "%A3","£")
    strbody = replace(strbody, "%A8","¨")
    strbody = replace(strbody, "%AA","ª")
    strbody = replace(strbody, "%AC","¬")
    strbody = replace(strbody, "%B4","´")
    strbody = replace(strbody, "%B7","·")
    strbody = replace(strbody, "%BA","º")
    strbody = replace(strbody, "%BF","¿")
    strbody = replace(strbody, "%C7","Ç")
    strbody = replace(strbody, "%E7","ç")
    strbody = replace(strbody, "%0D%0A",vbnewline)
    strbody = replace(strbody, "%21","!")
    strbody = replace(strbody, "%23","#")
    strbody = replace(strbody, "%24","$")
    strbody = replace(strbody, "%25","%")
    strbody = replace(strbody, "%26","&")
    strbody = replace(strbody, "%27","'")
    strbody = replace(strbody, "%28","(")
    strbody = replace(strbody, "%29",")")
    strbody = replace(strbody, "%2B","+")
    strbody = replace(strbody, "%2C",",")
    strbody = replace(strbody, "%2D","-")
    strbody = replace(strbody, "%2E",".")
    strbody = replace(strbody, "%2F","/")
    strbody = replace(strbody, "%3A",":")
    strbody = replace(strbody, "%3B",";")
    strbody = replace(strbody, "%3C","<")
    strbody = replace(strbody, "%3D","=")
    strbody = replace(strbody, "%3E",">")
    strbody = replace(strbody, "%3F","?")
    strbody = replace(strbody, "%5B","[")
    strbody = replace(strbody, "%5C","\")
    strbody = replace(strbody, "%5D","]")
    strbody = replace(strbody, "%5E","^")
    strbody = replace(strbody, "%5F","_")
    strbody = replace(strbody, "%60","`")
    strbody = replace(strbody, "%7B","{")
    strbody = replace(strbody, "%7C","|")
    strbody = replace(strbody, "%7D","}")
    strbody = replace(strbody, "%7E","~")

    '
    'this creates the body of the mail message, the text in quotes can be modified accordingly
    '
    strBody = "Here is the results of your form submitted from" & referer(2) & vbnewline & vbnewline & "Name: " & realname & vbnewline & vbnewline & "Email: " & email & vbnewline & strBody & vbnewline & vbnewline & "############# End Formmail Tranmission #############"

    '
    'checks if a smtp port has been specified, if not it uses the default port 25
    '
    if intport <> 25 then
    intport = intport
    else
    intport = 25
    end if

    '
    'send the mail message
    '
    set objMessage = CreateObject("CDO.Message")
    objMessage.To = recipient
    objMessage.From = email
    objMessage.Subject = subject
    objMessage.Sender = email
    objMessage.Textbody = strBody

    '
    'cdosys configuration setup
    '
    set objConfig = CreateObject("CDO.Configuration")
    objConfig.Fields(cdoSendUsingMethod) = cdoSendUsingPort
    objConfig.Fields(cdoSMTPServer) = strServer
    objConfig.Fields(cdoSMTPServerPort) = intPort
    objConfig.Fields(cdoSMTPAuthenticate) = cdoAnonymous
    objConfig.Fields.Update
    set objMessage.Configuration = objConfig

    '
    'define error handling procedures
    '
    On Error Resume Next
    objMessage.Send
    If Err.Number = 0 then
    response.write("Formmail v1.3 processed all operations successfully!")
    else
    response.write("Formmail v1.3 detected the following errors:")& "<br>"
    response.write("error no.: ")&err.number & "<br>"
    response.write("description: ")&err.description & "<br>"
    response.end
    End If
    On Error Goto 0

    '
    'send them to the page specified
    '
    Response.Redirect redirect

    '####################################################################################################
    'This is where the code ends
    '####################################################################################################
    %>
    <!-- That's All Folks -->
    <!-- Happy Surfing -->





«1

Comments

  • Registered Users Posts: 3,401 ✭✭✭randombar


    I think it should be fine, just don't forget to transfer the formail.asp file to the "cgi-bin" folder!


  • Registered Users Posts: 3,056 ✭✭✭sticker


    GaryCocs wrote: »
    I think it should be fine, just don't forget to transfer the formail.asp file to the "cgi-bin" folder!

    Thanks...

    Do I need to create a folder called "cgi-bin" and dump the formail.asp into it within the website directory or on the server where it's hosted?


  • Registered Users Posts: 3,056 ✭✭✭sticker


    Anyone...?


  • Registered Users Posts: 3,401 ✭✭✭randombar


    Sorry, yes you do need to create a folder called cgi-bin and dump formmail into it! but you should really have that folder created already by your host?


  • Registered Users Posts: 3,056 ✭✭✭sticker


    Thanks!


  • Advertisement
  • Registered Users Posts: 413 ✭✭ianhobo


    this exact problem was done to death in another thread, and yes, it was for summerhill spares....i'll have another look for the thread.
    There ended up being some difficulties with it though....


  • Registered Users Posts: 413 ✭✭ianhobo




  • Registered Users Posts: 3,056 ✭✭✭sticker


    ianhobo wrote: »
    this exact problem was done to death in another thread, and yes, it was for summerhill spares....i'll have another look for the thread.
    There ended up being some difficulties with it though....

    Totally different issues ianhobo...

    The thread you've posted was to change the email settings WITHIN the old site.

    This thread was posted to port the existing form into a NEW site.

    Maybe read though the threads before screaming double-post ;)


  • Registered Users Posts: 413 ✭✭ianhobo


    Best of luck so :D


  • Registered Users Posts: 3,056 ✭✭✭sticker


    I don't think it's working - can you guys try it...?

    Here's a temp online location - it's not on the origional servers - I've uploaded the cgi-bin folder to the same online directory as request!

    http://www.statesidecustom.com/summerhill/frames.htm

    It's under "parts request"

    Thanks!


  • Advertisement
  • Registered Users Posts: 3,401 ✭✭✭randombar


    Is your server running asp?


  • Registered Users Posts: 3,056 ✭✭✭sticker


    GaryCocs wrote: »
    Is your server running asp?

    I'll check with them and post back!


  • Registered Users Posts: 3,056 ✭✭✭sticker


    GaryCocs wrote: »
    Is your server running asp?

    Just hard back from the hosting company - they don't suport asp!

    Is there any other way to check if it's working?


  • Registered Users Posts: 413 ✭✭ianhobo


    Its an asp form, so if they don't run asp on there servers, then the form won't work


  • Registered Users Posts: 3,401 ✭✭✭randombar


    Reckon the best thing to do is update the hosting! Either php or asp!


  • Registered Users Posts: 3,056 ✭✭✭sticker


    GaryCocs wrote: »
    Reckon the best thing to do is update the hosting! Either php or asp!

    The customer already has asp hosting on his webspace... I suppose I just upload it when it's ready and post back here if it doesn't work!

    Thanks for the replies...


  • Registered Users Posts: 3,401 ✭✭✭randombar


    sticker wrote: »
    The customer already has asp hosting on his webspace... I suppose I just upload it when it's ready and post back here if it doesn't work!

    Thanks for the replies...

    if you place the asp page within the cgi-bin folder of the customers hosting service and then on your testing server change the address in the form to:

    <form ACTION="http://www.summerhillspares.ie/cgi-bin/formmail.asp&quot; method="get" name="form1">

    that means you can test away and just use the asp page from the customers own server?


  • Registered Users Posts: 3,056 ✭✭✭sticker


    GaryCocs wrote: »
    if you place the asp page within the cgi-bin folder of the customers hosting service and then on your testing server change the address in the form to:

    <form ACTION="http://www.summerhillspares.ie/cgi-bin/formmail.asp&quot; method="get" name="form1">

    that means you can test away and just use the asp page from the customers own server?

    The new site is going live next week, the customer has no problem with the form being down for a while, so I may just upload the lot and then test.

    If there's a problem expect a bump o this thread!! ;)

    Thanks for the replies & help!


  • Registered Users Posts: 3,056 ✭✭✭sticker


    Hey all,

    I'm back with an issue with the webform again! SORRY!

    I've just uploaded the new site and I'm getting the following error when I try to submit the form...

    Microsoft VBScript compilation error '800a041f'

    Unexpected 'Next'

    /cgi-bin/formmail.asp, line 109

    next
    ^


    I can give ftp access to the site if someone can help!

    Thanks in advance! ;)


  • Closed Accounts Posts: 250 ✭✭GP


    If you're getting paid to handle other people's sites which include coding (asp, php etc) you really SHOULD have an idea of these langauges + requirements before moving anything or even taking on the job.

    Alternatively you might want to find someone who can sort it out for you for a fee.

    Don't mean to sound harsh but you are doing this as a business and it's this kind of stuff that creates problems for those who know what they are doing and invested time / money learning their trade.

    I've heard of countless examples of people leaving for "cheaper" web development options only to be confronted with scenarios like the above.

    If I may suggest something, PLEASE try and find someone who you can PAY to sort out any coding issues for you. It will benefit your clients (and therefore you) in the long run.

    Classic ASP is one of the simplest languages out there and you will not struggle to find someone to help.

    Again, I'm not trying to be rude, just helpfull.

    Gianni Ponzi
    Eireann Design


  • Advertisement
  • Registered Users Posts: 3,401 ✭✭✭randombar


    sticker wrote: »
    Hey all,

    I'm back with an issue with the webform again! SORRY!

    I've just uploaded the new site and I'm getting the following error when I try to submit the form...

    Microsoft VBScript compilation error '800a041f'

    Unexpected 'Next'

    /cgi-bin/formmail.asp, line 109

    next
    ^



    I can give ftp access to the site if someone can help!

    Thanks in advance! ;)

    Could you explain exactly what you did?

    I don't know asp but if you didn't go at the asp file itself then it shouldnt be an asp error as such!


  • Registered Users Posts: 2,919 ✭✭✭Bob the Builder


    Your webserver most likely runs PHP then well so, unless of course you've been ripped off, or else you went with cheapest hosting package you could find.

    To be quite honest, I don't bother making my own web formmails because they are too much trouble to make when you know there's other ones there.

    I usually use this website: http://www.tele-pro.co.uk/scripts/contact_form/index.htm

    Just enter the criteria it asks for, or that you want to put in your form, and it should be reasonably plain sailing.

    As GP has said, it might be a good idea to begin learning PHP, especially if you are deciding to take payment for your work. I started in the exact same position as you are in now, making a website for a cycling club, but you will find that the sooner you learn these things, the better. Otherwise it may be advisable to look at different options as regards a career or paid service which you are intending to provide. Your knowledge of PHP doesn't even have to be fantastic, but even if you know the basics, at least you can go somewhere.


  • Registered Users Posts: 3,056 ✭✭✭sticker


    GP wrote: »
    If you're getting paid to handle other people's sites which include coding (asp, php etc) you really SHOULD have an idea of these langauges + requirements before moving anything or even taking on the job.

    Alternatively you might want to find someone who can sort it out for you for a fee.

    Don't mean to sound harsh but you are doing this as a business and it's this kind of stuff that creates problems for those who know what they are doing and invested time / money learning their trade.

    I've heard of countless examples of people leaving for "cheaper" web development options only to be confronted with scenarios like the above.
    If I may suggest something, PLEASE try and find someone who you can PAY to sort out any coding issues for you. It will benefit your clients (and therefore you) in the long run.

    Classic ASP is one of the simplest languages out there and you will not struggle to find someone to help.

    Again, I'm not trying to be rude, just helpfull.

    Gianni Ponzi
    Eireann Design

    I do find your post very harsh Gianni - I have plenty of ability in many aspects of web design. This happens to be an area where I am unfamiliar - we all have aspects to our proficiencies where we are lacking. You know nothing about my technical expertise yet feel empowered to suggest that individuals like myself tarnish the trade or even undermine the "hard work" of others who have learnt the methods required - what absolute BULL!, Especially when when I can provide a perfectly functional website to a clients satisfaction... They may not be overly technical, but the customer base I work with do not require it.

    The Boards is a place where advice and help can be found, Where else do self-taught individuals learn? but through asking others and seeking their advice and knowledge...

    I honestly don't know why you fell you've the right to hijack my thread and sound off. It's off-topic and condescending... I'd also suggest that seeing as you feel you've full licence to be judgemental; I'd consider your homepage for Eireann Design a FAR CRY from professional looking.

    FOR THE RECORD... I'd be happy to pay someone to help me in this aspect of my work, but seeing as I help others here when I can, I thought the favour might be returned...

    Also, looking at some of your other posts here, you seem to have an allergic reaction to constructive advice or maybe you're just argumentative...

    From thread http://www.boards.ie/vbulletin/showt...1#post54882451

    "to be brutally honest, you may want to rethink the whole site design. The logo looks like a Micorsoft Word clip art image and the whole look and feel is all over the place.
    Not trying to be rude or anything but it's horrible..."


  • Registered Users Posts: 3,056 ✭✭✭sticker


    nevf wrote: »
    Your webserver most likely runs PHP then well so, unless of course you've been ripped off, or else you went with cheapest hosting package you could find.

    To be quite honest, I don't bother making my own web formmails because they are too much trouble to make when you know there's other ones there.

    I usually use this website: http://www.tele-pro.co.uk/scripts/contact_form/index.htm

    Just enter the criteria it asks for, or that you want to put in your form, and it should be reasonably plain sailing.

    As GP has said, it might be a good idea to begin learning PHP, especially if you are deciding to take payment for your work. I started in the exact same position as you are in now, making a website for a cycling club, but you will find that the sooner you learn these things, the better. Otherwise it may be advisable to look at different options as regards a career or paid service which you are intending to provide. Your knowledge of PHP doesn't even have to be fantastic, but even if you know the basics, at least you can go somewhere.

    The hosting does have PHP - I may look into the link you provided. thanks.


  • Registered Users Posts: 3,056 ✭✭✭sticker


    GaryCocs wrote: »
    Could you explain exactly what you did?

    I don't know asp but if you didn't go at the asp file itself then it shouldnt be an asp error as such!

    The web form worked fine on the old site, just porting it into the new version seems to have coding issues!


  • Registered Users Posts: 413 ✭✭ianhobo


    In fairness though, you have overlooked some very simple things with regard to these problems....as simple as the hosting for this type of technology.
    And because the problem is rather complicated, I doubt your able to learn very much about whats going on, are you?
    sticker wrote: »
    Just hard back from the hosting company - they don't suport asp!
    Is there any other way to check if it's working?
    I'm used to just creating forms in Dreamweaver - not that familiar with ASP code

    Maybe your starting point is too deep and maybe a step back is required (in saying that, the deep end is always good!). Maybe start with learning a particular flavour of asp and moving on from there.

    A lot of people have put in a lot of effort into helping you with these formmail.asp problems. It collectively spans over two thread and 5 pages, and the problem is that we haven't gotten very far, and I fear, are unlikely to.
    It is a large, un-commented, un tested (theres a comment that says so!!!:) ), and 3rd-party code.

    Are you taking payment for the work your doing?
    If so, here's my suggestion:

    I think that writing a new form to process the incoming query would be far easier, and would take far less longer than trying to fix/adjust your code.

    so you could A)
    Look for a developer to write you a new form to deal with the query and the mail.
    You already have hosting, and email with the hosting I presume?
    In that case, I reckon a form to process your mail could be written in less than 20 lines of code!! (depending on your hosting set up)
    So, post your requirements, your hosting spec, and detail what you want to code to do ->" process inofo from a form, forward to client and auto response" or similar.
    You would probably only have to pay someone a very small amount, its probably less than 30 mins work. And there are people here who are already somewhat familiar with what your trying to do

    If your not taking payment, maybe plan B is your option:.....

    B)
    Attemp it yourself with help from us here in boards, in the manner that you suggested earlier.

    Start by posting (similar to the possible ad) your sever spec, ASP.net, php etc and what *your* trying to do ;) i.e email processing from a form.
    Do you have a language preference?
    Someone will most likely respond with a few links to email form processing which have a more modern/shorter/quicker approach in a language much newer than classic asp.
    I reckon you'd have that all done by the end of the week.........

    Anyway, my two cents


  • Registered Users Posts: 3,056 ✭✭✭sticker


    ianhobo wrote: »
    In fairness though, you have overlooked some very simple things with regard to these problems....as simple as the hosting for this type of technology.
    And because the problem is rather complicated, I doubt your able to learn very much about whats going on, are you?




    Maybe your starting point is too deep and maybe a step back is required (in saying that, the deep end is always good!). Maybe start with learning a particular flavour of asp and moving on from there.

    A lot of people have put in a lot of effort into helping you with these formmail.asp problems. It collectively spans over two thread and 5 pages, and the problem is that we haven't gotten very far, and I fear, are unlikely to.
    It is a large, un-commented, un tested (theres a comment that says so!!!:) ), and 3rd-party code.

    Are you taking payment for the work your doing?
    If so, here's my suggestion:

    I think that writing a new form to process the incoming query would be far easier, and would take far less longer than trying to fix/adjust your code.

    so you could A)
    Look for a developer to write you a new form to deal with the query and the mail.
    You already have hosting, and email with the hosting I presume?
    In that case, I reckon a form to process your mail could be written in less than 20 lines of code!! (depending on your hosting set up)
    So, post your requirements, your hosting spec, and detail what you want to code to do ->" process inofo from a form, forward to client and auto response" or similar.
    You would probably only have to pay someone a very small amount, its probably less than 30 mins work. And there are people here who are already somewhat familiar with what your trying to do

    If your not taking payment, maybe plan B is your option:.....

    B)
    Attemp it yourself with help from us here in boards, in the manner that you suggested earlier.

    Start by posting (similar to the possible ad) your sever spec, ASP.net, php etc and what *your* trying to do ;) i.e email processing from a form.
    Do you have a language preference?
    Someone will most likely respond with a few links to email form processing which have a more modern/shorter/quicker approach in a language much newer than classic asp.
    I reckon you'd have that all done by the end of the week.........

    Anyway, my two cents

    Thanks for the feedback ianhobo - I think you're quite right in some respects... I may not have absolutely coveyed the situation here...

    In regard to my quote that the server company doesn't support ASP, this was in regard to a new webspace option, NOT the current webspace that the new site resides... So the hosting package does support this kind of form.

    I am indeed taking payment for this work, so I would agree that paying for the form to be completed properly would be prudent in the event that a quick fix is not forthcoming! I'd also agree that the existing code is very messy and a fresh new code might be the best option!

    I didn't think that because the work was under the banner of "paid" it would be an issue whether or not I get "free" help.... but I see the logic in what you say.

    If anyone is prepared to fix this issue for me, I'd be happy to discuss payment! PM me!

    Thanks again everyone for their input this problem. ;)


  • Registered Users Posts: 413 ✭✭ianhobo


    sticker wrote: »
    I didn't think that because the work was under the banner of "paid" it would be an issue whether or not I get "free" help.... but I see the logic in what you say.

    I agree, you're right, it shouldn't be an issue really. There are many people who look for help here in theie 9-5 jobs.

    I only bring it up because it means it might be *easier* for you in the long run seen as your being paid.
    If you weren't being paid, then you personally paying for the problem to be fixed wouldn't be very prudent. Hence my suggestion of option B :)

    Grand about the server.
    So what technologies does the server support?
    If its ASP.net or PHP, do you know what version? 1, 2.0, 3....


  • Registered Users Posts: 3,401 ✭✭✭randombar


    sticker wrote: »
    The web form worked fine on the old site, just porting it into the new version seems to have coding issues!

    If it's just a simple email form then you could send me on the page and I'd put the back end in for you?


  • Advertisement
  • Closed Accounts Posts: 250 ✭✭GP


    sticker wrote: »
    IYou know nothing about my technical expertise

    This was NOT a design issue etc that you posted this was a SCRIPTING issue of which you obviously did not nknow anything about. I NEVER commented on any other aspects of your expertise. I was suggesting you contact someone who KNOWS about these issue and you who knows you might even strike up a working alliance.
    sticker wrote: »
    I'd consider your homepage for Eireann Design a FAR CRY from professional looking.

    Yup...needs a whole re-do for sure. Been in in need of one for a long time but one's own work is always left for last.


Advertisement