OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

 

php cookie error received - included file paswords.php

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> php cookie error received - included file paswords.php
Page: [1]
 
lsfphelpls

 

Posts: 519
Joined: 3/16/2005
Status: offline

 
php cookie error received - included file paswords.php - 4/5/2009 9:19:23   
[CODE]setcookie("countNumVisitor", $countNumVisitor, time()+60*60*24*365*3,"/");[/CODE]
or
[CODE]if (isset($_COOKIE['countNumVisitor'])) {
$countNumVisitor=$_COOKIE['countNumVisitor']; [/CODE]

These statements([U]all[/U] ?) must appear prior any output ? and second one ?

well I get following error

Warning: Cannot modify header information - headers already sent by (output started at /home/content/p/o/l/polisch123/html/dbinfo.php:22) in /home/content/p/o/l/polisch123/html/indexaffv.php on line 150

the line 150 is

[CODE] setcookie("countNumVisitor", $countNumVisitor, time()+60*60*24*365*3,"/");
[/CODE]

well in [B]dbinfo.php [/B]I do NOT INLUDE any output , where is the error ????
[B]may include files prior setcookie(); ???[/B]

[CODE]<?
$username="";
$password="";
$database="";
$hostname="";
$NewslettersTable="newslettersemails";
$PricesTable="prices42b"; // prices4 prices42
$CarsTable="cars22"; //cars1 cars2
$CustomersTable="customers2"; // customers customers2
$CanceledCustomersTable="canceledcustomers3";
$BookingsTable="bookings2bigint3"; // bookings2
$AffiliatesTable="affiliates";
$notifyAff="naff";
$mobilesite="mobileWebsite";
$eujspsite="eujspWebsite";
$customer_bookings_both="customer_bookings_both2";
$ACancelTable="affCancelCustomers";
$ATable="affCustomers" ;
$AEarningsTable="affEarnings" ;
$AVisitorsTable="affVisitorsNew2" ;
$affEarningsView="affEarningsJoinCustomerBookingsView" ;
?> [/CODE]
Spooky

 

Posts: 26681
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: php cookie error received - included file paswords.php - 4/9/2009 21:25:16   
Help

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

Sp:)ky


(in reply to lsfphelpls)
Page:   [1]

All Forums >> Web Development >> General Web Development >> php cookie error received - included file paswords.php
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts