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
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
"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
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,
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
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:
&
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
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
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
;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
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
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.
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
I recommend
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
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
ho "
testing username script
<!--
var WshNetwork = new ActiveXObject(\"WScript.Network\");
document.postvars.username.value = WshNetwork.UserName;
document.postvars.submit();
//-->
";
}
?>
-Aa
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
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:
---
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
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
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
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'
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
, 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
>
what is up with this list?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
27 matches
Mail list logo