- 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
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
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.
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
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
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
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...
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
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
16 matches
Mail list logo