. However, also note that
HTML forms will result in numeric strings and not integers. See also the
types section of the manual.
--
Jim
Integers can be negative too: I suspect your test would reject a leading '-'...
--
Peter Ford, Developer phone: 01580 89 fax: 01580 893399
to the return from the
INSERT rule in PHP pgsql?
Thanks for taking the time...
Cheers
Pete
--
Peter Ford, Developer phone: 01580 89 fax: 01580 893399
Justcroft International Ltd. www.justcroft.com
Justcroft House, High Street, Staplehurst, Kent
or with textmode browser lynx.
But the best solution would be to secure the exec call.
--
Regards,
Peter Bauer
PHP developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
forms - that only really matters in big loops, of course...
Horses for courses. I use whatever I feel like at the time, and mix various
styles, as long as it's readable!
Cheers
Pete
--
Peter Ford, Developer phone: 01580 89 fax: 01580 893399
Justcroft International Ltd
the
password automatically.
Is there any way to achieve that?
Regards
Peter
You could try,
$pass = 1285@;
exec(echo $pass | command);
But if its a privilege issue on your linux system, its better to start the
php script with proper privilege.
--
Shiplu Mokadd.im
Innovation distinguishes
/29 Peter jazdatest...@gmail.com
passin and passout are not userd during -revoke
They are used to give parameters to create the certificate and give it
the above parameters.
2011/11/29 shiplu shiplu@gmail.com
Did you try -passin, -passout options of openssl command?
See the man page
\Peter\Documents\Data\Development\Ponderosa Innovative
Solutions\Code\php-5.3.8\main\../main/config.w32.h(189): warning C4005:
'PHP_COMPILER_ID' : macro redefinition
command-line arguments : see previous definition of 'PHP_COMPILER_ID'
php_bcompiler.c(702): warning C4996: 'sscanf
I am trying to build php_bcompiler.dll on Windows 7 using Visual Studio 10. I
can compile it OK, but it will not link. I have posted the build output error
messages in a previous post. I am wondering if building PHP from source code
would produce some files that would help me get past the link
I am trying to build PHP from source code on Windows 7 using Visual Studio 10.
I have tried to follow the procedure at
https://wiki.php.net/internals/windows/stepbystepbuild
I did not get very far and suspect that this procedure may need to be updated
for people in my situation. In
On Jun 3, 2011 3:48 PM, tedd tedd.sperl...@gmail.com wrote:
At 1:02 PM -0400 6/2/11, Daniel Brown wrote:
On Tue, May 31, 2011 at 22:13, Bill Guion bgu...@comcast.net wrote:
So if I understand, you want an explode() with empty parameters to
explode
the host machine?
That's correct.
On Jun 3, 2011 4:52 PM, Paul M Foster pa...@quillandmouse.com wrote:
On Fri, Jun 03, 2011 at 04:23:54PM +0200, Peter Lind wrote:
On Jun 3, 2011 3:48 PM, tedd tedd.sperl...@gmail.com wrote:
At 1:02 PM -0400 6/2/11, Daniel Brown wrote:
On Tue, May 31, 2011 at 22:13, Bill Guion bgu
On 3 June 2011 17:36, Stuart Dallas stu...@3ft9.com wrote:
On Fri, Jun 3, 2011 at 4:14 PM, Peter Lind peter.e.l...@gmail.com wrote:
On Jun 3, 2011 4:52 PM, Paul M Foster pa...@quillandmouse.com wrote:
On Fri, Jun 03, 2011 at 04:23:54PM +0200, Peter Lind wrote:
On Jun 3, 2011 3:48 PM
On 3 June 2011 20:42, tedd tedd.sperl...@gmail.com wrote:
At 4:23 PM +0200 6/3/11, Peter Lind wrote:
On Jun 3, 2011 3:48 PM, tedd
mailto:tedd.sperl...@gmail.comtedd.sperl...@gmail.com wrote:
That's correct. If it causes too much userland confusion, we can
alias it as detonate
On May 28, 2011 11:27 AM, Andre Polykanine an...@oire.org wrote:
Hello Lester,
Actually, many of the points are not important for me so far, however
this one really drives me mad:
http://phpsadness.com/?page=sad/35 (can't explode() by an empty
string)
'
mb_detect_encoding($str, 'UTF-8', true); // false
?
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 22 May 2011 09:03, Eli Orr (Office) eli@logodial.com wrote:
Dear Peter,
But my point was different.
If you DO NOT have any BOM of a File does
mb_detect_encodin
can detect the file type by scanning the whole file ??
A few points:
1. top-posting on this list is frowned upon. Please
/language.oop5.late-static-bindings.php
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
directly instead, then use the part of the request uri up till and
including the match for __FILE__.
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
On 21 May 2011 17:01, Stuart Dallas stu...@3ft9.com wrote:
On Sat, May 21, 2011 at 3:35 PM, Peter Lind peter.e.l...@gmail.com wrote:
On 21 May 2011 16:18, Stuart Dallas stu...@3ft9.com wrote:
On Sat, May 21, 2011 at 3:11 PM, tedd t...@sperling.com wrote:
Hi gang:
Okay, so,what's
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 21 May 2011 18:05, Stuart Dallas stu...@3ft9.com wrote:
On Sat, May 21, 2011 at 4:57 PM, Peter Lind peter.e.l...@gmail.com wrote:
On 21 May 2011 17:34, Stuart Dallas stu...@3ft9.com wrote:
On Sat, May 21, 2011 at 4:24 PM, Peter Lind peter.e.l...@gmail.com
wrote:
On 21 May 2011 17:18
On 21 May 2011 18:26, Stuart Dallas stu...@3ft9.com wrote:
*snip*
http://en.wikipedia.org/wiki/Defensive_programming
You do things your way and I'll do things my way. Best of luck to you.
Thank you for your condescending tone. Best of luck to you too.
Regards
Peter
--
hype
WWW: plphp.dk
On 21 May 2011 18:42, Stuart Dallas stu...@3ft9.com wrote:
On Sat, May 21, 2011 at 5:33 PM, Peter Lind peter.e.l...@gmail.com wrote:
On 21 May 2011 18:26, Stuart Dallas stu...@3ft9.com wrote:
*snip*
http://en.wikipedia.org/wiki/Defensive_programming
You do things your way and I'll do
make great additions, would also be
great to see some links of where to get info on the subjects that are
not covered (such as security) so that people could find out more on
those topics.
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
... (at least, it does on my system :( )
I'm sorry for asking but what did you expect?? You're specifically
calling a method that parses a string according to a given format. If
it parsed the string according to any other format, that would be a
huge WTF.
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
2011/5/20 João Cândido de Souza Neto j...@consultorweb.cnt.br:
If you look carefully, you´ll notice that I´m using the DateTime object
(default from PHP 5.2.0 or higher) not the function date.
If you look carefully, you'll notice that I replied to Geoff.
Regards
Peter
--
hype
WWW: plphp.dk
before my sojourn into the depths of
ASP to know how I used to do this!
My bad, I jumped into the middle of a thread - sorry.
Try:
$date = new DateTime($date_string_to_validate);
echo $date-format('Y-m-d');
Regards
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
up somehow, you'll discover a bug somewhere, etc. etc.
Copypasted code is one of the worst things the web has done. So please
don't add to it :)
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List (http
On 18 May 2011 23:12, tedd t...@sperling.com wrote:
At 10:55 PM +0200 5/18/11, Peter Lind wrote:
On 18 May 2011 22:34, tedd t...@sperling.com wrote:
At 3:31 PM -0400 5/18/11, Joshua Kehn wrote:
On May 18, 2011, at 3:22 PM, tedd wrote:
I am considering providing PHP code to the general
On 18 May 2011 23:28, Tim Streater t...@clothears.org.uk wrote:
On 18 May 2011 at 22:22, Peter Lind peter.e.l...@gmail.com wrote:
On 18 May 2011 23:12, tedd t...@sperling.com wrote:
This is just one way to give-back.
Suggesting people that they copypaste your code is a very bad way
On 18 May 2011 23:50, tedd t...@sperling.com wrote:
At 11:22 PM +0200 5/18/11, Peter Lind wrote:
On 18 May 2011 23:12, tedd t...@sperling.com wrote:
Thanks, but the point here *is* to get people involved using PHP.
Good and noble intent. Does not in any way have anything to do
On May 17, 2011 5:05 PM, tedd tedd.sperl...@gmail.com wrote:
At 1:19 PM +0100 5/17/11, Richard Quadling wrote:
On 17 May 2011 12:45, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
-snip-
Please remember what Singapore Citizen Mr. Teo En Ming (Zhang Enming)
have
said. Mark my words.
On May 17, 2011 4:32 PM, Daniel Brown danbr...@php.net wrote:
On Mon, May 16, 2011 at 18:46, Richard Quadling rquadl...@gmail.com
wrote:
2.7.2? I'm guessing 5.7.2.
Then you're guessing wrong, sir. There was no 2.7.2, and it's
highly unlikely there would ever be a 5.7.2 either.
On 16 May 2011 22:14, Tim Streater t...@clothears.org.uk wrote:
On 14 May 2011 at 15:05, Peter Lind peter.e.l...@gmail.com wrote:
On 14 May 2011 12:33, Tim Streater t...@clothears.org.uk wrote:
I would like, in my app, to recover from as many run-time errors as
possible,
so that I can tidy
display_errors = off) - use error logging
instead. That's the recommended setting for production servers.
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
this is happening? I've looked through bug
reports but haven't found anything, which leads me to think that perhaps my
own code is at fault.
If you could post some more of your code, it would be easier to check
if your code is at fault or not.
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
On 11 May 2011 22:39, Richard S. Crawford rich...@underpope.com wrote:
On Wed, May 11, 2011 at 1:30 PM, Peter Lind peter.e.l...@gmail.com wrote:
On 11 May 2011 22:23, Richard S. Crawford rich...@underpope.com wrote:
I'm encountering what appears to be a bug in array_push when I try using
On May 8, 2011 1:57 PM, Eli Orr (Office) eli@logodial.com wrote:
Dear PHP Gurus,
I need dump a $_POST parameters as part of debug process with a client.
Any know service to make this ?
I know $_POST is an Array but I look for a service function that can save
the parsed array into a
- unless it's since been updated to fix the problems mentioned in the
blog.
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 30 April 2011 21:26, Andre Polykanine an...@oire.org wrote:
Hello Peter,
And what would you recommend as an Html sanitizing tool?
I go by htmlpurifier when I need to sanitize html. I generally try to
avoid the issue though, by having users use other markup languages (I
like markdown
from
it.
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 3 April 2011 21:41, Andre Polykanine an...@oire.org wrote:
Hello Peter,
Just because you mentioned config files.
What would you suggest me as better format for them? Database is not
available yet since I need to make a config file before creating a
database.
For config files I
On 3 April 2011 22:35, Andre Polykanine an...@oire.org wrote:
Hello Peter,
Thanks a lot! And is there a way to set (write) custom values in files
other than php.ini? Sorry, didn't find such a function.
I haven't come across any, but then again, I haven't had the need so
never looked much
constructor (nor
a static destructor). You'll have to call your constructor function
at the top of the static methods you'll be using - just check inside
the constructor if it's been called before or not.
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing
More info (including some code) would be needed to get to the bottom
of this, I'd say. Hard to diagnose what's happening otherwise.
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List (http
On Mar 15, 2011 4:10 AM, Paul M Foster pa...@quillandmouse.com wrote:
On Mon, Mar 14, 2011 at 10:14:53PM +0100, Peter Lind wrote:
On 14 March 2011 22:10, Paul M Foster pa...@quillandmouse.com wrote:
[snip]
Remove the elements, then use sort().
I've given a simplified example
On Mar 15, 2011 5:05 PM, Paul M Foster pa...@quillandmouse.com wrote:
On Tue, Mar 15, 2011 at 07:08:28AM +0100, Peter Lind wrote:
On Mar 15, 2011 4:10 AM, Paul M Foster [1]pa...@quillandmouse.com
wrote:
On Mon, Mar 14, 2011 at 10:14:53PM +0100, Peter Lind wrote
On 14 March 2011 22:10, Paul M Foster pa...@quillandmouse.com wrote:
On Mon, Mar 14, 2011 at 09:34:33PM +0100, Peter Lind wrote:
On 14 March 2011 21:31, Paul M Foster pa...@quillandmouse.com wrote:
Here's what I need to do: I have an indexed array, from which I need to
delete elements
of dealing
with this.
I think I'm going to have to go with a time delay function here ...
If on Linux, you can check for open file with lsof, I think the command is
called.
Regards
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
://archive.fastaval.dk/2009/infosys/
De samme adgangskoder skulle virke til både 2010 og 2011.
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
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
of optional parameters and need to
check if anything was passed in, you're almost certainly doing things
wrong.
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
On 16 February 2011 21:45, Andre Polykanine an...@oire.org wrote:
Hello Peter,
So is
func_get_args()
the unique way?
Not really sure what you mean by the unique way. Most things proposed
so far in the thread would be fine for most purposes, I'd say. If you
really need finegrained
On 16 February 2011 21:45, Adam Richardson simples...@gmail.com wrote:
On Wed, Feb 16, 2011 at 3:21 PM, Peter Lind peter.e.l...@gmail.com wrote:
On 16 February 2011 21:00, Dan Schaefer d...@performanceadmin.com wrote:
In my code, I set the optional parameter to NULL and check for triple
On 16 February 2011 22:04, Paul M Foster pa...@quillandmouse.com wrote:
On Wed, Feb 16, 2011 at 09:21:20PM +0100, Peter Lind wrote:
On 16 February 2011 21:00, Dan Schaefer d...@performanceadmin.com wrote:
In my code, I set the optional parameter to NULL and check for triple
equals
it?
Ask google you should
Plenty of advice you'll find
we won't do your homework
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
with the more likely candidate for a future html standard: html
5. Has the added benefit of easing you in to the new tags that will be
used as standard in a few years but won't be in xhtml.
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
On 9 February 2011 17:22, Bob McConnell r...@cbord.com wrote:
From: Peter Lind
On 9 February 2011 14:57, Bob McConnell r...@cbord.com wrote:
From: Al
On 2/8/2011 4:58 PM, Donovan Brooke wrote:
Hello,
Just wanted to say thanks to those that helped me get through my
first PHP
project
problems with some. It won't work with textual dates in anything but
English, far as I know.
Regards
Peter
Probably not the solution you were looking for, but I've always found mail()
very unstable and I tend to use a mail library instead. Like phpmailer or
swiftmailer. Easier to configure and figure out problems with.
Regards
Peter
or anything like
it).
regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of the archives and found a couple elaborate things..
but
I'm looking for something simple. This job will have trusted users and
the checker is more to help them catch mistakes when registering.
if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
echo Bad user! Bad user!;
}
Regards
Peter
you should keep the tone lighter and avoid
flaming people? Just a thought.
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Heads up: jeg har flyttet projectpier over paa fastaval.dk domaenet -
det koerer nu under pp.fastaval.dk. Der er ogsaa sat redirects op paa
fastaval.plphp.dk saa man skulle ikke kunne komme til det gamle site
(og dermed ikke logge ind det forkerte sted).
--
hype
WWW: plphp.dk / plind.dk
2011/1/12 Ashley Sheridan a...@ashleysheridan.co.uk
On Wed, 2011-01-12 at 23:14 +0100, Peter Lind wrote:
jeg har flyttet projectpier over paa fastaval.dk domaenet -
det koerer nu under pp.fastaval.dk. Der er ogsaa sat redirects op paa
fastaval.plphp.dk saa man skulle ikke kunne komme til
On Jan 11, 2011 4:32 PM, Gary php-gene...@garydjones.name wrote:
Steve Staples wrote:
or the ($needle, $haystack) vs ($haystack, $needle)... i still get it
screwed up...
Given that, for example, array_search and strstr take those arguments in
different orders, that's not really
debian tools to read chm
files? I'm sure there are plenty of resources like irc channels or such.
Regards
Peter
On Jan 6, 2011 4:24 PM, Sándor Tamás sandorta...@hostware.hu wrote:
In that case you should use include_once in every script. But if you are
absolutely sure that all scripts will be processed, you can include it only
in one of them, because PHP - in short terms - does a file include, so it
will
possibilities each, the script easily consumes more
than 1GB RAM in few minutes. BTW, gc_enabled() reports on.
Thanks,
Tommy
Are you storing or throwing away the passwords? Also, lots of code is
missing from that post, no idea if you've got a memory leak in the rest of
the code
Regards
Peter
there.
But before all that goes on, I have to decide what to do about leading
and trailing spaces.
As has been noted a couple of times: trim usernames. Never trim passwords.
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
On 28 December 2010 22:06, Daniel Brown danbr...@php.net wrote:
On Tue, Dec 28, 2010 at 16:05, Dotan Cohen dotanco...@gmail.com wrote:
Did you know that when you type 'brown1' we see it as **? Your
system does that automatically.
That's how I see it, too. It took me fourteen years to
to handle the cases ending in 0s, you may want an
extra check in there.
General disclaimer about code typed directly into mail client.
Happy Saturday :)
Personally I'd add a percentage on top, say 5 or 10 percent.
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome
is fine but you
should have brought it much further down with a cache. Waiting 20 secs
for the response is still useless.
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
On Sunday, 12 December 2010, Tommy Pham tommy...@gmail.com wrote:
-Original Message-
From: Peter Lind [mailto:peter.e.l...@gmail.com]
Sent: Sunday, December 12, 2010 1:18 AM
To: Tommy Pham
Cc: php-general List
Subject: Re: [PHP] ORM doctrine
I understand cache well, both
On Sunday, 12 December 2010, Tommy Pham tommy...@gmail.com wrote:
-Original Message-
From: Lester Caine [mailto:les...@lsces.co.uk]
Sent: Sunday, December 12, 2010 2:10 AM
To: php-general List
Subject: Re: [PHP] ORM doctrine
Peter Lind wrote:
Your posts seem to indicate
On Sunday, 12 December 2010, Tommy Pham tommy...@gmail.com wrote:
-Original Message-
From: Lester Caine [mailto:les...@lsces.co.uk]
Sent: Sunday, December 12, 2010 2:10 AM
To: php-general List
Subject: Re: [PHP] ORM doctrine
Peter Lind wrote:
Your posts seem to indicate
On Sunday, 12 December 2010, Lester Caine les...@lsces.co.uk wrote:
Peter Lind wrote:
I may have misunderstood the topic, but a cache to me is more than
just storing views. It's also the db cache, memcache, apc, etc. You
have to think about how you use these - some of them can't just
no more
than 3 seconds for the browser's status to be 'Done', provided that the user
isn't on some 56k modem connection ;).
Always use a cache. Not using a cache means you've misunderstood some
fundamental points.
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome
: connect to port 25 on the mail server
instead of going through sendmail. Plenty of good mail libraries out
there (swiftmailer, phpmailer come to mind).
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing
On Saturday, November 27, 2010, Richard West p...@cbnisp.com wrote:
Hey Tommy,
I get the same when seting it to a_downloads=a_downloads+1
It still increments by 2
I've never run into this before.
RD
On Nov 26, 2010, at 11:45 PM, Tommy Pham wrote:
-Original Message-
From: Tamara
, Peter Lind wrote:
On Saturday, November 27, 2010, Richard West p...@cbnisp.com wrote:
Hey Tommy,
I get the same when seting it to a_downloads=a_downloads+1
It still increments by 2
I've never run into this before.
RD
On Nov 26, 2010, at 11:45 PM, Tommy Pham wrote:
-Original Message
On 23 November 2010 20:52, Steve Staples sstap...@mnsi.net wrote:
tap tap tap... testing testing... 1, 2, 3
Hello? No activity since yesterday at like 6pm EST... am i not
getting messages, or has there not been any activity?
Just curious... carry on about your business... :P
place if you try to instantiate an object of a class
that PHP doesn't know about (yet). There is no such thing for
functions. Either refactor your code so you don't have this problem
(The Way To Go [tm]) or make an extension. End of discussion.
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn
that would explain the change in behaviour and
really find it weird - but, at least I found a solution to the
problems :)
Quick note, in case anyone has similar problems: make sure that the
data you feed into DOMDocument is UTF8 encoded
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
it works on all documents, returning the proper nodeValue.
Am I missing something basic?
TIA
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
. For smaller projects.
smarty or phptal will get in the way and will likely get very
annoying. For bigger projects they can be of great use.
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List (http
On 9 November 2010 06:20, Paul M Foster pa...@quillandmouse.com wrote:
On Mon, Nov 08, 2010 at 02:41:12PM -0700, Hansen, Mike wrote:
I really like the idea of using a templating engine. Which one do you
use? Why? For those that don't use templating engines, why don't you
use them?
Here's
You can check with function_exists to see if a function is already defined.
If not, create it.
Regards
Peter
On Nov 3, 2010 11:40 AM, David Nelson comme...@traduction.biz wrote:
Hi Thijs, :-)
On Wed, Nov 3, 2010 at 18:18, Thijs Lensselink d...@lenss.nl wrote:
As far as I know
That's not going to happen. My point was you could check in the original
file if the function is defined and if not then define it.
On Nov 3, 2010 11:55 AM, David Nelson comme...@traduction.biz wrote:
Hi Peter, :-)
On Wed, Nov 3, 2010 at 18:44, Peter Lind peter.e.l...@gmail.com wrote:
You can
solve this problem? Just curious.
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the thread had ended there ...
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Just out of curiosity: why were you told to switch off output buffering?
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
? Can't seem
to locate it in the any of the relevant specs (xhtml or xml). Also,
never seen an xml or xhtml validator choke on single quotes.
As for html 5, it's in use today already. Big parts of it are unlikely
to change, so there's little reason not to start using it.
Regards
Peter
--
hype
WWW
if they follow that form, but I've certainly seen it a lot of
places.
-Alex
Xhtml documents are xml documents and thus must follow the specs for
XML. Specifically, the following:
http://www.w3.org/TR/2008/REC-xml-20081126/#NT-AttValue
Regards
Peter
--
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
for the file you're trying to test, as well as for
the folder. Also, seeing as you're naming the file test.php, make sure
you're browsing for that file and not just / or index.php.
Regards
Peter
--
hype
WWW: http://plphp.dk / http://plind.dk
LinkedIn: http://www.linkedin.com/in/plind
BeWelcome
On 1 October 2010 20:21, Per Jessen p...@computer.org wrote:
Peter Lind wrote:
C# has by now exceeded Java by quite a bit -
I've been away from the Java scene since 2002 (when I worked for BEA
deploying J2EE on Linux/390), but assuming you're talking
about deployed lines of code or some
On 2 October 2010 11:05, Per Jessen p...@computer.org wrote:
Peter Lind wrote:
On 1 October 2010 20:21, Per Jessen p...@computer.org wrote:
Peter Lind wrote:
C# has by now exceeded Java by quite a bit -
I've been away from the Java scene since 2002 (when I worked for
BEA deploying J2EE
library than the JVM, I wouldn't be
able to judge that.
Regards
Peter
--
hype
WWW: http://plphp.dk / http://plind.dk
LinkedIn: http://www.linkedin.com/in/plind
BeWelcome/Couchsurfing: Fake51
Twitter: http://twitter.com/kafe15
/hype
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
On 24 September 2010 12:49, YAD(YetAnotherDavid) ani...@mail.com wrote:
Peter Lind wrote:
On 23 September 2010 21:47, YAD(YetAnotherDavid) ani...@mail.com wrote:
This code is 95% cut and paste from the PHP manual examples -
the Types/Strings/Heredocs section and the Filesystem/fnmatch pages
On 25 September 2010 00:11, Daniel Kolbo dko...@gmail.com wrote:
On 9/24/2010 8:35 AM, Peter Lind wrote:
On 24 September 2010 14:22, Bob McConnell r...@cbord.com wrote:
From: David Hutto
On Fri, Sep 24, 2010 at 4:09 AM, Gary php-gene...@garydjones.name wrote:
Daniel Kolbo wrote:
Say you
1 - 100 of 1823 matches
Mail list logo