php-general Digest 18 Dec 2007 09:05:11 -0000 Issue 5187

2007-12-18 Thread php-general-digest-help
php-general Digest 18 Dec 2007 09:05:11 - Issue 5187 Topics (messages 265993 through 266008): Re: nested array... 265993 by: Richard Lynch Re: re-compiling PHP on Mac OS X 265994 by: Frank Arensmeier Re: Writing text into images, and setting text size 265995 by:

[PHP] export data to a ms excel file using php

2007-12-18 Thread abderrazzak nejeoui
can you help me to export data to a ms excel file using php. i tried to export them to an html format and change the extension to .xls that's work but i have lost the formatting excel and the navigator doesn't interpret my code in the same why (celles are not in the same size)

RE: [PHP] export data to a ms excel file using php

2007-12-18 Thread Edward Kay
can you help me to export data to a ms excel file using php. i tried to export them to an html format and change the extension to .xls that's work but i have lost the formatting Save the data from PHP in comma separated value (CSV) format. Edward -- PHP General Mailing List

Re: [PHP] Re: [PHP-DB] force to download file

2007-12-18 Thread Richard Heyes
i have this on top of my php page: header(Content-Type: application/vnd.ms-excel); header(Content-Disposition: inline; filename=excelfile.xls); but it is not prompt to save the file instead it opens right in IE. my question is how do i force the browser prompts to save the file? ?php

Re: [PHP] Writing text into images, and setting text size

2007-12-18 Thread Dave M G
Rob, Thank you for responding. Try the following: ... you load PrintImage.php into your browser and you'll get a nice gray rectangle with the word Works! in the center of it. If you don't get that... then you have a problem that is not related to path or to PHP per-se... Wow... thank you

[PHP] Tracking visitor times

2007-12-18 Thread Zoran Bogdanov
Hi, Is it possible to track how long has a single visitor been on my site? example: I go to www.somesite.com at 5.am and I exit the page (close my browser or just go to another site) at 6.am. How do i track that 1 hour period using PHP? Thanks alot! -- PHP General Mailing List

Re: [PHP] export data to a ms excel file using php

2007-12-18 Thread Jason Pruim
On Dec 18, 2007, at 4:05 AM, abderrazzak nejeoui wrote: can you help me to export data to a ms excel file using php. i tried to export them to an html format and change the extension to .xls that's work but i have lost the formatting excel and the navigator doesn't interpret my code in

Re: [PHP] Tracking visitor times

2007-12-18 Thread Andrew Ballard
On Dec 18, 2007 6:05 AM, Zoran Bogdanov [EMAIL PROTECTED] wrote: Hi, Is it possible to track how long has a single visitor been on my site? example: I go to www.somesite.com at 5.am and I exit the page (close my browser or just go to another site) at 6.am. How do i track that 1 hour period

RE: [PHP] export data to a ms excel file using php

2007-12-18 Thread Jay Blanchard
[snip] can you help me to export data to a ms excel file using php. i tried to export them to an html format and change the extension to .xls that's work but i have lost the formatting excel and the navigator doesn't interpret my code in the same why (celles are not in the same size) [/snip]

[PHP] Ham marked as Spam with BAYES_99 - PhpMailer to old?

2007-12-18 Thread Merlin Morgenstern
Hi there, I am running a small community page with PHP. Members can select notification e-mails on comments etc. Since today those e-mails - or basically all e-mails from the system - get taged as spam with a score of 3.5 that totally results to BAYES_99. How come? I am using PHP-Mailer

Re: [PHP] Ham marked as Spam with BAYES_99 - PhpMailer to old?

2007-12-18 Thread Daniel Brown
On Dec 18, 2007 9:41 AM, Merlin Morgenstern [EMAIL PROTECTED] wrote: [snip!] How come? I am using PHP-Mailer 1.73. I am wondering if this will go away if I upgrade to 2.0. However I would rather not like to do that as a .0 release makes me a bit worried. [snip!] Merlin, Despite the

[PHP] Fwd: Undelivered Mail Returned to Sender

2007-12-18 Thread Daniel Brown
Of course, this could be part of his problem, too -- Forwarded message -- From: Mail Delivery System [EMAIL PROTECTED] Date: Dec 18, 2007 9:49 AM Subject: Undelivered Mail Returned to Sender To: [EMAIL PROTECTED] This is the mail system at host mx3.messagingengine.com.

Re: [PHP] Ham marked as Spam with BAYES_99 - PhpMailer to old?

2007-12-18 Thread Stut
Merlin Morgenstern wrote: I am running a small community page with PHP. Members can select notification e-mails on comments etc. Since today those e-mails - or basically all e-mails from the system - get taged as spam with a score of 3.5 that totally results to BAYES_99. This is most likely

Re: [PHP] Generating Random Numbers with Normal Distribution

2007-12-18 Thread Daniel Brown
On Dec 18, 2007 1:50 AM, tedd [EMAIL PROTECTED] wrote: At 5:10 PM -0600 12/15/07, Richard Lynch wrote: On Wed, December 12, 2007 11:07 pm, Robert Cummings wrote: Once again, we're not trying to prove order. Order obviously exists. I'm not sure I'd agree that order exists in the first

[PHP] Just to confirm...

2007-12-18 Thread Richard Heyes
Emails that bounce get sent back to the address in the Return-Path: header. Correct? -- Richard Heyes http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support ** NOW OFFERING FREE ACCOUNTS TO CHARITIES AND NON-PROFITS ** -- PHP General

Re: [PHP] Just to confirm...

2007-12-18 Thread Daniel Brown
On Dec 18, 2007 10:17 AM, Richard Heyes [EMAIL PROTECTED] wrote: Emails that bounce get sent back to the address in the Return-Path: header. Correct? Yes, sir. -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know

Re: [PHP] Just to confirm...

2007-12-18 Thread Richard Heyes
Daniel Brown wrote: On Dec 18, 2007 10:17 AM, Richard Heyes [EMAIL PROTECTED] wrote: Emails that bounce get sent back to the address in the Return-Path: header. Correct? Yes, sir. Thanks. Is there usually a delay? Eg the mail server tries again after 4 hours. -- Richard Heyes

RE: [PHP] Generating Random Numbers with Normal Distribution

2007-12-18 Thread Jay Blanchard
[snip] This is the thread that doesn't end. Yes, it goes on and on, my friend. Some people started typing here, not knowing what it was, and they'll just keep replying-all forever just because this is the thread that doesn't end [/snip] This thread lacks order. -- PHP General Mailing

Re: [PHP] Generating Random Numbers with Normal Distribution

2007-12-18 Thread Zoltán Németh
2007. 12. 18, kedd keltezéssel 10.09-kor Daniel Brown ezt írta: On Dec 18, 2007 1:50 AM, tedd [EMAIL PROTECTED] wrote: At 5:10 PM -0600 12/15/07, Richard Lynch wrote: On Wed, December 12, 2007 11:07 pm, Robert Cummings wrote: Once again, we're not trying to prove order. Order obviously

Re: [PHP] Just to confirm...

2007-12-18 Thread Stut
Richard Heyes wrote: Daniel Brown wrote: On Dec 18, 2007 10:17 AM, Richard Heyes [EMAIL PROTECTED] wrote: Emails that bounce get sent back to the address in the Return-Path: header. Correct? Yes, sir. Thanks. Is there usually a delay? Eg the mail server tries again after 4 hours.

Re: [PHP] Just to confirm...

2007-12-18 Thread Zoltán Németh
2007. 12. 18, kedd keltezéssel 15.36-kor Richard Heyes ezt írta: Daniel Brown wrote: On Dec 18, 2007 10:17 AM, Richard Heyes [EMAIL PROTECTED] wrote: Emails that bounce get sent back to the address in the Return-Path: header. Correct? Yes, sir. Thanks. Is there usually a delay?

[PHP] Re: Just to confirm...

2007-12-18 Thread Colin Guthrie
Daniel Brown wrote: On Dec 18, 2007 10:17 AM, Richard Heyes [EMAIL PROTECTED] wrote: Emails that bounce get sent back to the address in the Return-Path: header. Correct? Yes, sir. Except when they go to the envelope sender or the Errors-To address. ;) Errors-To: This is a

Re: [PHP] Generating Random Numbers with Normal Distribution

2007-12-18 Thread Daniel Brown
On Dec 18, 2007 10:39 AM, Zoltán Németh [EMAIL PROTECTED] wrote: [snip!] that's because the thread could end only if we all knew the exact nature of random and order ;) I'm Nostradamus-ly predicting that will happen around post 101. -- Daniel P. Brown [Phone Numbers Go Here!] [They're

Re: [PHP] Just to confirm...

2007-12-18 Thread Daniel Brown
On Dec 18, 2007 10:40 AM, Stut [EMAIL PROTECTED] wrote: Richard Heyes wrote: Daniel Brown wrote: On Dec 18, 2007 10:17 AM, Richard Heyes [EMAIL PROTECTED] wrote: Emails that bounce get sent back to the address in the Return-Path: header. Correct? Yes, sir. Thanks. Is there

Re: [PHP] Re: Just to confirm...

2007-12-18 Thread Daniel Brown
On Dec 18, 2007 10:39 AM, Colin Guthrie [EMAIL PROTECTED] wrote: Daniel Brown wrote: On Dec 18, 2007 10:17 AM, Richard Heyes [EMAIL PROTECTED] wrote: Emails that bounce get sent back to the address in the Return-Path: header. Correct? Yes, sir. Except when they go to the

Re: [PHP] PHP translation needed

2007-12-18 Thread Daniel Brown
On Dec 17, 2007 11:22 PM, Casey [EMAIL PROTECTED] wrote: On Dec 17, 2007 7:06 PM, Grace Shibley [EMAIL PROTECTED] wrote: Hi Everyone, We have an encryption function that was written in another language that we needed translated to PHP. Here's the function: function rc4 pText,

RE: [PHP] Writing text into images, and setting text size

2007-12-18 Thread Andrés Robinet
Hi Dave, Take a look http://www.bestplace.biz/unittest/ttf/PrintImage.php ... and replace PrintImage.php with info.php in the URL to get the phpinfo. See the CONFIGURE COMMAND line for the phpinfo (at the very beginning): '--with-gd' '--enable-gd-native-ttf' '--with-ttf'

Re: [PHP] Ham marked as Spam with BAYES_99 - PhpMailer to old?

2007-12-18 Thread Merlin Morgenstern
Hello everybody, thank you for the reply. Stut schrieb: Merlin Morgenstern wrote: I am running a small community page with PHP. Members can select notification e-mails on comments etc. Since today those e-mails - or basically all e-mails from the system - get taged as spam with a score of

Re: [PHP] Re: Just to confirm...

2007-12-18 Thread Zoltán Németh
2007. 12. 18, kedd keltezéssel 10.55-kor Daniel Brown ezt írta: On Dec 18, 2007 10:39 AM, Colin Guthrie [EMAIL PROTECTED] wrote: Daniel Brown wrote: On Dec 18, 2007 10:17 AM, Richard Heyes [EMAIL PROTECTED] wrote: Emails that bounce get sent back to the address in the Return-Path:

[PHP] Select Box CSS

2007-12-18 Thread VamVan
Hi All, Please apologize for sending this question to PHP forums. But I would appreciate it very much if some could please help me styling select mutiple in HTMl with CSS? I have .selectmulti { border: 1px solid #c9c9c9 } this code but it only works in firefox How can I make this work in IE?

[PHP] control browser with a href tag

2007-12-18 Thread Hiep Nguyen
hi friends, i have two pages: list.php and update.php list.php will have a hyper link that when click on, it will open a new window for user to update info. once user clicks update button on update.php page, i want to close update.php and return to list.php. however if user doesn't click

RE: [PHP] control browser with a href tag

2007-12-18 Thread Jay Blanchard
[snip] i have two pages: list.php and update.php list.php will have a hyper link that when click on, it will open a new window for user to update info. once user clicks update button on update.php page, i want to close update.php and return to list.php. however if user doesn't click update

Re: [PHP] control browser with a href tag

2007-12-18 Thread Wolf
From a UI standpoint, this would be a reason why I would visit your site once then never again. If you don't want them to touch a page, make the current browser window change. And what you are looking to do uses javascript Wolf Hiep Nguyen wrote: hi friends, i have two pages: list.php and

Re: [PHP] Select Box CSS

2007-12-18 Thread Stut
VamVan wrote: Please apologize for sending this question to PHP forums. If you know this already why ask the question here? Also, this is not a forum. But I would appreciate it very much if some could please help me styling select mutiple in HTMl with CSS? I have .selectmulti { border:

RE: [PHP] control browser with a href tag

2007-12-18 Thread Warren Vail
i have two pages: list.php and update.php list.php will have a hyper link that when click on, it will open a new window for user to update info. once user clicks update button on update.php page, i want to close update.php and return to list.php. however if user doesn't click update

Re: [PHP] export data to a ms excel file using php

2007-12-18 Thread Jim Lucas
abderrazzak nejeoui wrote: can you help me to export data to a ms excel file using php. i tried to export them to an html format and change the extension to .xls that's work but i have lost the formatting excel and the navigator doesn't interpret my code in the same why (celles are not in

Re: [PHP] export data to a ms excel file using php

2007-12-18 Thread Jim Lucas
Jim Lucas wrote: abderrazzak nejeoui wrote: can you help me to export data to a ms excel file using php. i tried to export them to an html format and change the extension to .xls that's work but i have lost the formatting excel and the navigator doesn't interpret my code in the same why

Re: [PHP] Select Box CSS OT

2007-12-18 Thread Børge Holen
On Tuesday 18 December 2007 20:03:53 Stut wrote: VamVan wrote: Please apologize for sending this question to PHP forums. If you know this already why ask the question here? Also, this is not a forum. But I would appreciate it very much if some could please help me styling select mutiple

Re: [PHP] Select Box CSS OT

2007-12-18 Thread Dave Goodchild
Why not try a css list? css-discuss for example? On Dec 18, 2007 8:06 PM, Børge Holen [EMAIL PROTECTED] wrote: On Tuesday 18 December 2007 20:03:53 Stut wrote: VamVan wrote: Please apologize for sending this question to PHP forums. If you know this already why ask the question here?

Re: [PHP] Select Box CSS OT

2007-12-18 Thread Børge Holen
On Tuesday 18 December 2007 21:16:46 you wrote: Why not try a css list? css-discuss for example? Yes why not? On Dec 18, 2007 8:06 PM, Børge Holen [EMAIL PROTECTED] wrote: On Tuesday 18 December 2007 20:03:53 Stut wrote: VamVan wrote: Please apologize for sending this question to PHP

RE: [PHP] Generating Random Numbers with Normal Distribution

2007-12-18 Thread Bruce Cowin
Ha ha, it does! Admittedly, I haven't read every line of every post in this thread, but so far I haven't seen any mention of Nazis (until now). Godwin's Law breaking down Regards, Bruce Jay Blanchard [EMAIL PROTECTED] 19/12/2007 4:39:15 a.m. [snip] This is the thread that doesn't end.

RE: [PHP] Generating Random Numbers with Normal Distribution

2007-12-18 Thread Travis L. Font
Here's random! I'm going to close my eyes think of some drinking water and running AT the same time and just start pushing numbers on the pad however way my fingers desire while not thinking about it! Here: 7914718845748671454531587148354531452141857 Good enough? -Travis

Re: [PHP] Generating Random Numbers with Normal Distribution

2007-12-18 Thread Daniel Brown
On Dec 18, 2007 4:24 PM, Travis L. Font [EMAIL PROTECTED] wrote: Here's random! I'm going to close my eyes think of some drinking water and running AT the same time and just start pushing numbers on the pad however way my fingers desire while not thinking about it! Here:

[PHP] About PHP Implements

2007-12-18 Thread Jim Webber
Hello I have a PHP4 server and I'm trying to figure out how to do implements on classes. Is there an analogous way to do this without PHP5 installed? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] About PHP Implements

2007-12-18 Thread Chris
Jim Webber wrote: Hello I have a PHP4 server and I'm trying to figure out how to do implements on classes. Is there an analogous way to do this without PHP5 installed? If you're using inheritance and child classes you could do it in a way, eg: class parent_class { function x() { echo

Re: [PHP] About PHP Implements

2007-12-18 Thread Nathan Nobbe
On Dec 18, 2007 5:45 PM, Chris [EMAIL PROTECTED] wrote: Jim Webber wrote: Hello I have a PHP4 server and I'm trying to figure out how to do implements on classes. Is there an analogous way to do this without PHP5 installed? If you're using inheritance and child classes you could do it in

Re: [PHP] export data to a ms excel file using php

2007-12-18 Thread Chris
abderrazzak nejeoui wrote: can you help me to export data to a ms excel file using php. i tried to export them to an html format and change the extension to .xls that's work but i have lost the formatting excel and the navigator doesn't interpret my code in the same why (celles are not in the

Re: [PHP] control browser with a href tag

2007-12-18 Thread Richard Lynch
On Tue, December 18, 2007 12:23 pm, Hiep Nguyen wrote: hi friends, i have two pages: list.php and update.php list.php will have a hyper link that when click on, it will open a new window for user to update info. once user clicks update button on update.php page, i want to close

Re: [PHP] Select Box CSS OT

2007-12-18 Thread Richard Lynch
On Tue, December 18, 2007 2:06 pm, Børge Holen wrote: On Tuesday 18 December 2007 20:03:53 Stut wrote: VamVan wrote: Please apologize for sending this question to PHP forums. If you know this already why ask the question here? Also, this is not a forum. But I would appreciate it very

Re: [PHP] Just to confirm...

2007-12-18 Thread Richard Lynch
On Tue, December 18, 2007 9:17 am, Richard Heyes wrote: Emails that bounce get sent back to the address in the Return-Path: header. Correct? Depends on who is following which standards from which era... There was an Error-to: header that was popular for awhile, and... I don't think you can

Re: [PHP] Ham marked as Spam with BAYES_99 - PhpMailer to old?

2007-12-18 Thread Richard Lynch
On Tue, December 18, 2007 8:41 am, Merlin Morgenstern wrote: I am running a small community page with PHP. Members can select notification e-mails on comments etc. Since today those e-mails - or basically all e-mails from the system - get taged as spam with a score of 3.5 that totally results

Re: [PHP] Select Box CSS OT

2007-12-18 Thread Børge Holen
On Wednesday 19 December 2007 03:59:11 Richard Lynch wrote: On Tue, December 18, 2007 2:06 pm, Børge Holen wrote: On Tuesday 18 December 2007 20:03:53 Stut wrote: VamVan wrote: Please apologize for sending this question to PHP forums. If you know this already why ask the question here?

RE: [PHP] control browser with a href tag

2007-12-18 Thread Andrés Robinet
-Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 18, 2007 11:57 PM To: Hiep Nguyen Cc: php-general@lists.php.net Subject: Re: [PHP] control browser with a href tag On Tue, December 18, 2007 12:23 pm, Hiep Nguyen wrote: hi friends,

[PHP] Re: php sockets

2007-12-18 Thread vixle
this code doesn't interact with with php client while with c++ based one it works just fine. .anybody? #include stdio.h #include winsock2.h #include iostream #include process.h using namespace std; int i = 0; int ar = 0; const int is = 50; SOCKET stack[is]; void clientserve(void* ws) {

[PHP] Re: php sockets

2007-12-18 Thread vixle
this code doesn't interact with php client while with c++ based one it works just fine. .anybody? #include stdio.h #include winsock2.h #include iostream #include process.h using namespace std; int i = 0; int ar = 0; const int is = 50; SOCKET stack[is]; void clientserve(void* ws) { SOCKET

Re: [PHP] Generating Random Numbers with Normal Distribution

2007-12-18 Thread Robert Cummings
On Tue, 2007-12-18 at 16:26 -0500, Daniel Brown wrote: On Dec 18, 2007 4:24 PM, Travis L. Font [EMAIL PROTECTED] wrote: Here's random! I'm going to close my eyes think of some drinking water and running AT the same time and just start pushing numbers on the pad however way my fingers desire