RE: [PHP] time

2007-01-29 Thread Richard Kurth
[snip] I am writing a program for managing leads and contacts. I would like to add the ability to see what TIME it is where the contact is not there server time. So if you looked at a list of contacts from all over the country you would see different times compared to what time it is where the user

Re: [PHP] time

2007-01-29 Thread tom
test Jay Blanchard : [snip] I am writing a program for managing leads and contacts. I would like to add the ability to see what TIME it is where the contact is not there server time. So if you looked at a list of contacts from all over the country you would see different times compared to what ti

RE: [PHP] time

2007-01-29 Thread Jay Blanchard
[snip] I am writing a program for managing leads and contacts. I would like to add the ability to see what TIME it is where the contact is not there server time. So if you looked at a list of contacts from all over the country you would see different times compared to what time it is where the user

Re: [PHP] Suggestions of GPL plugin-system?

2007-01-29 Thread Larry Garfield
On Monday 29 January 2007 8:37 pm, Robert Cummings wrote: > On Mon, 2007-01-29 at 20:02 -0600, Larry Garfield wrote: > > I was looking for a similar good-example about 2 years ago. What I found > > was Drupal (http://drupal.org/), and it's hook system. I have since > > given up on writing my own

Re: [PHP] Suggestions of GPL plugin-system?

2007-01-29 Thread Robert Cummings
On Mon, 2007-01-29 at 20:02 -0600, Larry Garfield wrote: > I was looking for a similar good-example about 2 years ago. What I found was > Drupal (http://drupal.org/), and it's hook system. I have since given up on > writing my own plugin system and became a small fry Drupal developer. :-) > >

Re: [PHP] PHP 5.2.0 + qmail problem

2007-01-29 Thread Richard Lynch
On Fri, January 26, 2007 2:01 am, Bc. Radek Krejca wrote: > Hello, > > I had to change my mailserver from sendmail to qmail. After it I saw > that the mail generated by function mail() has 2 newlines in body > except 1. > I have this konfiguration on server with php4xx and no problem is > t

Re: [PHP] Select record by ID

2007-01-29 Thread Richard Lynch
On Mon, January 29, 2007 7:43 pm, Larry Garfield wrote: > On Monday 29 January 2007 7:19 pm, Richard Lynch wrote: > >> Looks like PostgreSQL caved in to the unwashed masses of MySQL users >> who couldn't handle not putting apostrophes around everything to >> me... >> [sigh] >> >> :-) :-) :-) >> >>

Re: [PHP] PHP with XML database

2007-01-29 Thread Ritesh Nadhani
Thank you Bernhard and Richard Your comments have been really helpful. I have a meeting with the professor on Wednesday and I will lay down all this points in front of him then. On 1/29/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On Fri, January 26, 2007 6:10 pm, Ritesh Nadhani wrote: > Hello

Re: [PHP] Ongoing encoding issues

2007-01-29 Thread Richard Lynch
On Fri, January 26, 2007 7:24 am, Jochem Maas wrote: > Dave Goodchild wrote: > that said you should probably opt to output everything as UTF-8 - all > decent > browsers will return data in the same encoding as the page was given > to them in > by default - this requires you to have php send the cor

Re: [PHP] Suggestions of GPL plugin-system?

2007-01-29 Thread Larry Garfield
I was looking for a similar good-example about 2 years ago. What I found was Drupal (http://drupal.org/), and it's hook system. I have since given up on writing my own plugin system and became a small fry Drupal developer. :-) YMMV. On Monday 29 January 2007 6:50 am, Ivo F.A.C. Fokkema wrote:

Re: [PHP] two php.ini on the same server

2007-01-29 Thread Richard Lynch
On Fri, January 26, 2007 6:36 am, phpdevster wrote: > Hi > > i am trying to run two Apache server on the same machine and that is > work > fine > > but the problem is how to create separate php.ini for each Apache > server . > is that possible ?? In Apache 2, there is a PHPIniDir directive, I do b

Re: [PHP] Ongoing encoding issues

2007-01-29 Thread Richard Lynch
On Fri, January 26, 2007 3:33 am, Dave Goodchild wrote: > Hi all, I posted a question a couple of days ago regarding a web app I > have > wherein users are able to indicated prices and concessions via a text > field, > and the resulting encoding issues I have experienced, the main one > being > see

Re: [PHP] php code to upload a url correctly

2007-01-29 Thread Richard Lynch
On Fri, January 26, 2007 8:10 am, Corden James (RW3) CM&MC Manchester wrote: > I have a form in which users submit a url. I am having problems as > some > people submit the url in the format http://www.blah.blah.org > while others submit in the format > www.blah.blah.or

Re: [PHP] Select record by ID

2007-01-29 Thread Larry Garfield
On Monday 29 January 2007 7:19 pm, Richard Lynch wrote: > Looks like PostgreSQL caved in to the unwashed masses of MySQL users > who couldn't handle not putting apostrophes around everything to me... > [sigh] > > :-) :-) :-) > > Oh well. > > I personally would prefer that the DB not accept bogus i

Re: [PHP] memory_limit Setting?

2007-01-29 Thread Richard Lynch
On Fri, January 26, 2007 11:35 am, Jay Paulson wrote: > Hi everyone, > > I¹m trying to upload a 25MB file via PHP and I¹m setting the memory > limit > way high so I don¹t get a fatal error from php (the error is below). > What I > find really odd about this is that the error message says that PHP >

Re: [PHP] My objects eats too much (and weird!) memory

2007-01-29 Thread Richard Lynch
On Sat, January 27, 2007 2:12 pm, Francisco M. Marzoa Alonso wrote: > On sáb, 2007-01-27 at 20:05 +, Roman Neuhauser wrote: >> # [EMAIL PROTECTED] / 2007-01-26 20:40:34 +0100: >> > I've written this to check memory consumption of PHP5 objects, >> because >> > I'm having memory problems with an

Re: [PHP] Select record by ID

2007-01-29 Thread Richard Lynch
On Mon, January 29, 2007 6:55 pm, Roman Neuhauser wrote: > # [EMAIL PROTECTED] / 2007-01-29 17:54:03 -0600: >> MySQL is the *only* db engine that lets you get away with [bleep] >> like >> apostrophes around numbers. > > Actually, these are examples of valid SQL: INTEGER '1', FLOAT '13.5'. > test=#

[PHP] Re: __construct __destruct in PHP 4

2007-01-29 Thread Gregory Beaver
Peter Lauri wrote: > Hi, > > > > I have been trying going thru the PHP manual to find if there are any > equivalent to the __contruct and __destruct in PHP 4, but I cannot find any > solution for this part. I know it was introduced in PHP 5, but as __sleep > and __wakeup exist in PHP 4 already

Re: [PHP] What search algorithm does in_array() use?

2007-01-29 Thread Robert Cummings
On Mon, 2007-01-29 at 19:14 -0600, Richard Lynch wrote: > On Mon, January 29, 2007 7:03 pm, Robert Cummings wrote: > > > > Only perfect hashes have O(1) lookup, and in practice there are very > > few > > perfect hashes set up in reality since the cost to produce a perfect > > hash outweighs the ti

Re: [PHP] What search algorithm does in_array() use?

2007-01-29 Thread Richard Lynch
On Mon, January 29, 2007 7:03 pm, Robert Cummings wrote: > On Mon, 2007-01-29 at 17:12 -0600, Richard Lynch wrote: >> On Mon, January 29, 2007 11:20 am, Ken Dozier wrote: >> > Does in_array() use a search algorithm (i.e., binary search), or >> does >> > it >> > check sequentially each element in th

Re: [PHP] PHP with XML database

2007-01-29 Thread Richard Lynch
On Fri, January 26, 2007 6:10 pm, Ritesh Nadhani wrote: > Hello > > Bernhard Zwischenbrugger wrote: >> Hi >> >> Some questions >> >>> As part of my research under my professor I have to implement a web >>> interface to their benchmarking data. >>> >>> PHP is the chosen web language but we are littl

Re: [PHP] PHP with XML database

2007-01-29 Thread Richard Lynch
On Fri, January 26, 2007 2:36 pm, Ritesh Nadhani wrote: > Hello all > > As part of my research under my professor I have to implement a web > interface to their benchmarking data. > > PHP is the chosen web language but we are little worried about the > database. The benchmark data comes to us in XM

Re: [PHP] What search algorithm does in_array() use?

2007-01-29 Thread Robert Cummings
On Mon, 2007-01-29 at 17:12 -0600, Richard Lynch wrote: > On Mon, January 29, 2007 11:20 am, Ken Dozier wrote: > > Does in_array() use a search algorithm (i.e., binary search), or does > > it > > check sequentially each element in the array? > > Since there is no guarantee that the elements are in

Re: [PHP] Creating an array as a property of an object

2007-01-29 Thread Richard Lynch
On Fri, January 26, 2007 3:09 pm, Ken Kixmoeller -- reply to [EMAIL PROTECTED] wrote: > I want to have an multidimensional array as a property of an object. While not relevant to your immediate question, you may want to be told that PHP arrays are not truly multi-dimensional, but nested. I.e., on

Re: [PHP] Can a class instance a property of another class

2007-01-29 Thread Richard Lynch
On Sat, January 27, 2007 7:00 pm, Jochem Maas wrote: > objects are always by reference in php5 - in php4 you have to > use the 'reference' operator (the @ symbol) to make object be passed > by reference. [pedantic for="archives"] Not the @ symbol, which suppresses errors, but the & symbol which fo

Re: [PHP] Select record by ID

2007-01-29 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-29 17:54:03 -0600: > MySQL is the *only* db engine that lets you get away with [bleep] like > apostrophes around numbers. Actually, these are examples of valid SQL: INTEGER '1', FLOAT '13.5'. test=# select version(); versi

Re: [PHP] PHP & Flash

2007-01-29 Thread Richard Lynch
On Fri, January 26, 2007 5:28 pm, Skip Evans wrote: > We have a new project that will require pretty > robust communication between Flash and PHP, and > I've begun Googling and came across Actionscript here: > > http://www.adobe.com/devnet/flash/articles/flashmx_php.html > > I wonder if anyone know

Re: [PHP] navigation

2007-01-29 Thread Richard Lynch
On Sat, January 27, 2007 8:42 am, koen wrote: > How to creat the effect of the explorers back and forward buttons in > php? Something like this, except I almost for sure have a one-off error or got the 'push' confused with 'shift' as I always do... $current_page){ $last_page = $history[$curr

Re: [PHP] Use array returned by function directly?

2007-01-29 Thread Richard Lynch
On Mon, January 29, 2007 5:36 pm, Roman Neuhauser wrote: > # [EMAIL PROTECTED] / 2007-01-29 17:32:43 -0600: >> > Mon, January 29, 2007 11:55 am, Roman Neuhauser wrote: >> > # [EMAIL PROTECTED] / 2007-01-29 09:19:41 -0800: >> >> I remember this discussion 7 years ago. This feature is not >> >> poss

Re: [PHP] Sporadic MSSQL connection error

2007-01-29 Thread Richard Lynch
On Sat, January 27, 2007 12:24 pm, [EMAIL PROTECTED] wrote: > I'm having a sporadic connection problem with MSSQL. I have a php > script which is called by a folder scanning application and sometimes > it can run for hours without problem but other times it will run for > just a few minutes and ret

Re: [PHP] DATE

2007-01-29 Thread Richard Lynch
On Sat, January 27, 2007 10:51 pm, Ron Piggott wrote: > I have date in the variable $date_reference in the format -MM-DD. > How do I find out the date before this and the date after this? Ron $date_reference = date('Y-m-d'); list($y, $m, $d) = explode('-', $date_reference); //Let the computer

RE: [PHP] __construct __destruct in PHP 4

2007-01-29 Thread Richard Lynch
PEAR has a bunch of backwards compatibility hacks, and I suspect this might be already done there in one of those... On Sun, January 28, 2007 8:17 am, Peter Lauri wrote: > Hi, > > Yes I have been reading both sections and is aware of the different > sections > for PHP 4 and 5. I was just hoping th

Re: [PHP] __construct __destruct in PHP 4

2007-01-29 Thread Richard Lynch
On Sun, January 28, 2007 6:56 am, Peter Lauri wrote: > I have been trying going thru the PHP manual to find if there are any > equivalent to the __contruct and __destruct in PHP 4, but I cannot > find any > solution for this part. I know it was introduced in PHP 5, but as > __sleep > and __wakeup e

Re: [PHP] Select record by ID

2007-01-29 Thread Richard Lynch
On Sun, January 28, 2007 6:20 pm, Larry Garfield wrote: > On Sunday 28 January 2007 5:54 pm, Francisco M. Marzoa Alonso wrote: >> On dom, 2007-01-28 at 18:51 -0500, nitrox . wrote: >> > I took the quotes off. I thought that quotes around numbers was >> wrong >> > also. >> >> Quotes are no necessary

Re: [PHP] Select record by ID

2007-01-29 Thread Richard Lynch
> January 28, 2007 6:20 pm, Larry Garfield wrote: > On Sunday 28 January 2007 5:54 pm, Francisco M. Marzoa Alonso wrote: >> On dom, 2007-01-28 at 18:51 -0500, nitrox . wrote: >> > I took the quotes off. I thought that quotes around numbers was >> wrong >> > also. >> >> Quotes are no necessary aroun

Re: [PHP] Fwd: Entries no longer appear in search

2007-01-29 Thread Chris
No need to keep posting the same question over and over again. If anyone has suggestions, they will reply. Kevin Jordan wrote: -- Forwarded message -- From: Kevin Jordan <[EMAIL PROTECTED]> Date: Jan 28, 2007 6:21 PM Subject: Fwd: Entries no longer appear in search To: php-gener

Re: [PHP] Select record by ID

2007-01-29 Thread Richard Lynch
On Sun, January 28, 2007 5:21 pm, nitrox . wrote: > Im trying to display one record at a time by ID. Well im getting a > blank > page. Ive looked over my code and tried 20 different ways to get it to > work > to no avail. So any pointers on what Im doing wrong would be great. > here is > the code i

Re: [PHP] HTTPS

2007-01-29 Thread Richard Lynch
On Mon, January 29, 2007 12:30 am, chetan rane wrote: > i am writing a progrram for a Jabber COnnection manager. I want to > access > the client XML using HTTPS. do any one know a way to so it http://php.net/curl will get you through the S part of HTTPS nice and easy. Mucking with the XML, you ha

Re: [PHP] Use array returned by function directly?

2007-01-29 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-29 17:32:43 -0600: > > Mon, January 29, 2007 11:55 am, Roman Neuhauser wrote: > > # [EMAIL PROTECTED] / 2007-01-29 09:19:41 -0800: > >> I remember this discussion 7 years ago. This feature is not > >> possible. > > > > I also remember the debate, but don't recall why

Re: [PHP] Use array returned by function directly?

2007-01-29 Thread Richard Lynch
> Mon, January 29, 2007 11:55 am, Roman Neuhauser wrote: > # [EMAIL PROTECTED] / 2007-01-29 09:19:41 -0800: >> I remember this discussion 7 years ago. This feature is not >> possible. > > I also remember the debate, but don't recall why it's not possible, > AFAIR it was shot down because someone o

Re: [PHP] Use array returned by function directly?

2007-01-29 Thread Richard Lynch
On Mon, January 29, 2007 7:03 am, [EMAIL PROTECTED] wrote: > What's the best way to achieve something like this: > explode($needle, $array)[3] > It's too clumsy to use temporary array, and I suppose, quite slow. Is > there any option, or I'll have to stick to temporary arrays? Maybe some kind of p

Re: [PHP] which package to use for unzipping zipped files with PHP

2007-01-29 Thread Richard Lynch
On Mon, January 29, 2007 8:24 am, Angelo Zanetti wrote: > I have been googling to find out which is the best way to use PHP to > unzip a zip file I have found the following: > > zziplib > > and > > pclzip > > but still can't really decide without doing alot of tests etc.. > > Can anyone give advice

Re: [PHP] busy message queues

2007-01-29 Thread Richard Lynch
On Mon, January 29, 2007 10:17 am, Roman Neuhauser wrote: > # [EMAIL PROTECTED] / 2007-01-29 11:09:13 -0500: >> We've been using Postgres for our messaging queues up to now, but >> our >> message volume seems a bit higher than what we'd expect Postgres to >> keep >> up with... many inserts/deletes

Re: [PHP] Result sorting not working

2007-01-29 Thread Jochem Maas
Dan Shirah wrote: > Jochem, > ... > } var_dump($query); // run the query direct in mssql (e.g. via cmdline) // to determine if the problem is your code, your query or // if the query correctly return no results. > $res = mssql_query($query) or die(mssql_error()); > > ... -- PHP General

Re: [PHP] What search algorithm does in_array() use?

2007-01-29 Thread Richard Lynch
On Mon, January 29, 2007 11:20 am, Ken Dozier wrote: > Does in_array() use a search algorithm (i.e., binary search), or does > it > check sequentially each element in the array? Since there is no guarantee that the elements are in any particular order, it almost has to be sequential... > I am usi

Re: [PHP] Calling iTunes from a browser

2007-01-29 Thread Richard Lynch
On Mon, January 29, 2007 3:03 pm, Skip Evans wrote: > Hey all, > > I'm trying to call I tunes from a PHP script. > > If I call the URL right from the browser the > player opens up fine and starts downloading the > podcats. > > But if I put this in the code the browser says > "Page Cannot be Display

[PHP] Re: What search algorithm does in_array() use?

2007-01-29 Thread Gregory Beaver
Ken Dozier wrote: > Does in_array() use a search algorithm (i.e., binary search), or does it > check sequentially each element in the array? > > I am using in_array() within a while{} loop to check query results against > an access-list array to produce a third array containing items that > succes

[PHP] Calling iTunes from a browser

2007-01-29 Thread Skip Evans
Hey all, I'm trying to call I tunes from a PHP script. If I call the URL right from the browser the player opens up fine and starts downloading the podcats. But if I put this in the code the browser says "Page Cannot be Displayed" and stops. header("location: itpc://fiql.com/~podlist/sup

Re: [PHP] Use array returned by function directly?

2007-01-29 Thread Jim Lucas
Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-01-29 09:19:41 -0800: I remember this discussion 7 years ago. This feature is not possible. I also remember the debate, but don't recall why it's not possible, AFAIR it was shot down because someone on php-dev@ said so. Thats what I remember

Re: [PHP] Use array returned by function directly?

2007-01-29 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-29 09:19:41 -0800: > I remember this discussion 7 years ago. This feature is not possible. I also remember the debate, but don't recall why it's not possible, AFAIR it was shot down because someone on php-dev@ said so. -- How many Vietnam vets does it take to screw

Re: [PHP] busy message queues

2007-01-29 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-29 12:49:37 -0500: > > > > What version of PostgreSQL are you using? > > > > > > 7.4.x > > > > Too old, 8.1 and 8.2 have way better performance. [...] > Any predictions on what we might see for performance without upgrading > the PG version? No idea, but I wouldn

[PHP] Re: Suggestions of GPL plugin-system?

2007-01-29 Thread Michael Weaver
Hi Ivo, I have been developing and working with a PHP Application Toolkit/ Framework over the last 6 - 7 years and have been actively working on developing a system that is extensible through custom modules while retaining a stable 'core' codebase. The source code is available at: http://

RE: [PHP] busy message queues

2007-01-29 Thread Bob Dusek
> > No. We don't need the persistence. I'm planning on > managing the flow > > and not sending the data if the app isn't available to > receive it on the > > other end. > > Will you need to resend? Nope. Not in-line. We have an off-line message processing procedure to handle the missed tr

[PHP] What search algorithm does in_array() use?

2007-01-29 Thread Ken Dozier
Does in_array() use a search algorithm (i.e., binary search), or does it check sequentially each element in the array? I am using in_array() within a while{} loop to check query results against an access-list array to produce a third array containing items that successfully passed the comparison t

Re: [PHP] Use array returned by function directly?

2007-01-29 Thread Jim Lucas
[EMAIL PROTECTED] wrote: What's the best way to achieve something like this: explode($needle, $array)[3] It's too clumsy to use temporary array, and I suppose, quite slow. Is there any option, or I'll have to stick to temporary arrays? Best Regards, Ivailo Karamanolev I think you are meaning

[PHP] Extended deadline: CfP IEEE Software Special Issue on Rapid Application Development with Dynamically Typed Languages

2007-01-29 Thread Laurence Tratt
IEEE Software Special Issue Rapid Application Development with Dynamically Typed Languages Call for Papers Publication: Septemb

Re: [PHP] Re: [BULK] [PHP] Use array returned by function directly?

2007-01-29 Thread Myron Turner
Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-01-29 10:12:25 -0600: Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-01-29 15:27:21 +: # crash #assert(2 == returns_array()['c']); # still crash #assert(2 == returns_array()['c']); s/crash/syntax error/

Re: [PHP] busy message queues

2007-01-29 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-29 11:33:35 -0500: > > Do you actually need the persistence PostgreSQL gives you, or don't > > you mind if the other side is down? If you need to be sure that the > > receiver will process your message even if it's not up when you send > > the message, you'll end up r

Re: [PHP] Re: [BULK] [PHP] Use array returned by function directly?

2007-01-29 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-29 10:12:25 -0600: > Roman Neuhauser wrote: > ># [EMAIL PROTECTED] / 2007-01-29 15:27:21 +: > >># crash > >>#assert(2 == returns_array()['c']); > > > >># still crash > >>#assert(2 == returns_array()['c']); > > > >s/crash/syntax error/ > > You can do this in Perl: >

RE: [PHP] busy message queues

2007-01-29 Thread Bob Dusek
> > So, I'm leaning toward local sockets. I'm implementing > this right now, > > so I can test the performance against the Postgres > implementation. I > > will also implement and test other solutions if anyone can persuade > > me... ie. if you feel the msg_get_queue() stuff is worth the > > c

Re: [PHP] busy message queues

2007-01-29 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-29 11:09:13 -0500: > We've been using Postgres for our messaging queues up to now, but our > message volume seems a bit higher than what we'd expect Postgres to keep > up with... many inserts/deletes from in/out queues seems to dirty a lot > of memory and effect genera

Re: [PHP] Re: [BULK] [PHP] Use array returned by function directly?

2007-01-29 Thread Myron Turner
Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-01-29 15:27:21 +: # crash #assert(2 == returns_array()['c']); # still crash #assert(2 == returns_array()['c']); s/crash/syntax error/ You can do this in Perl: my $c = (fn(@a))[2]; But in PHP, this is a syntax erro

[PHP] busy message queues

2007-01-29 Thread Bob Dusek
Hello all, I'm looking for some advice from people that have experience with inter-process messaging queues. If you have experience with this sort of thing, I would appreciate any advice you can give... I'm working on an application that is extremely performance-sensitive. And, we're passing a l

Re: [PHP] Re: [BULK] [PHP] Use array returned by function directly?

2007-01-29 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-29 15:27:21 +: > # crash > #assert(2 == returns_array()['c']); > # still crash > #assert(2 == returns_array()['c']); s/crash/syntax error/ -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't TH

Re: [PHP] Re: [BULK] [PHP] Use array returned by function directly?

2007-01-29 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-29 16:07:39 +0200: > [EMAIL PROTECTED] wrote: > >What's the best way to achieve something like this: > >explode($needle, $array)[3] > >It's too clumsy to use temporary array, and I suppose, quite slow. Is > >there any option, or I'll have to stick to temporary arrays?

Re: [PHP] which package to use for unzipping zipped files with PHP

2007-01-29 Thread Angelo Zanetti
Jon Anderson wrote: I've used the PECL zip extension. I believe it was originally based on zzip, but is now based on another zip library. http://pecl.php.net/package/zip I won't make any claims about it being better or worse than the other two you mention ('cause I really don't know), but

Re: [PHP] which package to use for unzipping zipped files with PHP

2007-01-29 Thread Jon Anderson
I've used the PECL zip extension. I believe it was originally based on zzip, but is now based on another zip library. http://pecl.php.net/package/zip I won't make any claims about it being better or worse than the other two you mention ('cause I really don't know), but I can tell it works rel

[PHP] which package to use for unzipping zipped files with PHP

2007-01-29 Thread Angelo Zanetti
Dear all. I have been googling to find out which is the best way to use PHP to unzip a zip file I have found the following: zziplib and pclzip but still can't really decide without doing alot of tests etc.. Can anyone give advice as to which one to use. and which one not to and why? TIA.

[PHP] Re: [BULK] [PHP] Use array returned by function directly?

2007-01-29 Thread clive
[EMAIL PROTECTED] wrote: What's the best way to achieve something like this: explode($needle, $array)[3] It's too clumsy to use temporary array, and I suppose, quite slow. Is there any option, or I'll have to stick to temporary arrays? Not sure what you are trying to do. 1. Are you trying to

[PHP] Fwd: Entries no longer appear in search

2007-01-29 Thread Kevin Jordan
-- Forwarded message -- From: Kevin Jordan <[EMAIL PROTECTED]> Date: Jan 28, 2007 6:21 PM Subject: Fwd: Entries no longer appear in search To: php-general@lists.php.net, [EMAIL PROTECTED] This was originally sent to the OpenLDAP list, but it was rejected because I mentioned PHP a

Re: [PHP] Result sorting not working

2007-01-29 Thread Dan Shirah
Jochem, The $request_id2 and $dateTime2 variables were set further up in the code while I was testing. They are set to the $_POST['request_id] and $POST_['date_request_received'] I had just left it out to try and make the email shorter. Below is my entire page, variables set to different names

[PHP] Re: Suggestions of GPL plugin-system?

2007-01-29 Thread Colin Guthrie
Ivo F.A.C. Fokkema wrote: > Hi guys, > > I've been developing a GPL PHP/MySQL app for some time now and I would > like to extend it with a module/plugin system. The idea would be that > people could add a directory in a plugin path that would contain a > bunch of PHP files extending the functional

[PHP] Use array returned by function directly?

2007-01-29 Thread ivailo91
What's the best way to achieve something like this: explode($needle, $array)[3] It's too clumsy to use temporary array, and I suppose, quite slow. Is there any option, or I'll have to stick to temporary arrays? Best Regards, Ivailo Karamanolev -- PHP General Mailing List (http://www.php.net/) T

[PHP] Suggestions of GPL plugin-system?

2007-01-29 Thread Ivo F.A.C. Fokkema
Hi guys, I've been developing a GPL PHP/MySQL app for some time now and I would like to extend it with a module/plugin system. The idea would be that people could add a directory in a plugin path that would contain a bunch of PHP files extending the functionality of my application. This directory

Re: [PHP] Select record by ID

2007-01-29 Thread Robert Cummings
On Sun, 2007-01-28 at 21:12 -0500, Craige Leeder wrote: > As someone else already stated, my best guess according to that error > is that $user_id has a null, or inappropriate value. The error occurs > at the last character of the query, so it has to be something like > hat. Echo the query and let

[PHP] how to insert clog into oracle

2007-01-29 Thread Nicholas Yim
Hello php-general, either pdo nor oci example is ok. thx Best regards, Nicholas Yim [EMAIL PROTECTED] 2007-01-29 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php