![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Whilst lounging around on Sun, 3 Aug 2003 22:09:59 +1000, "David & Angela Ehmer" <ehmer@pacific.net.au> amazingly managed to produce the following with their Etch-A-Sketch: > Hi > > I have two files that register session variables as follows > > session_register("auth_user"); > session_register("auth_user_member"); > > The first file (see File 1 below) works fine, the 2nd throws the > following error: > > Warning: Cannot send session cache limiter - headers already sent > (output started at C:\Program Files\Apache > Group\Apache2\htdocs\acpchn\forum\new_post.php:11) in C:\Program > Files\Apache Group\Apache2\htdocs\acpchn\forum\new_post.php on line > 34 > > I'm unsure why both files either work or don't work as they > implement this function in basically the same way. The first part > of each file is listed below for referenence. > > Appreciate any help > David Sessions set in the HEADer section of the file, hence, having them half way down your code like you have, will naturally fail because of this. Set the SESSION vaes _before_ your <html> tag, and / or before any output to the browser. HTH. Regards, Ian -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 iQA/AwUBPyz8TWfqtj251CDhEQKVZACdHhHzdGyhn2rXh6F6bfpiYJ war7MAmQGo uTo11yZeELUKQeaAXxlNtMk0 =GtSb -----END PGP SIGNATURE----- -- Ian.H [Design & Development] digiServ Network - Web solutions www.digiserv.net | irc.digiserv.net | forum.digiserv.net Programming, Web design, development & hosting. | |||
| Featured Websites | ||||
|
![]() |
| Tags: already, headers, sent |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| File download script problem/Headers | Scott Brown | PHP | 2 | 07-01-2007 3:57 PM |
| How to get headers? | Voituk Vadim | PHP | 1 | 07-01-2007 3:38 PM |
| IMAP email headers | Jim Witt | PHP | 2 | 07-01-2007 3:20 PM |
| Automatic numbering of headers | Daan | HTML | 2 | 07-01-2007 2:07 PM |
| How to Add Headers for USB 2.0 and Firewire | JP | Central Processing Unit (CPU) and Overclocking | 0 | 06-18-2007 9:25 AM |
| Featured Websites | ||||
|