Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-27-2006, 11:36 PM   PM User | #1
googleit
Regular Coder

 
googleit's Avatar
 
Join Date: Jul 2006
Location: birmingham, uk
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
googleit is an unknown quantity at this point
What does this error mean?

what does this error mean?
PHP Code:
Fatal errorCannot redeclare host() (previously declared in /home/content/b/r/a/username/html/get.php:20in /home/content/b/r/a/username/html/get.php on line 31 
i tryied using session_start() and destroy
but nothing happend
any help?
googleit is offline   Reply With Quote
Old 08-27-2006, 11:40 PM   PM User | #2
Mwnciau
Regular Coder

 
Join Date: May 2006
Location: Wales
Posts: 820
Thanks: 1
Thanked 82 Times in 79 Posts
Mwnciau is on a distinguished road
is the session start before everything else in the file (before any html etc)?
Mwnciau is offline   Reply With Quote
Old 08-28-2006, 12:24 AM   PM User | #3
marek_mar
Sensei


 
Join Date: Aug 2003
Location: One step ahead of you.
Posts: 2,815
Thanks: 0
Thanked 3 Times in 3 Posts
marek_mar is on a distinguished road
You are declaring a function with the same twice or are including a file that defines it more tan once.
__________________
I'm not sure if this was any help, but I hope it didn't make you stupider.

Experience is something you get just after you really need it.
PHP Installation Guide Feedback welcome.
marek_mar is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:16 PM.


Advertisement
Log in to turn off these ads.