I can confirm that on Windows. My linux box has PHP 4.1.2.
You could also check some of the other environment variables. I just
compared my phpinfo() screens on my w2k box and my linux box. Looks like the
solution mentioned below is the cleanest, however.
Hopefully you don't need to differentiate
On Apache Windows 2000, PHP 4.0.5
$HTTP_SERVER_VARS["SERVER_SOFTWARE"] returns :
"Apache/1.3.14 (Win32)"
On Apache Linux Redhat, PHP 4.0.6
$HTTP_SERVER_VARS["SERVER_SOFTWARE"] returns :
Apache/1.3.27 (Unix) (Red-Hat/Linux) blah blah b;ah
So, you could easily use a regex to extract the (Win32) o
php-windows Digest 4 Jan 2003 00:42:11 - Issue 1517
Topics (messages 17627 through 17637):
Re: How to use SQLServer in PHP?
17627 by: Radovan Radic
17633 by: Nguyen Le Vinh
Re: PHP 4.3.0 no gif support?
17628 by: Rasmus Lerdorf
Is php.net broken?
17629 by: C
ok I develop stuff on both windoze and linux so say
I left my computer running and forgot which it was running and wanted to make a
OS specific script from another computer. How could I tell what OS it was to see
if I needed to go reboot it?
Ensign BakerHCO
OfficerUSS Atlantis
Maybe I have to change my point of view... do i really need PHP for this???
does anybody know some app i can use (report generator with web client, for
instance)???
I forgot, Im looking for a free solution, of course!!!
Thanks!
Fernando Bernain
Senior A
Business Process Outsourcing
KPMG Argenti
PHP script not workingHow are you trying to access the posted form variables?
$_POST?
$HTTP_POST_VARS?
If you don't have register_globals on then you must use one of the above methods to
access the values posted.
- Original Message -
From: Alvarez, Anthony
To: [EMAIL PROTECTED]
Title: PHP script not working
I know this has to be really basic, and apologies for the question.
But I couldn't find it elsewhere in the forum, so apologies if this is a FAQ.
PHP is installed an running on an internal Windows 2000 called webstat.
It seems that some PHP commands run prope
Thanks Radovan,
My page is OK.
"Radovan Radic" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You have to load php_mssql.dll extension.
> Then in php
>
> $dbhost="myDBHost"; // or IP address of the server
> $dbusername="username";
> $dbpassword="password";
> $
No, you can only have one php.ini file used by php... HOWEVER it is possible
to make changes to php.ini settings in the .htaccess files. Take a look at
http://www.php.net/manual/en/function.ini-set.php, it contains infomation on
the options that can be changed and where. How you make changes in .ht
Is it possible to tell Apache which php.ini to use? It would be used for
semi-virtual hosts.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Charles,
this happened to me too.
don't know what it is.
Try to post a bug report on the bug report engine. :)
[]s
Fernando
"Charles P. Killmer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I submitted a bug report and never got a notification like usual.
S
I submitted a bug report and never got a notification like usual.
Someone posted a comment to it and again no response. It doesn't look
like anyone working on PHP has looked at the bug report. Bug ID 21312.
Also I have never had a bug report last this long without any developer
comments.
Charles
Hrm.. Whoever built the Windows binary didn't define HAVE_GD_GIF_READ I
guess. Or perhaps it should go into main/config.w32.h.in assuming we are
always going to build the windows binary against the bundled gd library.
-Rasmus
On Fri, 3 Jan 2003, Zac Barton wrote:
> hi all, i thought php 4.3 wa
You have to load php_mssql.dll extension.
Then in php
$dbhost="myDBHost"; // or IP address of the server
$dbusername="username";
$dbpassword="password";
$dbname="MyDatabase";
$connection=mssql_pconnect($dbhost,$dbusername,$dbpassword);
mssql_select_db($dbname);
HTH,
Radovan
"Nguyen Le Vinh" <[E
I have PHP4.3 and use win2000
ImageCreateFromPNG does not work.. I get an error that
ImageCreateFromPNG is an undefined function... help
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php-windows Digest 3 Jan 2003 10:18:33 - Issue 1516
Topics (messages 17621 through 17626):
Re: FastCGI support
17621 by: Fernando Serboncini
17623 by: Frank M. Kromann
Can't install PHP 4.3.0, HELP PLEASE!
17622 by: Rafael Fernandez
17624 by: toby z
PHP 4.3.
hi all, i thought php 4.3 was ment to have read-only access to gif images?
all i get via phpinfo(); is:
GD Support enabled
GD Version bundled (2.0 compatible)
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled
17 matches
Mail list logo