Re: [PHP-WIN] building binary libraries

2010-12-02 Thread Elizabeth M Smith
ts. Thanks for your help, Tommy As far as I know libiconv and gettext both require patches to the source of current versions to get them to compile, they're also libraries that are VERY resistant to windows fixes being pushed upstream. Good luck! Thanks, Elizabeth M Smith -- PHP Window

Re: [PHP-WIN] Problem writing PHP extensions for Windows

2010-07-19 Thread Bruce M. Axtens
Venkat Raman Don wrote: This means you have built a Thread safe version of the extension and trying to load it with Non Thread Safe version of PHP which is not valid. Yes, that is true. My question has been from the beginning: how to make the extension Non Thread Safe? Please build non threa

Re: [PHP-WIN] Problem writing PHP extensions for Windows

2010-07-19 Thread Bruce M. Axtens
Keith Davis wrote: What extensions are you trying to build? The one listed here http://netindonesia.net/blogs/risman/archive/2008/06/15/part-2-writing-php-extension.aspx (modified slightly from the original to compensate for the nonTS situation) and http://www.talkphp.com/vbarticles.php?d

[PHP-WIN] Problem writing PHP extensions for Windows

2010-07-19 Thread Bruce M. Axtens
I'm trying to build PHP extensions on Windows When I run my DLLs I get errors like this: Module compiled with build ID=API20090626,TS,VC9 PHPcompiled with build ID=API20090626,NTS,VC9 The source package that I downloaded from php.net seems to default to threadsafe, but I've installed a n

Re: [PHP-WIN] php and silverlight

2009-11-19 Thread Elizabeth M Smith
Harpreet wrote: I plan to make a webservice that will connect to my sql server database and then the silverlight datagrid control can interact with my web service. But the problem now is my app is PHP and is hosted on apache. Where will I host my web service - IIS. Can I have apache and iis on t

Re: [PHP-WIN] php and silverlight

2009-11-19 Thread Elizabeth M Smith
Harpreet wrote: Can I use LINQ with PHP?? Yes - well kind of ;) http://www.codeplex.com/PHPLinq Thanks, Elizabeth Smith -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PHP 5.2.11, Windows Vista and php_mbstring.dll

2009-10-16 Thread Elizabeth M Smith
Magnus Anderson wrote: Elizabeth M Smith wrote: Turn display startup errors on to see why modules won't load Mbstring has an additional extension requirement - you MUST MUST enable php_exif.dll before you enable mbstring I swear this was in the docs at one point, wonder when i

Re: [PHP-WIN] PHP 5.2.11, Windows Vista and php_mbstring.dll

2009-10-16 Thread Elizabeth M Smith
Turn display startup errors on to see why modules won't load Mbstring has an additional extension requirement - you MUST MUST enable php_exif.dll before you enable mbstring I swear this was in the docs at one point, wonder when it was removed Thanks, Elizabeth Smith -- PHP Windows Mailing Li

Re: [PHP-WIN] problems with includes after upgrade from 5.2.1 to5.2.11

2009-09-30 Thread Elizabeth M Smith
Paul J. Smith wrote: It helps us a lot as we clone the site to other servers that may not have the same drive letter. Strange thing is, this is definitely a behaviour change. It also is different behaviour from the command line php in the same package, which still works just fine. Done abou

Re: [PHP-WIN] php_enchant not loadable

2009-08-21 Thread Elizabeth M Smith
Niel Archer wrote: Hi there, i switch to PHP5.3 and now PSPELL is no more working. I read the docu and found that i must use PHP_Enchant from now. But everytime i try to use is PHP gets an error: "Unable to load dynamic library 'C:\PHP\ext\php_enchant.dll' - The specified module could not b

[PHP-WIN] Re: PHP 5.3 IIS 5.1 not working...help!

2009-07-30 Thread Elizabeth M Smith
Fred Silsbee wrote: > http://72.47.28.125:8080/phpinfo.php not working > ERROR: > The website cannot display the page > HTTP 500 > > IIS 5.1, PHP 5.3 XP Prof SP3 + all updates > PHP 5.2.8 worked great and took a few minutes to install > > phpinfo.php is in C:\inetpub\wwwroot > > phpinfo();

[PHP-WIN] Re: getting started - need pointers

2009-05-28 Thread Elizabeth M Smith
Mike Kay wrote: > Greetings. I am trying to get PHP installed and working on a Windows > server - Windows Standard 2007. I've downloaded and installed PHP 5.2.9. > Problem is I don't know how to use this at all. My web server is Apache > 2.2 - my database is Mysql. > > I selected the Apache module

[PHP-WIN] Re: php-win-which-orm-tool-for-windows-with.html

2009-04-16 Thread Elizabeth M Smith
> Sorry, I meant a wrapper written in PHP that extends PDO but uses the new > driver's functions. Unfortunately, my C skills are not quite where they need > to be to write a PHP extension :( > > I also just realized that the new driver uses the ODBC client for the > underlying low-level communica

[PHP-WIN] Re: XDEBUG with 5.2.6, IIS 5.1, CGI

2009-02-14 Thread Elizabeth M Smith
Herb Munson wrote: > Right, I'm using > > zend_extension = C:\php\ext\php_xdebug-2.0.4-5.2.8-nts.dll > > I just posted the results of some experiments with procmon - along with the > pertinent entries in my ini file. Incidentally, Procmon shows that > php-cgi.exe seems to load php5ts.dll;

[PHP-WIN] Re: XDEBUG with 5.2.6, IIS 5.1, CGI

2009-02-13 Thread Elizabeth M Smith
Herb Munson wrote: > Well, I'm now set up with CGI on my XP - IIS 5.1 - PHP 5.2.6 system. And > its much more fun now, it doesn't seem to be kicking off all those Access > Violations, as isapi did. Many thanks for that. > > > > But now where xdebug worked (on those rare occasions without acce

Re: [PHP-WIN] Access Violation

2009-02-11 Thread Elizabeth M Smith
Louis Solomon [SteelBytes] wrote: > forget the ISAPI, use FastCGI. In my experience the ISAPI has never > been stable or working fully. > > mmm, not sure FastCGI is available for IIS for XP, so since it's > probably only a dev machine go to just php as cgi. that works fine on > all OSes > > Lou

[PHP-WIN] Re: Compiling error on WinXP

2008-12-27 Thread Elizabeth M Smith
Marco Schuster wrote: Hi all, I currently try to compile php 5.2.8 on Windows XP Home SP3 (32bit) with VS2008 Pro, as described in . Compiling runs successful and the php.exe works with cscript /nologo configure.js --disable-all --enable

[PHP-WIN] Re: mbstring

2008-12-21 Thread Elizabeth M Smith
M. Bolton wrote: I am using php 5.2 with mysql 5 and I would like to initiate mbstring with gd2 for use with webasyst. I have added c:\php to windows path and in the php.ini the session_mbstring and session_gd is activated. the php_gd2.dll is in the right place. But when I let the webasyst

[PHP-WIN] mbstring

2008-12-20 Thread M. Bolton
I am using php 5.2 with mysql 5 and I would like to initiate mbstring with gd2 for use with webasyst. I have added c:\php to windows path and in the php.ini the session_mbstring and session_gd is activated. the php_gd2.dll is in the right place. But when I let the webasyst install script check

[PHP-WIN] Re: PHP6 binary snapshot is missing dlls

2008-11-05 Thread Elizabeth M Smith
Todd Keup wrote: > I downloaded the latest Windows PHP6 (VC6) binary snapshot > http://windows.php.net/snapshots/ and installed only to discover quite a few > external dlls missing in the /ext directory. Now, I realize that some may > be changing due to internal restructure and built-in design.

[PHP-WIN] Re: can't get fsockopen() to work through IIS

2008-10-17 Thread Elizabeth M Smith
Evan Burkitt wrote: > I have PHP 5.2.6 installed under Windows Server 2003 and IIS 6.0. I cannot > get fsockopen() to succeed when run through IIS. > I'm using this script: > $host = "localhost"; > $port = "110"; > ?> > > Attempting to open socket on host '' at port > '' > > $errno = 0; > $

[PHP-WIN] Re: MySQL and PHP5

2008-09-06 Thread Elizabeth M Smith
Tim wrote: > I spoke to soon. Your tip did manage to get the MySQL section to show up in > the output of phpinfo(), and the connect command doesn't throw an error > anymore, but now I get the same Undefined Function error on the line to > create a db: > > mysql_create_db("dbName") or die(mysql_err

[PHP-WIN] Re: MySQL and PHP5

2008-09-05 Thread Elizabeth M Smith
> However, the results of my phpinfo() do not show a MySQL section (I don't > know if there should be one, I'm new to this). Mysql should show up - one piece of information that I DON'T see that is probably the most important - is your php.ini being loaded? You should see a section in the top o

Re: [PHP-WIN] Remove End of Line Characters

2008-07-01 Thread M. Sokolewicz
Wei, Alice J. wrote: Hi, for ($i=1; $i <= 3; $i++) { echo $i . ": " . $lines4[$i] . "\n"; list($words, $file) = explode(" ", $lines4[$i]); $carriage= array("\r\n", "\r", "\n"); str_replace($carriage, "", $lines4[$i]); echo "File: $file has $words words\n\n"; $query3="INSERT INTO youtoo(Descript

[PHP-WIN] Re: php-config script is missing from the installer

2008-06-25 Thread Elizabeth M Smith
Zoltan Boszormenyi wrote: > Hi, > > I need to port a library that has several language bindings, PHP among them. > Of course the software was written on Linux, hence it uses autotools and > pgkconfig. > I can use MinGW/MSYS and GnuWin32 parts to compile most of the software > but the PHP binding l

[PHP-WIN] Re: Problem with Oracle and some other extensions on IIS Server

2008-06-25 Thread Elizabeth M Smith
Tim wrote: > Hi, > > My problem is very simple but i can't handle it. I'm LAMP developer by the > way. I have not much knowledge on IIS server with PHP, > > Anyway, i can't load php_oci8.dll and some other DLLs. Error message always > same; > > PHP Warning: PHP Startup: Unable to load dynamic li

Re: [PHP-WIN] Re: PHP and MSSQL Connection on IIS 5.1

2008-06-17 Thread Elizabeth M Smith
Wei, Alice J. wrote: > Hi, > > For ODBC connections, are you using MSSQL 2005? I am currently using > Windows XP for the server with PHP 5.2. > >I am currently using this version of the MS SQL server, and thus when I am > seting up the ODBC connection, I notice that it keeps failing possi

[PHP-WIN] Re: PHP and MSSQL Connection on IIS 5.1

2008-06-17 Thread Elizabeth M Smith
Wei, Alice J. wrote: > Hi, Guys: > > This is my first time running PHP 5.2 on a IIS 5.1 Server using a Windows > XP machine. > My client wants me to build the PHP scripts and the database on one single > machine. So far I could run the PHP fine, but I am having a hard time > connecting to t

[PHP-WIN] Running under Windows Vista?

2008-05-12 Thread Alan M Dunsmuir
Is there some trick to getting PHP5 to install properly under Windows Vista? I had a successful Windows 'localhost' installation of Apache/MySQL/PHP about a year ago, and I've been trying to get the same thing up under Vista (Home Premium). MySQL and Apache2 install fine, but I just cannot get

Re: [PHP-WIN] Re: PECL SVN Extension Setup Help

2008-04-16 Thread Elizabeth M Smith
Jake Conk wrote: > Elizabeth, > > Thanks for your detailed setup instructions. I have a few questions. I > am running the PHP 5.2.5 here for Apache 2, I got this all setup by > just downloading the latest wamp package from > http://www.wampserver.com so how do I figure out if I'm running a > threa

[PHP-WIN] Re: PECL SVN Extension Setup Help

2008-04-16 Thread Elizabeth M Smith
Jake Conk wrote: > Hello, > > I tried installing the pecl svn extension but I get an error. > > This is the command I ran along with all the output: > > > >> pecl install svn-beta > downloading svn-0.3.tgz ... > St

[PHP-WIN] Re: compiling using vs 2005

2008-03-30 Thread Elizabeth M Smith
Meir wrote: > hello > i compiled php 5.2.5 with vs 2005 and every thing works fine on my computer > , but when i transfered it to another computer i got this error message "the > application failed to initialize properly (0xc0150002) click ok to terminate > the application" > i tried to copy all

Re: [PHP-WIN] Re: need help building php on windows

2008-03-14 Thread Elizabeth M Smith
Jason wrote: > To be honest, I can't actually get either of the mssql variants to > compile properly. Specifically I can compile the MS mssql dll, but can't > link it (unresolved external _in6addr_any in php5ts.dll). > > I have a sneaking suspicion that I'm missing some little > "not-widely-docume

[PHP-WIN] Re: need help building php on windows

2008-03-14 Thread Elizabeth M Smith
Jason wrote: > Hi all, > > I'm having trouble compiling PHP 5.2.5 using Visual C 6 (SP6). > > I have (to the best of my knowledge) followed the tips/instructions on > the following two pages: > > http://news.php.net/php.windows/28659(the black text, not green) > http://php.mirror.camelne

[PHP-WIN] Re: about the PHP linked server error

2008-03-13 Thread Elizabeth M Smith
李越 wrote: > > Hello, > > When I use php to invoke linked server configured in MS-SQL 2005, there is an > error like this: > "Exception: ../application/models/TestDatabase.php -> TestDatabase -> > testListNewDefect -> Unexpected exception of type > [Zend_Db_Statement_Exception] with message [S

[PHP-WIN] Re: cannot compile php 5.2.5 following instructions exactly with vc++ 6

2008-02-19 Thread Elizabeth M Smith
friso wrote: > I have followed the instructions exactly on > http://php.nederland.net/manual/en/install.windows.building.php but I > end up > with this error... > > Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 > Copyright (C) Microsoft Corp 1988-1998. All rights reserved. > > i

[PHP-WIN] Re: Installation blues

2008-02-17 Thread Elizabeth M Smith
Simon Giddings wrote: > Hello, > > I am trying to setup a dev environment on my Win XP Pro SP2 system. > I already have MySql Community server v5.0.24. > I install Apache server v2.2.8 with SSL on localhost. > I install PHP version 5.2.5 using the installer selecting : > MySql > MySqli >

Re: [PHP-WIN] string function

2008-02-08 Thread Elizabeth M Smith
Viola Holownia wrote: > hi > > Have you tried ereg_replace() ? > http://www.php.net/manual/en/function.ereg-replace.php > > > cheers > viola > I would NOT suggest ereg_replace, especially on windows - if you need to do advanced replacement and str_replace doesn't work, try preg_replace - http:

Re: [PHP-WIN] mssql and latin characters

2008-01-22 Thread Frank M. Kromann
connect('server','user','pass'); > mssql_select_db('db'); > > $r = mssql_query(“select some_column from some_table”); > $d = mssql_fetch_assoc($r); > > echo $d['some_column']; > ?> > > My PHP is 4.4.3, and my OS is XP. > >

[PHP-WIN] Re: Building PHP 5.2.5 for win32

2007-12-15 Thread Elizabeth M Smith
Michael Tyson wrote: Hiya, We're using PHP/Java Bridge (PJB) with PHP 5.1.6 and Apache 2.0.61 on Windows, and experiencing frequent segfaults of Apache. Inspecting the dump reveals that PHP is crashing somewhere, something to do with a null pointer exception when reporting an error - seeming

Re: [PHP-WIN] What's the difference between and ???

2007-09-30 Thread M. Sokolewicz
grep, replace all thanks for the quick reply. I agree it is good to follow the rules (i mean standard ;) ), But the thing is if I use some script written by someone else, i have to rely on his/her choice. Thanks On 9/30/07, TG <[EMAIL PROTECTED]> wrote: There's a setting in php.ini that dictat

Re: [PHP-WIN] Outlook 2007

2007-09-13 Thread M. Sokolewicz
Gustav, it's great that you're an active poster here, but I am starting to get the feeling you're into this all too deep. You have no idea what's going on, and instead of starting slowly and learning, you just dive in, get lost and ask the mailinglist to help you with every single problem you

Re: [PHP-WIN] ORDER BY is not sorting

2007-08-01 Thread M. Sokolewicz
Gustav Wiberg wrote: Hi! I can't see anything with your code either. Mysql_fetch_array should work fine yes. No indexes are needed to sort fields, but are recommended for speeding up the process :-) How does the table users look like? (Please send a link to a screenshot or something like tha

Re: [PHP-WIN] Arrays past to functions

2007-07-27 Thread M. Sokolewicz
Niel Archer wrote: Hi hi Niel, I believe Jacob wanted to know how he could calculate the tax for _all_ states passed in as an array in one go. Yours simply gives it for 1 State ("locale"). Other than thatm $taxRate($state) translates to Array($state) which gives an E_FATAL_ERROR obviously.

Re: [PHP-WIN] Arrays past to functions

2007-07-27 Thread M. Sokolewicz
Niel Archer wrote: Hi Jacob. Spotted another problem. function compute_salestax ($Amount , $State) { $taxRate = array("CA" => 5 , "WA" => 7, "OR" => 8); return $Amount / 100 * $taxRate($State); } $payment = 1500; $locale = 'CA'; print "Tax on $amount in $locale is " . compute_salesta

Re: [PHP-WIN] Arrays past to functions

2007-07-27 Thread M. Sokolewicz
etax "; }} $Amount = 1850; compute_salestax($Amount , $State); - When I run it, I get this ----- 0= | 0 1=1.08 | 1998 2=1.05 | 1942.5

Re: [PHP-WIN] Arrays past to functions

2007-07-27 Thread M. Sokolewicz
break; // etc. default: $tax = false; } if ($tax != false) { return ($Amt * $tax); } else { die("State not found!"); // or some other graceful method... } } ComputeSalesTax(2000, "CA");

Re: [PHP-WIN] Re: php-windows Digest 23 Jul 2007 22:52:16 -0000Issue 3288

2007-07-26 Thread M. Sokolewicz
I'm not sure what you're replying to exactly. First of all, Sandeep just sent back the mailinglist-digest mail from last week which is a combination of all mails posted to this mailinglist in the last 7 days. He did not actually _ask_ anything or even _say anything at all_ (Sandeep, don't do th

Re: [PHP-WIN] How do configure PHP support for MySQL on Windows?

2007-07-24 Thread M. Sokolewicz
If that's literally from a book then I strongly suggest you burn the book. I would never trust _anything_ learned from a book that actively disables error-reporting on almost _all_ functions. Kick out all the @ operators and you might start seeing errors (they force PHP to ignore them silently)

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

2007-06-26 Thread M. Sokolewicz
http://www.php.net/manual/en/language.oop5.magic.php Gustav Wiberg wrote: Hi again! I really can't find a manual for __sleep on the php.net site!? But I understand that __sleep is called before serialize and __wakeup is called before unserialize? Do you mean that I create a function __sleep

Re: [PHP-WIN] How to use Windows Authentication (SSPI) with mssql_connect command ?

2007-05-31 Thread Frank M. Kromann
But instead of them having to log in, it would just pull the "username" > from their NT account. > > > On 5/31/07, Frank M. Kromann <[EMAIL PROTECTED]> wrote: > > > > that will be the user configured under IIS (IUSR_). You don't > > need that

Re: [PHP-WIN] How to use Windows Authentication (SSPI) with mssql_connect command ?

2007-05-31 Thread Frank M. Kromann
name of the person that is trying to update the > database? > > On 5/30/07, Frank M. Kromann <[EMAIL PROTECTED]> wrote: > > > > use the mssql.secure_connection = On in your php.ini file and make sure > > the > > IIS users has access to the database. > >

Re: [PHP-WIN] How to use Windows Authentication (SSPI) with mssql_connect command ?

2007-05-30 Thread Frank M. Kromann
use the mssql.secure_connection = On in your php.ini file and make sure the IIS users has access to the database. - Frank > Hi, > > Does someone knows how to use the Windows Authentication (SSPI) with > mssql_connect() ? > > Here's my trouble : > I'm using an MS SQL Server 2000 and use the win

Re: [PHP-WIN] MSSQL returned: Invalid object name

2007-03-23 Thread Frank M. Kromann
This sounds like your MSSQL connections are getting mixed up. If the two databases are on the same server and the same sql login has access to both databases you can query everything from a single conenction. You just have to qualify the tables/procedures with ..table to the server knows where to

Re: [PHP-WIN] PHP4 and DST Changes

2007-03-12 Thread Frank M. Kromann
My old copy of PHP 4 works just fine on windows. Check your settings on windows. Did you enable DST?, did you patch the box with the latest update from MS? - Frank > to php-db.. this might related to database. > forgive me if this contain spam. > - Original Message - > From: "James Crow"

Re: [PHP-WIN] proc_open on windows in CLI - DOS windows

2007-03-09 Thread Frank M. Kromann
Try stating the process with php-win.exe. - Frank > I need a piece of advice from PHP experts and I'm sure you can help me. > I want to start and then control a process in PHP CLI on Windows. > I decided to use proc_open as it is really powerfull. It works > perfectly but I get a DOS window ever

Re: [PHP-WIN] windows printing and label printer

2007-02-14 Thread Frank M. Kromann
Hi Ethan, Check your script fom the command line (Using CLI version of PHP). If that works check that the user running your web server as access to the printer. - Frank > Hello, > > I'm using an epson label printer and have it installed on the server with > the printer.dll installed. However,

Re: [PHP-WIN] SSL on Windows Server 2003

2007-02-07 Thread Frank M. Kromann
> Good Day To All, > > System Config: > Windows Server 2003 > PHP 5.2 > > I'm hoping someone can help give me a high level understanding between > the differences between an SSL certificate installed on my webserver and > an SSL module (e.g. OpenSSL) installed on my web server. > > 1. My cu

Re: [PHP-WIN] Missing PHP registered Streams: httpsand ftps

2007-01-04 Thread Frank M. Kromann
Here is the output from phpinfo(); Registered PHP Streams php, file, data, http, ftp, compress.zlib and when I load the openssl extension I get Registered PHP Streams php, file, data, http, ftp, compress.zlib, https, ftps I have all the PHP files in c:\php5, including the extra DLL's. I'm

Re: [PHP-WIN] Missing PHP registered Streams: httpsand ftps

2007-01-04 Thread Frank M. Kromann
Hello Stelios, php_openssl.dll requires one or more dll's to load. Can't remember the names off hand, but it's something like sas*32.dll. If these are not found the extension will not load. You can check phpinfo() to see if it loads. - Frank > Hello Frank, > > The extension is already loaded in

Re: [PHP-WIN] Missing PHP registered Streams: https and ftps

2007-01-03 Thread Frank M. Kromann
Loading the OpenSSL extension should help. Just add extension=php_openssl.dll to your php.ini file and restart the web server. - Frank > Hello Guy's, > we have a problem. Our customer is running an Internet Shop with osCommerce. > We have installed for him an Contribution for making Credit Card

Re: [PHP-WIN] php_mssql.dll

2006-12-11 Thread Frank M. Kromann
Please read http://php.net/mssql. Under requirements for win32 you will find this section. The extension requires the MS SQL Client Tools to be installed on the system where PHP is installed. The Client Tools can be installed from the MS SQL Server CD or by copying ntwdblib.dll from \winnt\syste

RE: [PHP-WIN] SQL Server 2005

2006-12-03 Thread Frank M. Kromann
'm relatively new at) I've always used the mssql_* functions. > > > Regards, > > Bruce > > >>> git <[EMAIL PROTECTED]> 2/12/2006 1:43 a.m. >>> > On Wed, 15 Nov 2006 02:17:07 -0800, Frank M. Kromann wrote: > > > Hello, > &g

Re: [PHP-WIN] PHP DLL's

2006-11-16 Thread Frank M. Kromann
Sounds like a version problem. PHP's dll's can not be shared between 5.0.x and 5.2.x Make sure you delete all copies of dll's from version 5.0. This includes copies in \windows\system32 or other directories included in your path or bin directory for apache. - Frank > Hi all, > > > > I was ru

RE: [PHP-WIN] SQL Server 2005

2006-11-15 Thread Frank M. Kromann
Hello, This is not correct. PDO and native mssql_*() functions exists in two fifferent versions. The version compiled with Microsofts (old) version of dblib has the restrictions mentioned here but the version compiled with FreeTDS (php_dblib.dll and php_pdo_dblib.dll) does not. - Frank > Hello,

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

2006-11-04 Thread Frank M. Kromann
ain. > 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 / Vista > > Works almost like PHP5 on XP or Windo

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

2006-11-03 Thread Frank M. Kromann
And this can also be done by creating a file caled web.config in the directory where you want php support. The vile should look like this: - Frank > Works al

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

2006-11-03 Thread Frank M. Kromann
Works almost like PHP5 on XP or Windows 2003 with IIS5/6 1) Copy php to a directory (c:\php5) 2) Start the IIS manager and create a site or virtual directory 3) Add a script mapping for .php to point to php-cgi.exe or php5isapi.dll That's it. - Frank > Anybody got PHP 5 running with IIS 7 on Wi

Re: [PHP-WIN] Comunication between php and a window service

2006-10-29 Thread Frank M. Kromann
The sockts (php_sockets.dll) allows you to communicate with any socket based server. - Frank > Is there a way to comunicate between php and a window service? (by Sockets?) > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP W

Re: [PHP-WIN] PHP_PRINTER.DLL - NetBIOS prints, TCP/IP doesn't

2006-10-29 Thread Frank M. Kromann
You can use any shared printer as long as the server can access it without the use of username and password. Make sure your server has access to the printer (for the user running the web server). That said - server side printing is designed to be server side. The browser comes with a nice printer

Re: [PHP-WIN] Checking for result of call to mssql_query()

2006-10-12 Thread Frank M. Kromann
Hi Alf, As far as I can tell it's working just fine. Hre is a sample: and here is the output: bool(true) Warning: mssql_query(): message: Syntax error converting the varchar value 'aa' to a column of data type int. (severity 16) in C:\php5\test\mssql_error.php on line 10 Warning: mssql_query

Re: [PHP-WIN] RE: SPAM-LOW: [PHP-WIN] Unicode data w/ PDO DBLIB, MSSQL

2006-10-09 Thread Frank M. Kromann
The mssql extension comes in two different versions on Win32 systems. php_mssql.dll and php_pdo_mssql.dll are compiled and linked with ntwdblib from Microsoft php_dblib.dll and php_pdo_dblib.dll are compiled and linked with FreeTDS. The FreeTDS versions uses a more recent version of the protocol

Re: [PHP-WIN] IIS7, php and extensions

2006-10-01 Thread Frank M. Kromann
I think you need to place php.ini in c:\windows. If you would use the cgi version of php you can have the php.ini file in the same directory as the rest of the php files. I'm running the cgi version and I do not have any problems with extensions. - Frank > Hi, > I have intalled the RC1 of Window

Re: [PHP-WIN] cookies time?

2006-09-18 Thread Frank M. Kromann
both time() and mktime() works fine on Windows. - Frank > Well, reading the documentation about cookies i saw that the function time() > works using UNIX epochs. If I try to use this function (or mktime) in > windows, the php shows a white page, like there's an error somewhere. > > It's a proble

Re: [PHP-WIN] Navision ODBC

2006-08-19 Thread Frank M. Kromann
Hi Joakim, Many years ago (Before Microsoft bought Navision) the ODBC driver was read only so I created native php extensions for both the DOS and Windows version of Navision. Back then called Navision 3.5.x and Navision Financials 2.x. I have not touched Navision in the past 6 years but I might

RE: [PHP-WIN] Localhost does not work

2006-08-10 Thread Frank M. Kromann
Hello, MSSQL Server requires the use of server aliases. Use the Cleint Network Utility to create aliases that links a name to a server and a protocol. If PHP is running on another box you can install the Client Tools from the SQL server CD. Copyiing ntwdblib.dll does not give you the complete set

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

2006-06-20 Thread Frank M. Kromann
The SQL Server is configured to only allow connections from trusted users. Use mssql.secure_connection = 1 in php.ini when connection to the server. - Frank > What is your connection string? > > Tryst > > -Original Message- > From: Dale D. Attree <[EMAIL PROTECTED]> > To: php-windows@li

Re: [PHP-WIN] php displays nothing

2006-05-30 Thread M. Sokolewicz
Alf Stockton wrote: Luis Moreira wrote: Personally, I do it the hard way : Beginning at the very first line of code, a message saying something like "just got in", and then lots, and lots and lots and lots of echo messages throughout the code, including messages on the procedures and function

Re: [PHP-WIN] Apache 2.2 and PHP-5.1.4

2006-05-23 Thread Frank M. Kromann
Apache 2.2 support is included with the Windows builds from version 5.2.0 of PHP. - Frank > 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: > > The indica

Re: [PHP-WIN] Getting Started

2006-05-01 Thread Frank M. Kromann
Did you restart apache after changing http.conf? - Frank > Hi, I have never set up php, or a server for that matter, before and I am > having trouble getting php to work. I have downloaded the latest files for > windows from the php website and I have the latest 2.0 version of Apache. I > have

Re: [PHP-WIN] php_win32service.dll - constants defined multiple times?

2006-02-19 Thread Frank M. Kromann
Hi, That's a bug. I have just commited a fix. Thsis will be available in the next build. - Frank > Using php 5.1.2 with the php_win32service.dll extension(downloaded for > 5.1.2). The only line I've added to php.ini is as follows: > > extension = php_win32service.dll > > Now, each and every f

[PHP-WIN] Re: Test.php loads, but nothing in Browser

2006-01-27 Thread M. Sokolewicz
actually, the closing tag is optional in php; it's not required(!) and PHP also doesn't mind a ton of whitespaces, it ignores them I would also suggest checking your display_errors value in your php.ini, make sure it's On. - tul Howard wrote: Error Reporting is set as you show. I changed

[PHP-WIN] Re: any good suggestion on books

2006-01-14 Thread M. Sokolewicz
El Bekko wrote: pfancy wrote: for beginners. I've been browsing the group for a little while. I honestly have not gotten a book to learn php on. just wanted to learn and see what you all were saying here. I'm not going to ask question about php since I haven't started yet, My question I am

Re: [PHP-WIN] Re: Windows 2003 server and IIS 6

2006-01-11 Thread Frank M. Kromann
I've been using PHP5 on my Windows 2003 servers for more than a year now. No problems at all. Using PHP with Apache on Windows based systems is another alternative and that works fine too (even better in many cases). - Frank > I recommend staying AWAY from PHP 5. We were getting alot of random

Re: [PHP-WIN] If code not working?

2006-01-04 Thread M. Sokolewicz
I agree with the points about the futility of having a 0 there, however, it won't have any impact on how it works :) why? just follow the logic: if the ip equals x.x.x.x: access_disabled OR if the ip equals y.y.y.y: access_disabled OR if FALSE: (never happens) so, what you get is that on true fr

RE: [PHP-WIN] cant connect to mssql

2005-12-16 Thread Frank M. Kromann
Well this list is designated to questions about PHP on Windows platforms so I would say that this is the right list. As for the conection problem, I would check the security seiitings in MS SQL Server. If the server is set to allow domain authentication you have to use mssql.secure_connection = On

[PHP-WIN] Re: HTML event handling

2005-11-28 Thread M. Sokolewicz
Panos Laganakos wrote: Is it possible to handle the X/HTML events through PHP or, its only possible through JS? i.e. could I handle an onload event? Seen as PHP is a *serverside* language and JS is a *clientside* language combined with the fact that DOM events (which includes XHTML/HTML eve

[PHP-WIN] Re: [PHP] Re: Wanna Join me for an open source PHP Project?

2005-11-26 Thread M. Sokolewicz
Robert Cummings wrote: On Sat, 2005-11-26 at 14:03, M. Sokolewicz wrote: Robert Cummings wrote: On Sat, 2005-11-26 at 11:09, M. Sokolewicz wrote: I'm pretty sure something like this already exists. Why? because I know somebody who uses it. Ok, so it's written in asp (by MS

[PHP-WIN] Re: Parse errors not showing up in the browser

2005-11-26 Thread M. Sokolewicz
Wayne Khan wrote: Hi all, I am using Sokkit 3.5, and my parse errors are not showing up in the browser. I'm sure its something to do with php.ini, and trust me I've tried changing it, but it still doesn't show the parse errors. The result is that I spent a lot of time looking for that extra (or m

[PHP-WIN] Re: [PHP] Re: Wanna Join me for an open source PHP Project?

2005-11-26 Thread M. Sokolewicz
Robert Cummings wrote: On Sat, 2005-11-26 at 11:09, M. Sokolewicz wrote: I'm pretty sure something like this already exists. Why? because I know somebody who uses it. Ok, so it's written in asp (by MS if I'm not mistaking), still... I wouldn't know why you'd want t

[PHP-WIN] Re: Wanna Join me for an open source PHP Project?

2005-11-26 Thread M. Sokolewicz
I'm pretty sure something like this already exists. Why? because I know somebody who uses it. Ok, so it's written in asp (by MS if I'm not mistaking), still... I wouldn't know why you'd want to write a new one in php... seems hard to make to me; might be wrong though. anyway, good luck bala c

Re: [PHP-WIN] Re: PHP retrieve Client machine name

2005-11-17 Thread Frank M. Kromann
I Think the corret answer to this question is $REMOTE_ADDR or $_SERVER['REMOTE_ADDR']. This will return the IP address of the client that connects. - Frank > Hello, > > on 11/17/2005 02:42 PM Alf Stockton said the following: > > In a PHP 5.0 program running under Windows 2000 with Apache 2 I nee

Re: [PHP-WIN] Printing in windows

2005-11-17 Thread Frank M. Kromann
Hi Fernando, the printer_write() function writes directly to the printer and you do not need to call printer_start_doc(), priner_start_page() etc. These functions must be used if you are printing useing the printer_drap_text(). Here is two examples from the documentation: - Frank > > Gr

Re: SV: SV: [PHP-WIN] mssql tcp

2005-11-16 Thread Frank M. Kromann
o CGI? > > // jocke > > > -Ursprungligt meddelande- > Från: Frank M. Kromann [mailto:[EMAIL PROTECTED] > Skickat: den 15 november 2005 17:23 > Till: Joakim Ling > Kopia: php windows; Robert Twitty > Ämne: Re: SV: [PHP-WIN] mssql tcp > > Hi Jocke, > > Well I work wit

Re: SV: [PHP-WIN] mssql tcp

2005-11-15 Thread Frank M. Kromann
Hi Jocke, Well I work with PHP and MSSQL and I know a bit about the broblems too. The library used to build the extension (msdblib) is not thread safe so if you are using the extension on a hight trafic server under Apache or ISAPI you might find odd problems. This has nothing to do with PHP. Usin

[PHP-WIN] Re: Handling objects (again)

2005-11-12 Thread M. Sokolewicz
Marcos R. Cardoso wrote: > Hello to everyone, > > I'm manipulating objects in some scripts I've developed, and I've come > across a doubt: I perform a query and do some checkings, but to perform > this checkings I need to instantiate an object, and I really don't know > how to do it without crashi

Re: [PHP-WIN] How to user mssql_connect to connect to a sql server other than on port 1433?

2005-10-27 Thread Frank M. Kromann
You can't specify the port when connecting with mssql_connect() but you can use the Client Network Utility (this is installed when you install the MS SQL Client tools on your PHP server) to create a server alias. The server alias includes the protocol, host name and port number you are using and yo

Re: [PHP-WIN] php_zip PHP 5.05 extension issue

2005-09-29 Thread Frank M. Kromann
Put a copy of php.ini in c:\windows. I think that's the only place it can be found when you use the ISAPI module. - Frank > Hi, > I installed php in c:\inetpub\php folder and gave access to IIS user. > My web server is IIS5. > I added HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath = ini path directo

Re: [PHP-WIN] Re: Calling MSSQL Stored Procedure

2005-09-16 Thread M. Sokolewicz
Alf Stockton wrote: Mark Rees wrote: I get 2005/09/16 10:09:22 AM which is exactly the same format as it appears in the database table when viewed via Enterprise Manager. I wouldn't set too much store by how it looks in EM. It is a datetime value, so its internal representation will b

Re: [PHP-WIN] MSIE problems

2005-09-16 Thread M. Sokolewicz
Bob Stout wrote: Bob Stout wrote: Although it works fine with Firefox, whenever I use a object to open a PHP file in a frame, with an internal reference, it ignores the reference. IOW, if the link I want in the frame is "somefile.php", everything works OK. If, instead, the link I want in the

  1   2   3   4   >