[PHP-WIN] Re: PHP: Automatically detecting Internet Speed

2006-11-27 Thread Alex Turner
Daniel Anderson wrote: Hey, is there a particular algorithm that will enable the PHP script to detect the user's internet connection? Cheers, Dan The short answer is no. If you want the long answer - please let me know - but it is quite long :-) AJ -- www.cubicalland.com -- PHP Window

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

2006-10-14 Thread Alex Turner
Mike Matz wrote: Is there currently any way to retrieve Unicode data from SQL Server? I'm working with SQL Server Express 2005, on a database that's been restored from an old SQL Server 2000 database. I'm writing a PHP script that imports data from the MSSQL database, processes it, and adds it t

[PHP-WIN] RE: TPN POSSIBLE SPAM:RE: [PHP-WIN] Re: Problems with fscanf [WORKAROUND] fgetc

2006-09-29 Thread Alex Turner
Piqué'; Alex Turner Cc: php-windows@lists.php.net; 'Stanislav Malyshev' Subject: TPN POSSIBLE SPAM:RE: [PHP-WIN] Re: Problems with fscanf [WORKAROUND] fgetc The "{} syntax" means to run a command whithin another command, whitout having to store results previously. As an ex

[PHP-WIN] RE: TPN POSSIBLE SPAM:Re: [PHP-WIN] Re: Problems with fscanf [WORKAROUND] fgetc

2006-09-29 Thread Alex Turner
http://www.project-network.com"www.project-network.com _ From: German Piqué [mailto:[EMAIL PROTECTED] Sent: 29 September 2006 11:35 To: Alex Turner Cc: php-windows@lists.php.net; Stanislav Malyshev Subject: TPN POSSIBLE SPAM:Re: [PHP-WIN] Re: Problems with fscanf [WORKAROUND] fgetc mmm..

Re: [PHP-WIN] Re: Problems with fscanf [WORKAROUND] fgetc

2006-09-28 Thread Alex Turner
Stanislav Malyshev wrote: German Piqué wrote: Well, I managed to work with the spaces but using fgetc instead of fscanf. Just as a note I think it would be much more efficient to use fgets or fread and then parse resulting string using regular expressions. Unless you have some limitations

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

2006-09-25 Thread Alex Turner
German Piqué wrote: 2006/9/13, Alex Turner <[EMAIL PROTECTED]>: Dale Attree wrote: > 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. With this solution... I readed that i need p

[PHP-WIN] Re: FastCGI with IIS on Windows?

2006-09-25 Thread Alex Turner
Aspen Olmsted wrote: Hello, I need to use IIS on windows 2003 boxes and I am trying to figure out the best way to configure this. I believe fastcgi is the way to go but I am confused on the setup. There is an isapi_fgi.dll that works with 5.2? but not 5.1.x? What is php-cgi.exe? Is this a

Re: [PHP-WIN] A problem writting to a file

2006-09-25 Thread Alex Turner
German Piqué wrote: Well, I tried and all of you were right... but I tried it a days ago and it didn't worked!! :( That's fustrating... I don't understant why works now... Well... Thank you all :D 2006/9/20, Mikael Krogius (Winwap Technologies) <[EMAIL PROTECTED]>: > I don't know if its a wi

Re: [PHP-WIN] Reverse DNS/IP

2006-09-25 Thread Alex Turner
Stut wrote: Daniel Anderson wrote: I see what you mean though, but it would still be handy to find out how to find the Reverse IP/DNS anyway. Does anyone know? http://php.net/gethostbyaddr -Stut Daniel, Just be careful because if you ban people by ip/dns you will end up banning a lot of

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

2006-09-13 Thread Alex Turner
Dale Attree wrote: 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] Re: Problem with execution external script

2006-09-10 Thread Alex Turner
DevPhp wrote: Hallo, thanks for reply. Also - why double launch? Why not launch csript directly? I've tried to launch Cscript directly...but it didn't work, So I try to launch it in an alternative way, to bypass the permission problem. It's not necessary double launch I guess that you

[PHP-WIN] Re: [Linux dev] Undefined variables

2006-09-10 Thread Alex Turner
Alf Stockton wrote: Hendrik Visage wrote: On 9/8/06, Alf Stockton <[EMAIL PROTECTED]> wrote: In this little script:- Obviously $names won't be defined in the initial state the first time this line is hit, thus count($names) would/should be undefined... Interesting that this works on version

Re: [PHP-WIN] Re: [Linux dev] Undefined variables

2006-09-08 Thread Alex Turner
Foreach is very much better as it does not mean having to traverse the array to find the given value. If you have a long array, you'll find looking up a element by index gets slow. AJ Stut wrote: Hendrik Visage wrote: right> The rewrite below does not iterate around the array as you were i

[PHP-WIN] Re: Installation problems - Win XP with IIS and MySQ

2006-09-08 Thread Alex Turner
zerof wrote: Bradley Davidson escreveu: I have tried to follow the instructions to manually install PHP on Windows XP, using IIS and MySQL. I have been unable to test if PHP is installed because when I try to open a PHP file in a browser (either firefox or IE6) it launches Dreamweaver. What

[PHP-WIN] Re: Problem with execution external script

2006-09-08 Thread Alex Turner
DevPhp wrote: Hi, I've a problem with php and the execution of an external script. The script is adutil.vbs , belonging to the IIS administration Script on windows 2000 server. The vbs have to be execute with Cscript.exe. When I execute it from Dos shell there's no problems: for examples c:\C

Re: [PHP-WIN] Which Web Server Do You Use

2006-09-06 Thread Alex Turner
Leo G. Divinagracia III wrote: have you seen a web server built on php?? http://nanoweb.si.kz/ Yes - nice but I stayed away from it for serious work on Windows. I would think about it for small stuff on xnix. Just a personal thing, I got burned once thinking that PERL stuff like this,

[PHP-WIN] Re: Issue saving session on windows xp

2006-09-06 Thread Alex Turner
Kathy Lessa wrote: I am running PHP v5.1.6 on Windows XP Pro. I have been unable to save session variables, and I've tried everything I can think of with no luck so far. I have confirmed that I have writable access to my session save path, but session variables are still not saved. Does anyone h

[PHP-WIN] Eaccelerator

2006-08-31 Thread Alex Turner
All, I have just had some very pleasing success with Eaccelerator on windows. Has anyone else been trying this on windows. Has anyone had production experience with this? Thanks for any feedback. I have written up the work I have done so far at http://nerds-central.blogspot.com/2006/08/ea

Re: [PHP-WIN] Navision ODBC

2006-08-21 Thread Alex Turner
I don't want to be rude here! However, have you checked that the instance of Navision you are working with actually uses the old Navision DB. It is just that the later versions (post MS take-over) run on MS SQLServer as well. AJ www.deployview.com Joakim Ling wrote: Hi Frank That would b

[PHP-WIN] Re: Which Web Server Do You Use

2006-08-21 Thread Alex Turner
high load, this was a requirement of the sort of web application we are building. Please - I love Apache! We I have been involved on Unix/Linux/FreeBSD projects Apache is has been a no brainer. For windows though life is not so simple :-( Thanks for your input. AJ zerof wrote: Alex

Re: [PHP-WIN] Which Web Server Do You Use

2006-08-20 Thread Alex Turner
Thanks Bob - seems like a cool alternative! Before we built TAG.net we used EasyPHP for this. It is apache, but in general does not require any setup - just install and off you go: www-easyphp-org I'll make a summary of all the responses if there are enough. AJ Bob Stout wrote:

[PHP-WIN] Which Web Server Do You Use

2006-08-20 Thread Alex Turner
All, For over a year we have been developing our own web server for running PHP on windows. We tried Apache 1x and 2x and they did not quite fit the bill. The first was not stable enough and the second caused threading problems with our COM library. I am really interested in what configura

[PHP-WIN] COM Dlls Not Unbinding From Process

2005-12-31 Thread Alex Turner
Hi All, I am doing a lot of PHP work with COM. The system uses php 4.3.3.3 and php is being driven via FCGI from our own web server (TAG). We create an instance of an in-process COM server using the following technique: function GetFactory() { static $obj; static $objSet = 0; if($o