RE: [PHP-WIN] Command to find platform used

2004-11-23 Thread Wagner, Aaron
print $_ENV["OS"]; > -Original Message- > From: Harpreet [mailto:[EMAIL PROTECTED] > Sent: November 23, 2004 11:08 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Command to find platform used > > > I am running my php application on an Windows XP and a Mac > machine. I want > to find th

[PHP-WIN] Command to find platform used

2004-11-23 Thread Harpreet
I am running my php application on an Windows XP and a Mac machine. I want to find the platform name. IS there a function in php to do that. Help is appreciated. Regards, Harpreet Kaur -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-windows Digest 23 Nov 2004 15:57:20 -0000 Issue 2480

2004-11-23 Thread php-windows-digest-help
php-windows Digest 23 Nov 2004 15:57:20 - Issue 2480 Topics (messages 25027 through 25034): Re: What's wrong with these two programs? 25027 by: Armando 25028 by: Michael Purdy 25032 by: Gryffyn, Trevor Re: Passing an Array in HTML 25029 by: Michael Adams

[PHP-WIN] Login from phpmyadmin to mysql error.

2004-11-23 Thread xirzop
Hello everyone. I have downloaded and uninstalled then installed mysql v4.1.7 I have also downloaded & clean installed phpMyAdmin 2.6.0-pl3 Even though I can login from mysql administrator I can not login from phpmyadmin. Both mysql 4.1.7win, php 5.0.2 & apache2 have utf8, utf-8 as default char

RE: [PHP-WIN] Passing an Array in HTML

2004-11-23 Thread Wagner, Aaron
look at serialize http://us2.php.net/manual/en/function.serialize.php and in the user notes below, note that serialize doesn't remove quotes so need to base64_encode() after the serialize. base64_encode(serialize($array)) than reverse on the other end unserialize(base64_dencode($array)) >

RE: [PHP-WIN] What's wrong with these two programs?

2004-11-23 Thread Gryffyn, Trevor
Check out the other responses, but another thought is that you may not have your web server configured to process .PHP files properly. If it thinks it's a text file, it won't pass it through the PHP script interpreter. Go back over the instructions for installing PHP on your web server and mak

RE: [PHP-WIN] Re: Passing an Array in HTML

2004-11-23 Thread Gryffyn, Trevor
Yeah, I wouldn't recommend passing an array via an HTML form, it just seems clunky. I'd definitely use $_SESSION variables. BUT.. If you absolutely had to pass this array via a HIDDEN form element, I'd recommend trying serialize() and unserialize() >From the PHP manual: "serialize() returns a st

[PHP-WIN] Ldap Help for connect to PhPNuke

2004-11-23 Thread eric LUDINART
I'am using PHPNUKE for manage my site but I want to connect it to an LDAP. I can't found Ldap LIBRARY for PHP on net (link isn't avalable). where I can found a Alternative download for it ? If you always have a PhP -> ldap configuration avalable explain me it because, I'am lost thanks eri

Re: [PHP-WIN] Re: Passing an Array in HTML

2004-11-23 Thread Michael Adams
On Mon, 22 Nov 2004 16:12:37 -0800 "Vail, Warren" <[EMAIL PROTECTED]> wrote: > Only real array I've ever seen in HTML is one passed to JavaScript. > Anyone else found another way? > > I suppose you could do it as a pull down list (preselecting all > selections), but risk is your user will screw