[PHP] Re: php mySql question

2005-07-27 Thread axel
Sure that your php.ini is located correctly? I have installed php 5.0.4 on my windows 2000, IIS 6.0 server. PHP works but when I try to connect to MySQL I get the Fatal error: Call to undefined function mysql_connect(). I have uncommented the line in the php.ini file that says 'extension=ph

Re: [PHP] Object Inheritance, get_class() and a static function call

2005-07-27 Thread axel
Hello Jochem, > Axel lets start again. Okay. > SO: explain, please, why and what you are trying to do (DETAILS!). > don't dumb it down because that just makes the problem look moot. I need the classname to register variables in the session. It's complicated.

Re: [PHP] Object Inheritance, get_class() and a static function call

2005-07-26 Thread axel
5.php http://php.belnet.be/manual/en/language.oop5.static.php#48234 is better. but it seems that even debug_backtrace() is not what i'm looking for... ... if you're _really_ into generic code then the reflection API no, no generic code. ;) regards axel -- PHP General Mailing List (

Re: [PHP] Object Inheritance, get_class() and a static function call

2005-07-26 Thread axel
Maybe i will found the solution on http://php.belnet.be/manual/en/language.oop5.static.php Still reading... Best regards, Axel P. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Object Inheritance, get_class() and a static function call

2005-07-26 Thread axel
i'm using PHP Version 5.0.3 (with Apache 1, Windows XP) greetings axel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Interesting phpversion() thing.

2004-03-30 Thread Axel IS Main
I just upgraded to 4.3.5. I double checked and made sure I put everything in the right place. If I run php or php-cli from the command line and the script has phpversion() in it, it returns the correct string, i.e. 4.3.5. If, however, I pull the same script up in a browser it gives me 4.3.4. I'

Re: [PHP] Detecting Binaries

2004-02-23 Thread Axel IS Main
That's not bad, but I found a way to do it simply using chr() and passing it a value. It turns out the if I go 0-31 Almost nothing will get through. Even the simples html has something in there from that list. However, by just looking between 14 and 26, one more than carriage return, and one le

Re: [PHP] Detecting Binaries

2004-02-23 Thread Axel IS Main
Thanks, that's very helpful. It beats the heck out of doing it the way I've been doing it. Richard Davey wrote: Hello Axel, Monday, February 23, 2004, 7:38:25 PM, you wrote: AIM> Thanks, you just gave me the solution, I think. I don't have to strip AIM> out every cha

Re: [PHP] Detecting Binaries

2004-02-23 Thread Axel IS Main
2004-02-23 at 14:03, Axel IS Main wrote: Guys, this isn't THAT stupid of a question is it? From my perspective, the way PHP seems to see it is that I should already know what kind of file I'm looking at. In most cases that's not an unreasonable assumption. Unfortunately, that

Re: [PHP] Detecting Binaries

2004-02-23 Thread Axel IS Main
ich in ways to work with the HTTP protocol, but has no way of detecting whether it's opening a text file or a binary file. To me this is a glaring omission. There has to be a way to do it, even if it's a round-a-bout or backdoor kind of way. Nothing is impossible. Nick

[PHP] Detecting Binaries

2004-02-22 Thread Axel IS Main
I'm using file_get_contents() to open URLs. Does anyone know if there is a way to look at the result and determine if the file is binary? I'd like to be able to block binaries from being processed without having to try to think of all the possible binary extensions and omit them with a function

Re: [PHP] Sending a http body

2003-06-02 Thread Axel Tietje
Hi, > Is it possible, to send the elements, so far outputed, to the browser, and > use that as keep alive, i.e. give the user already something to see:-) > And, of course, do that regular, out of my data retrieval loop. http://www.php.net/ob_implicit_flush is your friend. HTH, Axel.

[PHP] Triggers & events with objects

2003-05-28 Thread Axel Tietje
[, mixed...]]) { switch get_class($obj) { case "testclass" : // ... if ($method_name == "someMethod " { // ... } break; } } Is that possible in any way? TIA, Axel.

Re: [PHP] hiding submitted variable values in location bar of browser !

2002-07-09 Thread Axel Tietje
> Hi everyone, > Is there any way to hide my form submitted variables (like > passwords etc) > in the location > bar "http://somedomain.org/checkpassword.php? > password=mypassword" > or atleast show in an encypted form n the location bar. HTH,

[PHP] serialize

2002-03-05 Thread Axel Nilsson
is there any friendly soul out there who knows how to do it? /Axel "; } ?> _ MSN Photos är det enklaste sättet att dela ut och skriva ut foton: http://photos.msn.se/Support/WorldWide.aspx -- PHP General Mailing Li

[PHP] php

2001-07-22 Thread axel yson
? axel

[PHP] Probs with browsecap.ini

2001-01-16 Thread Axel Tietje
ems to find the browsecap.ini, but the output is buggy. TIA, Axel. -- [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]