[PHP-WIN] System integration

2006-02-13 Thread dale
Hi guys, Does anyone know or got an idea of how to access the user accounts of Active Directory using PHP? I need to integrate my intranet application's authentication with that of Active Directory. Any help or ideas will be greatly appreciated. Kind Regards, Dale -- PHP Windows Mailing

[PHP-WIN] System integration Step 2

2006-02-14 Thread dale
Hi guys, Got LDAP working and I am able to authenticate against Active Directory. But now, does anyone now how to retrieve the username and password that the user uses to logon to their PC so as to now authenticate for the application against Active Directory? Kind Regards, Dale -- PHP

Re: [PHP-WIN] Access javascript from php

2006-04-04 Thread dale
} function script($script){ echo "".$script.""; return; } function alert($str){ echo "alert('".$str."');"; return; } Dale Attree NDECS Kwik IT Solu

Re: [PHP-WIN] PHP 4.4.2 and MySQL 5?

2006-04-05 Thread dale
You could try the following: 1) delete your existing php_mysql.dll 2) copy php_mysqli.dll into your extensions directory 3) rename php_mysqli.dll to php_mysql.dll Then repeat steps 1-3 for the libmysql.dll/libmysqli.dll > I have MySQL 5 installed and running with several non-PHP applications on

[PHP-WIN] sessions

2002-03-08 Thread Dale Heil
Running winNT4.0sp6a, apache1.3.20, php4.1.1(as a module) I've been able to call a function from first .php page that sets a session variable (verified with an echo). I used$_SESSION['BreadCrumbCounter'] = 0; then from that page I call a second .php page via I also tried I

[PHP-WIN] sessions Problem Followup concerning IE6

2002-03-08 Thread Dale Heil
ny explanations, work arounds beside having users change their settings when migrating to IE6? Disabled in IE5.5 and before is definitely different than blocked in IE6. It probably makes sense for security. Maybe that was one of the holes MS fixed? TIA, Dale. -Original Message-

[PHP-WIN] ISAPI filter error

2002-08-09 Thread Dale Heil
trying to load existing php pages that run fine under CGI. Any thoughts? Thank you. Dale. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] libsasl.dll

2001-01-19 Thread Dale Heil
I'm using WinNT4.0sp6a, apache 1.3.14, php 4.0.4pl1.   In order to run PHP using the Server API, I had to copy libsasl.dll to my webserver root (d:\apache) due to getting an error when starting apache.  Why was that necessary?  And why does apache need libsasl.dll?   Under PHP CGI, it woul

RE: [PHP-WIN] Exec() In Windows

2001-04-05 Thread Dale Heil
Hello, I went through the same problems but got some help from a coworker. Oliver was right about the user ID. what you can do is change the .exe to an ActiveX.dll COM object. Then add it to a MTS package component. MTS can be installed off the NT4 Option Pack (downloadable from MS)

[PHP-WIN] Apache as a service

2004-10-04 Thread Dale Attree
Hi, Can anyone help me with regards to running Apache 1.3.27 on Windows 2000 Professional Service Pack 4. Thanks, Dale

[PHP-WIN] Function reference

2004-10-06 Thread Dale Attree
Hi, Does anyone have or know where I can find a function reference for MicroSoft Word as a COM object in PHP, other than the example in the PHP CHM file and/or manual. Kind Regards, Dale

[PHP-WIN] MySQL 4.1 Server

2004-11-30 Thread Dale Attree
Hi Does anyone know where I can download the latest MySQL PHP API to connect to MySQL 4.1? Kind Regards, Dale Attree (NDECS) Technical Manager - Kwik IT Solutions www.kwikitsolutions.co.za Tel : +27 35 786 1416 Cel : +27 83 407 2911 [EMAIL PROTECTED]

RE: [PHP-WIN] MySQL 4.1 Server

2005-01-07 Thread Dale Attree
Hi, I need your help please. I have downloaded the API below, but I am having trouble executing SQL statements against an access database using a dsn-less connection. Can you help? -Original Message- From: phpWalter [mailto:[EMAIL PROTECTED] Sent: 30 November 2004 22:24 To: php-windows@

[PHP-WIN] PHP and MS Access

2005-01-08 Thread Dale Attree
ase help. It is urgent. Thanx Dale

[PHP-WIN] COM - setting an indexed property

2005-01-24 Thread Dale Schell
I have a COM object "com" with a property "prop". "prop" is an indexed array. I am using PHP 5.1.0-dev. None of the following work: $com->prop(0) = 'blue'; $com->prop(0, 'blue'); $com->prop = array ('blue'); Is there a way to

[PHP-WIN] $_SESSION

2005-02-07 Thread Dale Attree
Is there anyway to spoof the $_SESSION array?

[PHP-WIN] php_printer.dll and iconv.dll

2005-02-08 Thread Dale Attree
Where can get the above mentioned files for PHP 5.0.3? Kind Regards, Dale

[PHP-WIN] Outputting MS Word document

2005-02-12 Thread Dale Attree
Hi, I have saved the content of an uploaded MS Word document into a database table. Now I would like to output the content without recreating the file on the harddrive. I believe I will have to use header("application/[what do i put here]"). Any ideas? Kind Regards, Dale

[PHP-WIN] php_printer.dll

2005-02-19 Thread Dale Attree
Downloaded the PECL, but when I include the php_printer.dll in my php.ini file and restart my Apache, it keeps throwing out a entry point procedure error. Any suggestions? Dale

RE: [PHP-WIN] Installing Apache after I have installed PHP

2006-08-16 Thread Dale Attree
Yes! -Original Message- From: John Meyer [mailto:[EMAIL PROTECTED] Sent: 17 August 2006 02:31 AM To: php-windows@lists.php.net Subject: [PHP-WIN] Installing Apache after I have installed PHP Hi, I have a machine that is running PHP/IIS. I want to run Apache on it. My question is: Do I

RE: [PHP-WIN] Problems accessing the net units through PHP

2006-09-12 Thread Dale Attree
PHP on windows does not support mapped network drives, you would need to use sockets and connect to the IP of the machine you wish to write to. -Original Message- From: German Piqué [mailto:[EMAIL PROTECTED] Sent: 13 September 2006 08:25 AM To: php-windows Subject: [PHP-WIN] Problems acce

[PHP-WIN] PHP 5 / IIS 7 / Vista

2006-11-02 Thread Dale Attree
Anybody got PHP 5 running with IIS 7 on Windows Vista? If so, do you have a walk-through on how to do it or give me directions on how to do it? Kind Regards, Dale

RE: [PHP-WIN] PHP 5 / IIS 7 / Vista

2006-11-03 Thread Dale Attree
map. Any ideas? I need to be able to run PHP as an ISAPI module and not CGI. Thanks again. Dale -Original Message- From: Frank M. Kromann [mailto:[EMAIL PROTECTED] Sent: 03 November 2006 11:02 AM To: Dale Attree Cc: php-windows@lists.php.net Subject: Re: [PHP-WIN] PHP 5 / IIS 7 / Vist

[PHP-WIN] SQL Server 2005

2006-11-14 Thread Dale Attree
quot;interfaces" file. Where would I find this file? Kind Regards, Dale

[PHP-WIN] PHP DLL's

2006-11-15 Thread Dale Attree
Hi all, I was running PHP 5.0.3RC with mysql. Then I upgraded to PHP 5.2.0 and include PDO. On 5.0.3, mysql works fine, but PDO doesn't. On 5.2.0, mysql doesn't work and PDO does. Apache keeps throwing out cannot find the specified module errors. Any ideas? Tha

RE: [PHP-WIN] PHP DLL's

2006-11-16 Thread Dale Attree
Thanks guys. I downloaded PHP 5.2.0 and removed the previous versions. Got all extensions working. -Original Message- From: Niel Archer [mailto:[EMAIL PROTECTED] Sent: 16 November 2006 03:26 PM To: php-windows@lists.php.net Subject: Re: [PHP-WIN] PHP DLL's HI Have you read the upgradin

[PHP-WIN] php_mssql.dll

2006-12-11 Thread Dale Attree
Setup: - Windows XP - Apache 1.3.27 - PHP 5.2.0 php.ini file configured. dll extensions exists. Problem: All extensions are being loaded except php_mssql.dll Help please!!! Kind Regards, Dale

[PHP-WIN] PHP & SQL Server 2005

2007-04-25 Thread Dale Attree
Hi guys. I am able to do select queries without any hassles, but as soon as I try execute an insert query, I get "The statement has been terminated." Any suggestions? Kind Rega

RE: [PHP-WIN] PHP & SQL Server 2005

2007-04-25 Thread Dale Attree
$RP = $_SERVER['REQUEST_URI']; $res = mssql_query($sql,$dblink) or die($RP.''.mssql_get_last_message()); It is hitting the die() and therefore not inserting into the DB. -Original Message- From: Alf Stockton [mailto:[EMAIL PROTECTED] Sent: 26 April 2007 08:06 AM To:

[PHP-WIN] Referring URL

2007-04-29 Thread Dale Attree
Hi, Does anyone know how to get the URL of the main page that makes use of an iframe to access another page? Kind Regards, Dale *** The information contained in this e-mail is confidential and

RE: [PHP-WIN] Form and enter key

2007-05-08 Thread Dale Attree
In your opening form tag In CheckKey, check if enter was hit, if so call your AJAX function. If the submit button was clicked, your keycode will be blank and then you can submit the form. Dale -Original Message- From: Alf Stockton [mailto:[EMAIL PROTECTED] Sent: 08 May 2007 12:57 PM

RE: [PHP-WIN] Textarea and mysql

2007-05-18 Thread Dale Attree
There is only a line break, if the user hits enter, otherwise the textarea will just wrap the content. You can use the following: $textAreaWidth = 60; //Number of cols specified for textarea $loops = ceil(strlen($_POST['textarea']) / $textAreaWidth); for($i = 0; $i < $loops; $i++){ $sp

RE: [PHP-WIN] Bug??? "Duplicate entry '255' for key 1 " on auto increment

2007-05-21 Thread Dale Attree
Set the length of rowID to 11, leave type as INT. -Original Message- From: Mark Abrams [mailto:[EMAIL PROTECTED] Sent: 22 May 2007 06:52 AM To: php-windows@lists.php.net Subject: [PHP-WIN] Bug??? "Duplicate entry '255' for key 1 " on auto increment Hi All, I have a table problem with "D

[PHP-WIN] PHP generated Excel Spreadsheets

2007-05-22 Thread Dale Attree
Using PEAR :: Spreadsheet_Excel_Writer I am having compatibility issues with Excel 2007. Has anyone else experienced issues and got solutions? Dale Attree PHP Developer Jacklin Enterprises tel: +27 11 265 4282 mobile: +27 83 407 2911 fax: +27 11 314 2984

RE: [PHP-WIN] PHP generated Excel Spreadsheets

2007-05-22 Thread Dale Attree
: bedul [mailto:[EMAIL PROTECTED] Sent: 22 May 2007 12:16 PM To: Dale Attree Cc: php-windows@lists.php.net Subject: Re: [PHP-WIN] PHP generated Excel Spreadsheets nope.. there were something strange with those excel 2007.. but i always use csv instead excel 2007.. well.. can u share us your script

RE: [PHP-WIN] Warnings/Errors in PHP

2007-05-25 Thread Dale Attree
Ini_set("display_errors",1); Error_reporting(E_ALL ^ E_NOTICE); -Original Message- From: Gustav Wiberg [mailto:[EMAIL PROTECTED] Sent: 25 May 2007 09:16 AM To: chandar Cc: PHP WindowsList Subject: Re: [PHP-WIN] Warnings/Errors in PHP Hi there! I know that, but that wasn't my question...

RE: [PHP-WIN] Returning variable and array from function

2007-06-12 Thread Dale Attree
You would need to return both as elements of an array. -Original Message- From: Gustav Wiberg [mailto:[EMAIL PROTECTED] Sent: 12 June 2007 12:08 PM To: 'php windows' (php-windows@lists.php.net) Subject: [PHP-WIN] Returning variable and array from function Hi there! I think I have done

RE: [PHP-WIN] Dynamic image resizing on upload

2007-06-12 Thread Dale Attree
$Filename = full path and filename of original file $Thumbnail = full path and filename of thumbnail $WIDTH && $HEIGHT = specified for resizing Gdlib must be installed. $fwidth){ $percentage = round(($HEIGHT/$fheight) * 100); $newwidth = round(($f

RE: [PHP-WIN] Save classes to db?

2007-06-26 Thread Dale Attree
Hi there, You would use a blob or text field. You will have to serialize the object before saving it to db. Then when you retrieve it, you will have to deserialize it and then eval() the object so as to active all the values. -Original Message- From: Gustav Wiberg [mailto:[EMAIL PROTECT

[PHP-WIN] security for hersh site

2008-04-15 Thread Dale Hersowitz
(hersh) and found no real errors. However, I want to make sure that hersh site is fully secure. Thanks for the advice. Thanks, Dale Hersowitz Hersh Corporaton hershonline.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] windows iis 7 questions from hersh corporation

2008-04-15 Thread Dale Hersowitz
to prep for the migration of our site? Thanks Dale Hersh Hersh Corporation -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Window Server New Version Hersh Corporation

2008-04-15 Thread Dale Hersowitz
to prep for the migration of our site? Thanks Dale Hersh Hersh Corporation -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] USB communication with PHP on Windows

2006-05-08 Thread Dale D. Attree
Is USB communication via PHP on Windows possible? Kind Regards, Dale

RE: [PHP-WIN] Configuration problem?

2006-05-23 Thread Dale D. Attree
Place your php.ini file in C:\WINNT Ensure that you have included php_mysql.dll in your ini file. Ensure registered globals on turned on if you wish to use $_SERVER -Original Message- From: Bill Angus [mailto:[EMAIL PROTECTED] Sent: Monday, May 22, 2006 8:29 PM To: php-windows@lists.php

[PHP-WIN] PHP and MS Excel

2006-06-04 Thread Dale D. Attree
Hi, Anyone know of a class that I can used to read a MS Excel file and interpret specific columns and rows for storage into a db? Kind Regards, Dale

RE: [PHP-WIN] PHP and MS Excel

2006-06-04 Thread Dale D. Attree
ECTED] Sent: Monday, June 05, 2006 8:17 AM To: Dale D. Attree Subject: Re: [PHP-WIN] PHP and MS Excel Check this out: http://www.phpclasses.org/browse/package/1919.html#download Mikael Dale D. Attree skrev: > Hi, > > > > Anyone know of a class that I can used to read a MS Excel

[PHP-WIN] Apache to IIS

2006-06-19 Thread Dale D. Attree
Hi all, I need to move from Apache to IIS. Has anyone done this conversion on what was the impact on your code? Kind Regards, Dale

RE: [PHP-WIN] Apache to IIS

2006-06-19 Thread Dale D. Attree
installer. IMPACT ON CODE WHEN CONVERTING FROM APACHE TO IIS Certain elements of the global array $_SERVER do not exist when using IIS. Those that I have found so far: 1)$_SERVER['PHP_AUTH_USER'] 2)$_SERVER['DOCUMENT_ROOT'] Hope this helps. Cheers, D

[PHP-WIN] PHP and SQL Server 2005

2006-06-19 Thread Dale D. Attree
If anyone can help, please do. Warning: mssql_connect() [function.mssql-connect ]: message: Login failed for user 'dalea'. The user is not associated with a trusted SQL Server connection. (severity 14) in C:\webdev\www\WLIM\test.php on line 7

[PHP-WIN] php_pdo_mssql.dll

2006-06-19 Thread Dale D. Attree
Any one have any idea how to get the above mentioned dll loaded using PHP as CGI with IIS? Fatal error: Class 'PDO' not found in C:\webdev\www\WLIM\test.php on line 8 PHP Warning: PHP Startup: Unable to load dynamic library 'c:\PHP\ext\php_pdo_mssql.dll' - The specified module could not be foun

RE: [PHP-WIN] document.navigate()

2006-06-19 Thread Dale D. Attree
According to O'Reilly Dynamic HTML - The Definitive Reference, document.navigate is IE specific from IE3 upwards. Try using document.location.href -Original Message- From: Alf Stockton [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 3:39 PM To: php windows Subject: [PHP-WIN] docume

[PHP-WIN] LDAP and IIS

2006-06-19 Thread Dale D. Attree
Anyone out there got LDAP working on IIS? Kind Regards, Dale

[PHP-WIN] LDAP

2006-06-20 Thread Dale D. Attree
What have I over looked or forgotten to do? Please help? Dale

[PHP-WIN] IIS and LDAP

2006-06-20 Thread Dale D. Attree
All extensions are being loaded expect for php_ldap.dll.   I am running PHP 5.1.4 as a module with IIS 5.   The path has been, permissions are correct. The only errors being displayed are those of undefined functions.   If anyone can please help?   Thanks, Dale -- PHP

[PHP-WIN] IIS and LDAP

2006-06-20 Thread Dale D. Attree
All extensions are being loaded expect for php_ldap.dll. I am running PHP 5.1.4 as a module with IIS 5. The path has been, permissions are correct. The only errors being displayed are those of undefined functions. If anyone can please help? Thanks, Dale PS. Mailing list

RE: [PHP-WIN] PHP and SQL Server 2005

2006-06-20 Thread Dale D. Attree
Thanks. This problem has been resolved. My problem was that SQL Server had been configured with Window Authentication and not Mixed Mode. -Original Message- From: Frank M. Kromann [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 5:56 AM To: [EMAIL PROTECTED] Cc: Dale D. Attree

[PHP-WIN] LDAP

2006-06-21 Thread Dale D. Attree
Hi, Has anyone got LDAP for PHP 5 working on IIS? Kind Regards, Dale

RE: [PHP-WIN] Transactions and PDO

2006-06-21 Thread Dale D. Attree
Why not create a Stored Procedure to handle the second table? -Original Message- From: Vandegrift, Ken [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 7:20 PM To: php-windows@lists.php.net Subject: [PHP-WIN] Transactions and PDO Just wanted to throw this out there to see if anyo

RE: [PHP-WIN] single sign on

2006-07-05 Thread Dale D. Attree
Make use of cookies and set the expiry of the cookie to equal 8 hours. In theory, this should create a cookie every day, therefore the user will only require to logon once a day. -Original Message- From: Martin Staiger [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 05, 2006 8:34 PM To: p