|
| |
|
|
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]
|
|
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
|
|
|