[advanced search]
NamePros Domain Auction
Live Event This Thursday at 6PM EDT - Prebidding open now
26 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming > CODE
User Name
Password

Reply
 
Thread Tools
Old 12-13-2006, 10:32 AM   · #26
Mikor
Resident Linux Geek
 
Mikor's Avatar
 
Name: Michael Walker
Location: East Yorkshire, England
Trader Rating: (7)
Join Date: Aug 2005
Posts: 2,268
NP$: 286.30 (Donate)
Mikor is a name known to allMikor is a name known to allMikor is a name known to allMikor is a name known to allMikor is a name known to allMikor is a name known to all
If you are using PHP, you can do this:

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


Please register or log-in into NamePros to hide ads
__________________
Michael Walker @ http://me.yarrt.com

NEW COMPUTING BLOG: http://blog.yarrt.com
Mikor is offline   Reply With Quote
Old 12-16-2006, 01:48 PM   · #27
thepurplecow
BioSpherical.net
 
thepurplecow's Avatar
 
Name: Ben
Location: UK
Trader Rating: (24)
Join Date: Jun 2006
Posts: 410
NP$: 17.80 (Donate)
thepurplecow is just really nicethepurplecow is just really nicethepurplecow is just really nicethepurplecow is just really nice
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...
thepurplecow is offline   Reply With Quote
Old 12-16-2006, 03:37 PM   · #28
B33R
for President!
 
B33R's Avatar
 
Name: Rob
Location: UK
Trader Rating: (36)
Join Date: Mar 2006
Posts: 1,962
NP$: 0.00 (Donate)
B33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud of
Member of the Month
October 2006 Cancer
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.
__________________
Extreme Sports Forum
Now with a brand new design!

B33R is offline   Reply With Quote
Old 12-17-2006, 08:13 AM   · #29
thepurplecow
BioSpherical.net
 
thepurplecow's Avatar
 
Name: Ben
Location: UK
Trader Rating: (24)
Join Date: Jun 2006
Posts: 410
NP$: 17.80 (Donate)
thepurplecow is just really nicethepurplecow is just really nicethepurplecow is just really nicethepurplecow is just really nice
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?
__________________
CountryOnSale V1.2. Wow.

Signature loading...
Load failed.
Redirecting...
thepurplecow is offline   Reply With Quote
Old 12-17-2006, 08:41 AM   · #30
B33R
for President!
 
B33R's Avatar
 
Name: Rob
Location: UK
Trader Rating: (36)
Join Date: Mar 2006
Posts: 1,962
NP$: 0.00 (Donate)
B33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud of
Member of the Month
October 2006 Cancer
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
__________________
Extreme Sports Forum
Now with a brand new design!

B33R is offline   Reply With Quote
Old 01-30-2007, 06:16 PM   · #31
deu12000
Senior Member
 
deu12000's Avatar
 
Trader Rating: (123)
Join Date: Jun 2004
Posts: 1,453
NP$: 2165.40 (Donate)
deu12000 has a brilliant futuredeu12000 has a brilliant futuredeu12000 has a brilliant futuredeu12000 has a brilliant futuredeu12000 has a brilliant futuredeu12000 has a brilliant futuredeu12000 has a brilliant futuredeu12000 has a brilliant futuredeu12000 has a brilliant futuredeu12000 has a brilliant futuredeu12000 has a brilliant future
I tried downloading this, but the download doesn't seem to work.
deu12000 is offline   Reply With Quote
Old 02-02-2007, 12:11 PM   · #32
Flaepru
New Member
 
Trader Rating: (0)
Join Date: Oct 2006
Posts: 5
NP$: 0.00 (Donate)
Flaepru is an unknown quantity at this point
It is a nice script... When I was beginner, I always had problems with PHP formularys =P
Anyways, does this formulary accepts HTML formatation?
Flaepru is offline   Reply With Quote
Old 02-02-2007, 01:38 PM   · #33
SecondVersion
while ($awake){ code(); }
 
SecondVersion's Avatar
 


Name: Eric
Location: Kentucky
Trader Rating: (136)
Join Date: Mar 2005
Posts: 4,054
NP$: 9.00 (Donate)
SecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond repute
Member of the Month
MOTM September 2005 Save a Life Child Abuse 9/11/01 :: Never Forget Baby Health Marrow Donor Program AIDS/HIV Breast Cancer Cystic Fibrosis Ethan Allen Fund Animal Cruelty Ethan Allen Fund Ethan Allen Fund
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.
__________________
SecondVersion.com - The Personal Blog of SecondVersion
Domain Name Portfolio - Get your free copy. - Version 1.0.1 now available!!
MetaCreator.com - Free Meta Tag Creator
SecondVersion is offline   Reply With Quote
Old 02-02-2007, 01:52 PM   · #34
B33R
for President!
 
B33R's Avatar
 
Name: Rob
Location: UK
Trader Rating: (36)
Join Date: Mar 2006
Posts: 1,962
NP$: 0.00 (Donate)
B33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud ofB33R has much to be proud of
Member of the Month
October 2006 Cancer
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.
__________________
Extreme Sports Forum
Now with a brand new design!

B33R is offline   Reply With Quote
Old 03-01-2007, 12:53 PM   · #35
tonypony
New Member
 
Trader Rating: (0)
Join Date: Feb 2007
Posts: 22
NP$: 0.00 (Donate)
tonypony is an unknown quantity at this point
Can you send a zip of yr Simple Contact Form as it won't download.

Thks

tomcruse@cd2.com
tonypony is offline   Reply With Quote
Old 03-29-2007, 07:10 AM   · #36
fried-chicken
NamePros Regular
 
fried-chicken's Avatar
 
Name: Baz Kika
Location: Wigan, UK
Trader Rating: (2)
Join Date: Mar 2006
Posts: 408
NP$: 0.00 (Donate)
fried-chicken is an unknown quantity at this point
does anyone know how to make this script run with a validation images, to stop robots sending endless email?
fried-chicken is offline   Reply With Quote
Old 03-29-2007, 11:00 AM   · #37
IAmAllanShore
NamePros Staff
 
IAmAllanShore's Avatar
 
Name: Gomainer.com
Location: Esse quam videri
Trader Rating: (81)
Join Date: Nov 2004
Posts: 8,008
NP$: 1435.67 (Donate)
IAmAllanShore has a reputation beyond reputeIAmAllanShore has a reputation beyond reputeIAmAllanShore has a reputation beyond reputeIAmAllanShore has a reputation beyond reputeIAmAllanShore has a reputation beyond reputeIAmAllanShore has a reputation beyond reputeIAmAllanShore has a reputation beyond reputeIAmAllanShore has a reputation beyond reputeIAmAllanShore has a reputation beyond reputeIAmAllanShore has a reputation beyond reputeIAmAllanShore has a reputation beyond repute
Member of the Month
January 2005Member of the Month
February 2007 Ethan Allen Fund Child Abuse Child Abuse Child Abuse Child Abuse Save The Children Save The Children Child Abuse Child Abuse Child Abuse Child Abuse VA Tech Memorial Child Abuse Child Abuse Child Abuse Child Abuse Child Abuse Child Abuse Child Abuse Child Abuse Child Abuse Child Abuse
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
__________________

Something Witty This Way Comes...

N-A-R.com ::: For Sale
IAmAllanShore is offline  
  Reply With Quote
Old 04-12-2007, 03:22 PM   · #38
SecondVersion
while ($awake){ code(); }
 
SecondVersion's Avatar
 


Name: Eric
Location: Kentucky
Trader Rating: (136)
Join Date: Mar 2005
Posts: 4,054
NP$: 9.00 (Donate)
SecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond repute
Member of the Month
MOTM September 2005 Save a Life Child Abuse 9/11/01 :: Never Forget Baby Health Marrow Donor Program AIDS/HIV Breast Cancer Cystic Fibrosis Ethan Allen Fund Animal Cruelty Ethan Allen Fund Ethan Allen Fund
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
__________________
SecondVersion.com - The Personal Blog of SecondVersion
Domain Name Portfolio - Get your free copy. - Version 1.0.1 now available!!
MetaCreator.com - Free Meta Tag Creator
SecondVersion is offline   Reply With Quote
Old 05-15-2007, 01:07 PM   · #39
vivsin
NamePros Regular
 
vivsin's Avatar
 
Trader Rating: (26)
Join Date: Oct 2005
Posts: 904
NP$: 134.85 (Donate)
vivsin is just really nicevivsin is just really nicevivsin is just really nicevivsin is just really nice
Diabetes
this image verification thing is not a good idea.

previous version of script was better.

please post older version if somebody have that
__________________
[ VIVSIN Media ] [ www.VIVSIN.com ] [ Logo Design ] [ Website Design ] [ 3D ]
[ LogoFlux Branding Services ] www.logoflux.com

| Gizmo Hunter " Online Gadgets Magzine "
| CG Quest " Computer Graphics Magazine "
vivsin is offline   Reply With Quote
Old 05-15-2007, 01:09 PM   · #40
SecondVersion
while ($awake){ code(); }
 
SecondVersion's Avatar
 


Name: Eric
Location: Kentucky
Trader Rating: (136)
Join Date: Mar 2005
Posts: 4,054
NP$: 9.00 (Donate)
SecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond repute
Member of the Month
MOTM September 2005 Save a Life Child Abuse 9/11/01 :: Never Forget Baby Health Marrow Donor Program AIDS/HIV Breast Cancer Cystic Fibrosis Ethan Allen Fund Animal Cruelty Ethan Allen Fund Ethan Allen Fund
Originally Posted by vivsin
this image verification thing is not a good idea.




EDIT:
Updated to 1.0.5, see first post.
__________________
SecondVersion.com - The Personal Blog of SecondVersion
Domain Name Portfolio - Get your free copy. - Version 1.0.1 now available!!
MetaCreator.com - Free Meta Tag Creator

Last edited by SecondVersion : 05-15-2007 at 02:44 PM.
SecondVersion is offline   Reply With Quote
Old 05-16-2007, 06:14 AM   · #41
vivsin
NamePros Regular
 
vivsin's Avatar
 
Trader Rating: (26)
Join Date: Oct 2005
Posts: 904
NP$: 134.85 (Donate)
vivsin is just really nicevivsin is just really nicevivsin is just really nicevivsin is just really nice
Diabetes
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.
__________________
[ VIVSIN Media ] [ www.VIVSIN.com ] [ Logo Design ] [ Website Design ] [ 3D ]
[ LogoFlux Branding Services ] www.logoflux.com

| Gizmo Hunter " Online Gadgets Magzine "
| CG Quest " Computer Graphics Magazine "
vivsin is offline   Reply With Quote
Old 05-23-2007, 10:23 AM   · #42
fried-chicken
NamePros Regular
 
fried-chicken's Avatar
 
Name: Baz Kika
Location: Wigan, UK
Trader Rating: (2)
Join Date: Mar 2006
Posts: 408
NP$: 0.00 (Donate)
fried-chicken is an unknown quantity at this point
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
fried-chicken is offline   Reply With Quote
Old 08-06-2007, 02:11 AM   · #43
SecondVersion
while ($awake){ code(); }
 
SecondVersion's Avatar
 


Name: Eric
Location: Kentucky
Trader Rating: (136)
Join Date: Mar 2005
Posts: 4,054
NP$: 9.00 (Donate)
SecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond repute
Member of the Month
MOTM September 2005 Save a Life Child Abuse 9/11/01 :: Never Forget Baby Health Marrow Donor Program AIDS/HIV Breast Cancer Cystic Fibrosis Ethan Allen Fund Animal Cruelty Ethan Allen Fund Ethan Allen Fund
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?
__________________
SecondVersion.com - The Personal Blog of SecondVersion
Domain Name Portfolio - Get your free copy. - Version 1.0.1 now available!!
MetaCreator.com - Free Meta Tag Creator
SecondVersion is offline   Reply With Quote
Old 11-25-2007, 07:55 AM   · #44
dominiosclave
NamePros Member
 
Trader Rating: (4)
Join Date: Feb 2006
Posts: 76
NP$: 8.00 (Donate)
dominiosclave is an unknown quantity at this point
thanks secondVersion
__________________
Key Domains Games For Players

Rent my firm for little NP - Send me mp
dominiosclave is offline   Reply With Quote
Old 03-02-2008, 02:41 AM   · #45
SecondVersion
while ($awake){ code(); }
 
SecondVersion's Avatar
 


Name: Eric
Location: Kentucky
Trader Rating: (136)
Join Date: Mar 2005
Posts: 4,054
NP$: 9.00 (Donate)
SecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond repute
Member of the Month
MOTM September 2005 Save a Life Child Abuse 9/11/01 :: Never Forget Baby Health Marrow Donor Program AIDS/HIV Breast Cancer Cystic Fibrosis Ethan Allen Fund Animal Cruelty Ethan Allen Fund Ethan Allen Fund
__________________
SecondVersion.com - The Personal Blog of SecondVersion
Domain Name Portfolio - Get your free copy. - Version 1.0.1 now available!!
MetaCreator.com - Free Meta Tag Creator
SecondVersion is offline   Reply With Quote
Old 03-02-2008, 03:27 AM   · #46
Joe
NP Twin™
 
Joe's Avatar
 
Name: Joe
Location: Kent ~ U.K.
Trader Rating: (39)
Join Date: Oct 2005
Posts: 2,859
NP$: 1893.77 (Donate)
Joe is a splendid one to beholdJoe is a splendid one to beholdJoe is a splendid one to beholdJoe is a splendid one to beholdJoe is a splendid one to beholdJoe is a splendid one to beholdJoe is a splendid one to behold
Save The Children
Downloaded it.

Thanks a lot SV.
Joe
Joe is offline   Reply With Quote
Old 03-13-2008, 06:41 PM   · #47
bfluid
Mr. LLLL Man
 
bfluid's Avatar
 
Location: GA, USA
Trader Rating: (32)
Join Date: Apr 2007
Posts: 1,263
NP$: 10.00 (Donate)
bfluid is a splendid one to beholdbfluid is a splendid one to beholdbfluid is a splendid one to beholdbfluid is a splendid one to beholdbfluid is a splendid one to beholdbfluid is a splendid one to beholdbfluid is a splendid one to beholdbfluid is a splendid one to behold
Baby Health Cancer Survivorship Child Abuse
Just what I was looking for.
__________________
On a cruise and will be back Friday night. Domaining 101 | Latest Post: "BQB.com BETA!!!"
Have Questions Concerning Domaining? I'm Here to Help!
TheHiveDesigns.com - Quality Work - Low Prices

Only those who attempt the absurd are capable of achieving the impossible!
bfluid is offline   Reply With Quote
Old 05-15-2008, 07:00 AM   · #48
SecondVersion
while ($awake){ code(); }
 
SecondVersion's Avatar
 


Name: Eric
Location: Kentucky
Trader Rating: (136)
Join Date: Mar 2005
Posts: 4,054
NP$: 9.00 (Donate)
SecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond repute