Re: [PHP] pdo_informix

2005-12-29 Thread Aleksander
Thanks, Don't know why I couln't find the install page myself. Got it working without any problems. Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Location ....

2005-12-29 Thread Sameer N Ingole
Christian Ista wrote: From: Jay Blanchard [mailto:[EMAIL PROTECTED] Header is a good solution, and is the only one available in PHP for redirects. It requires that you do not send anything else out to the browsers before sending the redirect, which is what is causing your error. You can always

Re: [PHP] Variables and Strings

2005-12-29 Thread Jochem Maas
PHP Superman wrote: Hey everyone, is there a way to return all the variables from a string into an array, for example $Var1=Yo; $Var2=Man; $SQL=SELECT * FROM tblname WHERE 4=$Var1 AND WHERE 3=$Var2; $AllVars=MySpecialFunction($SQL); your function MySpecialFunction() will recieve the following

Re: [PHP] Earlier versions hurt PHP 5

2005-12-29 Thread Silvio Porcellana [tradeOver]
Anas Mughal wrote: Here is a PHP5 hosting company: http://www.a2hosting.com/ Aaargh! I wouldn't suggest that one, I've had a really really bad experience with them (they shut down my site *w/o any notice* because they said I was using too much of their resources - while this was not true). I

Re: [PHP] XML Reader

2005-12-29 Thread Silvio Porcellana [tradeOver]
[EMAIL PROTECTED] wrote: Is there any easy php script to run to view an xml file such as new headlines like so: http://news.google.com/?output=rss or can anyone point me in the right direction for good online tutorials or books. You can start here: http://magpierss.sourceforge.net/ Magpie

[PHP] how to call perl code from PHP

2005-12-29 Thread dev lamp
Hi I am unable to call perl code from PHP, since the extension does not get loaded ! Scenario 1: use dl('perl.so'); in the php code and invoke the script from the command line The script works fine and the perl code gets executed as well. Scenario 2: the perl extension does not get loaded and

[PHP] what is the problem with this query?

2005-12-29 Thread sunaram patir
hi there, could you please tell me what is the problem with this query mysql_query(SELECT * FROM mailbox WHERE read=''); i always get this warning: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in index.php on line 24 -- PHP General Mailing List

RE: [PHP] what is the problem with this query?

2005-12-29 Thread Jay Blanchard
[snip] could you please tell me what is the problem with this query mysql_query(SELECT * FROM mailbox WHERE read=''); i always get this warning: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in index.php on line 24 [/snip] THere is no apparent problem

[PHP] XML-RPC problem with long running times

2005-12-29 Thread Andreas Schlicker
Hi all, I'm using Apache/1.3.33 (Unix), PHP/5.0.3, mod_ssl/2.8.22, OpenSSL/0.9.6a. I wrote a dummy script that is called by a Java program via XML-RPC, waits for some time and replies the start and end times. ?php set_time_limit(500); $xmlServer = xmlrpc_server_create(); function process()

Re: [PHP] Re: mysqli module in php 4

2005-12-29 Thread John Nichel
Curt Zirzow wrote: On Wed, Dec 28, 2005 at 11:58:02AM -0500, John Nichel wrote: M. Sokolewicz wrote: John Nichel wrote: M. Sokolewicz wrote: Bagus Nugroho wrote: Hi All, Is mysqli module enable by default on php 4 as mysql module. no If not enable by default, where I can get

Re: [PHP] XML-RPC problem with long running times

2005-12-29 Thread Andreas Schlicker
Of course, fflusch($log); should be fflush($log); I just found out that $xmlResponse really is empty. However, connection_status() returns 0, so I assume that the script is not interrupted by a timeout. Why does xmlrpc_server_call_method($xmlServer, $xmlRequest, NULL) return nothing if the

[PHP] unable to load perl extension

2005-12-29 Thread dev lamp
Hi I am unable to call perl code from PHP, since the extension does not get loaded ! Scenario 1: use dl('perl.so'); in the php code and invoke the script from the command line The script works fine and the perl code gets executed as well. Scenario 2: the perl extension does not get loaded and

Re: [PHP] unable to load perl extension

2005-12-29 Thread Jochem Maas
dev lamp wrote: Hi I am unable to call perl code from PHP, since the extension does not get loaded ! Scenario 1: use dl('perl.so'); in the php code and invoke the script from the command line The script works fine and the perl code gets executed as well. so the extension is not being loaded

[PHP] interfaces - your opinion

2005-12-29 Thread Jochem Maas
anyone here work with Interfaces? I do and I like them alot; I recently ran into a situation where it would be nice to be able to specify that a given interface is only allowed to be implemented by a certain class (and all subclasses thereof) - Anyone have an idea as to how to implement such a

Re: [PHP] php / mysql / js search result question

2005-12-29 Thread Greg Schnippel
Hi - It sounds like you're trying to implement something similar to google suggest which uses ajax to allow a user to navigate through a large list of entries. The google suggest method does use a lot of calls to the database but its asynchronous which eliminates cumbersome page loads.

Re: [PHP] unable to load perl extension

2005-12-29 Thread dev lamp
On 12/29/05, Jochem Maas [EMAIL PROTECTED] wrote: dev lamp wrote: Hi I am unable to call perl code from PHP, since the extension does not get loaded ! Scenario 1: use dl('perl.so'); in the php code and invoke the script from the command line The script works fine and the perl

Re: [PHP] mysqli class not found

2005-12-29 Thread Erik Saline
Thanks I deleted the new. I was following an example in the book for that. Now I get the error: Call to undefined function mysqli_connect() in /var/www/cgi-bin/db_connect.php on line 4, I added extenstion=mysqli.so to my php.ini Erik - Original Message - From: PHP Superman [EMAIL

Re: [PHP] Earlier versions hurt PHP 5

2005-12-29 Thread Rory Browne
On 12/29/05, Rory Browne [EMAIL PROTECTED] wrote: Please don't make comments like removing older versions of PHP from the download page. We have delivered solutions to clients that run on PHP4. Those clients need the ability to conveniently download PHP4 in order to run our code. Why

[PHP] PHPMailer inserting unwanted spaces

2005-12-29 Thread René Fournier
Has anyone encountered this? I am composing an HTML email with PHPMailer, and for some reason PHPMailer is inserted spaces periodically, which breaks the formatting. I've looked through the docs, but can only find a setting for Word Wrap (which is set to 0). ...Rene -- PHP General Mailing

Re: [PHP] mysqli class not found

2005-12-29 Thread PHP Superman
What OS are you using? I think that you entered the wrong filename. for windows i use php_mysqli.dll . Somewhere in php.ini there is a list of extensions you can use, uncomment the php_mysqli.dll , copy php_mysqli.dll to the php install directory and change the php.ini extension setting to your

Re: [PHP] mysqli class not found

2005-12-29 Thread John Nichel
PHP Superman wrote:* What OS are you using? I think that you entered the wrong filename. for windows i use php_mysqli.dll . Somewhere in php.ini there is a list of extensions you can use, uncomment the php_mysqli.dll , copy php_mysqli.dll to the php install directory and change the php.ini

Re: [PHP] Variables and Strings

2005-12-29 Thread PHP Superman
Thanks for the responses guys, but what i'm saying is i would like to return all the variable names i have in a string, $String=Blah Blah Blah $VarName Blah Blah Blah; $Vars=myspecialfunction($Varname); echo ($Vars); that code would produce $Varname, if there were more variables it would also

[PHP] php / JS / DOM question

2005-12-29 Thread jonathan
I know that this is more of a Javascript / DOM question but I cannot for the life of me figure this out: I have this form: form name=query_form input type=text name=q/input input type=button onclick=drawImg('A',document.forms ['query_form'].elements['q']); value=Search/input /form When the

Re: [PHP] mysqli class not found

2005-12-29 Thread John Nichel
PHP Superman wrote: Hold on, I heard that you can't run the mysql and mysqli php extensions , try removing the mysql extension if my other advice doesen't work snip Please reply to the list. You can compile php with both. From the manual : http://us2.php.net/mysqli If you would like to

RE: [PHP] php / JS / DOM question

2005-12-29 Thread Dan Uyemura
Try: input type=text name=q id=q/input input type=button onclick=drawImg('A',document.getElementById('q').value); value=Search/input I didn't test this, but I think it'll work... -Original Message- From: jonathan [mailto:[EMAIL PROTECTED] Sent: Thursday, December 29, 2005 1:45 PM To:

[PHP] Re: php / JS / DOM question

2005-12-29 Thread Al
jonathan wrote: I know that this is more of a Javascript / DOM question but I cannot for the life of me figure this out: I have this form: form name=query_form input type=text name=q/input input type=button onclick=drawImg('A',document.forms ['query_form'].elements['q']); value=Search/input

Re: [PHP] php / JS / DOM question

2005-12-29 Thread Kirk . Johnson
Add the value property: document.forms['query_form'].elements['q'] .value. Kirk jonathan [EMAIL PROTECTED] wrote on 12/29/2005 02:45:23 PM: form name=query_form input type=text name=q/input input type=button onclick=drawImg('A',document.forms ['query_form'].elements['q']);

RE: [PHP] Variables and Strings

2005-12-29 Thread Jay Blanchard
[snip] Thanks for the responses guys, but what i'm saying is i would like to return all the variable names i have in a string, $String=Blah Blah Blah $VarName Blah Blah Blah; $Vars=myspecialfunction($Varname); echo ($Vars); that code would produce $Varname, if there were more variables it would

Re: [PHP] php / JS / DOM question

2005-12-29 Thread jonathan
thanks so much. i didn't realize but I did strip out all the php. My bad. -jonathan On Dec 29, 2005, at 1:48 PM, Dan Uyemura wrote: Try: input type=text name=q id=q/input input type=button onclick=drawImg('A',document.getElementById('q').value); value=Search/input I didn't test this, but I

RE: [PHP] Variables and Strings

2005-12-29 Thread Jim Moseby
Thanks for the responses guys, but what i'm saying is i would like to return all the variable names i have in a string, $String=Blah Blah Blah $VarName Blah Blah Blah; $Vars=myspecialfunction($Varname); echo ($Vars); that code would produce $Varname, if there were more variables it

[PHP] web app in my portflio

2005-12-29 Thread Scott DeMers
Hey, Folks: I have a web application I've just completed, and I want to present it as part of my online portfolio, most of which hi-lights my work as a front end developer. My question is this: How do I go about showing off all of the hard-work I've done on the back-end? Do I simply

Re: [PHP] web app in my portflio

2005-12-29 Thread Philip Hallstrom
I have a web application I've just completed, and I want to present it as part of my online portfolio, most of which hi-lights my work as a front end developer. My question is this: How do I go about showing off all of the hard-work I've done on the back-end? Do I simply describe the structure

[PHP] Strange Right-Shift Problem

2005-12-29 Thread Michael Gross
Hello I have to migrate a PHP-application to a new Linux-Box. Both the old and the new system are Linux and PHP 5.1.1. (the old one has a Pentium 4, the new one two Xeon CPUs). I have a problem using the Crypt_Xtea-Extension. I narrowed it down to the following right-shift operation:

Re: [PHP] php / JS / DOM question

2005-12-29 Thread M. Sokolewicz
which is not part of the standards. It's accepted by most browsers because a lot of sites use it (due to the fact that IE is so popular), but it's *NOT* standard. So, don't do it! Dan showed the correct way. - tul [EMAIL PROTECTED] wrote: Add the value property:

Re: [PHP] what is the problem with this query?

2005-12-29 Thread Graham Cossey
On 12/29/05, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] could you please tell me what is the problem with this query mysql_query(SELECT * FROM mailbox WHERE read=''); i always get this warning: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in

Re: [PHP] what is the problem with this query?

2005-12-29 Thread Michael Gross
read is a reserved word in mysql (http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html). You have to double-quote reserved words: mysql_query(SELECT * FROM mailbox WHERE \read\=''); Graham Cossey wrote: On 12/29/05, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] could you please