12-13-2006, 10:32 AM
· #26 Resident Linux Geek
Name: Michael Walker
Location: East Yorkshire, England
Join Date: Aug 2005
Posts: 2,268
NP$: 286.30 (
Donate )
If you are using PHP, you can do this:
PHP Code:
<?php include 'file.html' ; ?>
12-16-2006, 01:48 PM
· #27 BioSpherical.net
Name: Ben
Location: UK
Join Date: Jun 2006
Posts: 410
NP$: 17.80 (
Donate )
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!!
__________________
CountryOnSale V1.2. Wow.
Signature loading...
Load failed.
Redirecting...
12-16-2006, 03:37 PM
· #28 for President!
Name: Rob
Location: UK
Join Date: Mar 2006
Posts: 1,962
NP$: 0.00 (
Donate )
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.
12-17-2006, 08:13 AM
· #29 BioSpherical.net
Name: Ben
Location: UK
Join Date: Jun 2006
Posts: 410
NP$: 17.80 (
Donate )
__________________
CountryOnSale V1.2. Wow.
Signature loading...
Load failed.
Redirecting...
12-17-2006, 08:41 AM
· #30 for President!
Name: Rob
Location: UK
Join Date: Mar 2006
Posts: 1,962
NP$: 0.00 (
Donate )
Originally Posted by thepurplecow
Same thing, move the session_start(); to the top of the php file, after the <?php
01-30-2007, 06:16 PM
· #31 Senior Member
Join Date: Jun 2004
Posts: 1,453
NP$: 2165.40 (
Donate )
I tried downloading this, but the download doesn't seem to work.
02-02-2007, 12:11 PM
· #32 New Member
It is a nice script... When I was beginner, I always had problems with PHP formularys =P
Anyways, does this formulary accepts HTML formatation?
02-02-2007, 01:38 PM
· #33 while ($awake){ code(); }
Name: Eric
Location: Kentucky
Join Date: Mar 2005
Posts: 4,054
NP$: 9.00 (
Donate )
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.
02-02-2007, 01:52 PM
· #34 for President!
Name: Rob
Location: UK
Join Date: Mar 2006
Posts: 1,962
NP$: 0.00 (
Donate )
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.
03-01-2007, 12:53 PM
· #35 New Member
Can you send a zip of yr Simple Contact Form as it won't download.
Thks
tomcruse@cd2.com
03-29-2007, 07:10 AM
· #36 NamePros Regular
Name: Baz Kika
Location: Wigan, UK
Join Date: Mar 2006
does anyone know how to make this script run with a validation images, to stop robots sending endless email?
03-29-2007, 11:00 AM
· #37 NamePros Staff
Name: Gomainer.com
Location: Esse quam videri
Join Date: Nov 2004
Posts: 8,008
NP$: 1435.67 (
Donate )
__________________
Something Witty This Way Comes...
N-A-R.com ::: For Sale
04-12-2007, 03:22 PM
· #38 while ($awake){ code(); }
Name: Eric
Location: Kentucky
Join Date: Mar 2005
Posts: 4,054
NP$: 9.00 (
Donate )
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
05-15-2007, 01:07 PM
· #39 NamePros Regular
Join Date: Oct 2005
Posts: 904
NP$: 134.85 (
Donate )
this image verification thing is not a good idea.
previous version of script was better.
please post older version if somebody have that
05-15-2007, 01:09 PM
· #40 while ($awake){ code(); }
Name: Eric
Location: Kentucky
Join Date: Mar 2005
Posts: 4,054
NP$: 9.00 (
Donate )
Originally Posted by vivsin this image verification thing is not a good idea.
EDIT:
Updated to 1.0.5, see first post.
Last edited by SecondVersion : 05-15-2007 at 02:44 PM .
05-16-2007, 06:14 AM
· #41 NamePros Regular
Join Date: Oct 2005
Posts: 904
NP$: 134.85 (
Donate )
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.
05-23-2007, 10:23 AM
· #42 NamePros Regular
Name: Baz Kika
Location: Wigan, UK
Join Date: Mar 2006
08-06-2007, 02:11 AM
· #43 while ($awake){ code(); }
Name: Eric
Location: Kentucky
Join Date: Mar 2005
Posts: 4,054
NP$: 9.00 (
Donate )
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?
11-25-2007, 07:55 AM
· #44 NamePros Member
thanks secondVersion
03-02-2008, 02:41 AM
· #45 while ($awake){ code(); }
Name: Eric
Location: Kentucky
Join Date: Mar 2005
Posts: 4,054
NP$: 9.00 (
Donate )
03-02-2008, 03:27 AM
· #46 NP Twin™
Name: Joe
Location: Kent ~ U.K.
Join Date: Oct 2005
Posts: 2,859
NP$: 1893.77 (
Donate )
Downloaded it.
Thanks a lot SV.
Joe
03-13-2008, 06:41 PM
· #47 Mr. LLLL Man
Location: GA, USA
Join Date: Apr 2007
Posts: 1,263
NP$: 10.00 (
Donate )
Just what I was looking for.
05-15-2008, 07:00 AM
· #48 while ($awake){ code(); }
Name: Eric
Location: Kentucky
Join Date: Mar 2005
Posts: 4,054
NP$: 9.00 (
Donate )