[PHP] Socket Functions in PHP

2006-05-07 Thread Oliver John V. Tibi
Hi all, I suspect I'm having problems with socket functions within my PHP application running on Red Hat 2.4.21-4.EL #1/PHP 4.3.2/Apache 2.0.46. Below is a sample code listing: function sendRequest($strRequest) { $parse

Re: [PHP] Passing an indefinite number of parameters by reference

2006-05-07 Thread Tom Rogers
Hi, Monday, May 8, 2006, 4:20:11 AM, you wrote: CJ> Hi, CJ> Currently I have a function which accepts a limited number of parameters: CJ> call_function($function_name, &$var_1, &$var_2); CJ> I wish to modify the function to accept an indefinite number of CJ> parameters, which may or may not be

Re: [PHP] Convert from jpg to gif ... change dpi...

2006-05-07 Thread Rory Browne
imagemagick? On 5/7/06, Gustav Wiberg <[EMAIL PROTECTED]> wrote: > > Hi there! > > Is there any way of converting a jpg to gif and change dpi on the fly? > > Best regards > Gustav Wiberg > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

[PHP] Convert from jpg to gif ... change dpi...

2006-05-07 Thread Gustav Wiberg
Hi there! Is there any way of converting a jpg to gif and change dpi on the fly? Best regards Gustav Wiberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing an indefinite number of parameters by reference

2006-05-07 Thread Eric Butera
On 5/7/06, Chris Jenkinson <[EMAIL PROTECTED]> wrote: Hi, Currently I have a function which accepts a limited number of parameters: call_function($function_name, &$var_1, &$var_2); I wish to modify the function to accept an indefinite number of parameters, which may or may not be references.

Re: [PHP] Passing an indefinite number of parameters by reference

2006-05-07 Thread Jochem Maas
Chris Jenkinson wrote: Jochem Maas wrote: although I wonder whether you shouldn't be re-evaluating what it is your trying to do because I get the impression it's a whole load of work for probably little payoff (consider that using alot of indirection in your code will make it harder to underst

Re: [PHP] Passing an indefinite number of parameters by reference

2006-05-07 Thread Chris Jenkinson
Jochem Maas wrote: although I wonder whether you shouldn't be re-evaluating what it is your trying to do because I get the impression it's a whole load of work for probably little payoff (consider that using alot of indirection in your code will make it harder to understand/read and therefore har

Re: [PHP] Echo a value from an arrays position

2006-05-07 Thread Jochem Maas
Dave Goodchild wrote: This may clarify - in php, integer and associate arrays are created arbitrarily, ie keys can be numbers or strings. So, either create an array like this: array('1' => 'first element', '2' => 'second element'); if I'm not mistaken the above example will result in an

Re: [PHP] Passing an indefinite number of parameters by reference

2006-05-07 Thread Jochem Maas
Chris Jenkinson wrote: Hi, Currently I have a function which accepts a limited number of parameters: call_function($function_name, &$var_1, &$var_2); I wish to modify the function to accept an indefinite number of parameters, which may or may not be references. The function call_function()

[PHP] Passing an indefinite number of parameters by reference

2006-05-07 Thread Chris Jenkinson
Hi, Currently I have a function which accepts a limited number of parameters: call_function($function_name, &$var_1, &$var_2); I wish to modify the function to accept an indefinite number of parameters, which may or may not be references. The function call_function() then calls the function

Re: [PHP] Creating an OO Shopping Cart

2006-05-07 Thread Porpoise
""Richard Lynch"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Contact the bank with which you already HAVE a merchant account for your point-of-sale credit card swiper thingies. You're already working with them, paying them good money for essentially the "same" services.