[PHP-WIN] session_set_save_handler crashes

2002-01-07 Thread Kjartan Mannes

Windows 2000 Apache/1.3.22 (Win32) PHP/4.1.1

Whenever I use session_set_save_handler() PHP will crash when
session_start is called. session.save_handler is set to 'user' as
specified in the docs.

Anyone have a working example of session_set_save_handler?

-- 
Kjartan <[EMAIL PROTECTED]>
:: "Smash forehead on keyboard to continue."


-- 
PHP Windows 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]




Re: [PHP-WIN] Sorry. It seems I need to sleep more ;)

2002-02-01 Thread Kjartan Mannes

Friday, February 1, 2002, 3:46:20 PM, Sébastien Thüler wrote:
> Woops, sorry! I didn't even notice that ;)

> My problem is concerning gethostbyname() function. The PHP manual (French
> version ;) states that function "returns IP address of host".
> So I tried the following :

>  $adresse = gethostbyname("http://www.blizzard.com";);

> to get the IP address of http://www.blizzard.com in $adresse.

> The funny thing is that $adresse contains 'http://www.blizzard.com' !

> Anyone could help ?

If gethostbyname() fails to resolve the host it returns the hostname.



Also you have to remove the http:// part as it only takes the host, not
urls as parameters.

-- 
Kjartan <[EMAIL PROTECTED]> (http://natrak.net/)
:: "Press any key... no, no, no, NOT THAT ONE!"


-- 
PHP Windows 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]




Re: [PHP-WIN] Plot Graphs by PHP...

2002-02-01 Thread Kjartan Mannes

Wednesday, January 31, 2001, 7:16:23 AM, GreatKent wrote:
> Hi all, I wonder if PHP4 can plot graphs based on input formulas?

Should be possible using the gd lib functions:

http://www.php.net/manual/en/ref.image.php

-- 
Kjartan <[EMAIL PROTECTED]> (http://natrak.net/)
:: "Scandisk is now checking your hard disk. You can start
praying."


-- 
PHP Windows 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]