Search found 6 matches

by jkies00
Mon Mar 13, 2006 4:43 pm
Forum: PHP - Code
Topic: Session works in 5.1.2 but not in 4.4.2?
Replies: 8
Views: 417

I put the session_start() function at the very top of the first page, and all is working well. Thanks so much for your help, Feyd. :):):):)

~jeff
by jkies00
Mon Mar 13, 2006 2:11 pm
Forum: PHP - Code
Topic: Session works in 5.1.2 but not in 4.4.2?
Replies: 8
Views: 417

Thanks again. Here's the error output: Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /homepages/43/d137981233/htdocs/index-test.php:2) in /homepages/43/d137981233/htdocs/_includes/components/grabber-test.php on line 5 Warning: session_start(): Cann...
by jkies00
Mon Mar 13, 2006 12:31 pm
Forum: PHP - Code
Topic: Session works in 5.1.2 but not in 4.4.2?
Replies: 8
Views: 417

I'm not sure how i would use session_write_close(). After my if statement? Thanks for your script, I ran it, and here are the resutls: PHP Version: 4.4.2 PHP OS: Linux Error Reporting: 2037 (E_USER_NOTICE | E_USER_WARNING | E_USER_ERROR | E_COMPILE_WARNING | E_COMPILE_ERROR | E_CORE_WARNING | E_CORE...
by jkies00
Mon Mar 13, 2006 11:25 am
Forum: PHP - Code
Topic: Session works in 5.1.2 but not in 4.4.2?
Replies: 8
Views: 417

It's definitely not the variable - that's the only one I use with a name of $newImg. Do you recall what the version problem was? Here are the settings, compared side-by-side:

http://addelement.com/jennings/phpsettings.htm
by jkies00
Mon Mar 13, 2006 9:03 am
Forum: PHP - Code
Topic: Session works in 5.1.2 but not in 4.4.2?
Replies: 8
Views: 417

Session works in 5.1.2 but not in 4.4.2?

Hi All, I wrote a simple session based image rotator that was intended to work as follows: - When the user visits the site a session is created - A random image is selected and the name of the image is stored in the session - This image is displayed on the home page of the site - The user may naviga...
by jkies00
Mon Feb 27, 2006 4:06 pm
Forum: PHP - Code
Topic: Absolute Includes
Replies: 1
Views: 157

Absolute Includes

Hi All, PHP newb here. I'm creating a website and I'd like to include my css stylesheets on each page using a php include. My site has many page at diferent folder depths, which can be a problem. After some research, I learned that I can include the php file from any folder depth by using the follow...