NamePros.Com (http://www.namepros.com/)
-   CODE (http://www.namepros.com/code/)
-   -   Simple Contact Form (UPDATED) (http://www.namepros.com/code/202512-simple-contact-form-updated.html)

Barrucadu 12-13-2006 10:32 AM

If you are using PHP, you can do this:

PHP Code:
<?php include 'file.html'; ?>

thepurplecow 12-16-2006 01:48 PM

Sorry about thsi, but I have another problem. For other reasons, I've decided to change all the pages in my site to .php, not .html as they were before. But now something has happened to my contact page. Before, I used an iframe for the contact form, but as its now .php, I don't need to do this.

See:
http://www.biospherical.net/contact.php

You'll see:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/biospher/public_html/contact.php:8) in /home/biospher/public_html/contact.php on line 33

Anyone know what the problem is?

Thanks in advance!!

B33R 12-16-2006 03:37 PM

session_start(); has to be the very first code on the page, after <?php

If you've just used a php include to include the contact form on another page, you need to move the session_start(); code out of contact.php, and to the top of the other file instead.

thepurplecow 12-17-2006 08:13 AM

I'm not using a php include, I'm using the full code for the contact form on that page (http://www.biospherical.net/contact.php). Any ideas anyone?

B33R 12-17-2006 08:41 AM

Originally Posted by thepurplecow
I'm not using a php include, I'm using the full code for the contact form on that page (http://www.biospherical.net/contact.php). Any ideas anyone?

Same thing, move the session_start(); to the top of the php file, after the <?php

deu12000 01-30-2007 06:16 PM

I tried downloading this, but the download doesn't seem to work.

Flaepru 02-02-2007 12:11 PM

It is a nice script... When I was beginner, I always had problems with PHP formularys =P
Anyways, does this formulary accepts HTML formatation?

SecondVersion 02-02-2007 01:38 PM

I'm not sure what's going on with attachments.. can't seem to find it on my HD either.. I'll see what I can come up with.

@Flaepru - it strips all HTML from input, if that's what you're asking.

B33R 02-02-2007 01:52 PM

Originally Posted by SecondVersion
I'm not sure what's going on with attachments.. can't seem to find it on my HD either.. I'll see what I can come up with.

I found a copy on my computer - download here.

I made the quick fix that I mentioned in post #21 too. :tu:

tonypony 03-01-2007 12:53 PM

Can you send a zip of yr Simple Contact Form as it won't download.

Thks

tomcruse@cd2.com

fried-chicken 03-29-2007 07:10 AM

does anyone know how to make this script run with a validation images, to stop robots sending endless email?

IAmAllanShore 03-29-2007 11:00 AM

http://www.namepros.com/code/202512...ghlight=captcha

It does... see the "captcha" part of the code - it requires the user to match the disguised text.

-Allan

SecondVersion 04-12-2007 03:22 PM

Updated to 1.0.4, see the 1st post.

Note: hasn't been tested, been quite busy but threw a release together ;) If you have any problems, just post here.


-Eric

vivsin 05-15-2007 01:07 PM

this image verification thing is not a good idea.

previous version of script was better.

please post older version if somebody have that

SecondVersion 05-15-2007 01:09 PM

Originally Posted by vivsin
this image verification thing is not a good idea.


:?

EDIT:
Updated to 1.0.5, see first post.

vivsin 05-16-2007 06:14 AM

1.0.4
-New constant, USE_CAPTCHA - if set to false, CAPTCHA won't be used.
-Overall code cleanup.

I missed this part.



One more good idea can be Email Retype field, 30% of my visitors mistype there email address.

fried-chicken 05-23-2007 10:23 AM

sorry be a pain, having trying to position it in my site

http://www.cheap-florida-holiday.com/contact.php

it seems to be going off the right?

i have been playing aroung with for ages now.

any help would be great

cheers

SecondVersion 08-06-2007 02:11 AM

I'm going to be updating this script, but I'd like to know if any of you have features you want me to add.

--
And

Sorry, never noticed your post fried-chicken - It's off to the left for me?

dominiosclave 11-25-2007 07:55 AM

thanks secondVersion

SecondVersion 03-02-2008 02:41 AM

Updated, see first post. http://www.namepros.com/1280909-post1.html

Joe 03-02-2008 03:27 AM

Downloaded it. :)

Thanks a lot SV.
Joe

bfluid 03-13-2008 06:41 PM

Just what I was looking for. :)

SecondVersion 05-15-2008 07:00 AM

Anyone have a copy of the latest version? The attachment no longer works. This time I thought I had saved a copy on my PC, but I can't find it.

Richard 06-23-2008 02:42 AM

SecondVersion: The attachment no longer works (as you're already aware). Did you manage to find a copy?

SecondVersion 06-23-2008 04:19 PM

Was never able to find a copy. If no one has a copy, I may have to rewrite, IF I can ever find the time to do so.


All times are GMT -7. The time now is 09:28 AM.
Site Sponsors
Advertise your business at NamePros

Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0