Search found 17 matches

by ronwooduk
Sun Aug 14, 2016 1:29 am
Forum: PHP coding => General
Topic: Help integrating Google Catchpa into php enquiry form
Replies: 0
Views: 829

Help integrating Google Catchpa into php enquiry form

Hello, I am trying to include Google catchpa on my enquiry form. I have been referring to an article from Codex http://www.codexworld.com/new-google-recaptcha-with-php but I am not knowledgeable enough to integrate it with my existing code ( kindly adapted from code supplied to me by a professional ...
by ronwooduk
Mon Mar 07, 2016 8:00 am
Forum: Server security
Topic: HTTPS problem / Commentics
Replies: 1
Views: 949

Re: HTTPS problem / Commentics

I have found the solution. Problem solved.
Thank you for looking.
Ron
by ronwooduk
Mon Mar 07, 2016 6:43 am
Forum: Server security
Topic: HTTPS problem / Commentics
Replies: 1
Views: 949

HTTPS problem / Commentics

Hi All, I have been using commentics ( customer reviews and ratings ) on my site for ages, no problems. I have just obtained an SSL certificate and am now trying to get the green padlock. I have removed most scripts etc that are insecure but I am having trouble with Commentics. When I test my page I...
by ronwooduk
Mon Aug 19, 2013 1:52 am
Forum: PHP General
Topic: Plogger Gallery Installation Problems
Replies: 1
Views: 885

Plogger Gallery Installation Problems

Hi Everyone, I have been trying to incorporate a Plogger Gallery into my web site. I have loaded all the files onto my server but when I try to complete the installation I get the following: string(184) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server ver...
by ronwooduk
Tue Jun 26, 2012 5:47 pm
Forum: PHP coding => Mail
Topic: Check Box Problem!
Replies: 7
Views: 3401

Re: Check Box Problem!

Ok, thanks.
by ronwooduk
Mon Jun 25, 2012 12:03 pm
Forum: PHP coding => Mail
Topic: Check Box Problem!
Replies: 7
Views: 3401

Re: Check Box Problem!

Thanks freshnet. You were right! I found another web site which explained how to put the for each loop into the message. See http://stackoverflow.com/questions/5553486/emailing-the-results-of-a-series-of-checkboxes-from-a-contact-form My code is as follows: /* build the message */ $message = "First ...
by ronwooduk
Sun Jun 24, 2012 1:39 pm
Forum: PHP coding => Mail
Topic: Check Box Problem!
Replies: 7
Views: 3401

Re: Check Box Problem!

I tried this: /* build the message */ $message = "First Name: $first_name\n\n"; $message .= "Last Name: $last_name\n\n"; $message .= "Telephone: $telephone\n\n"; $message .= "Email: $email\n\n"; $message .= "Comments: $comments\n\n"; $message .= "Entertainment: $entertainment"; foreach ($entertainme...
by ronwooduk
Sun Jun 24, 2012 1:18 pm
Forum: PHP coding => Mail
Topic: Check Box Problem!
Replies: 7
Views: 3401

Re: Check Box Problem!

Hi, I've done this: // go ahead only if not suspect and all required fields ok if (!$suspect && empty($missing)) { /* build the message */ $message = "First Name: $first_name\n\n"; $message .= "Last Name: $last_name\n\n"; $message .= "Telephone: $telephone\n\n"; $message .= "Email: $email\n\n"; $mes...
by ronwooduk
Sun Jun 24, 2012 8:00 am
Forum: PHP coding => Mail
Topic: Check Box Problem!
Replies: 7
Views: 3401

Re: Check Box Problem!

So do I put that in the "build message" section ie $message .= " Entertainment: foreach ($entertainment as $value) { echo $value; } "; I think it might print out the entire statement rather than just the checked array items? Have I put it in the right place? I'm trying to build an email message whic...
by ronwooduk
Sun Jun 24, 2012 2:19 am
Forum: PHP coding => Mail
Topic: Check Box Problem!
Replies: 7
Views: 3401

Check Box Problem!

Hi Everyone, I have used PHP Solutions by David Powers to put together a contact form for my web site but I can't get the items in the checkbox to show in my email message. Please could anyone suggest what I need to do to get this to work. I have read the book over and over and tried lots of variati...
by ronwooduk
Tue Apr 26, 2011 9:16 pm
Forum: PHP coding => Mail
Topic: Sending HTML Form with PHP
Replies: 2
Views: 659

Re: Sending HTML Form with PHP

Thanks, great stuff. I've just had a go at substituting the code but it's not working. I'm a bit thick with these things, I've obviously done something wrong. It's 6am here in the UK so I've got to get ready and go to work. I'll have another go at this tonight. I deleted everything from PRINT ( left...
by ronwooduk
Tue Apr 26, 2011 1:03 pm
Forum: PHP coding => Mail
Topic: Sending HTML Form with PHP
Replies: 2
Views: 659

Sending HTML Form with PHP

I am new to PHP and would like to be able to put an enquiry form on my web site. I have written the HTML form and tested on my server by sending the input to a php results page on the same server. Can anyone tell me tell me what code I need to be ble to send the form to my email address so customers...
by ronwooduk
Tue Apr 19, 2011 10:36 pm
Forum: PHP Scripts
Topic: How do I put Title, keywords, description into pages?
Replies: 8
Views: 1410

Re: How do I put Title, keywords, description into pages?

I've rearranged my index.php page and header.html files and tested it in XAMPP and it works. Now I'll have to work my way through the other pages I've already made. Fortunately I've not done too many. Thank you once again for sorting me out.
by ronwooduk
Tue Apr 19, 2011 2:06 pm
Forum: PHP Scripts
Topic: How do I put Title, keywords, description into pages?
Replies: 8
Views: 1410

Re: How do I put Title, keywords, description into pages?

Ok, I'll give it a go tomorrow. I very much appreciate your help. Thank you for looking at this for me.
by ronwooduk
Tue Apr 19, 2011 10:19 am
Forum: PHP Scripts
Topic: How do I put Title, keywords, description into pages?
Replies: 8
Views: 1410

Re: How do I put Title, keywords, description into pages?

So you mean something like this : <?php //some-page.php require('templates/TOP.html'); // contains Doctype and left column with fixed content ?> CHANGEABlE CONTENT STARTS <head> </head> Mumbo Jumbo etc etc CHANGEABLE CONTENT ENDS <?php require('templates/Bottom.html'); // contains right column with ...
by ronwooduk
Tue Apr 19, 2011 9:04 am
Forum: PHP Scripts
Topic: How do I put Title, keywords, description into pages?
Replies: 8
Views: 1410

Re: How do I put Title, keywords, description into pages?

Thanks for your reply. I have structured my site in exactly the way you describe but I want to be able to give each page a unique title, description and keywords. I have been able to use a CONSTANT to insert a unique title for each page but can't fathom out how to put a description and keywords in f...
by ronwooduk
Tue Apr 19, 2011 4:47 am
Forum: PHP Scripts
Topic: How do I put Title, keywords, description into pages?
Replies: 8
Views: 1410

How do I put Title, keywords, description into pages?

I am creating a web site using templates with the include () function as described in Larry Ullman's book PHP Visual Quickstart Guide, third edition. I want each page to have a unique title, description and keywords. Larry's book explains how to insert a title using define( 'CONSTANT', value ); and ...