updating PHP problem

This is a discussion on updating PHP problem within the PHP Language forums, part of the PHP Programming Forums category; I've installed PHP 4.3.6 on my laptop. My dev machine is on PHP 4.3.3 Since, ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-02-2004
Bob Bedford
 
Posts: n/a
Default updating PHP problem

I've installed PHP 4.3.6 on my laptop.

My dev machine is on PHP 4.3.3

Since, some lines doesn't work anymore:
2: header("Cache-Control: max-age=" . $this->allowcache_expire * 60);

gives me those errors:
Notice: Undefined variable: this in
c:\inetpub\wwwroot\Connections\config.php on line 2

Warning: Cannot modify header information - headers already sent by (output
started at c:\inetpub\wwwroot\Connections\config.php:8) in
c:\inetpub\wwwroot\Connections\config.php on line 2

Warning: session_start(): Cannot send session cookie - headers already sent
by (output started at c:\inetpub\wwwroot\Connections\config.php:8) in
c:\inetpub\wwwroot\default.php on line 3

Warning: session_start(): Cannot send session cache limiter - headers
already sent (output started at c:\inetpub\wwwroot\Connections\config.php:8)
in c:\inetpub\wwwroot\default.php on line 3


also those line:
3: session_start();
4: if ($_SESSION["UID"] != "") {
5: $UserID = $_SESSION["UID"];
6: }
this line gives me this error:
Notice: Undefined index: UID in c:\inetpub\wwwroot\default.php on line 4

The same code on the PHP 4.3.3 works just fine.

WHAT I'M MISSING ???

Bob


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:37 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0