| | |||||
| ||||||||
| CODE This forum is for posting code snippets and example scripts that aren't quite tutorials, but could be useful for others. You may post code snippets and/or completed scripts that you've written and want to share here. |
![]() |
| | LinkBack | Thread Tools |
| | #27 (permalink) |
| BioSpherical.net Join Date: Jun 2006 Location: UK
Posts: 453
![]() ![]() ![]() ![]() | 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. ????: NamePros.com http://www.namepros.com/code/202512-simple-contact-form-updated.html 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!!
__________________ Want a free iPhone or iPad? Find out how from iFreeBee! |
| | |
| | #28 (permalink) |
| Account Closed Join Date: Mar 2006 Location: UK
Posts: 1,951
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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. |
| | |
| | #29 (permalink) |
| BioSpherical.net Join Date: Jun 2006 Location: UK
Posts: 453
![]() ![]() ![]() ![]() | 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?
__________________ Want a free iPhone or iPad? Find out how from iFreeBee! |
| | |
| | #30 (permalink) | ||||
| Account Closed Join Date: Mar 2006 Location: UK
Posts: 1,951
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| ||||
| | |
| | #32 (permalink) |
| New Member Join Date: Oct 2006
Posts: 5
![]() | It is a nice script... When I was beginner, I always had problems with PHP formularys =P Anyways, does this formulary accepts HTML formatation?
__________________ http://img518.imageshack.us/img518/7...shadow2po8.png |
| | |
| | #34 (permalink) | ||||
| Account Closed Join Date: Mar 2006 Location: UK
Posts: 1,951
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
????: NamePros.com http://www.namepros.com/showthread.php?t=202512 I made the quick fix that I mentioned in post #21 too. | ||||
| | |
| | #37 (permalink) |
| NamePros Expert ![]() Join Date: Nov 2004 Location: Esse quam videri
Posts: 8,332
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | http://www.namepros.com/code/202512-...hlight=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... |
| | |
| | #39 (permalink) |
| Senior Member Join Date: Oct 2005
Posts: 1,093
![]() ![]() ![]() ![]() | this image verification thing is not a good idea. previous version of script was better. please post older version if somebody have that
__________________ VIVROCKS "ROCK your LIFE" Visit : My Design Inspiration & Free Stuff Blog This is where I started, This is where I will end. NAMEPROS = kIcKaSs |
| | |
| | #41 (permalink) |
| Senior Member Join Date: Oct 2005
Posts: 1,093
![]() ![]() ![]() ![]() | 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.
__________________ VIVROCKS "ROCK your LIFE" Visit : My Design Inspiration & Free Stuff Blog This is where I started, This is where I will end. NAMEPROS = kIcKaSs |
| | |
| | #42 (permalink) |
| NamePros Regular Join Date: Mar 2006 Location: Wigan, UK
Posts: 522
![]() | 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 |
| | |
| | THREAD STARTER #45 (permalink) |
| Senior Member Join Date: Mar 2005
Posts: 4,948
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Updated, see first post. http://www.namepros.com/1280909-post1.html |
| | |
![]() |
LinkBacks (?)
LinkBack to this Thread: http://www.namepros.com/code/202512-simple-contact-form-updated.html | ||||
| Posted By | For | Type | Date | |
| simple-contact-form - Project Hosting on Google Code | This thread | Refback | 04-20-2010 08:46 AM | |
| My Portfolio - SecondVersion's Blog | This thread | Refback | 02-05-2010 02:14 PM | |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |