-Original Message-
From: Dead Letter.Office [mailto:dead.letter.off...@isam.co.nz]
Sent: 14 June 2013 05:22
To: php-general@lists.php.net
http://php.net/manual/en/misc.configuration.php#ini.browscap
http://tempdownloads.browserscap.com/
$browser = get_browser(null, TRUE);
if
-Original Message-
From: Paul M Foster [mailto:pa...@quillandmouse.com]
Sent: 25 March 2013 16:09
This behavior of the browser actually conforms to the standard as
far as
I know. The target attribute is attached only to the a tag,
according to w3schools.com
Actually, the W3C HTML
-Original Message-
From: Maciek Sokolewicz [mailto:tula...@gmail.com] On Behalf Of
Maciek Sokolewicz
Sent: 11 March 2013 22:44
unless ( $a and $b )
=
if ( ! ($a and $b) )
So in simple terms, just stick a ! (or the keyword not) in front of
your
expression, and you'll have
-Original Message-
From: Arno Kuhl [mailto:a...@dotcontent.net]
Sent: 12 March 2013 13:04
Mike, I presume you're saying the precedence of the Boolean keyword
operators is lower than the Boolean symbol operators, but if so then
wouldn't there be less need for the parentheses? I
-Original Message-
From: Jim Giner [mailto:jim.gi...@albanyhandball.com]
Sent: 27 February 2013 12:28
2 - you have a couple indices wrapped in curly braces, not parens.
Is
that some new kind of syntax I'm not aware of?
No, that's some old kind of syntax you have no reason to be
-Original Message-
From: Stuart Dallas [mailto:stu...@3ft9.com]
Sent: 25 October 2012 22:48
Aw, nuts! Stuart, you just beat me to it! I was half way through writing an
almost identical post when yours popped into my Inbox
Cheers!
Mike
--
Mike Ford,
Electronic Information
From: Paul Halliday [paul.halli...@gmail.com]
Sent: 24 October 2012 18:38
To: PHP-General
Subject: [PHP] Array help.
$groupMappings = array('40' ='A','41' ='B','1' ='C');
$ocTest = explode(., $ip);
$groupKeys = array_keys($groupMappings);
$groupTest =
From: underp...@gmail.com [mailto:underp...@gmail.com] On Behalf Of
Richard S. Crawford
Sent: 17 October 2012 19:29
To: PHP-General
You can see the current output of the above code here:
http://projectbench.extensiondlc.net
Can I ask what the fix for this was? Because that URL is
-Original Message-
From: Marco Behnke [mailto:ma...@behnke.biz]
Sent: 19 August 2012 06:39
To: php-general@lists.php.net
Subject: Re: [PHP] How do I do count the occurrence of each word?
Am 19.08.12 06:59, schrieb tamouse mailing lists:
On Sat, Aug 18, 2012 at 6:44 PM, John
-Original Message-
From: Tim Dunphy [mailto:bluethu...@gmail.com]
Sent: 28 June 2012 01:18
Hey guys,
It's been a little while since I've toyed with this, and I hope you
don't mind my coming back to you for some more advice. But I've
enjoyed some limited success with David R's
-Original Message-
From: Paul Halliday [mailto:paul.halli...@gmail.com]
Sent: 28 June 2012 02:27
Using preg_match and this pattern I can get the refs:
$pattern = '\reference:url,([^;]+;)\';
which gives me:
$matches[0] = www.ndmp.org/download/sdk_v4/draft-skardal-ndmp4-
-Original Message-
From: Tedd Sperling [mailto:tedd.sperl...@gmail.com]
Sent: 08 March 2012 23:15
To: PHP-General List
[previous discussion snipped]
Mike:
Very well put.
You say:
Huh? The 0th day of next month *is* the last day of the current
month,
which gives you
-Original Message-
From: Florian Müller [mailto:florip...@hotmail.com]
Sent: 03 February 2012 14:36
Hi guys,
I was wondering some time ago, why the links which are shown on
error or warning (E_WARNING etc.) show relative links to an usually
non-existing file.
Because you
-Original Message-
From: Stuart Dallas [mailto:stu...@3ft9.com]
Sent: 18 January 2012 12:02
On 17 Jan 2012, at 23:17, Haluk Karamete wrote:
I'm afraid session.cookie_lifetime = 0 keeps all session data (
that
is past and present ) in server memory until a server restart/stop
-Original Message-
From: Ron Piggott [mailto:ron@actsministries.org]
Sent: 01 October 2011 18:59
To: php-general@lists.php.net
Subject: [PHP] Variable question
If $correct_answer has a value of 3 what is the correct syntax
needed to use echo to display the value of
-Original Message-
From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of
Daniel P. Brown
Sent: 12 August 2011 16:53
On Fri, Aug 12, 2011 at 11:42, Chris Stinemetz
chrisstinem...@gmail.com wrote:
I have a select menu created by a foreach loop. I am trying to
validate
-Original Message-
From: Tim Streater [mailto:t...@clothears.org.uk]
Sent: 27 July 2011 09:57
On 26 Jul 2011 at 23:55, Micky Hulse rgmi...@gmail.com wrote:
On Tue, Jul 26, 2011 at 3:47 PM, Tim Streater
t...@clothears.org.uk wrote:
that I will get an error if I try to reference
On 2011-07-05, Stuart Dallas penned the words:
On Tue, Jul 5, 2011 at 3:29 PM, ad...@buskirkgraphics.com wrote:
Anyone know how to make Outlook changes its reply position.
Google delivers...
http://sourceforge.net/apps/mediawiki/macros4outlook/index.php?title
=QuoteFix_Macro
Many thanks
-Original Message-
From: H Rao [mailto:hydsd...@gmail.com]
Sent: 28 June 2011 04:40
I am trying to understand odd(different) behavior of the header
function
under two different environments.
Here is the code which I am trying to execute from two different
servers
?
header
-Original Message-
From: Nathan Nobbe [mailto:quickshif...@gmail.com]
Sent: 16 June 2011 17:51
[...]
Here's what's going on, I instantiate a model object for the product
table
from my application
$newRecord = new Product();
at this point memory usage goes up noticeably. I
-Original Message-
From: tedd [mailto:tedd.sperl...@gmail.com]
Sent: 22 May 2011 22:33
At 5:50 PM +0200 5/22/11, Nisse =?utf-8?Q?Engstr=C3=B6m?= wrote:
On Sat, 21 May 2011 09:26:02 -0400, tedd wrote:
The function strcmp() simply evaluates two strings and reports
back
-1, 0,
-Original Message-
From: Joshua Kehn [mailto:josh.k...@gmail.com]
Sent: 23 May 2011 13:04
On May 23, 2011, at 8:00 AM, tedd wrote:
At 8:13 AM + 5/23/11, Ford, Mike wrote:
echo strcmp('These are nearly equal', 'These are almost
equal'), \n;
echo strcmp('different
-Original Message-
From: tedd [mailto:tedd.sperl...@gmail.com]
Sent: 23 May 2011 14:41
The which way the arrows point thing is because I'm dyslexic.
While
I know that a appears before b, it's difficult for me to think
of
'a' being less than 'b' -- UNLESS -- I think in terms of
-Original Message-
From: Pete Ford [mailto:p...@justcroft.com]
Sent: 19 May 2011 11:36
To: php-general@lists.php.net
Subject: Re: [PHP] Warning: session_start()
On 18 May 2011 19:15, Nazishnaz...@jhu.edu wrote:
Hi everyone,
-Original Message-
From: David Harkness [mailto:davi...@highgearmedia.com]
Sent: 06 April 2011 21:08
To: Richard Quadling; PHP General list
Subject: Re: [PHP] Ranges for case statement and a WTF moment.
On Tue, Apr 5, 2011 at 8:28 AM, Richard Quadling
rquadl...@gmail.comwrote:
-Original Message-
From: Ethan Rosenberg [mailto:eth...@earthlink.net]
Sent: 31 March 2011 21:40
I can be working on more than one program simultaneously and have
one
tab open w/ program A and another w/ program B. The site in
reference is http://localhost;
Do these programs
-Original Message-
From: Andy McKenzie [mailto:amckenz...@gmail.com]
Sent: 15 March 2011 15:51
As it turns out, the most important lesson here is: Don't trust
what
anyone tells you. The old server is 64-bit. The new server is
32-bit. Once I stopped to check that myself, it all
Apart form the obvious error already solved, in this situation I would not be
forcing my users to type in an element that only has one option -- I would
display the form box with the text @company.com immediately after it, and
only expect the unique part to be entered.
Cheers!
Mike
--
Mike
-Original Message-
From: Florin Jurcovici [mailto:florin.jurcov...@gmail.com]
Sent: 06 February 2011 15:57
I'm trying to build myself a small JSON-RPC server using PHP.
Using wireshark, here's the conversation:
Request:
[...snip...]
Response:
HTTP/1.1 200 OK
Except it completely sucks when I look at it using my (corporately constrained)
IE7!
There are also a few display issues on the individual reference pages when
viewed with FF3.6 - the coloured bars and grey backgrounds spill over into the
left-hand menu (although the text does not).
Looks
-Original Message-
From: Daevid Vincent [mailto:dae...@daevid.com]
Sent: 11 November 2010 22:23
To: php-general@lists.php.net
-Original Message-
From: Ford, Mike [mailto:m.f...@leedsmet.ac.uk]
Sent: Thursday, November 11, 2010 12:58 AM
To: php-general@lists.php.net
-Original Message-
From: Daevid Vincent [mailto:dae...@daevid.com]
Sent: 11 November 2010 04:06
To: php-general@lists.php.net
We're trying to move all of our configuration files for our
DEV/TEST/PROD
and various python scripts and such that all need the same DB
connection
-Original Message-
From: Jason [mailto:networkad...@emarket2.com]
Sent: 21 October 2010 11:45
What about something simple and readable like:
($string==true) ? true : false;
... and wasteful. The above gives exactly the same result as
($string==true)
Cheers!
Mike
--
Mike
-Original Message-
From: Jonathan Sachs [mailto:081...@jhsachs.com]
Sent: 20 October 2010 04:48
To: php-general@lists.php.net
Subject: [PHP] Possible foreach bug; seeking advice to isolate the
problem
I've got a script which originally contained the following piece of
code:
-Original Message-
From: Shreyas Agasthya [mailto:shreya...@gmail.com]
Sent: 18 October 2010 11:10
A bit of silly one but like my book says, there are no dumb
questions, I am
asking it here.
If I have :
$other=Whatever;
and I do:
echo 'Other Comments:' .$other. 'br/
-Original Message-
From: Andre Polykanine [mailto:an...@oire.org]
Sent: 14 October 2010 21:42
Hi everyone,
I hope you're doing well (haven't written here for a long time :-)).
The question is as follows: I have a regexp that would do the
following. If the string begins with Re:,
-Original Message-
From: Col Day [mailto:colind...@aol.com]
Sent: 05 October 2010 12:55
To: php-general@lists.php.net
Subject: Re: [PHP] Re: Continuance of the struggle (trying to
understand)
Hi Shreyas,
Ok, as far as I can tell the script should show This is an HTML
line
-Original Message-
From: tedd [mailto:tedd.sperl...@gmail.com]
Sent: 25 September 2010 16:02
One can make the argument that the ELSE IF statement first surfaced
circa 1977 in FORTRAN 77 and the CASE statement came later in
FORTRAN
90 circa 1991.
Being a fully-fledged member of
-Original Message-
From: Andy McKenzie [mailto:amckenz...@gmail.com]
Sent: 24 August 2010 17:24
To: php-general@lists.php.net
Subject: Re: [PHP] Bitwise NOT operator?
From your example, this would have shown me what I needed to know:
Then taking the value of E_NOTICE...
1000
-Original Message-
From: Nathan Rixham [mailto:nrix...@gmail.com]
Sent: 29 July 2010 06:36
in no particular order:
What other languages and web techs do you currently use other than
PHP?
- if you include html or css please include version, if js then
preferred libs, and whether
-Original Message-
From: Daniel Kolbo [mailto:kolb0...@umn.edu]
Sent: 11 July 2010 23:19
Hello PHPers,
I'm having some trouble understanding some PHP behaviour. The
following
example script exhibits the behaviour which I cannot understand.
I'm pretty sure that this is *not* a
-Original Message-
From: Ron Piggott [mailto:ron.pigg...@actsministries.org]
Sent: 29 June 2010 22:22
Am I on the right track? I don't know what to do with the second
FOREACH
Sort of.
?php
foreach($_REQUEST as $key = $val) {
$$key = $val;
echo $key . : . $val
-Original Message-
From: Gary . [mailto:php-gene...@garydjones.name]
Sent: 25 June 2010 08:18
To: PHP
Subject: [PHP] in_array - what the...
If I have an array that looks like
array(1) {
[mac_address]=
string(2) td
}
and I call
if (in_array($name,
-Original Message-
From: Gary . [mailto:php-gene...@garydjones.name]
Sent: 25 June 2010 09:14
To: PHP
Subject: Re: [PHP] in_array - what the...
Ford, Mike writes:
-Original Message-
If I have an array that looks like
array(1) {
[mac_address]=
string(2
-Original Message-
From: Andre Polykanine [mailto:an...@oire.org]
Sent: 27 May 2010 09:14
To: Adam Richardson
Cc: php-general@lists.php.net
Subject: Re[2]: [PHP] One more time about regexes
Hello Adam,
You did understand me exactly and perfectly).
Ordering arrays is a good
-Original Message-
From: gregory.mac...@gmail.com [mailto:gregory.mac...@gmail.com] On
Behalf Of Gregory Machin
Sent: 26 May 2010 09:10
To: php-general@lists.php.net
I'm experiencing the following
[]
apart from changing logging levels how should I resolve these
issues.
At
-Original Message-
From: Spud. Ivan. [mailto:spudm...@hotmail.com]
Sent: 11 May 2010 15:56
To: php-general@lists.php.net
Subject: RE: [PHP] regexp questions
hehe, but I can't find anything related to regexp. I've found
something at http://php.net/preg_match
Changelog
Try
-Original Message-
From: Kim Madsen [mailto:php@emax.dk]
Sent: 16 March 2010 18:54
when the field is changed (onChange()) or out of focus (is there
such a
function? onUnFocus()? :-)).
onBlur()
(Keeping the A as short as the Q is OT!)
Cheers!
Mike
--
Mike Ford,
Electronic
-Original Message-
From: Bob McConnell [mailto:r...@cbord.com]
Sent: 15 March 2010 18:13
From: Jochem Maas
Op 3/13/10 3:49 PM, Jorge Gomes schreef:
First of all, i recommend the use of normal php tags (?php ...
?)
because
the short tags are atm marked as* **DEPRECATED*.
-Original Message-
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
Sent: 16 March 2010 11:16
On Tue, 2010-03-16 at 11:16 +, Ford, Mike wrote:
Proof: http://marc.info/?l=php-internalsm=126832992915664w=2
That's not really proof of anything, it's just
-Original Message-
From: rob...@visualize.info [mailto:rob...@visualize.info]
Sent: 05 March 2010 00:00
Additional info:
php.ini has output_buffering=4096. Calling flush() or
ob_implicit_flush()
within the script doesn't seem to help. However setting
php_value
-Original Message-
From: Rene Veerman [mailto:rene7...@gmail.com]
Sent: 22 February 2010 09:09
http://www.bettina-
attack.de/jonny/view.php/projects/php_writeexcel/
And, hey, when the hell will the PHP developers implement a foreach
loop which assigns the array values by
-Original Message-
From: Rene Veerman [mailto:rene7...@gmail.com]
Sent: 27 January 2010 22:46
And if your script needs to pass large ( 5Mb) arrays around to
functions, be sure to use passing-by-reference; failing to do so can
double your memory requirements,
possibly hitting the
-Original Message-
From: Nathan Rixham [mailto:nrix...@gmail.com]
Sent: 28 January 2010 13:43
Ford, Mike wrote:
-Original Message-
From: Rene Veerman [mailto:rene7...@gmail.com]
Sent: 27 January 2010 22:46
And if your script needs to pass large ( 5Mb) arrays around
-Original Message-
From: Daevid Vincent [mailto:dae...@daevid.com]
Sent: 26 January 2010 03:52
if (substr($mydata-restored,0,4) == ) { }
Or in your very specific case you could do the harder way and note
that
strings work like simple arrays too in a way, so $mydata-
-Original Message-
From: Skip Evans [mailto:s...@bigskypenguin.com]
Sent: 07 December 2009 23:03
To: php-general@lists.php.net
Subject: [PHP] Passing HTML array index to JS?
Hey all,
I have an HTML field like this
input type=text name=qty[] value=!!quantity!! size=4
-Original Message-
From: Merlin Morgenstern [mailto:merli...@fastmail.fm]
Sent: 07 December 2009 11:52
To: Sándor Tamás (HostWare Kft.)
Cc: Merlin Morgenstern; php-general@lists.php.net
Subject: Re: [PHP] Re: logic operands problem
Sándor Tamás (HostWare Kft.) wrote:
I don't
Campus,
Woodhouse Lane, LEEDS, LS1 3HE, United Kingdom
Email: m.f...@leedsmet.ac.uk
Tel: +44 113 812 4730
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
Sent: 07 December 2009 12:26
To: Ford, Mike
Cc: php-general@lists.php.net
Subject: RE: [PHP] Re: logic operands problem
-Original Message-
From: Peter Ford [mailto:p...@justcroft.com]
Sent: 20 November 2009 15:18
To: php-general@lists.php.net
Subject: [PHP] Does PHP block requests?
I have a tricky problem.
I'm trying to make a progress feedback mechanism to keep users
informed about a
slowish
-Original Message-
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
Sent: 20 November 2009 21:16
To: Phil Matt
Cc: php-general@lists.php.net
Subject: Re: [PHP] Change styling depending on var value
On Fri, 2009-11-20 at 16:17 -0500, Phil Matt wrote:
Ashley Sheridan
-Original Message-
From: Peter Ford [mailto:p...@justcroft.com]
Sent: 20 November 2009 16:40
You're right about trying to use the same session - that was the
plan to get the
progress state passed across from one call to the other.
Closing the session on the generator script has
-Original Message-
From: Nisse Engström [mailto:news.nospam.0ixbt...@luden.se]
Sent: 19 November 2009 14:54
To: php-general@lists.php.net
Subject: Re: [PHP] Noob question: Making search results clickable.
On Wed, 18 Nov 2009 10:31:59 -0500, Paul M Foster wrote:
Replace your
-Original Message-
From: Arno Kuhl [mailto:ak...@telkomsa.net]
Sent: 19 November 2009 12:23
I was looking at some old code that I'm convinced once worked but
now using
php5 it doesn't seem to work anymore.
$input = _REQUEST;
if (is_array($$input)) {
// do something
}
I
-Original Message-
From: Tom Worster [mailto:f...@thefsb.org]
Sent: 09 September 2009 02:29
thanks, Devendra, that's pretty much the same as my handler. (though
i can't
figure Rich Smith's $sess_save_path global. do you know what is
for?)
I think if you look at the comments on
-Original Message-
From: Peter Ford [mailto:p...@justcroft.com]
Sent: 02 September 2009 09:40
Words that are two lengthy: of, an, to, it (etc.)
Words that are too lengthy: antidisestablishmentarianism,
internationalisation and that other one that begins with
flocci... something
-Original Message-
From: tedd [mailto:tedd.sperl...@gmail.com]
Sent: 01 September 2009 21:52
At 2:47 PM -0400 9/1/09, Andrew Ballard wrote:
On Tue, Sep 1, 2009 at 1:27 PM, teddtedd.sperl...@gmail.com
wrote:
First get the date to seconds, like so:
$today_date = '8/26/2009';
-Original Message-
From: Szczepan Hołyszewski [mailto:webmas...@strefarytmu.pl]
Sent: 26 August 2009 08:48
Martin Scotta wrote:
Fatal error: Call to a member function getAttribute() on a non-
object in
testme.php on line *121*
Yes, this is _how_ the unmodified script errors
-Original Message-
From: Allen McCabe [mailto:allenmcc...@gmail.com]
Sent: 16 August 2009 22:07
[...]
Here is an example of my code:
[code]
?php
//ENCRYPT FUNCTIONS
function format_string($string,$functions)
{ $funcs = explode(,,$functions);
foreach ($funcs as $func)
-Original Message-
From: Allen McCabe [mailto:allenmcc...@gmail.com]
Sent: 14 August 2009 06:58
My ai with using unset($var) in update_order.php is to set the
SESSION
variable for an item to ' ' (empty) so that it would not show up on
the
order summary (because my
-Original Message-
From: Ford, Mike [mailto:m.f...@leedsmet.ac.uk]
Sent: 14 August 2009 11:45
Now, here is the update_order.php code in entirety:
[code]
?php
session_start();
foreach ($_SESSION as $var = $val) {
if ($val == 0) {
unset($_SESSION[$var]);
} elseif
-Original Message-
From: Allen McCabe [mailto:allenmcc...@gmail.com]
Sent: 14 August 2009 06:58
Here is some more complete code:
[code = order_process.php]
?php
session_start();
// POST ALL $_POST VALUES, CREATE AS VARIABLES IN SESSION
foreach($_POST as $k=$v) {
-Original Message-
From: Daevid Vincent [mailto:dae...@daevid.com]
Sent: 11 August 2009 02:19
Then YOU have more aggressive error_reporting than the default
setting
turned on. You might consider turning it down a notch. NOTICEs are
basically
useless and bloat your code IMHO --
-Original Message-
From: Ralph Deffke [mailto:ralph_def...@yahoo.de]
Sent: 11 August 2009 01:45
u...
try
echo pre;
for( $i=0 ; $i10; $i++){
echo something . (($a = $a^1) ? red\n : green\n);
}
The ^ operator is one that has an assigning version, so the above can be
-Original Message-
From: m a r k u s [mailto:queribus2...@hotmail.com]
Sent: 11 August 2009 15:34
I see that from PHP 5.3.0 ereg_replace() function is deprecated and
throws a warning.
I would like to use the preg_replace() function as an alternative of
ereg_replace() function
-Original Message-
From: Brian Dunning [mailto:br...@briandunning.com]
Sent: 08 August 2009 01:04
To: PHP General List
Subject: Re: [PHP] Server change affecting ability to send
downloaded files???
Very interesting. Excellent debugging advice. It's giving me a 500
error,
-Original Message-
From: leledumbo [mailto:leledumbo_c...@yahoo.co.id]
Sent: 10 August 2009 11:11
To: php-general@lists.php.net
Subject: RE: [PHP] Radio buttons problem
Why do you? There's no reason you *have* to have consecutive
indexes --
just iterate over the resulting
-Original Message-
From: Allen McCabe [mailto:allenmcc...@gmail.com]
Sent: 06 August 2009 20:20
[]
It was working wonderfully, until I wanted to display test of
$newComment
as a comment.
[code]
comment(test of $newComment);
[/code]
This rendered a comment that said
-Original Message-
From: leledumbo [mailto:leledumbo_c...@yahoo.co.id]
Sent: 07 August 2009 05:43
This should work:
input type='radio' name='sex[1]' value='1'
input type='radio' name='sex[1]' value='2'
input type='radio' name='sex[2]' value='1'
input type='radio'
-Original Message-
From: Ralph Deffke [mailto:ralph_def...@yahoo.de]
Sent: 03 August 2009 02:41
problem:
__ construct( $something ... variable argument list ){
parent::__construct( ??? );
}
I tried with func_get_args, but the problem is that it gives an
indexed
array
So Haileigh Grace Brown, born at 02:45 EDT Monday morning, 27
July, 2009, weighed in at 6lbs 4oz and was 17.5 inches long.
Oh, wow, congrats! My best wishes to Haileigh and her parents! I:
(a) approve the choice of middle name, since that's what we called our
daughter ;)
(b)
-Original Message-
From: b [mailto:p...@logi.ca]
Sent: 30 July 2009 03:17
echo (preg_match($pattern, $test) != false)
The != false here is redundant.
Understood. But what you think is redundancy is, to me, clarity in
programming. I happen to think that boolean tests
-Original Message-
From: Miller, Terion [mailto:tmil...@springfi.gannett.com]
Sent: 29 July 2009 16:36
Ok in my output to Quark I need to have $P printed to the page like
this:
@$p2118 S. Campbell Ave
So in my php which is going to be grabbing this info and formatting
it for
-Original Message-
From: Matt Neimeyer [mailto:m...@neimeyer.org]
Sent: 29 July 2009 16:47
$Ret = mysql_fetch_array($result); if(!$Ret) { } else { return
$Ret; }
I'm assuming that you are calling my_fetch_array() in a loop of
some
sort and so at some point there are no more
-Original Message-
From: Miller, Terion [mailto:tmil...@springfi.gannett.com]
Sent: 28 July 2009 17:06
Okay I have to echo onto my reverse pub page this chunk of code that
is for
generating the page in Quark, it has to echo as is...but I'm getting
errors--I've tried in brackets,
-Original Message-
From: Dengxule [mailto:dengx...@gmail.com]
Sent: 23 July 2009 10:53
Hoping for the coming of the concept of PACKAGE. Seems that
NAMESPACE will
be introduced in PHP6.
Already present in 5.3, actually.
Cheers!
Mike
--
Mike Ford,
Electronic Information
-Original Message-
From: Paul M Foster [mailto:pa...@quillandmouse.com]
Sent: 23 July 2009 06:13
On Thu, Jul 23, 2009 at 11:57:51AM +0800, ?? wrote:
But I cannot help myself with the url pattern :
/somepath_to_mediawiki/index.php/pagetitle.
How can this kind of url be
-Original Message-
From: rszeus [mailto:rsz...@gmail.com]
Sent: 22 July 2009 19:23
To: 'Jim Lucas'
Cc: 'Kyle Smith'; 'Eddie Drapkin'; a...@ashleysheridan.co.uk; php-
gene...@lists.php.net
Subject: RE: [PHP] Replace in a string with regex
No, sory, my bad typing. It's not the
-Original Message-
From: Andres Gonzalez [mailto:and...@packetstorm.com]
Sent: 02 July 2009 00:46
To: php-general@lists.php.net
Subject: [PHP] removing an array from a compound array
I have a compound array, that is, an array of an array of an array,
etc,
that is about 5 arrays
-Original Message-
From: Louie Miranda [mailto:lmira...@gmail.com]
Sent: 01 July 2009 04:19
To: php-general@lists.php.net
Subject: Re: [PHP] Re: Push an Array, Comma separated.
This is what I did. And it worked.
$saveFiles = array();
$arrSize=sizeof($saveFiles);
On 19 June 2009 19:53, Ashley Sheridan advised:
On Fri, 2009-06-19 at 12:36 +0100, Ford, Mike wrote:
On 18 June 2009 20:25, LAMP advised:
using !empty() instead isset() will work if you don't care for PHP
Notice: Undefined variable... If you want to avoid PHP Notice
you have
to use both
On 18 June 2009 20:25, LAMP advised:
using !empty() instead isset() will work if you don't care for PHP
Notice: Undefined variable... If you want to avoid PHP Notice
you have
to use both:
$msg.= (isset($_POST['mort']) and !empty($_POST['mort'])) ? The
mortgage amount is $mort\n : ;
On 17 June 2009 15:01, PJ advised:
It does, indeed. This confirms my inexperienced conclusion that
in_array() does not work on associative arrays per se; it works on
simple arrays and I just don't have the experience to think of
extracting only the id fields.
Let's squash this misconception
On 17 June 2009 22:05, Nisse Engström advised:
On Wed, 17 Jun 2009 10:18:09 +0100, Ford, Mike wrote:
This is very true -- but XHTML requires *all* attributes to have a
value, so an XHTML conformant page will use select multiple=multiple
name=selector (or something similar such as select
On 17 June 2009 14:30, PJ advised:
For the moment, I am trying to resolve the problem of
extracting a value
from a string returned by a query. I thought that in_array() would do
it, but the tests I have run on it are 100% negative. The only thing I
have not used in the tests is third
On 17 June 2009 22:12, tedd advised:
Hi gang:
Here's the problem. Let's say you have a collection of
arrays, such as:
$a = array();
$b = array();
$c = array();
$d = array();
And then you populate the arrays like so:
while(...)
{
$a[] = ...
$b[] = ...
$c[] =
On 17 June 2009 23:56, PJ advised:
Nisse Engström wrote:
On Wed, 17 Jun 2009 10:18:09 +0100, Ford, Mike wrote:
This is very true -- but XHTML requires *all* attributes to have a
value, so an XHTML conformant page will use select multiple=multiple
name=selector (or something similar
On 16 June 2009 20:48, PJ advised:
Now, I was happy to learn that it is simpler to populate the
insert new
books page dynamically from the db. Much shorter neater.
It looks to me like the best solution for the edit page is
close to what
Yuri suggests.
Since the edit page is very similar
On 17 June 2009 02:11, Shawn McKenzie advised:
PJ wrote:
I'm sorry, guys, but I am really getting po'd.
The irresponsible sloppiness and stupidity is just getting to me.
In my quest for a way to populate a multiple option select box I have
run across so many errors that it's beyond belief...
On 15 June 2009 18:07, PJ advised:
Is there an easier or simpler way to do this?
code:
$sql = SELECT first_name, last_name, book_author.ordinal
FROM author, book_author
WHERE book_author.bookID = $idIN book_author.authID =
author.id
ORDER BY ordinal;
$author = array();
On 16 June 2009 13:58, PJ advised:
Ford, Mike wrote:
On 15 June 2009 18:07, PJ advised:
Is there an easier or simpler way to do this?
code:
$sql = SELECT first_name, last_name, book_author.ordinal
FROM author, book_author
WHERE book_author.bookID = $idIN
1 - 100 of 1025 matches
Mail list logo