php-general Digest 14 Jun 2009 12:21:21 -0000 Issue 6174

2009-06-14 Thread php-general-digest-help
php-general Digest 14 Jun 2009 12:21:21 - Issue 6174 Topics (messages 294001 through 294027): Re: Periodic Actions in PHP? 294001 by: Sancar Saran 294007 by: Colin Guthrie 294008 by: Phpster 294010 by: bruce Re: ezmlm response 294002 by: Ashley

php-general Digest 15 Jun 2009 01:31:19 -0000 Issue 6175

2009-06-14 Thread php-general-digest-help
php-general Digest 15 Jun 2009 01:31:19 - Issue 6175 Topics (messages 294028 through 294036): Re: preg_replace problem 294028 by: Mark Kelly Re: 3d image rotating 294029 by: דניאל דנון 294032 by: Nitsan Bin-Nun include file in a class with global/parent

Re: [PHP] how to pass a number through href url?

2009-06-14 Thread tedd
At 3:36 PM -0400 6/13/09, PJ wrote: I wish to be able to edit db field that is displayed in a page by calling up another page to handle the editing. The problem is how to pass the id (number) through an href. In other words, can the number be included in the uri and then filter the uri to leave

Re: [PHP] Re: preg_replace problem

2009-06-14 Thread Mark Kelly
Hi. On Saturday 13 June 2009, Al wrote: I may not have been very clear. Feed it just test with the quotes. You should get back, test the same as you gave it. Instead, I get back quote;testquote; Like Shawn, I have tried your code in isolation and only get the expected results. I

Re: [PHP] 3d image rotating

2009-06-14 Thread דניאל דנון
That not what I meant, but I found a solution with (sadly, wanted pure GD, but it would've required going over the WHOLE image) imagemagick. Anyway, I even found more then I wanted http://www.imagemagick.org/discourse-server/viewtopic.php?f=1t=10830start=0 Thanks (especially for nitsan that

[PHP] include file in a class with global/parent scope?

2009-06-14 Thread Daniel Kolbo
Hello, I understand the why $vars is not in the global scope, but i was wondering if there was a way from within the class file to include a file in the parent's scope? i tried ::include('vars.php'), parent::include('vars.php'), but this breaks syntax... Please consider the following three

Re: [PHP] Periodic Actions in PHP?

2009-06-14 Thread Parham Doustdar
Actually, your message sparked an idea in my [slow] mind. :) I can put the PHP code in a java script, and tell javascript to call it every fifteen seconds. Best option, I think. :) Any ideas? Thanks! -- --- Contact info: Skype: parham-d MSN: fire_lizard16 at hotmail dot com email: parham90 at

[PHP] Uniquely identifying an array... as a key to another array

2009-06-14 Thread Eddie Drapkin
Alright, here's the situation. I'm wrapping memcached, which takes a list of several servers, into a quasi-singleton. In other words, I want only one instance per set of servers, not per server. Assuming I had three memcached servers at localhost, 192.168.1.1 and 192.168.1.2, I wouldn't want

Re: [PHP] Re: preg_replace problem

2009-06-14 Thread Andrew Ballard
On Sat, Jun 13, 2009 at 5:16 PM, Aln...@ridersite.org wrote: Al wrote: This preg_replace() should simply replace all with amp; unless the value is already amp; But; if $value is simple a quote character [] I get quote. e.g., test = quote;testquote; Search string and replace works as it

[PHP] Sorting mySQL query - one order from multiple fields

2009-06-14 Thread George Langley
Hi all. Am trying to sort baseball games by time, where there can be up to 3 times listed per game. Each game has an original date and time field, plus fields for 2 rain-out dates/times (rodate1 rotime1, rodate2, rotime2), to use if the game gets rained out. Note that rotime1 and rotime2

[PHP] Search/Replace in entire database?

2009-06-14 Thread Chris Payne
Hi everyone, I am in the middle of creating an editor where you can search and replace on an individual column in a single table then I came across something I need to be able to do but not sure how. Is it posible (And if so please how :-) to search an entire database and all tables within a