Re: [PHP-WIN] Surprises with PHP4/IIS?

2001-05-10 Thread Joe Brown
The stability of a modules (actually used) on a specific website have impact on the stability of PHP. The CGI version has a short life span, it services one request then vanishes. The SAPI version lives much longer. On IIS it may live the entire lifespan of the IIS process. Apache can be set t

Re: [PHP-WIN] Need someone with some experience

2001-05-09 Thread Joe Brown
Dump the records into a temp table. Make sure you don't design a system that ends up loosing Data Entry somehow. You could store info into an array, but what happens when a connection is broken,etc... ??? ""Asendorf, John"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PRO

Re: [PHP-WIN] symlinks

2001-05-09 Thread Joe Brown
AFAIK, Shortcut.lnk is the closest you're going to come to symlinks on NT. I also believe hardlinks are possible, but you need NTFS for that. The best way to implement symbolic links on NT is to overwrite it w/Linux. "Jourden Parks" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:

Re: [PHP-WIN] ISAPI

2001-05-09 Thread Joe Brown
My preference is to run Apache/PHP on Linux. Since I don't always get my way Apache/PHP on Windows is good. I spent a little time attempting IIS. When it wouldn't respond to the Management Console and I had to reboot the server to restart IIS, I decided it was the worst solution for any problem

Re: [PHP-WIN] Persistent DB Connections with CGI - Via Java...

2001-05-09 Thread Joe Brown
""Dickerson, Monty"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > The Problem: php only runs reliably as a cgi on Windows, so it lacks static > DB connections. This is a false statement. I have an implementation of apache/php SAPI running in a production

Re: [PHP-WIN] Confused...on database modules

2001-05-09 Thread Joe Brown
Yes, I believe it is possible. You may need to use the sybase client, or venture down the odbc. ""macky"" <[EMAIL PROTECTED]> wrote in message 9daucu$enf$[EMAIL PROTECTED]">news:9daucu$enf$[EMAIL PROTECTED]... > MSQL is it a driver for Microsoft SQL Server..? > > if no is it possible to connect

Re: [PHP-WIN] PHP4.05-Apache1.13.19-Win2k

2001-05-09 Thread Joe Brown
Don't forget to place php4ts.dll in the proper place also. php4apache.dll is the apache interface to php4ts.dll which is the meat of PHP. -Joe ""Nick"" <[EMAIL PROTECTED]> wrote in message 9dbdci$cun$[EMAIL PROTECTED]">news:9dbdci$cun$[EMAIL PROTECTED]... > Hi, > > still can't get php 4.05 work

Re: [PHP-WIN] PHP and HTML

2001-05-08 Thread Joe Brown
Well, you can tell apache to filter html through php by adding the .html extension to the directive suchas: AddType application/x-httpd-php .php .html If you serve a lot of .html, this will probably slow your server down because all .html files will be filtered through php You can set index.php

Re: [PHP-WIN] anti-advocacy: Larry Seltzer, pcmag May'01 pub.

2001-05-08 Thread Joe Brown
LOL... I think his article is fine. PC-MAG caters to mostly windows users. And honestly, there are issues in php that haven't matured to 5 * rating. I think the developers are making leaps and bounds toward a solid windows product. There are many compilicatons that will cause the average PC-M

Re: [PHP-WIN] Path error session.save_path at php.ini.

2001-05-04 Thread Joe Brown
It works if you have a c:\tmp directory and you run php from the c: drive. However, instead of creating a tmp directory, you may want to alter your php.ini to point it to a directory of your choice. -Joe ""Chris Boothe"" <[EMAIL PROTECTED]> wrote in message 001501c0d4cc$8c78d580$4c347218@fw1">n

Re: [PHP-WIN] PHP 4.05, IIS5 and session...

2001-05-04 Thread Joe Brown
Where is the php.ini file your editing? c:\windows\php.ini? ""Shawn Anderson"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have tried c:\temp, c:\php\temp, c:\inetpub\wwwroot\cgi-temp all with the > same result and same error code. It would appear that n

Re: [PHP-WIN] PHP 4.05, IIS5 and session...

2001-05-04 Thread Joe Brown
Do you really have a \tmp directory? is it c:\tmp or c:\temp? Which does your php.ini specify? ""Svensson, B.A.T. "" <[EMAIL PROTECTED]> wrote in message 27E647E5629ED211BF78009027289C6302E73927@mail1">news:27E647E5629ED211BF78009027289C6302E73927@mail1... > > > >-Original Message- > >Fro

Re: [PHP-WIN] Oracle fetch array

2001-05-03 Thread Joe Brown
while (ora_fetch_into($curs, &$row1)){ explode($row1); echo "$NAME now = ".$rowl[1]; (I think the function is explode, if not I'm sure it begins with an e, if that helps... ;-) "Tom Mathews" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > In MySQL, you can

Re: [PHP-WIN] PHP 4.0.4 With Multiple Oracle Homes

2001-05-02 Thread Joe Brown
I find the whole concept of "oracle home" a nightmare. Reguardless of my opinion, the main difference between oracle homes is the location of executable files and the location of the TnsNames.ora file. The PHP_OCI8 module is mostly just a client network interface. As long as the PATH environmen

Re: [PHP-WIN] Get the string between custom delimiters

2001-04-30 Thread Joe Brown
That's pretty much what an xml parser does, isn't it? ""Matthew Ralston"" <[EMAIL PROTECTED]> wrote in message 9cjob9$cur$[EMAIL PROTECTED]">news:9cjob9$cur$[EMAIL PROTECTED]... > Is there a nice easy function that could be used to get a sub string that > lies in between two other sub strings in

Re: [PHP-WIN] Compiled PHP 4.06 & ISAPI

2001-04-29 Thread Joe Brown
LOL... 4.0.5 hasn't been released as yet, it's due to be released Monday (in a few hours). Yes, 4.0.6 has more bug fixes in it as well, but it's not been alpha tested yet. I built an Apache module today and OCI8. Looks pretty good so far. If you're really nice to me, and tell me what you requi

Re: [PHP-WIN] RE: Several " Constant already defined " errors.

2001-04-26 Thread Joe Brown
Actually, this is probably has something to do with the way Nuke is allocating memory on a threaded server. Threaded support is fairly new to PHP. If the module does not carefully observe memory allocations, Constants seem to be the first thing to get hosed. "Florian Clever" <[EMAIL PROTECTED]>

Re: [PHP-WIN] Sessions

2001-04-25 Thread Joe Brown
I haven't worked with trans_sid much, so I'm not very familiar with the specifics. The problem is that the get variable PHPSESSID or whatever is passed as a get while the action of a form is POST. One workaround is to create a hidden input named PHPSESSID or SID and set it's value to . Good luc

Re: [PHP-WIN] IIS5 PHP Fails

2001-04-17 Thread Joe Brown
Or better yet, download and install Apache! I got bit w/iis4 and shutdown startup not working ... Am now using php4apache.dll instead of the cgi on a production server now. >8^O ""Phil Driscoll"" <[EMAIL PROTECTED]> wrote in message 009001c0c76a$3a4d2910$0c01a8c0@philsntserver">news:009001c0c7

Re: [PHP-WIN] MySql pconnect

2001-04-15 Thread Joe Brown
But my point is that the communication overhead is still gained by process based systems. True they don't have the same pooling ability, as does a threaded process management. Overhead saved using pconnect is that which is being debated here. On a side note The OCI8 module in it's latest r

Re: [PHP-WIN] HELP!!! (PHP-WINDOWS98-APACHE)

2001-04-03 Thread Joe Brown
You need php4apache.dll only if you are running php as a module of Apache, not as a CGI or executable. php.exe does not require php4apache.dll, php4apache.dll does not require php.exe. They are mutually exclusive. ""Bhala"" <[EMAIL PROTECTED]> wrote in message 99vol8$3di$[EMAIL PROTECTED]">news

[PHP-WIN] Compiling, How to resolve com?

2001-03-25 Thread Joe Brown
I've been trying to compile php4 on Windows. Almost there, but I haven't figured out how to resolve this, except to yank COM stuff out of the source. Haven't figured out how to compile oci8 either, but that's secondary to the initial obstical. With RC1 and the latest snaps, there are unresolved

Re: [PHP-WIN] Building PHP4 Problem

2001-03-22 Thread Joe Brown
What do you have %CYGWIN% set to? Looks like it needs to be drive:\base\path\to\cygwin ""Alan Flockhart"" <[EMAIL PROTECTED]> wrote in message 99cje9$t28$[EMAIL PROTECTED]">news:99cje9$t28$[EMAIL PROTECTED]... > Hi I was wondering if anybody had replied directly about this as I have the > same pr

Re: [PHP-WIN] apache + php + system() = error :(

2001-03-20 Thread Joe Brown
rking (???) enabled? ... > > but after all this -forking- is not the issue here ... the real problem is > that I MUST USE external executable's and i can't see a way to do that ... > > must i really take a shot, using PERL ? > > camooon ... > > Jürgen. > &g

[PHP-WIN] different bug - define constants/includes (was Re: [PHP-WIN] class and dynamic includes (IIS))

2001-03-20 Thread Joe Brown
I did some tracing on this bug I was experiencing. With this code at the top of an include file, the results are unpretictable. if(!defined("METABASE_MYSQL_INCLUDED")) { define("METABASE_MYSQL_INCLUDED",1); ...rest of include file... } require_once(); seems to work t

[PHP-WIN] class and dynamic includes (IIS)

2001-03-19 Thread Joe Brown
This appears to be an IIS specific issue. Using IIS and Manuel Lemos' Metabase, I'm getting errors in metabase_interface.php. Fatal error: Cannot instantiate non-existent class: metabase_oci_class in metabase/metabase_interface.php on line 99 It's quite inconsistent. After recieving this error

Re: [PHP-WIN] Download Prompt Problem

2001-03-19 Thread Joe Brown
Cute... I think you've got a couple of things to do now. Your computer now has the file type .php associated with php.exe. If that was what you really wanted great! But I think it's not what you were looking for. Under IIS on my box, I have properties for the computer a section called Compute

Re: [PHP-WIN] apache + php + system() = error :(

2001-03-19 Thread Joe Brown
Forking is a unix thing... What happens when a process comes to a fork in the road, it splits and continues in two directions. You can't execute a batch file, you need the command intrepreter to handle that one, so the previous suggestion should be accurate. If you're on NT or 2000, maybe cmd.e