Help Making Email Required

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
jcritch
Posts: 1
Joined: Fri Jul 08, 2005 4:56 pm

Help Making Email Required

Post by jcritch »

Script URL: http://jcritch.jlef.net/guestbook/gbook.php
Version of script: 1.3.2
Version of PHP: 4.3.10
Hosting company: jlef.com
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try: required email, email

Write your message below:

First off, let me say I like your script. It works where many other have not. ':D'
Very Happy

I would like to have the email address of the person signing the guest book required. In looking at the script, I think I can do so, but am not sure if there is more than one place I need to modify. If I add a line something like "if(empty($email)) {problem("Please enter your email!","1");}" I think that should fix it, but am looking for help to be sure.
Jack Critchfield
JLEF Web Services
Inexpensive Internet Access & Web Hosting
http://jlef.com
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

That should work, yes. Let me know if you have any problems with it.

Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply