Christoph Boget schrieb:
Apart from making the constructor
private, is there any way I can ensure that there is ever only one
instance of an object?
you could use the magic method __clone.
For example:
public function __clone() { trigger_error('The singleton pattern avoids
cloning this in
Christoph Boget schrieb:
Apart from making the constructor
private, is there any way I can ensure that there is ever only one
instance of an object?
you could use the magic method __clone.
For example:
public function __clone() { trigger_error('The singleton pattern avoids
cloning this instanc
I use SHA-256 (use hash - php.net/manual/en/function.hash.php), because
its a little bit more secure then md5 or SHA-1.
BTW: Don't forget the salts..
--
Viele Grüße
Dominik Strauß - www.n3or.de
Webentwicklung, PHP und Linux
Mobil: 0178 4940605
Internet: www.n3or.de
E-Mail: [EMAIL PROTECTED]
Diogo Neves schrieb:
On Wed, Sep 3, 2008 at 6:55 PM, n3or <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] schrieb:
I am looking for a way to alter the error_reporting(E_All)
This displays Parse error: parse error, unexpected '}' in
/var/www/html/test.php on line 7
I wa
[EMAIL PROTECTED] schrieb:
I am looking for a way to alter the error_reporting(E_All)
This displays
Parse error: parse error, unexpected '}' in /var/www/html/test.php on line 7
I want to remove the file location and line number from the error
to only produce
Parse error: parse error, unexpect
Shawn McKenzie schrieb:
Per Jessen wrote:
Stut wrote:
On 2 Sep 2008, at 20:23, Diogo Neves wrote:
Now is the time ;)
Indeed: http://www.google.com/chrome
But only for Windows for now :(
I guess we'll have to wait a little longer then ...
/Per Jessen, Zürich
Will somebody volunteer t
enctype="multipart/form-data" eventually?!
mike schrieb:
I have this:
File:
Looking in my webserver logs, it changes that to a GET.
Ideas anyone? The receiver is PHP and I am pretty sure I know how to
handle it once it is properly PUT-ted.
(I run nginx for the server and have enabled P
Compatibility to older Software of the hosters and sloth of the developers
Richard Heyes schrieb:
I'm interested - why are people still using PHP4? It's been over 4
years (I think) - plenty of time to upgrade to five.
--
Viele Grüße
Dominik Strauß - www.n3or.de
Webentwicklung, PHP und Linux
M
.
please advice.
thanks.
Hey,
I think that should be the right Thing for you:
http://httpd.apache.org/docs/2.0/howto/auth.html
Have a nice Day
n3or
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
9 matches
Mail list logo