[PHP] Re: PHP Encoders

2003-11-20 Thread R. Rajesh Jeba Anbiah
Jerry <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> Hi there !
> 
> I am curretly looking for suitbale solutions for encoding PHP scripts
> after developing a couple of comercial applications in PHP.
> 
> Has anybody made any experience with several encoders like IONCUBE,
> SOURCEGUARDIAN, ZEND, etc... so far?

 Did you try http://pobs.mywalhalla.net/ ?

---
 "One who mix sports and patriotism is a barbarian"
Email: rrjanbiah-at-Y!com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: sending multiple headers (session_start() and setcookie() )

2005-01-12 Thread R. Rajesh Jeba Anbiah
Ben wrote:
> Hi all,
>
> In my .php file, I'm using both session_start() and setcookie()
before
>  tag. It gives me following warning message:
>
> Warning: Cannot modify header information - headers already sent by
> (output started at D:\Apache Group\Apache2\htdocs\YC\songs.php:4) in
> D:\Apache Group\Apache2\htdocs\YC\ycphpfunc.php on line 148
>
> My .php file looks like this:
>
> 
>
>ob_start();
>   include 'ycphpfunc.php';
>   $login = new login_class;
>   if ($_POST[logusername] == "" || $_POST[logpassword] == "") {}
>   else {
>   $login->check_login($_POST['logusername'], 
> $_POST['logpassword'],
> $_POST['remember']);
>   }
>   ob_end_flush();
> ?>

1. Put everything under ob_start()
2. Send all headers (cookies/session/etc) before outputting

--

Email: rrjanbiah-at-Y!comBlog: http://rajeshanbiah.blogspot.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php