<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Roundcube login via PHP script</title>
	<atom:link href="http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/</link>
	<description>Life, Linux and other things</description>
	<lastBuildDate>Wed, 01 Sep 2010 03:24:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Philipp C. Heckel</title>
		<link>http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/comment-page-1/#comment-18384</link>
		<dc:creator>Philipp C. Heckel</dc:creator>
		<pubDate>Wed, 01 Sep 2010 03:24:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/#comment-18384</guid>
		<description>Hey Rich,

thanks for sharing!
Oh nooo, SquirrelMail ... hehe :-D

Regards,
Philipp</description>
		<content:encoded><![CDATA[<p>Hey Rich,</p>
<p>thanks for sharing!<br />
Oh nooo, SquirrelMail &#8230; hehe :-D</p>
<p>Regards,<br />
Philipp</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/comment-page-1/#comment-18382</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Tue, 31 Aug 2010 13:56:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/#comment-18382</guid>
		<description>Great script saved me tons of time. 

Just to help others who might be having the same problem as me. I kept getting a 404 message from the roundcube request. This was because apache was not figuring out what virtual server I wanted and was defaulting to the wrong virtualserver. I simply added an alias for /roundcube in apache conf and it solved the issue. I do not know why the virtual server was not working with socket request.

Now just make it work for squirrel mail :) and all my problems will be solved.

Thanks again

Rich</description>
		<content:encoded><![CDATA[<p>Great script saved me tons of time. </p>
<p>Just to help others who might be having the same problem as me. I kept getting a 404 message from the roundcube request. This was because apache was not figuring out what virtual server I wanted and was defaulting to the wrong virtualserver. I simply added an alias for /roundcube in apache conf and it solved the issue. I do not know why the virtual server was not working with socket request.</p>
<p>Now just make it work for squirrel mail :) and all my problems will be solved.</p>
<p>Thanks again</p>
<p>Rich</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sylvain</title>
		<link>http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/comment-page-1/#comment-18377</link>
		<dc:creator>Sylvain</dc:creator>
		<pubDate>Fri, 13 Aug 2010 07:20:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/#comment-18377</guid>
		<description>Hello, 

The script tell&#039;s me that there is no rouncube installation find. But it really is there. The file&#039;s are my own so it&#039;s not a provider install. 

      $rcl = new RoundcubeLogin(&quot;http://www.startnet.be/mail/&quot;, true);
I have already try for /mail/ ant http://startnet.be/mail/ the same problem

ERROR: Technical problem, No Roundcube installation found at &#039;http://www.startnet.be/mail&#039;
REQUEST:

GET http://www.startnet.be/mail HTTP/1.1
Host: www.startnet.be
Cookie: 92d2a1256cd02a582ac9d3dec5154d99=239dca458af583caa6f194ba2d0606ef; 87f58a10ed835bc6d150e0ccfc067c48=71759a66171227d5ca319e575b42fda4; 3ab17c82a5752b030f3c75a65dc13787=54b2f888386adab02f720ced84f63c7a; ja_purity_tpl=ja_purity; roundcube_sessid=e12384f63f04b8adf842428e444113e4; PHPSESSID=d04ee7422f070b4c806c9403902fda1f
Connection: close


Regards,

Sylvain</description>
		<content:encoded><![CDATA[<p>Hello, </p>
<p>The script tell&#8217;s me that there is no rouncube installation find. But it really is there. The file&#8217;s are my own so it&#8217;s not a provider install. </p>
<p>      $rcl = new RoundcubeLogin(&#8220;http://www.startnet.be/mail/&#8221;, true);<br />
I have already try for /mail/ ant <a href="http://startnet.be/mail/" rel="nofollow">http://startnet.be/mail/</a> the same problem</p>
<p>ERROR: Technical problem, No Roundcube installation found at &#8216;http://www.startnet.be/mail&#8217;<br />
REQUEST:</p>
<p>GET <a href="http://www.startnet.be/mail" rel="nofollow">http://www.startnet.be/mail</a> HTTP/1.1<br />
Host: <a href="http://www.startnet.be" rel="nofollow">http://www.startnet.be</a><br />
Cookie: 92d2a1256cd02a582ac9d3dec5154d99=239dca458af583caa6f194ba2d0606ef; 87f58a10ed835bc6d150e0ccfc067c48=71759a66171227d5ca319e575b42fda4; 3ab17c82a5752b030f3c75a65dc13787=54b2f888386adab02f720ced84f63c7a; ja_purity_tpl=ja_purity; roundcube_sessid=e12384f63f04b8adf842428e444113e4; PHPSESSID=d04ee7422f070b4c806c9403902fda1f<br />
Connection: close</p>
<p>Regards,</p>
<p>Sylvain</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philipp C. Heckel</title>
		<link>http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/comment-page-1/#comment-18375</link>
		<dc:creator>Philipp C. Heckel</dc:creator>
		<pubDate>Sun, 08 Aug 2010 07:47:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/#comment-18375</guid>
		<description>Hey Arek,

my script only works if the RoundcubeLogin-file and your own script reside on the same host as the RC installation, because it has to read RCs cookies. 

It will NOT work, if your script is on a different host, e.g. http://mywebsite.myprovider.tld &lt;--&gt; http://webmail.myprovider.tld

Hope this helps a little.

Regards,
Philipp</description>
		<content:encoded><![CDATA[<p>Hey Arek,</p>
<p>my script only works if the RoundcubeLogin-file and your own script reside on the same host as the RC installation, because it has to read RCs cookies. </p>
<p>It will NOT work, if your script is on a different host, e.g. <a href="http://mywebsite.myprovider.tld" rel="nofollow">http://mywebsite.myprovider.tld</a> < --> <a href="http://webmail.myprovider.tld" rel="nofollow">http://webmail.myprovider.tld</a></p>
<p>Hope this helps a little.</p>
<p>Regards,<br />
Philipp</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arek</title>
		<link>http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/comment-page-1/#comment-18373</link>
		<dc:creator>Arek</dc:creator>
		<pubDate>Sat, 07 Aug 2010 19:46:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/#comment-18373</guid>
		<description>hello,
Is there any way to auto login to RoundCube? Problem is that i dont have access to any files of RoundCube, I was trying to set IE or FF to remamber passwords but it dont work, so Im thinking about making some script. Mr Philipp if You have any idea how to help me pls write msg :)

Best regards</description>
		<content:encoded><![CDATA[<p>hello,<br />
Is there any way to auto login to RoundCube? Problem is that i dont have access to any files of RoundCube, I was trying to set IE or FF to remamber passwords but it dont work, so Im thinking about making some script. Mr Philipp if You have any idea how to help me pls write msg :)</p>
<p>Best regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/comment-page-1/#comment-18371</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Thu, 05 Aug 2010 13:36:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/#comment-18371</guid>
		<description>Hello Phillip, do you know how i can make a contact list, with some of my contact, so i dont have to write them all when  i want to send them a mail??
it would a great help if you can help me.
Thanks</description>
		<content:encoded><![CDATA[<p>Hello Phillip, do you know how i can make a contact list, with some of my contact, so i dont have to write them all when  i want to send them a mail??<br />
it would a great help if you can help me.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philipp C. Heckel</title>
		<link>http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/comment-page-1/#comment-18370</link>
		<dc:creator>Philipp C. Heckel</dc:creator>
		<pubDate>Wed, 04 Aug 2010 18:35:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/#comment-18370</guid>
		<description>It&#039;s very difficult to determine a problem without any code and/or a detailed description. Does the rclogin.php script work as expected, i.e. does it allow you to log-in/out to roundcube? 

To make a Single Sign-On script as you described it, you need to:

1. create your own login-page with a HTML form (login.php)
2. save the username/password when the user logs in (e.g. in the $_SESSION variable)
3. perform a $rcl-&gt;login(...) operation if the user asks to access the webmail interface

Sorry I can&#039;t help more. Post some code if you have further questions ...

Regards,
Philipp</description>
		<content:encoded><![CDATA[<p>It&#8217;s very difficult to determine a problem without any code and/or a detailed description. Does the rclogin.php script work as expected, i.e. does it allow you to log-in/out to roundcube? </p>
<p>To make a Single Sign-On script as you described it, you need to:</p>
<p>1. create your own login-page with a HTML form (login.php)<br />
2. save the username/password when the user logs in (e.g. in the $_SESSION variable)<br />
3. perform a $rcl->login(&#8230;) operation if the user asks to access the webmail interface</p>
<p>Sorry I can&#8217;t help more. Post some code if you have further questions &#8230;</p>
<p>Regards,<br />
Philipp</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/comment-page-1/#comment-18369</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Wed, 04 Aug 2010 14:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/#comment-18369</guid>
		<description>Hi Phillip, i have a problem with the login to roundcube using your script, the problem is that i have linked my login and the roundcube login, so i dont have to login every time i need to enter roundcube, but my system doesn&#039;t keep the login, so i login and 3 seconds after i&#039;m returned to the login page, what could be my problem??
Thanks</description>
		<content:encoded><![CDATA[<p>Hi Phillip, i have a problem with the login to roundcube using your script, the problem is that i have linked my login and the roundcube login, so i dont have to login every time i need to enter roundcube, but my system doesn&#8217;t keep the login, so i login and 3 seconds after i&#8217;m returned to the login page, what could be my problem??<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philipp C. Heckel</title>
		<link>http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/comment-page-1/#comment-18319</link>
		<dc:creator>Philipp C. Heckel</dc:creator>
		<pubDate>Mon, 07 Jun 2010 15:46:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/#comment-18319</guid>
		<description>Hello Rabah,

the rclogin script should be used only for testing purposes because it always prints the debugging output at the end (cmp. $rcl-&gt;printDebugStack()).

Try to use the code given in the section &quot;sample usage&quot; and/or disable debugging in the constructor of the RoundcubeLogin-class: $rcl = new RoundcubeLogin(..., false);

Regards,
Philipp</description>
		<content:encoded><![CDATA[<p>Hello Rabah,</p>
<p>the rclogin script should be used only for testing purposes because it always prints the debugging output at the end (cmp. $rcl->printDebugStack()).</p>
<p>Try to use the code given in the section &#8220;sample usage&#8221; and/or disable debugging in the constructor of the RoundcubeLogin-class: $rcl = new RoundcubeLogin(&#8230;, false);</p>
<p>Regards,<br />
Philipp</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rabah</title>
		<link>http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/comment-page-1/#comment-18318</link>
		<dc:creator>Rabah</dc:creator>
		<pubDate>Mon, 07 Jun 2010 15:34:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/#comment-18318</guid>
		<description>hi i use rclogin scritp all its ok. but when i receive the response it show me the php code not the html page 
see above
thanks a lot of
RESPONSE:

HTTP/1.1 200 OK
Date: Mon, 07 Jun 2010 14:42:58 GMT
Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g
X-Powered-By: PHP/5.2.4-2ubuntu5.10
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8

989



RoundCube Webmail :: Bienvenue sur RoundCube Webmail












/*  */









Bienvenue sur RoundCube Webmail




Utilisateur



Mot de passe




</description>
		<content:encoded><![CDATA[<p>hi i use rclogin scritp all its ok. but when i receive the response it show me the php code not the html page<br />
see above<br />
thanks a lot of<br />
RESPONSE:</p>
<p>HTTP/1.1 200 OK<br />
Date: Mon, 07 Jun 2010 14:42:58 GMT<br />
Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g<br />
X-Powered-By: PHP/5.2.4-2ubuntu5.10<br />
Expires: Thu, 19 Nov 1981 08:52:00 GMT<br />
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0<br />
Pragma: no-cache<br />
Connection: close<br />
Transfer-Encoding: chunked<br />
Content-Type: text/html; charset=UTF-8</p>
<p>989</p>
<p>RoundCube Webmail :: Bienvenue sur RoundCube Webmail</p>
<p>/*  */</p>
<p>Bienvenue sur RoundCube Webmail</p>
<p>Utilisateur</p>
<p>Mot de passe</p>
]]></content:encoded>
	</item>
</channel>
</rss>
