[PHP-WIN] php 4.3.0 phpinfo() fscked up or?

2002-12-30 Thread Wojciech Owczarek
Umm... I see things, You know? After installing php 4.3.0 I noticed that phpinho() doesn't return those fancy tables anymore, instead, it spits out pure text with newlines. Is it just my case (maybe some config problems?) Would anyone mind trying out phpinfo() on php 4.3.0 for win32? thx in adv

Re: [PHP-WIN] Warning: Page has Expired, HELP

2002-12-29 Thread Wojciech Owczarek
hmmm well I guess it doesn't always happen it happens when HTTP headers like Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 and Pragma: no-cache are sent. try to sniff out that site via telnet http requests and see if it sends any of these. Some script might be

[PHP-WIN] Re: Warning messages

2002-12-16 Thread Wojciech Owczarek
#1) You should do all possible to avoid getting that in you r scripts (you know, checking wether file exists etc etc), not simply disabling it cause it's a messy way really, and can fill up logs with that stuff (which is not quite good when using a server that you don't own). Also, using @function

[PHP-WIN] Re: session

2002-12-16 Thread Wojciech Owczarek
Cause you refreshed it and there was session_start(); which created new session. Afaik from php 4.0.sth you don't have to use ession_start at all. You can use it only when you _really want_ to start a new session, ending the last one. Just registering some sessvar creates session already. Try to

Re: [PHP-WIN] Per site php.ini

2002-12-16 Thread Wojciech Owczarek
Hmmmz... afaik in Apache (and only Apache, also only used as module) you can set php.ini variables in .htaccess files. (remember to have AllowOverride directive for that directories to use .htaccess correctly) So to set sth per site, you have to put into it's htaccess: php_value [valuename] [va

[PHP-WIN] !Imagettftext() lib_gd2 ttf font problem Solution!

2002-12-14 Thread owczi \(Wojciech Owczarek\)
Hi, I've recently found a way out from that nasty php + win32 problem with imagettftext() that can't find/open fontfile. Apparently sth was compiled wrong, so that lib_gd2 bastart won't let anyone override it's original path. The solution is to put your ttf files into: c:\winnt\fonts dir (that