Re: [PHP-WIN] Confused

2007-08-24 Thread Aaron Kenney
port = 389; $ldapconn = ldap_connect($ds, $ldapport) or die("Could not connect to LDAP server."); if ($ldapconn) { ldap_set_option($ldapconn, LDAP_OPT_PROTOCOL_VERSION,3); ldap_set_option($ldapconn, LDAP_OPT_REFERRALS,0); $ldapbind = ldap_bind($ldapconn, $ldaprdn, $ldappass); } I hope th

Re: [PHP-WIN] Network programming with php

2007-04-16 Thread Aaron Kenney
it is (printer, PC, access point,...etc) > > This particular wheel already exists: http://www.nagios.org/. And > that's > just one example, there are several out there. > > -Stut > > > Aaron Kenney wrote: > > "Network programming&q

Re: [PHP-WIN] Network programming with php

2007-04-15 Thread Aaron Kenney
"Network programming" is a very broad term. What is it that you are trying to accomplish? On 4/15/07, sam rumaizan <[EMAIL PROTECTED]> wrote: Can you recommend any online tutorial OR Book for Network programming with php? - Ahhh...imagining that irresistible

Re: [PHP-WIN] Visual Studio and PHP

2007-02-04 Thread Aaron Kenney
Here's a concept: Visual php.net. Please microsoft please? Isn't it time to kill off ASP yet? On 2/4/07, David Lindstrom <[EMAIL PROTECTED]> wrote: With Phalanger and its VS integration package, you get color highligthning and debugging support, and since Phalanger compiles into .NET assemblies,

Re: [PHP-WIN] New user having problems :(

2007-02-03 Thread Aaron Kenney
Please make sure that the document root in httpd.conf matches that in the php.ini file. Also make sure that all php files that you are using have the .php file extension. Make sure that every php file starts with wrote: Hi Can you get a phpinfo page? Niel -- PHP Windows Mailing List (http://w

Re: [PHP-WIN] Apache 2.2 and PHP-5.1.4

2006-05-23 Thread Aaron Kenney
id for Sun's Java ASP, I could get it done. -Aaron Kenney On 5/23/06, giorger <[EMAIL PROTECTED]> wrote: Thanx for the info. It seems as if u have worked with both IIS and apache. What are the advantages and the disadvantages and in general what would u recommend. Aaron Kenney wrote: &

Re: [PHP-WIN] Apache 2.2 and PHP-5.1.4

2006-05-23 Thread Aaron Kenney
lling this combination on my Windows XP Pro test PC at the next possible moment. -Aaron Kenney On 5/23/06, giwrgos <[EMAIL PROTECTED]> wrote: Hi! I tried to install Apache 2.2 and PHP-5.1.4 as a module but i failed. The reason is that apache cannot load the php5apache2.dll. The file e

Re: [PHP-WIN] Last supported version for windows 95

2006-05-22 Thread Aaron Kenney
ad of trying to "reinvent the wheel." -Aaron Kenney On 5/22/06, Alf Stockton <[EMAIL PROTECTED]> wrote: Aaron Kenney wrote: > Everyone, > > We all need to remember also that once a person is used to Windows, > Linux is a learning curve (albeit a small one) that doesn&#

Re: [PHP-WIN] Last supported version for windows 95

2006-05-21 Thread Aaron Kenney
have been forced to use a manual installation of PHP, so this is always a concern for me. I say if you just want to get PHP up-and-running quick and dirty, stick with what you know so that no time is wasted. -Aaron Kenney On 5/21/06, Alf Stockton <[EMAIL PROTECTED]> wrote: Aaron Kenney wrote

Re: [PHP-WIN] Last supported version for windows 95

2006-05-20 Thread Aaron Kenney
;1" 133 MHz. If your computer is at least that good, you could probably do the same. You may, at most, have to update your motherboard's BIOS (usually free) and then upgrade the hard drive. -Aaron Kenney On 5/19/06, John Jairo Vega Angulo <[EMAIL PROTECTED]> wrote: Hi, everyone: Well

Re: [PHP-WIN] Switching from Apache to IIS

2006-04-18 Thread Aaron Kenney
Correction: Do not uncomment 'extension=php_msql.dll'. Instead uncomment 'extension=php_mssql.dll'. That was a really poor typo. -Aaron Kenney On 4/18/06, Aaron Kenney <[EMAIL PROTECTED]> wrote: > Make sure you read everything at > http://us3.php.net/manual/en/pri

Re: [PHP-WIN] Switching from Apache to IIS

2006-04-18 Thread Aaron Kenney
ensions since C:\PHP should be in your PATH anyway. -Aaron Kenney On 4/17/06, Alf Stockton <[EMAIL PROTECTED]> wrote: > One of my clients has decided, in their wisdom, to switch from Apache to > IIS and I have a number of PHP/MSSQL/JAVASCRIPT programs running in that > environment.

Re: [PHP-WIN] php editors

2006-04-11 Thread Aaron Kenney
I have been using PHP Designer for almost a year and have found it to be a life saver in some cases, although the Zend product is better. It just costs money. -Aaron Kenney On 4/11/06, pfancy <[EMAIL PROTECTED]> wrote: > > ""Sascha Meyer"" <[EMAIL PROTECT

Re: [PHP-WIN] Access javascript from php

2006-04-05 Thread Aaron Kenney
I recommend

Re: [PHP-WIN] Restarting PHP on IIS

2006-03-24 Thread Aaron Kenney
27;t apply the new configuration, then there is something not right with the configuration, or with the IIS/PHP installation. I'm not well versed enough in PHP servers to know where the startup log would be contained, but that might provide some insight if PHP has that capability. -Aaron Ken

Re: [PHP-WIN] Getting windows username into php/mysql

2006-03-22 Thread Aaron Kenney
log in to a Windows 2003 server via the LDAP functions. -Aaron Kenney On 3/22/06, Grinberg, Kevin <[EMAIL PROTECTED]> wrote: > I believe what you're looking for is: > > $_SERVER["REMOTE_USER"] > > However, it'll only work if the client is authenticated - if

Re: [PHP-WIN] Getting windows username into php/mysql

2006-03-21 Thread Aaron Kenney
ho " testing username script <!-- var WshNetwork = new ActiveXObject(\"WScript.Network\"); document.postvars.username.value = WshNetwork.UserName; document.postvars.submit(); //--> "; } ?> -Aa

Re: [PHP-WIN] LDAP newb gets errors against 2003 AD

2006-03-09 Thread Aaron Kenney
t; . $info[$i]["sn"][0]; echo ""; echo "mail: " . $info[$i]["mail"][0]; } } else { echo "LDAP bind failed..."; } } ldap_close($ldapconn); ?> -Aaron Kenney On 3/9/06, Bowden, Zeb <[EMAIL

[PHP-WIN] LDAP newb gets errors against 2003 AD

2006-03-08 Thread Aaron Kenney
So here is the offending code: -- "; echo "ou: " . $info[$i]["ou"][0]; echo "mail: " . $info[$i]["mail"][0]; } } else { echo "LDAP bind failed..."; } } ldap_close($ldapconn); ?> -- Here is the result: ---

[PHP-WIN] Getting more information to pass to PHP

2006-03-01 Thread Aaron Kenney
y. 3. Pass the e-mail address(es) to PHP and send an e-mail to the address using mail(). #3 is cake. #1 and #2 are the parts I need help with. I have tried to do this through PHP LDAP functions and have failed miserably. Anyone know a way I can get the info I need? -Aaron Kenney -- PHP Windows Ma

Re: [PHP-WIN] NEWB: get username that is currently logged in to Windows workstation.

2006-03-01 Thread Aaron Kenney
Thanks. That worked. Shows how much I know once I leave the world of PHP and try to do other stuff. -Aaron Kenney On 3/1/06, Wagner, Aaron <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Aaron Kenney [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, Mar

Re: [PHP-WIN] NEWB: get username that is currently logged in to Windows workstation.

2006-03-01 Thread Aaron Kenney
oh... On 3/1/06, Wagner, Aaron <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Aaron Kenney [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, March 01, 2006 16:43 > > To: Wagner, Aaron > > Cc: php-windows@lists.php.net > > Subject

Re: [PHP-WIN] NEWB: get username that is currently logged in to Windows workstation.

2006-03-01 Thread Aaron Kenney
cript <!-- var WshNetwork = new ActiveXObject(\"WScript.Network\"); document.postvars.username.value = WshNetwork.UserName; function autosubmit() { document.postvars.submit(); } //--> "; } ?> On 3/1/06, Aaron Kenney <[EMAIL PROTECTED]> wrote: > Eh... POST didn'

Re: [PHP-WIN] NEWB: get username that is currently logged in to Windows workstation.

2006-03-01 Thread Aaron Kenney
twork = new ActiveXObject(\"WScript.Network\"); document.postvars.username.value = WshNetwork.UserName; document.postvars.submit(); //--> "; } ?> On 3/1/06, Aaron Kenney <[EMAIL PROTECTED]> wrote: > I was going to POST instead of GET or use a cookie so that the use

Re: [PHP-WIN] NEWB: get username that is currently logged in to Windows workstation.

2006-03-01 Thread Aaron Kenney
, Aaron <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Aaron Kenney [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, February 28, 2006 16:10 > > To: php-windows@lists.php.net > > Subject: [PHP-WIN] NEWB: get username that is currently >

[PHP-WIN] not receiving any message from this list...

2006-02-28 Thread Aaron Kenney
what is up with this list? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] NEWB: get username that is currently logged in to Windows workstation.

2006-02-28 Thread Aaron Kenney
I am sorry but I am somewhat new to interfacing Windows through PHP. What I am trying to do is to get the username (or otherwise unique identifier) of the user that is currently logged into the local Windows workstation, and then assign the username to a variable. Can it be done? Originally what I