php-general Digest 28 Mar 2007 12:42:38 -0000 Issue 4702

2007-03-28 Thread php-general-digest-help
php-general Digest 28 Mar 2007 12:42:38 - Issue 4702 Topics (messages 251502 through 251533): Re: pear returns prompt 251502 by: Chris Re: Optimization of all mysql databases on a server 251503 by: itoctopus changing array to a string 251504 by: Richard Kurth

Re: [PHP] Language detection with PHP

2007-03-28 Thread Satyam
- Original Message - From: Zoltán Németh [EMAIL PROTECTED] In formal english, it's not allowed to use 've 'm etc, I'm should be written as I am. So that's not gonna work i think. But words like and are really english i think :) Keep in mind that this is quite a hard way i think, but i

[PHP] Zend Guard Performance Problem

2007-03-28 Thread Sancar Saran
Hi, Recently we bought Zend Guard and because of Zend encoder we have to use another Opcode cacher other than APC. After searching net I found eAccelerator. After installing eAccelerator with Zend Guard I saw more than %30 percent performance lost against Normal PHP + APC. Here my setup

Re: [PHP] Zend Guard Performance Problem

2007-03-28 Thread Chris
Sancar Saran wrote: Hi, Recently we bought Zend Guard and because of Zend encoder we have to use another Opcode cacher other than APC. After searching net I found eAccelerator. After installing eAccelerator with Zend Guard I saw more than %30 percent performance lost against Normal PHP +

Re: [PHP] How can i convert one object to another. Convert Exception object to MyException Object.

2007-03-28 Thread Zoltán Németh
2007. 03. 28, szerda keltezéssel 08.55-kor Mathijs ezt írta: Hello there, I am trying to convert one object to another, something like clone. For example. --- class MyException extends Exception { // My functions etc.. etc.. } function ExceptionHandler($exception) {

Re: [PHP] Zend Guard Performance Problem

2007-03-28 Thread Sancar Saran
On Wednesday 28 March 2007 11:36, Chris wrote: Sancar Saran wrote: Hi, Recently we bought Zend Guard and because of Zend encoder we have to use another Opcode cacher other than APC. After searching net I found eAccelerator. After installing eAccelerator with Zend Guard I saw more

[PHP] HELO command when sending email using PHP

2007-03-28 Thread Angelo Zanetti
Hi all. I am sending emails using the SMTP connection with PHP using the HTMLMimeMail class. Now there is a setting there for the HELO command text, can anyone explain to me what this is and what it should be set to? TIA. --

Re: [PHP] Zend Guard Performance Problem

2007-03-28 Thread Jochem Maas
Sancar Saran wrote: On Wednesday 28 March 2007 11:36, Chris wrote: Sancar Saran wrote: Hi, Recently we bought Zend Guard and because of Zend encoder we have to use another Opcode cacher other than APC. After searching net I found eAccelerator. After installing eAccelerator with Zend

Re: [PHP] HELO command when sending email using PHP

2007-03-28 Thread demo
please check the RFC 821, it shows the SMTP protocol. HELO domain.com it should fill your Mail server domain in order to prevent email going through most of anti-spam. - Original Message - From: Angelo Zanetti [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Wednesday, March 28,

Re: [PHP] HELO command when sending email using PHP

2007-03-28 Thread Angelo Zanetti
demo wrote: please check the RFC 821, it shows the SMTP protocol. HELO domain.com it should fill your Mail server domain in order to prevent email going through most of anti-spam. Thanks, so if Im running localhost, the HELO command will also be localhost? -- PHP General Mailing List

Re: [PHP] HELO command when sending email using PHP

2007-03-28 Thread demo
by the way, here is php issues maillist not EMAIL issues:) if any problem with SMTP or email, please contact me directly -- http://tssoft.3322.org:8080/2.1/ demo:demodemo it's my email server developped by MSVC - Original Message - From: Angelo Zanetti [EMAIL PROTECTED] To: demo [EMAIL

[PHP] PDO mssql + multiple rowsets

2007-03-28 Thread Javier Ruiz
Hi! I want to use PDO in my apps for connecting to several RDBSs, one of them, sql server 2000 and 2005. I tried to use as DSN something like mssql:... (as I've seen in the php manual pages) but I get a PDOException with the message Unable to open PDO connection [wrapped: could not find driver].

Re: [PHP] How can i convert one object to another. Convert Exception object to MyException Object.

2007-03-28 Thread Jochem Maas
Mathijs wrote: Hello there, I am trying to convert one object to another, something like clone. For example. --- class MyException extends Exception { // My functions etc.. etc.. } function ExceptionHandler($exception) { // Convert an NoN MyException to an MyException

Re: [PHP] HELO command when sending email using PHP

2007-03-28 Thread demo
localhost is ok if u just send mail in the LAN. if you send mail in the internet, it may not be ok, bcoz it will be cut by anti-spam. most smtp servers always validate your HELO area and your DNS and check if them match. - Original Message - From: Angelo Zanetti [EMAIL PROTECTED] To:

Re: [PHP] POST + QUERY

2007-03-28 Thread Dan Shirah
using mssql_fetch_assoc worked out great. I had actually typed it in before but the code formatting didn't change the color of the text like it normally does for my mssql functions so I assumed it wasn't valid and deleted it. Thanks to everyone for your help! On 3/27/07, Jim Lucas [EMAIL

Re: [PHP] Language detection with PHP

2007-03-28 Thread Robin Vickery
On 28/03/07, Satyam [EMAIL PROTECTED] wrote: if you find accented letters, it is a sure sign that it is not English That's a rather naïve approach. Written accents in English may be rather passé, but they do exist. -robin -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Zend Guard Performance Problem

2007-03-28 Thread chris smith
On 3/28/07, Sancar Saran [EMAIL PROTECTED] wrote: On Wednesday 28 March 2007 11:36, Chris wrote: Sancar Saran wrote: Hi, Recently we bought Zend Guard and because of Zend encoder we have to use another Opcode cacher other than APC. After searching net I found eAccelerator. After

Re: [PHP] using for loop in function

2007-03-28 Thread Myron Turner
Richard Kurth wrote: The function below will create a group of checkboxes it will also check the checkbox that is stored in the table field that is in $select_value this works fine if there is only one value in the variable but if there is more stored like 1,2,3,4 it will not work. I am

Re: [PHP] PHP 5.2.1: Some scripts are being parsed, but most aren't

2007-03-28 Thread Myron Turner
Mario Guenterberg wrote: On Tue, Mar 27, 2007 at 10:22:40PM -0700, Eddie wrote: Hi all, Previously, I had installed Apache 1.3.37 with PHP 5.2.1 as a static module on Ubuntu 6.06. I am having a problem where, for some reason, some of my PHP scripts just show source code, while some are

Re: [PHP] PHP 5.2.1: Some scripts are being parsed, but most aren't

2007-03-28 Thread Mario Guenterberg
On Wed, Mar 28, 2007 at 07:20:37AM -0500, Myron Turner wrote: It's hard to see how this could be a browser issue. Firefox does not parse the scripts. The scripts are parsed on the server, under Apache. The server outputs the result of the parsing and the browser displays the result. I

Re: [PHP] PHP 5.2.1: Some scripts are being parsed, but most aren't

2007-03-28 Thread Zoltán Németh
2007. 03. 28, szerda keltezéssel 14.42-kor Mario Guenterberg ezt írta: On Wed, Mar 28, 2007 at 07:20:37AM -0500, Myron Turner wrote: It's hard to see how this could be a browser issue. Firefox does not parse the scripts. The scripts are parsed on the server, under Apache. The server

Re: [PHP] Re: PHP 5.2.1: Some scripts are being parsed, but most aren't

2007-03-28 Thread Mario Guenterberg
On Wed, Mar 28, 2007 at 01:50:39PM +0100, Colin Guthrie wrote: Should get you some output... check the headers, check the content etc. I've checked twice the big apache log files and found some segmentation faults! Mhm, with a vanilla apache 2.2.4 the problem did not emerge. I would change the

[PHP] Re: PHP 5.2.1: Some scripts are being parsed, but most aren't

2007-03-28 Thread Colin Guthrie
Mario Guenterberg wrote: On Wed, Mar 28, 2007 at 07:20:37AM -0500, Myron Turner wrote: It's hard to see how this could be a browser issue. Firefox does not parse the scripts. The scripts are parsed on the server, under Apache. The server outputs the result of the parsing and the browser

Re: [PHP] Language detection with PHP

2007-03-28 Thread Tijnema !
On 3/28/07, Robin Vickery [EMAIL PROTECTED] wrote: On 28/03/07, Satyam [EMAIL PROTECTED] wrote: if you find accented letters, it is a sure sign that it is not English That's a rather naïve approach. Written accents in English may be rather passé, but they do exist. -robin What about names?

Re: [PHP] Timezone offset

2007-03-28 Thread Tijnema !
On 3/28/07, Chris Boget [EMAIL PROTECTED] wrote: My server's timezone is set to (GMT) Greenwish Mean Time : Dublin, Edinburgh, Lisbon, London. But when I echo out date( 'O' ), it's returning the offset as +0100 and not +. Why? I would think that it should return +. Am I wrong? thnx,

Re: [PHP] Timezone offset

2007-03-28 Thread Zoltán Németh
2007. 03. 28, szerda keltezéssel 10.24-kor Chris Boget ezt írta: My server's timezone is set to (GMT) Greenwish Mean Time : Dublin, Edinburgh, Lisbon, London. But when I echo out date( 'O' ), it's returning the offset as +0100 and not +. Why? I would think that it should return

Re: [PHP] Timezone offset

2007-03-28 Thread Chris Boget
On 3/28/07, Chris Boget [EMAIL PROTECTED] wrote: My server's timezone is set to (GMT) Greenwish Mean Time : Dublin, Edinburgh, Lisbon, London. But when I echo out date( 'O' ), it's returning the offset as +0100 and not +. Why? I would think that it should return +. Am I wrong?

Re: [PHP] Timezone offset

2007-03-28 Thread Tijnema !
On 3/28/07, Chris Boget [EMAIL PROTECTED] wrote: On 3/28/07, Chris Boget [EMAIL PROTECTED] wrote: My server's timezone is set to (GMT) Greenwish Mean Time : Dublin, Edinburgh, Lisbon, London. But when I echo out date( 'O' ), it's returning the offset as +0100 and not +. Why? I would

Re: [PHP] Timezone offset

2007-03-28 Thread Satyam
- Original Message - From: Chris Boget [EMAIL PROTECTED] My server's timezone is set to (GMT) Greenwish Mean Time : Dublin, Edinburgh, Lisbon, London. There you have why, you set it to GreenwiSh, which is kind of Greenwich but not quite. I think that being on the western end of

Re: [PHP] Timezone offset

2007-03-28 Thread Satyam
Since about the US and most of the world that still do daylight savings started doing so, which was bout WWII. Most of Europe does, we changed this past weekend. We don't match the US in the dates, but we do it. In the Southern Hemisphere they do it the opposite way, since summer and

[PHP] Timezone offset

2007-03-28 Thread Chris Boget
My server's timezone is set to (GMT) Greenwish Mean Time : Dublin, Edinburgh, Lisbon, London. But when I echo out date( 'O' ), it's returning the offset as +0100 and not +. Why? I would think that it should return +. Am I wrong? thnx, Chris -- PHP General Mailing List

[PHP] Problem with XSLT importStyleSheet

2007-03-28 Thread Timothy Murphy
I've been trying to use PHP/XSLT on my desktop, running Fedora-6 Linux (with all current updates). The function importStyleSheet() seems to cause a Segmentation Violation, as eg in the following script from http://ie2.php.net/manual/en/function.xsl-xsltprocessor-construct.php

[PHP] Job Opportunity

2007-03-28 Thread Efrain Sarmiento
10 LAMP Developer (Linux, Apache, MySQL, and PHP/Perl or Python): Dealing with website-content management, security. For a prestigious online New York newspaper. It has to be ONSITE ONLY I also pay for referral fees. NYC, 6+ months on going $65/hr. *

Re: [PHP] PHP 5.2.1: Some scripts are being parsed, but most aren't

2007-03-28 Thread Myron Turner
Zoltán Németh wrote: 2007. 03. 28, szerda keltezéssel 14.42-kor Mario Guenterberg ezt írta: On Wed, Mar 28, 2007 at 07:20:37AM -0500, Myron Turner wrote: It's hard to see how this could be a browser issue. Firefox does not parse the scripts. The scripts are parsed on the server,

Re: [PHP] PHP 5.2.1: Some scripts are being parsed, but most aren't

2007-03-28 Thread tg-php
I've seen an issue similar to this a few times recently. It involved a phpBB board I log onto periodically. It seems that the server is really slow and after what seems to be a timeout period, sometimes I'll get a download request in Firefox. If I let it download, I get an empty file. I

Re: [PHP] logging erros and user access to logs

2007-03-28 Thread Jason Joines
Németh Zoltán wrote: 2007. 03. 15, csütörtök keltezéssel 16.08-kor Jason Joines ezt írta: Richard Lynch wrote: On Thu, March 15, 2007 2:47 pm, Jason Joines wrote: Richard Lynch wrote: On Thu, March 15, 2007 8:25 am, Jason Joines wrote: Richard Lynch wrote: Get the errors OFF the web page

Re: [PHP] Timezone offset

2007-03-28 Thread Seak, Teng-Fong
Satyam wrote: - Original Message - From: Chris Boget [EMAIL PROTECTED] My server's timezone is set to (GMT) Greenwish Mean Time : Dublin, Edinburgh, Lisbon, London. There you have why, you set it to GreenwiSh, which is kind of Greenwich but not quite. I think that being on the

[PHP] Displaying files from database

2007-03-28 Thread Philip Thompson
Hi. I'm storing an uploaded file into a MySQL database. I want the file to then be downloaded and viewed. Uploading looks like: snippet if (is_uploaded_file($file) $filename) { $handle = fopen ($file, 'r'); $resume[data] = base64_encode (fread ($handle, filesize ($file)));

Re: [PHP] Displaying files from database

2007-03-28 Thread Tijnema !
On 3/28/07, Philip Thompson [EMAIL PROTECTED] wrote: Hi. I'm storing an uploaded file into a MySQL database. I want the file to then be downloaded and viewed. Uploading looks like: snippet if (is_uploaded_file($file) $filename) { $handle = fopen ($file, 'r'); $resume[data] = base64_encode

Re: [PHP] Timezone offset

2007-03-28 Thread Tijnema !
On 3/28/07, Seak, Teng-Fong [EMAIL PROTECTED] wrote: Satyam wrote: - Original Message - From: Chris Boget [EMAIL PROTECTED] My server's timezone is set to (GMT) Greenwish Mean Time : Dublin, Edinburgh, Lisbon, London. There you have why, you set it to GreenwiSh, which is kind of

[PHP] RHEL 5 PHP php-5.1.6-7.el5.src.rpm using freetds-0.63-1.2.el4.rf.x86_64.rpm Won't rpm

2007-03-28 Thread Mitch
I can't use yum so that leaves me with making the rpm myself after hours of pain I am sending this email in hopes that someone can help. Download php-5.1.6-7.el5.src.rpm after exploding the rpm I put these 2 lines in the rpm. I am not sure if It should be in both places or not, in an ideal

Re: [PHP] Displaying files from database

2007-03-28 Thread Richard Davey
Philip Thompson wrote: Hi. I'm storing an uploaded file into a MySQL database. I want the file to then be downloaded and viewed. Uploading looks like: Assuming you actually have a good reason *why* you are storing uploaded files in your database, how has the table been set-up? What is the

Re: [PHP] Displaying files from database

2007-03-28 Thread Philip Thompson
On Mar 28, 2007, at 12:59 PM, Tijnema ! wrote: On 3/28/07, Philip Thompson [EMAIL PROTECTED] wrote: Hi. I'm storing an uploaded file into a MySQL database. I want the file to then be downloaded and viewed. Uploading looks like: snippet if (is_uploaded_file($file) $filename) { $handle =

Re: [PHP] Problem with XSLT importStyleSheet

2007-03-28 Thread Tijnema !
On 3/28/07, Timothy Murphy [EMAIL PROTECTED] wrote: I've been trying to use PHP/XSLT on my desktop, running Fedora-6 Linux (with all current updates). The function importStyleSheet() seems to cause a Segmentation Violation, as eg in the following script from

Re: [PHP] logging erros and user access to logs

2007-03-28 Thread Juergen Wind
Jason Joines-3 wrote: Richard Lynch wrote: On Thu, March 15, 2007 8:25 am, Jason Joines wrote: Richard Lynch wrote: Get the errors OFF the web page (display_errors OFF) and into the ?php error_reporting(E_PARSE); ini_set('display_errors','On');

Re: [PHP] logging erros and user access to logs

2007-03-28 Thread Tijnema !
On 3/28/07, Juergen Wind [EMAIL PROTECTED] wrote: Jason Joines-3 wrote: Richard Lynch wrote: On Thu, March 15, 2007 8:25 am, Jason Joines wrote: Richard Lynch wrote: Get the errors OFF the web page (display_errors OFF) and into the ?php error_reporting(E_PARSE);

Re: [PHP] logging erros and user access to logs

2007-03-28 Thread Juergen Wind
Juergen Wind wrote: phpinfo() only reflects values set in php.ini (globally), http.conf (f.e. per vhost) or .htaccess (per folder and below) and only if phpinfo is called from inside that folder/vhost. ini_set is only in the scope of your script. so you can't test the effects of your

Re: [PHP] Displaying files from database

2007-03-28 Thread Philip Thompson
On Mar 28, 2007, at 1:36 PM, Richard Davey wrote: Philip Thompson wrote: Hi. I'm storing an uploaded file into a MySQL database. I want the file to then be downloaded and viewed. Uploading looks like: Assuming you actually have a good reason *why* you are storing uploaded files in your

[PHP] Date/time format?

2007-03-28 Thread Jason Pruim
Hi Everyone, First off, I'm using PHP 5.2.0 and apache 1.3.33 I am trying to figure out what format a string is in in a database. It's a timecard system that I have found on-line and I am attempting to figure out how to write a script that would give me everyones timecard for the month on

Re: [PHP] Date/time format?

2007-03-28 Thread Brad Bonkoski
Jason Pruim wrote: Hi Everyone, First off, I'm using PHP 5.2.0 and apache 1.3.33 I am trying to figure out what format a string is in in a database. It's a timecard system that I have found on-line and I am attempting to figure out how to write a script that would give me everyones timecard

Re: [PHP] Date/time format?

2007-03-28 Thread Travis Doherty
Jason Pruim wrote: Hi Everyone, First off, I'm using PHP 5.2.0 and apache 1.3.33 I am trying to figure out what format a string is in in a database. It's a timecard system that I have found on-line and I am attempting to figure out how to write a script that would give me everyones

Re: [PHP] Date/time format?

2007-03-28 Thread Zoltán Németh
2007. 03. 28, szerda keltezéssel 15.35-kor Jason Pruim ezt írta: Hi Everyone, First off, I'm using PHP 5.2.0 and apache 1.3.33 I am trying to figure out what format a string is in in a database. It's a timecard system that I have found on-line and I am attempting to figure out how to

Re: [PHP] Date/time format?

2007-03-28 Thread Travis Doherty
Zoltán Németh wrote: 2007. 03. 28, szerda keltezéssel 15.35-kor Jason Pruim ezt írta: Hi Everyone, First off, I'm using PHP 5.2.0 and apache 1.3.33 I am trying to figure out what format a string is in in a database. It's a timecard system that I have found on-line and I am attempting to

RE: [PHP] Date/time format?

2007-03-28 Thread Brad Fuller
Jason wrote: Hi Everyone, First off, I'm using PHP 5.2.0 and apache 1.3.33 I am trying to figure out what format a string is in in a database. It's a timecard system that I have found on-line and I am attempting to figure out how to write a script that would give me everyones timecard

[PHP] PHP Upgrade: 5 or 6

2007-03-28 Thread Davi
Hi all. I've reading on some sites [1,2] that PHP 6 is comming soon... What should I do? Migrate my server and apps to PHP 5 now and, later to PHP 6, or wait some more time and migrate all to PHP 6? TIA -- Davi Vidal [EMAIL PROTECTED] [EMAIL PROTECTED] -- Agora com fortune: The main thing

[PHP] Firefox Extension (Firefox 2.x.x.x)

2007-03-28 Thread Daniel Brown
If you're like me, you spend your fair share of time going to the PHP website to check specs, changes, or even to refresh your brain with PHP's functions. So today I threw together a simple plugin for Firefox 2 that will let you type in the name of the function and be brought right to the

Re: [PHP] Date/time format?

2007-03-28 Thread Zoltán Németh
2007. 03. 28, szerda keltezéssel 14.48-kor Travis Doherty ezt írta: Zoltán Németh wrote: 2007. 03. 28, szerda keltezéssel 15.35-kor Jason Pruim ezt írta: Hi Everyone, First off, I'm using PHP 5.2.0 and apache 1.3.33 I am trying to figure out what format a string is in in a

Re: [PHP] PHP Upgrade: 5 or 6

2007-03-28 Thread Tijnema !
On 3/28/07, Davi [EMAIL PROTECTED] wrote: Hi all. I've reading on some sites [1,2] that PHP 6 is comming soon... What should I do? Migrate my server and apps to PHP 5 now and, later to PHP 6, or wait some more time and migrate all to PHP 6? TIA I think you should migrate to PHP5 now, as i

Re: [PHP] Firefox Extension (Firefox 2.x.x.x)

2007-03-28 Thread Tijnema !
On 3/28/07, Daniel Brown [EMAIL PROTECTED] wrote: If you're like me, you spend your fair share of time going to the PHP website to check specs, changes, or even to refresh your brain with PHP's functions. So today I threw together a simple plugin for Firefox 2 that will let you type in the

Re: [PHP] Firefox Extension (Firefox 2.x.x.x)

2007-03-28 Thread siavash1979
Quoting Tijnema ! [EMAIL PROTECTED]: On 3/28/07, Daniel Brown [EMAIL PROTECTED] wrote: If you're like me, you spend your fair share of time going to the PHP website to check specs, changes, or even to refresh your brain with PHP's functions. So today I threw together a simple plugin

Re: [PHP] PHP Upgrade: 5 or 6

2007-03-28 Thread Travis Doherty
Tijnema ! wrote: On 3/28/07, Davi [EMAIL PROTECTED] wrote: Hi all. I've reading on some sites [1,2] that PHP 6 is comming soon... What should I do? Migrate my server and apps to PHP 5 now and, later to PHP 6, or wait some more time and migrate all to PHP 6? TIA I think you should

Re: [PHP] logging erros and user access to logs

2007-03-28 Thread Juergen Wind
Tijnema ! wrote: You can simply put the phpinfo() at the end of your script. It will show the ini_set items. If you don't believe me, try this script: ?php ini_set(allow_url_fopen,Off); phpinfo(); ? Under local value it will show you Off, and on master value it will show On

Re: [PHP] PHP Upgrade: 5 or 6

2007-03-28 Thread Tijnema !
On 3/28/07, Travis Doherty [EMAIL PROTECTED] wrote: Tijnema ! wrote: On 3/28/07, Davi [EMAIL PROTECTED] wrote: Hi all. I've reading on some sites [1,2] that PHP 6 is comming soon... What should I do? Migrate my server and apps to PHP 5 now and, later to PHP 6, or wait some more time

Re: [PHP] Firefox Extension (Firefox 2.x.x.x)

2007-03-28 Thread Jim Lucas
Daniel Brown wrote: If you're like me, you spend your fair share of time going to the PHP website to check specs, changes, or even to refresh your brain with PHP's functions. So today I threw together a simple plugin for Firefox 2 that will let you type in the name of the function and be

[PHP] Re: Problem with XSLT importStyleSheet

2007-03-28 Thread Timothy Murphy
posted mailed Tijnema ! wrote: I've been trying to use PHP/XSLT on my desktop, running Fedora-6 Linux (with all current updates). The function importStyleSheet() seems to cause a Segmentation Violation, Thanks for your response. I have no problem with testing, i'm running home-made linux

[PHP] Re: Firefox Extension (Firefox 2.x.x.x)

2007-03-28 Thread Colin Guthrie
Jim Lucas wrote: Now, open a new tab, enter 'php date' I've been using this since FF implemented it. I have others too: ggl for google, mysql for mysql manual search etc. I know FF has a google search bar but it just takes up space when I can type F6 + ggl something pretty damn quick ;) Col.

[PHP] crontab, PHP and MACOSX

2007-03-28 Thread Yvan
Hello all, I don't know if it's the correct list, but as a php script is involved I try to start a set up a crontab job with crontab -e, which should start a php script: */10* * * * cd /Users/yvan/Sites/est-pac/ ; /usr/bin/php

RE: [PHP] PDO mssql + multiple rowsets

2007-03-28 Thread Ligaya A. Turmelle
I too have been having problems getting the PDO dblib for mssql to play well (getting the same error actually). If you find a reason or work around for it I would appreciate hearing about it. Thinking of going the odbc route myself if I can't get it to work. Respectfully, Ligaya Turmelle

Re: [PHP] Firefox Extension (Firefox 2.x.x.x)

2007-03-28 Thread Erik Jones
On Mar 28, 2007, at 3:53 PM, Jim Lucas wrote: Daniel Brown wrote: If you're like me, you spend your fair share of time going to the PHP website to check specs, changes, or even to refresh your brain with PHP's functions. So today I threw together a simple plugin for Firefox 2 that

RE: [PHP] PDO mssql + multiple rowsets

2007-03-28 Thread Frank M. Kromann
It Is doable. The native mssql/dblib extension does support that features. I just have'nt had the time to code it for pdo_dblib. - Frank I too have been having problems getting the PDO dblib for mssql to play well (getting the same error actually). If you find a reason or work around for it

Re: [PHP] crontab, PHP and MACOSX

2007-03-28 Thread Myron Turner
Yvan wrote: Hello all, I don't know if it's the correct list, but as a php script is involved I try to start a set up a crontab job with crontab -e, which should start a php script: */10* * * * cd /Users/yvan/Sites/est-pac/ ; /usr/bin/php

Re: [PHP] crontab, PHP and MACOSX

2007-03-28 Thread Chris
Yvan wrote: Hello all, I don't know if it's the correct list, but as a php script is involved Nope, not the right list. Cron isn't running - which has absolutely nothing to do with php. I try to start a set up a crontab job with crontab -e, which should start a php script: */10*

Re: [PHP] crontab, PHP and MACOSX

2007-03-28 Thread Yvan
On March 28, 2007, [EMAIL PROTECTED] wrote: this question really has nothing to do with php ... that said. on standard unix systems, user-level crontabs (which is what you're writing with the crontab -e command) are found in /var/spool/cron/user. there's also generally a cron log in

Re: [PHP] crontab, PHP and MACOSX

2007-03-28 Thread Yvan
On March 28, 2007, Chris wrote: Yvan wrote: Hello all, I don't know if it's the correct list, but as a php script is involved Nope, not the right list. Cron isn't running - which has absolutely nothing to do with php. I try to start a set up a crontab job with crontab -e,

Re: [PHP] crontab, PHP and MACOSX

2007-03-28 Thread Chris
Shell command as cron jobs work and errors are also send to the local mail, but php scripts are not executed Does running the command manually work? If not, there's your problem. If it does, then it's a cron issue. Still something you should ask about on a mac mailing list. -- Postgresql

Re: [PHP] crontab, PHP and MACOSX

2007-03-28 Thread Chris
There is a lot of require_once(' ') in the script and if i am not in the correct folder the script won't work. That is something php related ;) Change your require to something like this: require(dirname(__FILE__) . '/other_file_name.php'); -- Postgresql php tutorials

Re: [PHP] Timezone offset

2007-03-28 Thread Chris
Seak, Teng-Fong wrote: Satyam wrote: - Original Message - From: Chris Boget [EMAIL PROTECTED] My server's timezone is set to (GMT) Greenwish Mean Time : Dublin, Edinburgh, Lisbon, London. There you have why, you set it to GreenwiSh, which is kind of Greenwich but not quite. I think

Re: [PHP] RHEL 5 PHP php-5.1.6-7.el5.src.rpm using freetds-0.63-1.2.el4.rf.x86_64.rpm Won't rpm

2007-03-28 Thread Chris
./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu \ --target=x86_64-redhat-linux-gnu \ --program-prefix= \ --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ --sbindir=/usr/sbin \ --sysconfdir=/etc \

[PHP] Re: PHP Upgrade: 5 or 6

2007-03-28 Thread itoctopus
I'm migrating my company to PHP 5 (from PHP4) now. I've played with PHP6 a while ago and the only thing I can remember about it is that it obsoletes a not so few functions and has a stricter coding rules. -- itoctopus - http://www.itoctopus.com Davi [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: [PHP] using for loop in function

2007-03-28 Thread itoctopus
I don't quite understand why you're naming the checbox, you can easily go for name={$name}[]; -- itoctopus - http://www.itoctopus.com Jim Lucas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Richard Kurth wrote: The function below will create a group of checkboxes it will also

Re: [PHP] changing array to a string

2007-03-28 Thread itoctopus
join is also an alias for implode in case you're having trouble remembering the name, so you can go for $ids = join(',', $_POST['subscriptions']); -- itoctopus - http://www.itoctopus.com Chris [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Richard Kurth wrote: When I submit the for

[PHP] need help on project-Creating Database

2007-03-28 Thread Karl James
Team, I am in need of your help. I have tried over the years to do this. But, I am not getting it correct. What I want to do is build site that has team management for your roster of players, and display stats in a nut shell. As far as stats, I have about 5 years worth of data that I want

Re: [PHP] using for loop in function

2007-03-28 Thread Jim Lucas
itoctopus wrote: I don't quite understand why you're naming the checbox, you can easily go for name={$name}[]; -- itoctopus - http://www.itoctopus.com Jim Lucas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Richard Kurth wrote: The function below will create a group of

[PHP] PDO and buffered queries

2007-03-28 Thread Larry Garfield
HI all. The PHP.net manual is somewhat unclear on this point, so I thought I'd ask here. Does PDO automatically buffer queries the way that the mysql_* extension does, in order to allow multiple result sets open at the same time? Or is that something that has to be set on the connection, and