Re: [PHP-WIN] PHP IIS 4 and network drive

2001-05-09 Thread Ruslan Ohitin
Hello Jerome, Check access rights to \\SERVEUR\TEMP. The IIS4 process must have read permissions on it. J> I have 2 PCs. On the first, I installed PHP and IIS 4 on a windows NT server J> and on the second windows NT server without PHP or IIS4. But my web server J> (the first PC) haven't enough f

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

2001-05-09 Thread Tim Uckun
At 12:05 AM 5/10/2001 -0500, Greg Brunet wrote: >Tim: > >AAARRRGGH! They got it half-right with case insensitive functions and now >they're going to mess up the part that's done right!?! It is quite annoying >that they aren't consistent, but I was thankful that at least the functions >were workin

Re: [PHP-WIN] ISAPI

2001-05-09 Thread Tim Uckun
At 08:49 PM 5/9/2001 -0400, Joe Brown wrote: >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,

php-windows Digest 10 May 2001 04:58:55 -0000 Issue 589

2001-05-09 Thread php-windows-digest-help
php-windows Digest 10 May 2001 04:58:55 - Issue 589 Topics (messages 7401 through 7432): Restricting users to a specific directory 7401 by: Dan English symlinks 7402 by: Jourden Parks 7426 by: Joe Brown Problem with submit 7403 by: Jerry Nelson 7406

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

2001-05-09 Thread Greg Brunet
Tim: AAARRRGGH! They got it half-right with case insensitive functions and now they're going to mess up the part that's done right!?! It is quite annoying that they aren't consistent, but I was thankful that at least the functions were working "right". -- Greg "Tim Uckun" <[EMAIL PROTECTED]> w

Re: [PHP-WIN] PHP Preprocessor - URGENT

2001-05-09 Thread Ruslan Ohitin
Hello Chris, If you wants $QUERY_STRING only try this: 1) Create file wrapper.php: 2) php.exe -q wrapper.php CC> All - CC> I am using the php.exe preprocessor and I want to run the preprocessor manually and see the output it generates on a particular .php file I have wrote. CC> The .ph

RE: [PHP-WIN] HTML/PHP/Javascript

2001-05-09 Thread Mike Flynn
Not only that, but Bob, PHP is a *server-side* language. That means that all computing is done on the server before ever even being sent to the user. You can't call PHP on the fly -- it's done when the user requests the file, and then the resulting HTML is what the user gets. On the other h

RE: [PHP-WIN] PHP Preprocessor - URGENT

2001-05-09 Thread Ignatius Teo
I think you need to have argc & argv=On in your php.ini Ignatius -Original Message- From: Chris Cranford [mailto:[EMAIL PROTECTED]] Sent: Thursday, 10 May 2001 09:59 To: [EMAIL PROTECTED] Subject: [PHP-WIN] PHP Preprocessor - URGENT All - I am using the php.exe preprocessor and I want

RE: [PHP-WIN] HTML/PHP/Javascript

2001-05-09 Thread Ignatius Teo
Wouldn't it be simpler to have your PHP function in a discrete script file and call: ignatius -Original Message- From: Bob Sears [mailto:[EMAIL PROTECTED]] Sent: Thursday, 10 May 2001 10:45 To: [EMAIL PROTECTED] Subject: [PHP-WIN] HTML/PHP/Javascript Put on your thinking caps. I ne

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:

[PHP-WIN] PHP Preprocessor - URGENT

2001-05-09 Thread Chris Cranford
All - I am using the php.exe preprocessor and I want to run the preprocessor manually and see the output it generates on a particular .php file I have wrote. The .php file I have written requires some URL arguments which would normally be submitted in the QUERY_STRING argument on the URL lin

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

[PHP-WIN] HTML/PHP/Javascript

2001-05-09 Thread Bob Sears
Put on your thinking caps. I need to open a popup window and display its contents. Since PHP doesn't have that functionality, I am resorting to Javascript. The two will be used in the following manner:

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] Persistent DB Connections with CGI - Via Java...

2001-05-09 Thread Ignatius Teo
I'm running PHP4.05RC1 on W2K as an Apache module with no problems Sounds like you have a config problem? How have you set it up? Ignatius -Original Message- From: Tim Uckun [mailto:[EMAIL PROTECTED]] Sent: Thursday, 10 May 2001 06:55 To: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Pe

[PHP-WIN] Question

2001-05-09 Thread Chris Cranford
Hello Everyone I am using the PHP 4.0.5 I believe's php.exe preprocessor. How do I pass it the QUERY_STRING parameters from the dos window's command line ??? I need to do some manual testing and can not figure out how to pass it the URL's query line. Thanks Chris

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

2001-05-09 Thread Tim Uckun
> >Finally, one language issue that is a real pet peeve of mine is case >sensitive variable definitions. This is not a problem in either CFM or ASP. >While it can be somewhat worked around by setting the PHP error level >reporting to flag uninitialized variables, it is a deficiency that is long

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

2001-05-09 Thread Greg Brunet
Well, as much as I like PHP, the article is accurate as far as running it on Windows is concerned. It's not really a problem to get it running as an ISAPI module (though the Windows install program wisely sets it up in CGI mode only). I've continually tried to get the ISAPI version to handle som

[PHP-WIN] need some help with apahce-php-mysql under windows

2001-05-09 Thread Xytras
hi all, hope you can help me i'm new with php, i downloaded phptriad for windows already installed it, but i don't know how to start mysql i'm looking for phpmyadmin but can't find it thanks a lot to all for reading this mail and hope you can help me Xytras

Re: [PHP-WIN] ISAPI

2001-05-09 Thread Chris Adams
On 9 May 2001 12:07:54 -0700, Tim Uckun <[EMAIL PROTECTED]> wrote: > Is there a document that explains the intracasies of this environment. > If I decide to scrap IIS and go to apache will php run as a loadable module > or CGI? Will it be fast and efficient like ISAPI? Loadable module. And yes,

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

2001-05-09 Thread Tim Uckun
>1. Because we like php; it's a faster rapid development environment than any >of the environments you mentioned and has much shallower learning curve, >hence developer assistants cost less :) and are easier to find. > >2. Because there's a ton of cool software in the php language out there we >w

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

2001-05-09 Thread Dickerson, Monty
Tim-- 1. Because we like php; it's a faster rapid development environment than any of the environments you mentioned and has much shallower learning curve, hence developer assistants cost less :) and are easier to find. 2. Because there's a ton of cool software in the php language out there we w

Re: [PHP-WIN] ISAPI

2001-05-09 Thread Phil Driscoll
>What is the prefered way to run PHP in windows? As a CGI? As an apache >module? Aolserver? The Apache module seems to cut it for production environments from what I hear (no direct personal experience). Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http:

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

2001-05-09 Thread Tim Uckun
At 02:54 PM 5/9/2001 -0500, Dickerson, Monty wrote: >The Problem: php only runs reliably as a cgi on Windows, so it lacks static >DB connections. > >Idea: Make all DB queries through a JavaBean, which uses a pool of shared >JDBC connections. Abstract this behind a php API (class with methods) t

[PHP-WIN] PHP IIS 4 and network drive

2001-05-09 Thread Jerome
I have 2 PCs. On the first, I installed PHP and IIS 4 on a windows NT server and on the second windows NT server without PHP or IIS4. But my web server (the first PC) haven't enough free disk space to store data on it. Then I want to access with PHP on the second PC and for example list the shared

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

2001-05-09 Thread Dickerson, Monty
The Problem: php only runs reliably as a cgi on Windows, so it lacks static DB connections. Idea: Make all DB queries through a JavaBean, which uses a pool of shared JDBC connections. Abstract this behind a php API (class with methods) to hide its complexity. Surely somebody has thought of th

RE: [PHP-WIN] ISAPI

2001-05-09 Thread Tim Uckun
At 12:13 PM 5/9/2001 -0700, Flint Doungchak wrote: >Tim, > >Unfortunately, the ISAPI module just isn't stable on this platform. Sorry. What is the prefered way to run PHP in windows? As a CGI? As an apache module? Aolserver? I would rather not run it as a CGI because I need persistent database

RE: [PHP-WIN] ISAPI

2001-05-09 Thread Flint Doungchak
Tim, Unfortunately, the ISAPI module just isn't stable on this platform. Sorry. -Flint -Original Message- From: Tim Uckun [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 09, 2001 12:10 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] ISAPI Has anybody ever successfully ran PHP as an ISAP

[PHP-WIN] ISAPI

2001-05-09 Thread Tim Uckun
Has anybody ever successfully ran PHP as an ISAPI module in windows NT or 2000? I can installit and sometimes get it to print our the phpinfo() function but it's extremely flaky and frequently crashes. Is there a document that explains the intracasies of this environment. If I decide to scrap

RE: [PHP-WIN] Problem with submit

2001-05-09 Thread Schulz, Evan
Jerry, This is a very, very common problem. The other person has "error_reporting" in his php.ini set to E_ALL. Have him set his error_reporting to something a little more restrictive - like "error_reporting= E_ALL & ~(E_NOTICE | E_USER_NOTICE)". There really isn't anything wrong with the code

[PHP-WIN] Please Help / mail( ) under windows

2001-05-09 Thread M. Weller
Hello to all, I trie to sent images inside an Email under Windows 2kServer. using the mail() function under php4. It works fine as long as the image is smaller then 3kB. If the image is larger, the script takes ages an then it doesn't execute. Is it possible to solve this problem??? I am on thi

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

2001-05-09 Thread Bob Hall
>I'm about to create a piece of a project which which will be used to check >for errors in data entry. Every 500 records entered will prompt the user to >check their work. I have all of the triggers set up already. The database >is all Oracle, PHP 4.0.4 (1381 build). What I would like to do is

[PHP-WIN] Problem with submit

2001-05-09 Thread Jerry Nelson
We have two developers that are just learning PHP. Working with the following code I do not have any problems. However, the other person gets the error : Warning: Undefined variable: submit in . The code is : query($sql); echo "Thank You, come again\n"; }else{ ?> Acco

[PHP-WIN] symlinks

2001-05-09 Thread Jourden Parks
I have to port alot of php code from linux to windows. This code is all about using symlinks. Does anyone have any ideas what to do in windows when symlinks were required? Or how you go about creating a temp link to a file in windows? Thanks. -- PHP Windows Mailing List (http://www.php.net

[PHP-WIN] Restricting users to a specific directory

2001-05-09 Thread Dan English
We are an ISP planning to support PHP on Windows 2000 & IIS5.0. We am trying to limit file access to each virtual site only, but users can use scripts like PHP-Nuke file manager to list all the files/folders on the computer. What is the best way to prevent this? Thanks, Dan English [EMAIL PROTE

php-windows Digest 9 May 2001 16:56:23 -0000 Issue 588

2001-05-09 Thread php-windows-digest-help
php-windows Digest 9 May 2001 16:56:23 - Issue 588 Topics (messages 7374 through 7400): Loading Database modules..error 7374 by: macky 7380 by: Johan Lundqvist 7381 by: Daniel Beulshausen Confused...on database modules 7375 by: macky 7389 by: Joe Bro

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

2001-05-09 Thread Cynic
I guess it'd be fastest to collect those 500 rows into an array, and then do st. like this: * create an array of all the values of the critical column, * run array_count_values() on it, * take the keys which have value >1, * iterate the rows again, and if the critical column value in any iterati

[PHP-WIN] Need someone with some experience

2001-05-09 Thread Asendorf, John
I'm about to create a piece of a project which which will be used to check for errors in data entry. Every 500 records entered will prompt the user to check their work. I have all of the triggers set up already. The database is all Oracle, PHP 4.0.4 (1381 build). What I would like to do is dis

Re: [PHP-WIN] Win2K IIS 5 CGI Behavior Error on simple page.

2001-05-09 Thread Phil Driscoll
Well you've certainly been through all the logical steps. I would try disabling any extensions (if any) you have enabled in php.ini just in case any of those can't be loaded. I assume you have done a reboot somewhere in your testing - always worth a try on Windows! If that fails, then either you'

RE: [PHP-WIN] Win2K IIS 5 CGI Behavior Error on simple page.

2001-05-09 Thread Asendorf, John
H, second time this wuestion has been asked in two days. I've noticed this problem too on my server. I get that error when I type in an incorrect URL with .php at the end of it. I used to get a 404, but I don't anymore. - John Asendorf - [EMAIL PROTECTED] Web Applicatio

[PHP-WIN] dll's

2001-05-09 Thread Darren
Hello all. How do I write module dll's for php4 for windows -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-WIN] Win2K IIS 5 CGI Behavior Error on simple page.

2001-05-09 Thread ECHJR
Arghh.. I appreciate help from anyone on this one. I have a new install of PHP4.5 on my IIS 5 machine with Windows 2K. The install went fine.. When I go into a command prompt and type c:\php\php.exe -i I get the HTML junk, which is good. But... When I try and send a simple test page with a P

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

2001-05-09 Thread Kelvin Luck
If you want to respond to the article somewhere where it will be noticed by the author and people who have read the article then try the feedback form at the end of the article: http://www.zdnet.com/products/stories/reviews/0,4161,2714115,00.html I reckon that should bring our points to the noti

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

2001-05-09 Thread Robin Bolton
Perhaps people should contact him, or the magazine and make logical, well thought out arguments as to why the article was in error. Be careful that you don't attack him or accuse him of being an idiot, or biased. Just point out reasons why database abstraction is a bad idea, etc. I highly doubt

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

2001-05-09 Thread Robert Klinkenberg
Nice to know that some well known pc magazine wants to test PHP. Not so nice to know that people testing software for a major computer magazine don't know how to read the manual. Installing as an ISAPI module is not THAT difficult (Or am I a genius?). At least I don't know anyone having problems

RE: [PHP-WIN] PHP and HTML

2001-05-09 Thread [EMAIL PROTECTED]
yes of course you can do that. But what I actually meant was that on a shared server you don't usually have the chance to configure the httpd.conf But ok, I have to admit that I forgot that you can do most of these thing in a .htaccess file as well thx to all for your help > -Original Messag

Re: [PHP-WIN] cgi error

2001-05-09 Thread Maurice Barnes
Would you happen to be doing a header("location: some_url") in your code? - Original Message - From: "Svensson, B.A.T. " <[EMAIL PROTECTED]> To: "Deborah Dennison" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, May 09, 2001 6:34 AM Subject: RE: [PHP-WIN] cgi error > Well, a s

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] anti-advocacy: Larry Seltzer, pcmag May'01 pub.

2001-05-09 Thread Johan Lundqvist
Well, well... PC-Mag, as most ZD-Net and IDG mag's, are in my opinion too dependant on Micro$oft advertising to make any "real" reviews on anything. And, as Joe Brown said, their target readers are windows-users. The "normal" windows user can't possibly read and/or understand ASCII code in an edit

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

2001-05-09 Thread Sam Katakouzinos
I don't know where you have placed you files, so I'll use my setup: Apache root folder: C:\Program Files\Apache Group\Apache PHP root folder: C:\Program Files\php php.ini file: C:\Program Files\php 1) http.conf: Right, this is my entry in http.conf for the module in question; LoadModule php4_mod

RE: [PHP-WIN] PHP and HTML

2001-05-09 Thread hassan el forkani
?? you can configure apache to parse files with .html extension too edit httpd.conf and make sure you have the following: Action application/x-httpd-php4 "/php4/php.exe" AddType application/x-httpd-php4 .php .html this way apache parses files with both extensions .php and .html regard

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

2001-05-09 Thread Nick
Hi, still can't get php 4.05 working w/ apache 1.3.19 on win2k. Apache works fine without php, but gives an "module not found" error message when configured to use php4apache.dll . The thing is, the dll is in the correct directory as listed in httpd.conf. I have tried changing apache versions and

Re: [PHP-WIN] cgi error

2001-05-09 Thread Phil Driscoll
The error means that php didn't output anything. Possible reasons are: php couldn't run for some reason. Go to the command line and change to the directory containing php.exe. Run php.exe -i and you will either see an error message which will be helpful, or a screenful of html, which means that

RE: [PHP-WIN] cgi error

2001-05-09 Thread Svensson, B.A.T.
Well, a starter migt be http://www.ietf.org/rfc/rfc2616.txt That is the complete specification of Hyper Text Transfer Protocol 1.1 (HTTP). >-Original Message- >From: Deborah Dennison [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, May 09, 2001 12:54 AM >To: [EMAIL PROTECTED] >Subject: [PHP-

Re: [PHP-WIN] Loading Database modules..error

2001-05-09 Thread Daniel Beulshausen
At 15:20 09.05.2001 +0800, macky wrote: >Im using Win2K (w/service pack 2 -- dont know if this is important), APACHE >1.3.19 and PHP4 > >im trying to load php_mssql70.dll > >but there's an error .. > >Unable to load dynamic library C:\PHP\extensions\php_mssql70.dll - The >specified module could no

Re: [PHP-WIN] Loading Database modules..error

2001-05-09 Thread Johan Lundqvist
Have you checked the "extension_dir" in php.ini?? I got fed up with the path statements, so I simply put the dll's I need in system32, and it works fine. Not a good lookin solution, but it works in my test environment (in production we use Linux). /Johan macky wrote: > > Im using Win2K (w/serv

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

2001-05-09 Thread Ermanno Iannacci
I don't think so. I think is for mSQL. - Original Message - From: macky <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 09, 2001 10:15 AM Subject: [PHP-WIN] Confused...on database modules > MSQL is it a driver for Microsoft SQL Server..? > > if no is it possible to co

[PHP-WIN] R: [PHP-WIN] Loading Database modules..error

2001-05-09 Thread Ermanno Iannacci
I had the same problem with Apache and NT4. PHP 4.0.5 instead works fine. - Original Message - From: macky <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 09, 2001 9:20 AM Subject: [PHP-WIN] Loading Database modules..error > Im using Win2K (w/service pack 2 -- dont know

Re: [PHP-WIN] Ora_fetch

2001-05-09 Thread Tom Mathews
OK Forget this - I managed to get onto php.net this morning and noticed the helpful comment from Bernard Blundell - if anyone else has this problem, just add the constant , ORA_FETCHINTO_NULLS, to the ora_fetch_into() function: - ora_fetch_into($cursor, &a, ORA_FETCHINTO_NULLS) Tom Mathews wrot

Re: [PHP-WIN] Installing PHP on PWS4.0

2001-05-09 Thread Phil Driscoll
>I don't know if there's some relationship, but PHP 4.0.5 is the first >version of PHP that failed running on my W98+PWS4 box. I don't think so - you have just been lucky. I think that PWS can get itself into some funny state where it seems to ignore the scriptmaps you set up in the registry, or a

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

2001-05-09 Thread macky
MSQL is it a driver for Microsoft SQL Server..? if no is it possible to connect to Micrisift SQL Server 7 using Linux+APACHE+PHP? where can i find a driver? thanks in advance -- -- The information contained in this message (in

[PHP-WIN] Loading Database modules..error

2001-05-09 Thread macky
Im using Win2K (w/service pack 2 -- dont know if this is important), APACHE 1.3.19 and PHP4 im trying to load php_mssql70.dll but there's an error .. Unable to load dynamic library C:\PHP\extensions\php_mssql70.dll - The specified module could not be found... but i already did a tripple check