On 17 August 2010 22:35, Robert Cummings rob...@interjinn.com wrote:
On 10-08-17 04:23 PM, Peter Lind wrote:
On 17 August 2010 22:17, teddt...@sperling.com wrote:
Hi gang:
The subject line says it all.
How secure is a .htaccess file to store passwords and other sensitive
stuff?
Can
. You might also want to
try the same with .htpasswd and .htgroups (they'll likely be blocked
as well, but better safe than sorry). That way you'll actually know if
they're safe instead of just relying on our guesses about your
servers.
Regards
Peter
--
hype
WWW: http://plphp.dk / http://plind.dk
Check with php -i from the command line or a script containing
phpinfo(); requested through the browser.
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
() ?
...
Does not show the version of php.
Your webserver might not be configured to process php files - which
server are you using?
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
are operating on a
signed int, you'll get a negative number out of the ~ operation
(seeing as you flipped the most significant bit).
Regards
Peter
--
hype
WWW: http://plphp.dk / http://plind.dk
LinkedIn: http://www.linkedin.com/in/plind
BeWelcome/Couchsurfing: Fake51
Twitter: http://twitter.com
On 20 August 2010 17:41, Peter Lind peter.e.l...@gmail.com wrote:
On 20 August 2010 17:10, Andy McKenzie amckenz...@gmail.com wrote:
Hey everyone,
I'm really not sure what's going on here: basically, the bitwise
NOT operator seems to simply not work. Here's an example of what I
see
hash.
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, visit: http://www.php.net/unsub.php
On 24 August 2010 16:25, Jan G.B. ro0ot.w...@googlemail.com wrote:
2010/8/24 Bob McConnell r...@cbord.com:
From: Peter Lind
On 24 August 2010 15:43, Gary php-gene...@garydjones.name wrote:
Jan G.B. wrote:
The weakness of MD5 is mainly because MD5 collisions are possible.
That means
Please stop arguing this pointless topic on the php mailing list.
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
be better in this
situation.
You could also argue that using a framework is more likely to promote
good habits, as there's a bigger chance you'll be forced down good
paths.
Regards
Peter
--
hype
WWW: http://plphp.dk / http://plind.dk
LinkedIn: http://www.linkedin.com/in/plind
BeWelcome/Couchsurfing
not need to define every
single name as a DNS record.
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
it.
That's what I get from your description of the problem. You probably
want to clarify some things.
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
about it now, thanks.
For maintainability: 1 class, 1 file
For performance: all critical/core class in same file (i.e. the ones
you WILL load no matter what), the rest loaded as needed
It's a tradeoff. If you don't know which to pick, go with 1 class, 1 file.
Regards
Peter
--
hype
WWW: http
to add some something to the headers or pass it along in the body of
the request itself.
+1. Let the requestion script send through identification/authentification.
Regards
Peter
--
hype
WWW: http://plphp.dk / http://plind.dk
LinkedIn: http://www.linkedin.com/in/plind
BeWelcome/Couchsurfing
protocol does not provide a domain among the request header
fields - you need to implement idenfication/authentication in a
different manner (preferably in a way that does not rely upon IP
addresses, seeing as that doesn't provide any reliable sort of
identification).
Regards
Peter
--
hype
WWW
sucking out data from
that machine.
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, visit: http
that one server acts
as a client in trying to access a resource on another server. Could
you enlighten me as to where the domain name of a client is located in
the request header fields? Here's the RFC for HTTP 1.1
http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5.3
Regards
Peter
--
hype
On 30 August 2010 22:34, Paul M Foster pa...@quillandmouse.com wrote:
On Mon, Aug 30, 2010 at 09:53:46PM +0200, Peter Lind wrote:
On 30 August 2010 21:32, Paul M Foster pa...@quillandmouse.com wrote:
On Sun, Aug 29, 2010 at 06:04:23PM +0200, Per Jessen wrote:
Jason Pruim wrote:
My
and
anything pulled in later?
Thanks.
Dave.
The file is included properly, otherwise your script would halt.
You're likely looking at an issue of scope: the functions might be
included in a scope you don't expect them to be.
Regards
Peter
--
hype
WWW: http://plphp.dk / http://plind.dk
a require_once to file2.php
then file 1.php has a require_once to file3.php
but file3.php calls a function in file2.php
answer would be to require_onec file2.php in file3.php
Which wouldn't do anything seeing as file2.php has already been
included by file1.php.
Regards
Peter
--
hype
WWW: http
On 2 September 2010 13:20, Jangita jang...@jangita.com wrote:
On 02/09/2010 12:59 p, Peter Lind wrote:
Which wouldn't do anything seeing as file2.php has already been
included by file1.php.
Amazing! I didn't think that once you include a file; any other file
included also includes any
On 15 September 2010 14:46, Peter van der Does pvanderd...@gmail.com wrote:
Hi,
How do you people store data that doesn't change, an example of this
would be the version number of your software. You might want to use it
through out your program but how to you store it?
As far as I can see
sticking values from $_POST into an SQL query without
sanitizing them first. That spells out SQL INJECTION VULNERABILITY.
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
related. What
exactly happens between the two pages and on the second page?
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
would need to invoke php to show a thumbnail of an image).
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
typing, but at least I find it more
readable...
Ash already mentioned it: heredoc format. Much easier, less typing,
easier to read, keeps formatting, etc, etc etc.
Regards
Peter
--
hype
WWW: http://plphp.dk / http://plind.dk
LinkedIn: http://www.linkedin.com/in/plind
BeWelcome/Couchsurfing
you need is just plain sql commands, I
don't see the problem as such. You just need to make sure access to
the tool is done right (i.e. a user that can create/destroy databases
needs to be aware of this and you need to restrict the access to those
specific persons).
Regards
Peter
--
hype
WWW: http
in PHP but in
something else.
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, visit: http://www.php.net
' as it should be. Also note the \n is missing between the
in the output text of the second test!
Are you outputting to browser or to command line? Browsers have a
habit of ignoring whitespaces, reducing them to one whitespace
character regardless of their type or how many.
Regards
Peter
--
hype
WWW
fails
to meet them.
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, visit: http://www.php.net/unsub.php
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
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
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 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
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
? 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
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
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
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
. 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
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
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
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
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
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
: 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
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
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
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
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
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
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
debian tools to read chm
files? I'm sure there are plenty of resources like irc channels or such.
Regards
Peter
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
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
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
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
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
problems with some. It won't work with textual dates in anything but
English, far as I know.
Regards
Peter
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
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
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
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
://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
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
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
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
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
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
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
- 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
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
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
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
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
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.
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
1501 - 1600 of 1823 matches
Mail list logo