Re: [PHP] Re: how to use HTML Symbol Entities with mail() ?

2010-07-06 Thread cr.vegelin
From: Ashley Sheridan To: Manuel Lemos Cc: cr.vege...@gmail.com ; php-general@lists.php.net Sent: Saturday, July 03, 2010 1:22 PM Subject: Re: [PHP] Re: how to use HTML Symbol Entities with mail() ? On Fri, 2010-07-02 at 22:58 -0300, Manuel Lemos wrote: Hello, on 07/01/2010 10:34 A

[PHP] how to use HTML Symbol Entities with mail() ?

2010-07-01 Thread cr.vegelin
Hi List, I am working on generated emails, using the mail() function. Works fine, but when including characters like ∧ (= ∧) or ∨ (= ∨) in the message, these characters are displayed as ? in the emails. Snippet: $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; char

Re: [PHP] how to update array keys and keep element order ?

2010-05-21 Thread cr.vegelin
- Original Message - From: "Richard Quadling" To: Cc: Sent: Friday, May 21, 2010 1:30 PM Subject: Re: [PHP] how to update array keys and keep element order ? On 21 May 2010 10:56, wrote: How do I update an array key without disturbing the element order ? Suppose an existing arr

[PHP] how to update array keys and keep element order ?

2010-05-21 Thread cr.vegelin
How do I update an array key without disturbing the element order ? Suppose an existing array("FR", values ...) where I want to change 0 => "FR" to "country" => "FR" and keep the original element order. TIA, Cor

[PHP] Re: changing NULL behavior in PHP arithmetic

2010-04-16 Thread cr.vegelin
- Original Message - From: "Shawn McKenzie" To: Cc: Sent: Saturday, April 17, 2010 3:41 AM Subject: Re: changing NULL behavior in PHP arithmetic On 04/15/2010 02:46 AM, cr.vege...@gmail.com wrote: Hi All, Is there an option in PHP to change the behavior of NULL in PHP functions

Re: [PHP] changing NULL behavior in PHP arithmetic

2010-04-15 Thread cr.vegelin
From: Ashley Sheridan To: cr.vege...@gmail.com Cc: php-general@lists.php.net Sent: Thursday, April 15, 2010 10:08 AM Subject: Re: [PHP] changing NULL behavior in PHP arithmetic On Thu, 2010-04-15 at 09:46 +0200, cr.vege...@gmail.com wrote: Hi All, Is there an option in PHP to cha

[PHP] changing NULL behavior in PHP arithmetic

2010-04-15 Thread cr.vegelin
Hi All, Is there an option in PHP to change the behavior of NULL in PHP functions ? Now PHP uses NULL as a 0 (zero) for arithmetic, for example: NULL + 6 = 6 NULL * 6 = 0 NULL / 6 = 0 6 / NULL = Division by zero What I need is the same behavior as #N/A (or =NA()) in Excel, where: #N/A + 6 = #N/A

Re: [PHP] all local sites stopped working ... [SOLVED]

2009-10-17 Thread cr.vegelin
- Original Message - From: "Tommy Pham" To: "general php" Sent: Saturday, October 17, 2009 2:03 PM Subject: Re: [PHP] all local sites stopped working ... From: "cr.vege...@gmail.com" To: Tommy Pham ; general php Sent: Sat, October 17, 2009 4:49:53 AM Subject: Re: [PHP] all local

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread cr.vegelin
- Original Message - From: "Tommy Pham" To: "general php" Sent: Saturday, October 17, 2009 1:29 PM Subject: Re: [PHP] all local sites stopped working ... - Original Message From: "cr.vege...@gmail.com" To: Tommy Pham ; general php Sent: Sat, October 17, 2009 4:19:17 A

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread cr.vegelin
- Original Message - From: "Tommy Pham" To: "general php" Sent: Saturday, October 17, 2009 1:08 PM Subject: Re: [PHP] all local sites stopped working ... - Original Message From: "cr.vege...@gmail.com" To: Tommy Pham ; general php Sent: Sat, October 17, 2009 4:00:24 AM

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread cr.vegelin
- Original Message - From: "Tommy Pham" To: "general php" Sent: Saturday, October 17, 2009 1:02 PM Subject: Re: [PHP] all local sites stopped working ... - Original Message From: "cr.vege...@gmail.com" To: Tommy Pham ; general php Sent: Sat, October 17, 2009 3:57:48 AM

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread cr.vegelin
- Original Message - From: "Tommy Pham" To: "general php" Sent: Saturday, October 17, 2009 11:54 AM Subject: Re: [PHP] all local sites stopped working ... - Original Message From: "cr.vege...@gmail.com" To: John Black Cc: Tommy Pham ; php-general@lists.php.net Sent: Sat,

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread cr.vegelin
- Original Message - From: "Tommy Pham" To: "general php" Sent: Saturday, October 17, 2009 12:21 PM Subject: Re: [PHP] all local sites stopped working ... - Original Message From: "cr.vege...@gmail.com" To: John Black Cc: php-general@lists.php.net Sent: Sat, October 17, 2

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread cr.vegelin
- Original Message - From: "John Black" To: Cc: "Tommy Pham" ; Sent: Saturday, October 17, 2009 11:08 AM Subject: Re: [PHP] all local sites stopped working ... cr.vege...@gmail.com wrote: Where / how to look for a PHP specific log file ? Inside php.ini is the option to specify a s

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread cr.vegelin
- Original Message - From: "John Black" To: Cc: Sent: Saturday, October 17, 2009 11:53 AM Subject: Re: [PHP] all local sites stopped working ... cr.vege...@gmail.com wrote: In php.ini I defined: error_log = C:\Inetpub\wwwroot\PHPError.log then restarted the server with iisreset.exe

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread cr.vegelin
- Original Message - From: "Tommy Pham" To: Sent: Saturday, October 17, 2009 11:23 AM Subject: Re: [PHP] all local sites stopped working ... Original Message From: "cr.vege...@gmail.com" To: Tommy Pham ; php-general@lists.php.net Sent: Sat, October 17, 2009 2:00:25 AM Su

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread cr.vegelin
- Original Message - From: "Tommy Pham" To: Sent: Saturday, October 17, 2009 10:19 AM Subject: Re: [PHP] all local sites stopped working ... - Original Message From: "cr.vege...@gmail.com" To: Hanjie Xu Cc: php-general@lists.php.net Sent: Sat, October 17, 2009 12:34:49 AM

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread cr.vegelin
Yes, my web server is started. I also did: Start - Run - IISRESET and it says: Internet services successfully stopped, etc. So I think that's not the problem. - Original Message - From: Hanjie Xu To: cr.vege...@gmail.com Cc: php-general@lists.php.net Sent: Saturday, October 1

[PHP] all local sites stopped working ...

2009-10-17 Thread cr.vegelin
Hi All, All my local PHP sites (http://127.0.0.1/... and http://localhost/...) worked until today. Now all these local sites don't work anymore. The only difference since yesterday is running 16 Windows Updates. I checked C:\WINDOWS\system32\LogFiles\W3SVC1\... but no errors. Can I set a php.ini

Re: [PHP] PHP Graphing Libraries...?

2009-06-05 Thread cr.vegelin
Hi Friends, I don't remember the exact OP's question, but for graphing I use the Google Chart API ; see: http://code.google.com/apis/chart/#radar For an overview of chart types, see: http://code.google.com/apis/chart/types.html HTH, Cor - Original Message - From: "tedd" To: ; Sent:

[PHP] modified list of simplified Chinese

2009-04-16 Thread cr.vegelin
Hi List, Not PHP specific, but maybe of interest for you ... BEIJING, April 9 For the first time in nearly 20 years, China will issue a modified list of simplified Chinese characters in an effort to further standardize a language used by billions around the world. More at: http://news.xinhuan

Re: [PHP] VAT number validation

2009-03-07 Thread cr.vegelin
I believe this validator is the original one: http://ec.europa.eu/taxation_customs/vies/ HTH, Cor - Original Message - From: "Clara" To: Sent: Saturday, March 07, 2009 11:19 AM Subject: Re: [PHP] VAT number validation I found another implementation in PHP to validate EU-VAT-numbe

Re: [PHP] Re: require() causing strange characters ?

2009-02-09 Thread cr.vegelin
Thanks Nisse, - Original Message - From: "Nisse Engström" To: Sent: Sunday, February 08, 2009 6:06 PM Subject: Re: [PHP] Re: require() causing strange characters ? On Fri, 6 Feb 2009 10:11:49 +0100, cr.vege...@gmail.com wrote: I saved both scripts with ANSI in stead of UTF-8 and

Re: [PHP] Re: require() causing strange characters ?

2009-02-06 Thread cr.vegelin
Thanks Paul & Nisse, I saved both scripts with ANSI in stead of UTF-8 and the problem is gone. So the utf-8 BOM character (Byte Order Mark) caused it. Unfortunately my editor has no option to store BOM-free scripts. Is it standard that PHP scripts should be saved without a BOM character ? Test

[PHP] require() causing strange characters ?

2009-02-05 Thread cr.vegelin
Hi all, I have a script called "test.php": and a script called "echo.php": With IE and Firefox it shows: CtestD but when I view the source, it seems to be: C�testD When debugging it, it seems that: > "CtestD" has length 9 in stead of 6 > pos1has char=C ord=67 > pos2has ch

Re: [PHP] permission failure with fopen

2008-11-07 Thread cr.vegelin
Already tried with file mode "wb", but same failure ... I will try using chmod's on directory and file. Thanks, Cor - Original Message - From: "Paul Scott" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: Sent: Friday, November 07, 2008 2:35 PM Subject: Re: [PHP] permission failure wit

Re: [PHP] permission failure with fopen

2008-11-07 Thread cr.vegelin
Thanks Thodoris, Richard, Well, I need fopen() only for prepress purposes. So I guess that making "somefile.txt" with PHP is not possible for Win XP ... Regards, Cor - Original Message - From: "Richard Heyes" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: Sent: Friday, November 07

[PHP] permission failure with fopen

2008-11-07 Thread cr.vegelin
Hi All, I get strange permission problems with fopen() ... $directory = "somedir"; $filename = $directory . "/somefile.txt"; $handle = fopen($filename, "w");// gives: failed to open stream: Permission denied but, - fileperms($directory) gives: 0777 and is_writable($directory) gives "writab

[PHP] checking if URL's exist

2008-07-09 Thread cr.vegelin
Hi All, I have a Directory table with hundreds of URL's to sites and want to check periodically if all the URL's still exist. Does anyone know of a utility to check this ? Or a pointer to a piece of code ... TIA, Cor