Chicken-run Manager
Posts: 9
62 credits Members referred : 0
« on: Oct 12, 2006, 08:23:51 am »
Hello Olaf
How can I protect embded iframe sites with your class? I have a site in this one is an iframe and the site in this iframe i want to protect. When I put your Code to protect sites the error it shown
Warning: Cannot modify header information - headers already sent by (output started at h:\Projekt\htdocs\_aktuell\book.php:1) in h:\Projekt\htdocs\classes\access_user\access_user_class.php on line 6
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at h:\Projekt\htdocs\_aktuell\book.php:1) in h:\Projekt\htdocs\classes\access_user\session_handler.php on line 17
What can I do?
Sorry for my bad english :-)
Thanks
« Last Edit: Oct 12, 2006, 08:39:38 am by Taurek »
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #1 on: Oct 12, 2006, 08:53:02 am »
Is the domain inside Iframe URL the same then the one from the page?
Chicken-run Manager
Posts: 9
62 credits Members referred : 0
« Reply #2 on: Oct 12, 2006, 09:06:29 am »
Yes at moment is this my local webserver, also the same domain
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #3 on: Oct 12, 2006, 09:09:06 am »
OK then to your next problem, never out puty code before you're calling "session_start()" include the class file at the top of the document
Chicken-run Manager
Posts: 9
62 credits Members referred : 0
« Reply #4 on: Oct 12, 2006, 09:17:13 am »
I including your class on the top of my site that shown in the iframe, but the error always exists
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374