Tech Support Guy banner
Status
Not open for further replies.
1 - 20 of 26 Posts

·
Registered
Joined
·
63 Posts
Discussion Starter · #1 ·
ok... i uploaded my new site

on my contact page there is a form... i suck at forms... it used to work, i copied and pasted it from the old site to the new design... why isnt it working?

Im not bright enough to figure out how to get the html in without copying the whole page over as the attachments cant deal with htm files and it wont let me upload the URL, it keeps saying invalid file...

http://nicolahamilton.com/contact.htm is the only way i can think of letting you see the source....

Im using dreamweaveMX to FTP it over
 

·
Registered
Joined
·
941 Posts
Replace this code:
HTML:
Nicola Hamilton Photography - Index

[TABLE]
  [TR] 
    [TD]
        [/TD]
    [TD] [/TD]
    [TD] [/TD]
  [/TR]
  [TR] 
    [TD]

 [B]Nicola

        Hamilton 
        Photography[/B]

:: [URL=http://nicolahamilton.com/index.htm]Home[/URL]

:: [URL=http://nicolahamilton.com/weddings.htm]Weddings[/URL]

:: [URL=http://nicolahamilton.com/portraits.htm]Portraits[/URL]

:: [URL=http://nicolahamilton.com/pr.htm]Press & PR[/URL]

:: [URL=http://nicolahamilton.com/landscapes.htm]Landscapes[/URL]

:: [URL=http://nicolahamilton.com/packages.htm]Packages[/URL]

:: [URL=http://nicolahamilton.com/additions.htm]Additions[/URL]

:: [URL=http://nicolahamilton.com/contact.htm]Contact Us[/URL]

:: [URL=http://nicolahamilton.com/links.htm]Links[/URL]

:: [URL=http://nicolahamilton.com/terms.htm]Terms & Conditions[/URL]

[/TD]
    [TD]

Contact 
        Us

You can contact us using the details below, or alternatively 
        use the enquiry form below.

        [TABLE]
          [TR] 
            [TD][B]Glenorchy
                Pier Road
                Tarbert
                Argyll
                PA29 6UG[/B][/TD]
            [TD]

[B]Telephone: 
                01880 820623
                Mobile: 07867 841275
                E-Mail: [[email protected]][email protected][/EMAIL][/B]

 

[/TD]
          [/TR]
        [/TABLE]

 

 

 

 

      [TABLE]
        [TR] 
          [TD] Your 
              Full Name:[/TD]
          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD]

Your 
              E-mail Address:

[/TD]
          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD] Daytime 
              telephone:[/TD]
          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD] Evening 
              telephone:[/TD]
          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD]

Address:

[/TD]
          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD] Postcode:[/TD]
          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD] Date 
              of wedding:[/TD]
          [TD]

              Day
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              17
              18
              19
              20
              21
              22
              23
              24
              25
              26
              27
              28
              29
              30
              31

              Month
              January
              Feburary
              March
              April
              May
              June
              July
              August
              September
              October
              November
              December

              Year
              2005
              2006
              2007
              2008
              2009
              2010

            [/TD]
        [/TR]
        [TR] 
          [TD] Time 
              of ceremony:[/TD]
          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD] Location 
              - Church, Hotel, Castle etc:[/TD]
          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD] Reception 
              Venue:[/TD]
          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD] Approximate 
              Number attending wedding:[/TD]
          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD] Number 
              of Bridesmaids:[/TD]
          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD] Package 
              Selection:[/TD]
          [TD]

              Select
              Argyll
              Bute
              Cowal
              Lorne
              Kintyre
              Skye
              All Packages

            [/TD]
        [/TR]
        [TR] 
          [TD] Additional 
              Information/Special Requests:[/TD]
          [TD]

            [/TD]
        [/TR]
        [TR] [/TR]
        [TR] 
          [TD] How 
              did you find out about Us?:[/TD]
          [TD]

              Select
              1st Call for Weddings
              2Become1weddings.com
              Argyllshire Advertiser
              Best Scottish Wedding Magazine
              Bridal Links
              BT Phonebook
              Dunoon Observer
              Findaweddingphotogrpaher.co.uk
              Friendly Wedding Directory
              Hire A Band
              Hitched.co.uk
              Love Weddings
              Net-Weddings
              Only Brides
              Our Wedding Memories
              Plan-a-Wedding.co.uk
              Scotsmart
              Splut.com
              Touch Paisley
              UK Wedding Belles
              Waistcoatsdirect.com
              Wedding Chaos
              WeddingDay.co.uk
              Wedding Services 4 U
              Wedding Services Network
              Wedding Surf
              WedSite Scotland
              WedUK
              Yellow Pages
              *Other

            [/TD]
        [/TR]
        [TR] 
          [TD]

              Please Specify* [/TD]
          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD]  
          [/TD]
          [TD]

            [/TD]
        [/TR]
      [/TABLE]

 

      [/TD]
    [TD]

      [/TD]
  [/TR]
  [TR] 
    [TD] [/TD]
    [TD]All photographs displayed 
      on this site are © Nicola Hamilton Photography 2006[/TD]
    [TD] [/TD]
  [/TR]
[/TABLE]
After that, all you need is a mailer.php, i'm assuming you had one with your old server? if not, just let me know and i'll make you one. It should be named mailer.php, and it should be in the same directory as the contact page is.
 

·
Registered
Joined
·
63 Posts
Discussion Starter · #4 ·
Knight,

what did you change?... dreamweaver doesnt appreciate copy and paste, its pasting over in 1 continious line... with 2 broken tags... and [TR]

Ive had a good look through the old site and there is nothing like mailer.php, there is a sao12v1u30g7cgi-bin/formmail.pl that i have no idea what it is, that was left there by the guy who designed the original site. He seems to have built it with frontpage not dreamweaver.

How did you get the code into the last message, if i know how its done i can let you see the old contact us page.

nic
x
 

·
Registered
Joined
·
63 Posts
Discussion Starter · #5 ·
Knight,

I managed to copy it over in small chunks so the formatting of the scrypt was the same but page still does not work in dreamweaver see attached image below
 

Attachments

·
Registered
Joined
·
941 Posts
OK, try this:

HTML:
Nicola Hamilton Photography - Index

[TABLE]
  [TR] 
    [TD]
        [/TD]

    [TD] [/TD]
    [TD] [/TD]
  [/TR]
  [TR] 
    [TD]

 [B]Nicola

        Hamilton 
        Photography[/B]

:: [URL=index.htm]Home[/URL]

:: [URL=weddings.htm]Weddings[/URL]

:: [URL=portraits.htm]Portraits[/URL]

:: [URL=pr.htm]Press & PR[/URL]

:: [URL=landscapes.htm]Landscapes[/URL]

:: [URL=packages.htm]Packages[/URL]

:: [URL=additions.htm]Additions[/URL]

:: [URL=contact.htm]Contact Us[/URL]

:: [URL=links.htm]Links[/URL]

:: [URL=terms.htm]Terms & Conditions[/URL]

[/TD]
    [TD]

Contact 
        Us

You can contact us using the details below, or alternatively 
        use the enquiry form below.

[B]We are experiencing some technical difficulties 
        with the contact form, please email us for information, we hope to resolve 
        this issue very shortly. Thank you for your patience.[/B]

        [TABLE]

          [TR] 
            [TD][B]Glenorchy
                Pier Road
                Tarbert
                Argyll
                PA29 6UG[/B][/TD]
            [TD]

[B]Telephone: 
                01880 820623

                Mobile: 07867 841275
                E-Mail: [[email protected]][email protected][/EMAIL][/B]

 

[/TD]
          [/TR]
        [/TABLE]

 

 

 

 

      [TABLE]
        [TR] 
          [TD] Your 
              Full Name:[/TD]
          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD]

Your 
              E-mail Address:

[/TD]
          [TD]

            [/TD]
        [/TR]

        [TR] 
          [TD] Daytime 
              telephone:[/TD]
          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD] Evening 
              telephone:[/TD]

          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD]

Address:

[/TD]
          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD] Postcode:[/TD]
          [TD]

            [/TD]
        [/TR]

        [TR] 
          [TD] Date 
              of wedding:[/TD]
          [TD]

              Day
              1
              2

              3
              4
              5
              6
              7
              8

              9
              10
              11
              12
              13
              14

              15
              16
              17
              18
              19
              20

              21
              22
              23
              24
              25
              26

              27
              28
              29
              30
              31

              Month
              January
              Feburary
              March
              April

              May
              June
              July
              August
              September
              October

              November
              December

              Year
              2006
              2007

              2008
              2009
              2010
              2011

            [/TD]
        [/TR]

        [TR] 
          [TD] Time 
              of ceremony:[/TD]
          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD] Location 
              - Church, Hotel, Castle etc:[/TD]

          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD] Reception 
              Venue:[/TD]
          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD] Approximate 
              Number attending wedding:[/TD]
          [TD]

            [/TD]
        [/TR]

        [TR] 
          [TD] Number 
              of Bridesmaids:[/TD]
          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD] Package 
              Selection:[/TD]

          [TD]

              Select
              Argyll
              Bute
              Cowal
              Lorne

              Kintyre
              Skye
              All Packages

            [/TD]
        [/TR]
        [TR] 
          [TD] Additional 
              Information/Special Requests:[/TD]

          [TD]

            [/TD]
        [/TR]
        [TR] [/TR]
        [TR] 
          [TD] How 
              did you find out about Us?:[/TD]

          [TD]

              Select
              1st Call for Weddings
              2Become1weddings.com
              Argyllshire Advertiser
              Best Scottish Wedding Magazine

              Bridal Links
              BT Phonebook
              Dunoon Observer
              Findaweddingphotogrpaher.co.uk
              Friendly Wedding Directory
              Hire A Band

              Hitched.co.uk
              Love Weddings
              Net-Weddings
              Only Brides
              Our Wedding Memories
              Plan-a-Wedding.co.uk

              Scotsmart
              Splut.com
              Touch Paisley
              UK Wedding Belles
              Waistcoatsdirect.com
              Wedding Chaos

              WeddingDay.co.uk
              Wedding Services 4 U
              Wedding Services Network
              Wedding Surf
              WedSite Scotland
              WedUK

              Yellow Pages
              *Other

            [/TD]
        [/TR]
        [TR] 
          [TD]

              Please Specify* [/TD]
          [TD]

            [/TD]
        [/TR]
        [TR] 
          [TD]  
          [/TD]

          [TD]

            [/TD]
        [/TR]
      [/TABLE]

 

      [/TD]
    [TD]

      [/TD]
  [/TR]
  [TR] 
    [TD] [/TD]
    [TD]All photographs displayed 
      on this site are © Nicola Hamilton Photography 2006[/TD]

    [TD] [/TD]
  [/TR]
[/TABLE]
 

·
Registered
Joined
·
941 Posts
And here is the mailer.php file. Just make sure you save this in the same directory that the contact page is saved.

www.knight47.com/temps/mailer.zip (Right click, save as, extract, and then upload mailer.php to the same location that the contact page is located)

It's already configured to email the results to your email. Let me know if it works.
 

·
Registered
Joined
·
63 Posts
Discussion Starter · #10 ·
Knight..... ive got a bloody great problem..... it might not be your code at all.... i had a trojan and i think ( if its possible) that it might have damaged dreamweaver, its doing some very strange things....

will see if i can hunt out a copy of DW and reinstall it

nic
x
 

·
Registered
Joined
·
941 Posts
I don't think there is anything wrong with dreamweaver, because I tested it out here using dreamweaver, and it does look really diffrent. I really don't know why, but if you test it out it should work fine. Just upload both the contact page, and the mailer.php, and test it out online, it should work.

You should post a HJT log in the security section of this forum, they might be able to help you.
 

·
Registered
Joined
·
63 Posts
Discussion Starter · #13 ·
i clicked on my mothers index page and asked to clean up the broken links and the grey info box that came up was full of boxes where the text should be.... so something is wrong
 

·
Registered
Joined
·
14,681 Posts
knight_47 said:
And here is the mailer.php file. Just make sure you save this in the same directory that the contact page is saved.

www.knight47.com/temps/mailer.zip (Right click, save as, extract, and then upload mailer.php to the same location that the contact page is located)

It's already configured to email the results to your email. Let me know if it works.
You could credit the author: http://webdevfaqs.com/php.php#mailer
 
1 - 20 of 26 Posts
Status
Not open for further replies.
Top