Re: [PHP-WIN] Windows Server 2003 Installation Problems

2009-02-09 Thread Phillip Terry
- 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

[PHP-WIN] PHP MySQL - ON DUPLICATE KEY UPDATE

2007-06-19 Thread Phillip Terry
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

[PHP-WIN] Difference Between Two Dates

2007-05-03 Thread Phillip Terry
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.

Re: [PHP-WIN] PHP rendering

2007-02-09 Thread Phillip Terry
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

Re: [PHP-WIN] using preg_replace or equivelent

2007-01-31 Thread Phillip Terry
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

[PHP-WIN] Alternative to ldap_mod_replace and ldap_modify...

2006-10-30 Thread Phillip Terry
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'

Re: [PHP-WIN] Using PHP to Bind over LDAPS.

2006-10-19 Thread Phillip Terry
.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

[PHP-WIN] Using PHP to Bind over LDAPS.

2006-10-19 Thread Phillip Terry
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

Re: [PHP-WIN] Re: Phpize

2005-05-02 Thread Terry Watts
Thanks I'll give it a spin. Regards. Terry "Frank M. Kromann" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > phpize is a linux/unix tool and it can't be used on win32 systems. > > The Image Magick extension comes precompiled on wi

[PHP-WIN] Phpize

2005-04-29 Thread Terry Watts
I'm new to PHP and I have just installed PHP for windows on my server, I'm now trying to install PHP for Image Magick. The docs for this say I have to run "phpize" but I can't find it anywhere. Can someone please tell me where it lives. Thanks in advance.

Re: [PHP-WIN] What should I learn

2003-12-13 Thread Terry
I agree with toby just start working away... To learn PHP I dl code examples and projects from the web, there are a number of tutorials and examples out there on the web. The only way your going to learn to use the language is to "use the language" ... tashfoo "Toby z" <[EMAIL PROTECTED]> wrote

[PHP-WIN] LINKING TO MYSQL

2003-07-07 Thread Terry Lowndes
oot folder and I got the user name and password (not shown in the code) from the My ini tab in WinMySQLAdmin. Thanks, Terry Lowndes SQL Query Sender $database Query: $query Results "; if ($result == 0) echo("Error " . mysql

[PHP-WIN] Using PHP with IIS

2003-07-03 Thread Terry Lowndes
I am trying to set up PHP to work with ISS on my local standalone PC so that I can learn PHP. I have created a test page with 1 paragraph of HTML and a paragraph with 1 line of PHP ( When I load the page in my browser using http://localhost/filename.php the page loads with no problem but the PHP l

RE: [PHP-WIN] FW: Mssql trusted connections ?

2002-03-13 Thread Kearns, Terry
m: Paco Ortiz [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 13 March 2002 11:12 PM > To: Kearns, Terry; [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] FW: Mssql trusted connections ? > > > Hi, > > >How does one use trusted connections with mssql_connect()? > > mmm...

[PHP-WIN] FW: Mssql trusted connections ?

2002-03-11 Thread Kearns, Terry
How does one use trusted connections with mssql_connect()? Also, the manual says something about an "interfaces" file. Where do I find this? Where is this interfaces file documented? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: [PHP-DB] Uploading Files

2001-05-24 Thread Terry Romine
I've had problems enough with uploading files that I find the following checkpoints VERY important: 1) directory privileges (you indicate you have those set 777 2) the tag needs: a) enctype = "multipart/form-data" b) method = "post" HTH Terry On Thur