php-general Digest 19 Feb 2011 03:09:11 - Issue 7189
Topics (messages 311424 through 311439):
Re: Howdy (new in here)
311424 by: Robert Cummings
311438 by: D. Dante Lorenso
Connection Handling - unreliable at best?
311425 by: James Green
New to list and to PHP
am using jcart but would like to customize the gateway.php file to use
another payment gateway instead of paypalany help from the
community ?
On Feb 18, 2011, at 12:03 PM, Simon J Welsh wrote:
On 19/02/2011, at 8:07 AM, Mari Masuda wrote:
My question is is there a way to call the built-in array_diff with a
dynamically generated list of arguments? I was thinking maybe there would
be a way to do this with variable variables or
On Fri, Feb 18, 2011 at 2:03 PM, Pete Woodhead pete.woodhea...@gmail.comwrote:
Hi I'm Pete Woodhead. I'm new to the list and to PHP. To be honest I very
new to code writing.
Thought this would be a good way to learn good habits as well as good code
writing.
Looking forward to learning and
Hi folks,
This is not directly relating to PHP but it's Friday so I'm gonna give
it a shot :). Would someone please help me figure out why my regex
pattern doesn't work. Below is the code and sample data:
$html = HTML
li class=small tab a class=y-mast-link images
As far as I can tell, your problem lies in [^href]*. That will match any
characters other than h, r, e or f, not anything other than the string href.
Consider replacing it with [^]*?. The ? makes it non-greedy so it will stop as
soon as it can (when it matches the first href) rather than as
On 18 February 2011 22:36, Tommy Pham tommy...@gmail.com wrote:
Hi folks,
This is not directly relating to PHP but it's Friday so I'm gonna give
it a shot :). Would someone please help me figure out why my regex
pattern doesn't work. Below is the code and sample data:
$html = HTML
li
@Simon,
Thanks for explaining about the [^href]. I need to read up more about
greediness. I thought I understood it but guess not.
@Peter,
I tried your pattern but it didn't capture all of my new test cases.
Also, it captures the single/double quotes in addition to the
fragments inside the
On 2/18/11 8:39 AM, Kirk Bailey wrote:
Oh hey, that's a good point. All the stuff i saw so far indented 2
spaces. WHY?
Can I just indent a TAB if my editor permits this? indenting 4 spaces (2
nests) is easy, but suppose I hit one extra space- not enough difference
to be really noticeable. Let's
9970318527584
Could this number refer to a date()? In late 2009?
How could I calculate it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 11-02-18 10:08 PM, John Taylor-Johnston wrote:
9970318527584
Could this number refer to a date()? In late 2009?
How could I calculate it?
Doesn't look like it...
echo date( 'Y-m-d H:i:s', 9970318527584 ).\n;
Not even a JavaScript millisecond timestamp:
echo date( 'Y-m-d H:i:s',
11 matches
Mail list logo