[PHP] Does php 5.2.5 support imap4rev1 search criterias

2008-12-04 Thread Ergün Koray
I have php 5.2.5 installed on fedora 9. I have written a little php program that uses the search criteria SENTSINCE. But it complains with : Unknown search criterion: SENTSINCE Can anbody help ? -- Ergün Koray bb, vm, mu, xg -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Does php 5.2.5 support imap4rev1 search criterias

2008-12-04 Thread Richard Heyes
I have php 5.2.5 installed on fedora 9. I have written a little php program that uses the search criteria SENTSINCE. But it complains with : Unknown search criterion: SENTSINCE It doesn't appear to be a valid search option - only SINCE is listed here:

[PHP] PHP - Jasper Report Integeration

2008-12-04 Thread Johny John
Dear All, Do any one know how to integrate PHP with Jasper Reports. I tried it..but its says Unable to create Java Virtual Machine Please refer this link for more details. http://jagadmaya.com/integration-phpjasperreports.html Regards, Johny www.phpshore.com

[PHP] IE8 and HTML5

2008-12-04 Thread Richard Heyes
Hi, From a recent IEBlog post: http://blogs.msdn.com/ie/archive/2008/12/03/compatibility-view-improvements-to-come-in-ie8.aspx ...and our start on HTML5 support. Does this mean canvas support? Is it as a direct result of Chrome being released and MS realising (finally) they are going to have

Re: [PHP] Does php 5.2.5 support imap4rev1 search criterias

2008-12-04 Thread Ergün Koray
Thank you. Will this be implemented or should I get in touch with the developers of the c-client libraries ? Our mail server is Lotus Domino 7 and the problem with this server is that it does not get correct results from the SINCE query. It understands the SENTSINCE query correct. On Thu, Dec

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Sancar Saran
On Thursday 04 December 2008 10:45:21 Richard Heyes wrote: Hi, From a recent IEBlog post: http://blogs.msdn.com/ie/archive/2008/12/03/compatibility-view-improvements -to-come-in-ie8.aspx Microsoft and Standarts ? Ship load of crap... Every web developer should open class action suit

Re: [PHP] Does php 5.2.5 support imap4rev1 search criterias

2008-12-04 Thread Richard Heyes
Thank you. Will this be implemented or should I get in touch with the developers of the c-client libraries ? Our mail server is Lotus Domino 7 and the problem with this server is that it does not get correct results from the SINCE query. It understands the SENTSINCE query correct. No idea.

[PHP] imagecreatefromgif imagecolortransparent() ??

2008-12-04 Thread LucaP
Hi all, the simple code snippet: header('Content-type: image/gif'); $im = imagecreatefromgif(/path/Mypic.gif); $background = imagecolorallocate($im, 255, 255, 255); imagecolortransparent($im,$background); imagegif($im,'/path/TransparentPic.gif'); imagedestroy($im); is creating the new image

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Bastien Koert
On Thu, Dec 4, 2008 at 4:44 AM, Sancar Saran [EMAIL PROTECTED]wrote: On Thursday 04 December 2008 10:45:21 Richard Heyes wrote: Hi, From a recent IEBlog post: http://blogs.msdn.com/ie/archive/2008/12/03/compatibility-view-improvements -to-come-in-ie8.aspx Microsoft and Standarts ?

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Richard Heyes
I am running IE8 beta and its a PoS. Constantly crashing and flaky as shit. Point of Sale...? -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated November 29th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Bastien Koert
On Thu, Dec 4, 2008 at 9:10 AM, Richard Heyes [EMAIL PROTECTED] wrote: I am running IE8 beta and its a PoS. Constantly crashing and flaky as shit. Point of Sale...? -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated November 29th) haha

Re: [PHP] Last working day of a month

2008-12-04 Thread Andrew Ballard
On Thu, Dec 4, 2008 at 9:03 AM, Angelo Zanetti [EMAIL PROTECTED] wrote: Hi all, I am busy trying to figure out how to get the last working day in a month. I was wondering if there was a script already written, but this is what I imagine should work: Get the current day and see if it's the

[PHP] How to fetch .DOC or .DOCX file in php

2008-12-04 Thread Jagdeep Singh
Hi ! I want to fetch text from .doc / .docx file and save it into database file. But when I tried to fetch text with fopen/fgets etc ... It gave me special characters with text. (With .txt files everything is fine) Only problem is with doc/docx files. I dont know whow to remove SPECIAL

[PHP] Last working day of a month

2008-12-04 Thread Angelo Zanetti
Hi all, I am busy trying to figure out how to get the last working day in a month. I was wondering if there was a script already written, but this is what I imagine should work: Get the current day and see if it's the last day of the month. If its true check if it's a Saturday or Sunday if

RE: [PHP] How to fetch .DOC or .DOCX file in php

2008-12-04 Thread Boyd, Todd M.
-Original Message- From: Jagdeep Singh [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 8:39 AM To: php-general@lists.php.net Subject: [PHP] How to fetch .DOC or .DOCX file in php Importance: Low Hi ! I want to fetch text from .doc / .docx file and save it into

RE: [PHP] Last working day of a month

2008-12-04 Thread Boyd, Todd M.
-Original Message- From: Andrew Ballard [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 8:32 AM To: Angelo Zanetti Cc: php-general@lists.php.net Subject: Re: [PHP] Last working day of a month Importance: Low On Thu, Dec 4, 2008 at 9:03 AM, Angelo Zanetti [EMAIL

Re: [PHP] Last working day of a month

2008-12-04 Thread Jochem Maas
Angelo Zanetti schreef: Hi all, I am busy trying to figure out how to get the last working day in a month. I was wondering if there was a script already written, but this is what I imagine should work: Get the current day and see if it's the last day of the month. If its true check if

[PHP] Using DateTimeZone

2008-12-04 Thread Lester Caine
I'm looking to tidy up things a bit by clearing out a lot of old code and switching to using the internal DateTime functions. Information is stored in the databases UTC normalized, and we get around the problem of getting a real tz offset by getting the users to register it rather than simply

Re: [PHP] Last working day of a month

2008-12-04 Thread Govinda
you need a process with a few simple steps. 1. find the last day of the month, this is quite easy ... google gives answers as does the manual. e.g.: http://lutrov.com/blog/php-last-day-of-the-month-calculation/ 2. determine if this is a week day. if yes go to step three else 'roll the

Re: [PHP] Using DateTimeZone

2008-12-04 Thread Lester Caine
Lester Caine wrote: I'm looking to tidy up things a bit by clearing out a lot of old code and switching to using the internal DateTime functions. Information is stored in the databases UTC normalized, and we get around the problem of getting a real tz offset by getting the users to register

Re: [PHP] imagecreatefromgif imagecolortransparent() ??

2008-12-04 Thread Ólafur Waage
Here's a code snippet from the php.net documentation on imagecolortransparent by Blaine Ehrhart ?php $im = imagecreatefromgif('trans.gif'); $img = imagecreatetruecolor(16,16); $trans = imagecolorallocate($img,255,99,140); imagecolortransparent($img,$trans);

[PHP] COM and the PHP equivalent of ASP Currency data type

2008-12-04 Thread Alex Bovey
Hi all, I am working with a COM interface and the specification which is wrtten for ASP calls for a Currency data type to be passed to a function. What is the equivalent in PHP? If I call com_print_typeinfo() I can see that the function has the following info: function GetPrice( /*

Re: [PHP] Using DateTimeZone

2008-12-04 Thread Lester Caine
Lester Caine wrote: Lester Caine wrote: I'm looking to tidy up things a bit by clearing out a lot of old code and switching to using the internal DateTime functions. Information is stored in the databases UTC normalized, and we get around the problem of getting a real tz offset by getting

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Jay Moore
I am running IE8 beta and its a PoS. Constantly crashing and flaky as shit. Devil's Advocate It's a beta. What do you expect? /Devil's Advocate -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Bastien Koert
On Thu, Dec 4, 2008 at 11:57 AM, Jay Moore [EMAIL PROTECTED] wrote: I am running IE8 beta and its a PoS. Constantly crashing and flaky as shit. Devil's Advocate It's a beta. What do you expect? /Devil's Advocate -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Jay Moore
Bastien Koert wrote: On Thu, Dec 4, 2008 at 11:57 AM, Jay Moore [EMAIL PROTECTED] wrote: I am running IE8 beta and its a PoS. Constantly crashing and flaky as shit. Devil's Advocate It's a beta. What do you expect? /Devil's Advocate -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Richard Heyes
I have less issues with Chrome and its beta Not thrashing my HDD is also kinda basic, but Chrome 0.2 was more than happy to do that. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated November 29th) -- PHP General Mailing List

RE: [PHP] IE8 and HTML5

2008-12-04 Thread Boyd, Todd M.
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Heyes Sent: Thursday, December 04, 2008 11:10 AM To: Bastien Koert Cc: Jay Moore; php-general@lists.php.net Subject: Re: [PHP] IE8 and HTML5 I have less issues with Chrome and its beta

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Richard Heyes
(And don't get me wrong--I had tons of problems with Chrome; mostly about crashing unexpectedly.) That was the only one for me, and it doesn't do it anymore. Guess it was an update to 0.4 (?) that fixed it. Switching to FF fixed it quite well... Thing is, it's a beater - until it gets close to

Re: [PHP] How to fetch .DOC or .DOCX file in php

2008-12-04 Thread Jim Lucas
Boyd, Todd M. wrote: -Original Message- From: Jagdeep Singh [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 8:39 AM To: php-general@lists.php.net Subject: [PHP] How to fetch .DOC or .DOCX file in php Importance: Low Hi ! I want to fetch text from .doc / .docx file and

[PHP] Help with IF ELSE

2008-12-04 Thread David Stoltz
Hi All, I'm new to PHP - I'm trying to figure out what is wrong with a simple IF ELSE block I have...if the recordset $rs is empty (login fails), the 1st part of the block works, and redirects the user to default.php - but if the login works, and $rs is not empty, the 2nd else part does not work,

Re: [PHP] Help with IF ELSE

2008-12-04 Thread Richard Heyes
I'm new to PHP - I'm trying to figure out what is wrong with a simple IF ELSE block I have...if the recordset $rs is empty (login fails), the 1st part of the block works, and redirects the user to default.php - but if the login works, and $rs is not empty, the 2nd else part does not work, and

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Ashley Sheridan
On Thu, 2008-12-04 at 17:37 +, Richard Heyes wrote: (And don't get me wrong--I had tons of problems with Chrome; mostly about crashing unexpectedly.) That was the only one for me, and it doesn't do it anymore. Guess it was an update to 0.4 (?) that fixed it. Switching to FF fixed it

Re: [PHP] Using DateTimeZone

2008-12-04 Thread Jochem Maas
Lester Caine schreef: Lester Caine wrote: Lester Caine wrote: I'm looking to tidy up things a bit by clearing out a lot of old code and switching to using the internal DateTime functions. Information is stored in the databases UTC normalized, and we get around the problem of getting a real

Re: [PHP] COM and the PHP equivalent of ASP Currency data type

2008-12-04 Thread Jochem Maas
Alex Bovey schreef: Hi all, I am working with a COM interface and the specification which is wrtten for ASP calls for a Currency data type to be passed to a function. What is the equivalent in PHP? If I call com_print_typeinfo() I can see that the function has the following info:

[PHP] PHP 5.3.0alpha3

2008-12-04 Thread Lukas Kahwe Smith
Hello! Johannes has packaged PHP 5.3.0alpha3, which you can find here: http://downloads.php.net/johannes/ Windows binaries thanks to Pierre, which are available here: http://windows.php.net/qa/ Please test it carefully, and report any bugs in the bug system, but only if you have a short

[PHP] Re: [PHP-DEV] PHP 5.3.0alpha3

2008-12-04 Thread Hannes Magnusson
On Thu, Dec 4, 2008 at 22:17, Lukas Kahwe Smith [EMAIL PROTECTED] wrote: in the namespace changes. Please also note that the documentation for namespaces has been updated already: http://php.net/namespace Not 100% true. The example are missing the separator due to wrong syntax highlighting.

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Benjamin Hawkes-Lewis
Richard Heyes wrote: From a recent IEBlog post: http://blogs.msdn.com/ie/archive/2008/12/03/compatibility-view-improvements-to-come-in-ie8.aspx ...and our start on HTML5 support. Does this mean canvas support? Not in IE8.

[PHP] Will not report errors what can I do

2008-12-04 Thread Terion Miller
Hey everyone I am still fighting the same problem that my script isn't working and its not reporting errors, when you click to view the work order it doesn't do anything, I have all kinds of error reporting turned on but nothing, do I have them syntax wrong? ?php include(inc/dbconn_open.php);

RE: [PHP] IE8 and HTML5

2008-12-04 Thread Boyd, Todd M.
-Original Message- From: Benjamin Hawkes-Lewis [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 4:15 PM To: Richard Heyes Cc: php List Subject: Re: [PHP] IE8 and HTML5 Richard Heyes wrote: From a recent IEBlog post:

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Ashley Sheridan
On Thu, 2008-12-04 at 16:20 -0600, Terion Miller wrote: Hey everyone I am still fighting the same problem that my script isn't working and its not reporting errors, when you click to view the work order it doesn't do anything, I have all kinds of error reporting turned on but nothing, do I

Re: [PHP] IE8 and HTML5

2008-12-04 Thread German Geek
Recently, I installed IE8 beta 2 and whenever I start it, DEP comes in and says, this application is not secure... I haven't got it to run as yet. The reason I installed it was because a client reported problems with a web app written by me with IE8. Now I can't run IE altogether lol. Yeah, I knew

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Jim Lucas
Terion Miller wrote: Hey everyone I am still fighting the same problem that my script isn't working and its not reporting errors, when you click to view the work order it doesn't do anything, I have all kinds of error reporting turned on but nothing, do I have them syntax wrong? ?php

Re: [PHP] How to fetch .DOC or .DOCX file in php

2008-12-04 Thread Shawn McKenzie
Jim Lucas wrote: Boyd, Todd M. wrote: -Original Message- From: Jagdeep Singh [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 8:39 AM To: php-general@lists.php.net Subject: [PHP] How to fetch .DOC or .DOCX file in php Importance: Low Hi ! I want to fetch text from

[PHP] syntax error (stumped)

2008-12-04 Thread ddg2sailor
This is acctualy a very simple code... But I dont know exactly what to do with line 18. It looks to be taking something from dox and redefining it as RES. There is some related code but with syntax is pretty much has to be this one. //Example// ? require include/bittorrent.php; dbconn(); if

Re: [PHP] syntax error (stumped)

2008-12-04 Thread Daniel P. Brown
On Thu, Dec 4, 2008 at 8:32 PM, ddg2sailor [EMAIL PROTECTED] wrote: This is acctualy a very simple code... But I dont know exactly what to do with line 18. It looks to be taking something from dox and redefining it as RES. There is some related code but with syntax is pretty much has to be

Re: [PHP] syntax error (stumped)

2008-12-04 Thread ddg2sailor
Sorry , I did mean to mention that... But I forgot. The original error is : Fatal error: Call to undefined function do_mysql_query() in C:\xampp\htdocs\getdox.php on line 18 Something to do with this // or sqlerr(); //? Thanks Daniel P. Brown-2 wrote: On Thu, Dec 4, 2008 at 8:32 PM,

Re: [PHP] syntax error (stumped)

2008-12-04 Thread Nathan Nobbe
On Thu, Dec 4, 2008 at 6:44 PM, ddg2sailor [EMAIL PROTECTED] wrote: Sorry , I did mean to mention that... But I forgot. The original error is : Fatal error: Call to undefined function do_mysql_query() in C:\xampp\htdocs\getdox.php on line 18 likely something to do w/ do_mysql_query() not

Re: [PHP] syntax error (stumped)

2008-12-04 Thread ddg2sailor
I have been looking at this code all night and at one point I drew the same conclusion. But I havent been able to find it Il beg the moderators indulgence here.. But I really do need to add this code which calls the other code as a user hits a link. //dox.php// ? require

Re: [PHP] syntax error (stumped)

2008-12-04 Thread Chris
ddg2sailor wrote: I have been looking at this code all night and at one point I drew the same conclusion. But I havent been able to find it Il beg the moderators indulgence here.. But I really do need to add this code which calls the other code as a user hits a link. Find the file where

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Robert Cummings
On Thu, 2008-12-04 at 15:07 -0800, Jim Lucas wrote: Terion Miller wrote: Hey everyone I am still fighting the same problem that my script isn't working and its not reporting errors, when you click to view the work order it doesn't do anything, I have all kinds of error reporting turned on

Re: [PHP] How to fetch .DOC or .DOCX file in php

2008-12-04 Thread Jim Lucas
Shawn McKenzie wrote: Jim Lucas wrote: Boyd, Todd M. wrote: -Original Message- From: Jagdeep Singh [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 8:39 AM To: php-general@lists.php.net Subject: [PHP] How to fetch .DOC or .DOCX file in php Importance: Low Hi ! I want

[PHP] PHP 5.2.7 Released

2008-12-04 Thread Ilia Alshanetsky
The PHP development team would like to announce the immediate availability of PHP 5.2.7. This release focuses on improving the stability of the PHP 5.2.x branch with over 170 bug fixes, several of which are security related. All users of PHP are encouraged to upgrade to this release.

Re: [PHP] Using DateTimeZone

2008-12-04 Thread Lester Caine
Jochem Maas wrote: Lester Caine schreef: Lester Caine wrote: Lester Caine wrote: I'm looking to tidy up things a bit by clearing out a lot of old code and switching to using the internal DateTime functions. Information is stored in the databases UTC normalized, and we get around the problem

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread German Geek
On Fri, Dec 5, 2008 at 4:26 PM, Robert Cummings [EMAIL PROTECTED]wrote: On Thu, 2008-12-04 at 15:07 -0800, Jim Lucas wrote: Terion Miller wrote: Hey everyone I am still fighting the same problem that my script isn't working and its not reporting errors, when you click to view the work

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Robert Cummings
On Fri, 2008-12-05 at 17:44 +1300, German Geek wrote: On Fri, Dec 5, 2008 at 4:26 PM, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2008-12-04 at 15:07 -0800, Jim Lucas wrote: Terion Miller wrote: Hey everyone I am still fighting the same problem that my

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Johny John
HI Terion, Please put the error reporting on top of the page and try. If you have any errors in the include file, it won't execute the rest of commands. Make the changes to code as follows. ?php error_reporting(E_ALL); ini_set('display_errors', '1'); include(inc/dbconn_open.php); ? Regards,

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Jim Lucas
Johny John wrote: HI Terion, Please put the error reporting on top of the page and try. If you have any errors in the include file, it won't execute the rest of commands. Make the changes to code as follows. ?php error_reporting(E_ALL); ini_set('display_errors', '1');

Re: [PHP] Using DateTimeZone

2008-12-04 Thread Lester Caine
Lester Caine wrote: ?php setlocale(LC_TIME, nl_NL.ISO8859-1); $d = new DateTime(); echo strftime(%A, %d %B %Y, strtotime($d-format(DATE_ATOM))), \n; ? Does not work! Have to do date_default_timezone_set( $user_timezone ) ); if ( is_numeric( $user_time )) { $dateTimeUser = new

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Robert Cummings
On Thu, 2008-12-04 at 21:28 -0800, Jim Lucas wrote: Johny John wrote: HI Terion, Please put the error reporting on top of the page and try. If you have any errors in the include file, it won't execute the rest of commands. Make the changes to code as follows. ?php

[PHP] PHP - Jasper Report Integeration

2008-12-04 Thread Johny John
Dear All, Do any one know how to integrate PHP with Jasper Reports. I tried it..but its says Unable to create Java Virtual Machine Please refer this link for more details. http://jagadmaya.com/integration-phpjasperreports.html -- Regards, Johny www.phpshore.com

Re: [PHP] PHP - Jasper Report Integeration

2008-12-04 Thread Chris
Johny John wrote: Dear All, Do any one know how to integrate PHP with Jasper Reports. I tried it..but its says Unable to create Java Virtual Machine Please refer this link for more details. http://jagadmaya.com/integration-phpjasperreports.html asking the same things multiple times will not

Re: [PHP] syntax error (stumped)

2008-12-04 Thread ddg2sailor
Its begining to look like this code was written for a newer sql The sysop came up with an older php file that fixxed this issue Samples enclosed. //the file I been working on all days - relevant lines only $filename = sqlesc($filename); $res = do_mysql_query(SELECT * FROM dox WHERE

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Wolf
Jim Lucas wrote: Johny John wrote: HI Terion, Please put the error reporting on top of the page and try. If you have any errors in the include file, it won't execute the rest of commands. Make the changes to code as follows. ?php error_reporting(E_ALL); ini_set('display_errors', '1');

[PHP] error messaages - $DOXPath Wrong

2008-12-04 Thread ddg2sailor
Hi Here are the error messages: Warning: move_uploaded_file(C: mpp\htdocs\dox/th_dsc_076.jpg) [function.move-uploaded-file]: failed to open stream: Invalid argument in C:\xampp\htdocs\dox.php on line 40 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move

Re: [PHP] error messaages - $DOXPath Wrong

2008-12-04 Thread ddg2sailor
This is line 40 if (!move_uploaded_file($file[tmp_name], $DOXPATH/$file[name])) Sailor -- View this message in context: http://www.nabble.com/error-messaages---%24DOXPath-Wrong-tp20848918p20848948.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing

Re: [PHP] Using DateTimeZone

2008-12-04 Thread Jochem Maas
Lester Caine schreef: Lester Caine wrote: ?php setlocale(LC_TIME, nl_NL.ISO8859-1); $d = new DateTime(); echo strftime(%A, %d %B %Y, strtotime($d-format(DATE_ATOM))), \n; ? Does not work! it does, only there is nothing setting the timezone in that example. Have to do