- Original Message -
From: "Shaun Thornburgh"
To:
Sent: Monday, February 09, 2009 8:19 AM
Subject: [PHP-WIN] Windows Server 2003 Installation Problems
Hi,
I am trying to get PHP to run on IIS on our Windows 2003 server. It has been
running up until recently however I have just re
Is there an easy way to overwrite a row (e.g. using replace) if a duplicate key
already exists?
For instance, is there something like ON DUPLICATE KEY REPLACE (as opposed to
UPDATE)?
Or do I have to:
key_exists = query database for key
if (key_exists){
REPLACE...
}
else{
INSERT...
}
T
What's the easiest way to calculate the difference between two dates in PHP?
I've seen some examples of custom functions on Google, but I was wondering
if anyone here came up with another clever solution.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
If the query analyzer runs directly on the server, it would probably be
faster than the extra steps required by php to query for and render out the
data through a browser, especially if its on a shared server, but 9 seconds
of difference does seem like a lot.
- Original Message -
Fro
Try str_replace.
$string = "whatever";
$invalidChars = array("(", ")", "\\", "\"", "'"); //put whatever characters
here
trim(str_replace($invalidChars, "",$string))
- Original Message -
From: "Derek C Hopkins" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, January 31, 2007 1:10 PM
Subject
For a user attempting to reset their active directory password over ldap via
php,
If I use ldap_mod_replace or ldap_modify, SELF must have "Reset Password"
permissions as opposed to only "Change Password" permissions for that user
account.
Is there another php command I can use, so that I don'
.IAD.MIG:Systems Architect
http://vtmig.w2k.vt.edu
-----Original Message-
From: Phillip Terry [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 19, 2006 12:42 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Using PHP to Bind over LDAPS.
I configured LDAP for SSL (LDAPS) on the Active Direc
I configured LDAP for SSL (LDAPS) on the Active Directory (AD) Domain
Controller (DC).
The DC is a Windows 2003 Server box.
To do this I:
1) Setup the DC as a Certificate Authority (CA)
2) Issued a Certificate to itself
3) Issued a Certificate to the client that would be connecting via LDAPS
The