htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 2: htmlArea 2 & 3 archive (read only): htmlArea v2.0 - Add-Ons:
PHP Image Manager Session Problem


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

 


sukamade
New User

Mar 3, 2003, 5:16 AM

Post #1 of 4 (8149 views)
Shortcut
PHP Image Manager Session Problem Can't Post

I'm having trouble setting config.inc.php for PHP Image Manager. Since I want to integrate PHP Image Manager based on per user image directory. I've put the following line to config.inc.php

session_start();
//check user image directory and put on constant..

but as I figure out, the error output:

can not add header, bla bla bla..(as you probably knew). the lister.php & viewer.php already ouptut:

<html>
<head>

I've try many ways to trick this thing, anybody have suggestion ? thanks a lot..


mixmuis
User

Mar 3, 2003, 8:04 AM

Post #2 of 4 (8143 views)
Shortcut
Re: [sukamade] PHP Image Manager Session Problem [In reply to] Can't Post

i also use user based session. for this part i set a cookie with the user information at his login.this is workiung fine for me


sukamade
New User

Mar 3, 2003, 11:38 AM

Post #3 of 4 (8128 views)
Shortcut
Re: [mixmuis] PHP Image Manager Session Problem [In reply to] Can't Post


In Reply To
i also use user based session. for this part i set a cookie with the user information at his login.this is workiung fine for me

THANK'S A LOT. I've never think that way before Smile


fastbal
New User

Mar 16, 2003, 4:27 PM

Post #4 of 4 (8049 views)
Shortcut
Re: [sukamade] PHP Image Manager Session Problem [In reply to] Can't Post

Using cookies is a good solution but cookies are not as safe as sessions.
(cookies - Clientside, Sessions - Serverside) If you get a "can not add header" error you've some char's above the session_start(); line! (even a return is causing the error) The most people already know this (and you used cookies) but maybe some also dealing with this error.....
Good luck

 
 
 


Search for (options)