Re: [PHP] cache_control_limiter

2010-07-06 Thread Guus Ellenkamp
gt; If you want to manipulate cache control on PHP side, you must set PHP > directive "session.cache_limiter" to an empty value. Be then sure to > always > set cache control headers to the right value according what your scripts > do. > > 2010/7/6 Guus Ellenkamp >

[PHP] cache_control_limiter

2010-07-06 Thread Guus Ellenkamp
I'm trying to set the cache_control_limiter to public, but it seems to stay in nocache. What can be wrong? Tried two servers. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Guus Ellenkamp
I would like if you stick to the original issue: can a PHP source file be in utf-8. It's not about the output, that is properly supported. Think it would be a good idea anyhow that PHP would support utf-8 source files as it seems utf-8 is going to be the de-facto standard for text files anyhow.

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Guus Ellenkamp
And I need(ed) this stuff especially for non-ASCII characters like Chinese, Arabic and stuff :) "Ashley Sheridan" wrote in message news:1274976794.2202.274.ca...@localhost... On Thu, 2010-05-27 at 12:08 -0400, Adam Richardson wrote: > On Thu, May 27, 2010 at 9:45 AM, Guus Elle

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Guus Ellenkamp
wrote in message news:1274883714.2202.228.ca...@localhost... > On Wed, 2010-05-26 at 22:20 +0800, Guus Ellenkamp wrote: > >> We use PHP defines for defining text in different languages. As far as I >> know PHP files are supposed to be ASCII, not UTF-8 or something like >>

[PHP] Convert UTF-8 to PHP defines

2010-05-26 Thread Guus Ellenkamp
We use PHP defines for defining text in different languages. As far as I know PHP files are supposed to be ASCII, not UTF-8 or something like that. What I want to make is a conversion program that would convert a given UTF-8 file with the format definetext1=this is a text in random UTF-8, proba

Re: [PHP] How to set Content-type text/plain

2010-03-26 Thread Guus Ellenkamp
Sorry, my mistake... Never trapped a computer on this kind of mistakes. I never arrived at those lines hehehehe. Sorry. Robert, thanks, you brought the idea to check further. "Robert Cummings" wrote in message news:4bacba3f.6050...@interjinn.com... > Guus Ellenkamp wrote:

[PHP] How to set Content-type text/plain

2010-03-26 Thread Guus Ellenkamp
I have the following lines in my PHP code: header('Content-type: text/plain; charset=utf-8'); echo 'Invalid command'; However, the output is: HTTP/1.1 200 OK Date: Fri, 26 Mar 2010 13:30:08 GMT Server: Apache/2.0.55 (Win32) PHP/5.1.4 X-Powered-By: PHP/5.1.4 Set-Cookie: http://groepskorting.mega

Re: [PHP] Create multipart email

2009-06-02 Thread Guus Ellenkamp
A bit of overkill, but it seems to work. Thanks! "Eric Butera" wrote in message news:6a8639eb0905280823r162f91a0v15725e0dc7543...@mail.gmail.com... > On Thu, May 28, 2009 at 4:47 AM, Guus Ellenkamp > wrote: >> I'm trying to attach an uploaded file to an e-mail wh

Re: [PHP] Create multipart email

2009-06-02 Thread Guus Ellenkamp
uggestion? "Phpster" wrote in message news:aa68d580-47d1-4bac-a18b-c98772aaf...@gmail.com... > Use phpmailer, makes it simple > > Bastien > > Sent from my iPod > > On May 28, 2009, at 4:47, "Guus Ellenkamp" > wrote: > >> I'm trying to a

[PHP] Create multipart email

2009-05-28 Thread Guus Ellenkamp
I'm trying to attach an uploaded file to an e-mail which I receive in Outlook. Neither the first part, nor the second part displays properly. The header looks ok when displayed on the screen. What am I missing? See code below. function xmail($mailto, $from_mail, $from_name, $replyto, $subject,

[PHP] php not working anymore in IIS

2007-07-29 Thread Guus Ellenkamp
After changing my php folder from e:\php to f:\php php does not work anymore in my webserver. I found out regsvr32 phpisapi.dll gives an error. I remember having a similar problem but am not sure what and how. Anyone know how to fix? -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] Encoding of PHP files

2007-06-22 Thread Guus Ellenkamp
What encoding should a PHP file itself have (so not it's output setting). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Encoding of PHP files

2007-06-22 Thread Guus Ellenkamp
What encoding should a PHP file itself have (so not it's output setting). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Encoding problem

2007-02-05 Thread Guus Ellenkamp
Found it. Have to use: mysql_query("SET CHARACTER SET 'utf8'", $link); ""Guus Ellenkamp"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The document IS UTF-8. The character does not seem to be. It comes from a > mySQL database

Re: [PHP] Encoding problem

2007-02-05 Thread Guus Ellenkamp
the problem. Could it be phpMyAdmin? "Jon Anderson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Guus Ellenkamp wrote: >> I have a string with an n with a tilde. mb_detect_encoding says it's >> UTF-8. I set the http encoding to UTF-8 and also t

[PHP] Encoding problem

2007-02-05 Thread Guus Ellenkamp
I have a string with an n with a tilde. mb_detect_encoding says it's UTF-8. I set the http encoding to UTF-8 and also the internal encoding. However, I cannot produce proper output with echo $varwithtilde. echo $returnArray[$i]->address1.' has '.mb_detect_encoding($returnArray[$i]->address1) d