php-windows Digest 9 May 2001 16:56:23 -0000 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 Brown
Re: Installing PHP on PWS4.0
7376 by: Phil Driscoll
Re: Ora_fetch
7377 by: Tom Mathews
R: [PHP-WIN] Loading Database modules..error
7378 by: Ermanno Iannacci
R: [PHP-WIN] Confused...on database modules
7379 by: Ermanno Iannacci
Re: cgi error
7382 by: Svensson, B.A.T.
7383 by: Phil Driscoll
7390 by: Maurice Barnes
PHP4.05-Apache1.13.19-Win2k
7384 by: Nick
7386 by: Sam Katakouzinos
7388 by: Joe Brown
Re: PHP and HTML
7385 by: hassan el forkani
7391 by: mailinglists.web.de
Re: anti-advocacy: Larry Seltzer, pcmag May'01 pub.
7387 by: Johan Lundqvist
7392 by: Robert Klinkenberg
7393 by: Robin Bolton
7394 by: Kelvin Luck
Win2K IIS 5 CGI Behavior Error on simple page.
7395 by: ECHJR
7397 by: Asendorf, John
7398 by: Phil Driscoll
dll's
7396 by: Darren
Need someone with some experience
7399 by: Asendorf, John
7400 by: Cynic
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
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 on that file .. its there...
i tried uncommenting pgp_pgsql.dll it works fine... but mssql drivcer wont
work...
what seems to be the problem..?
does mssql.dll has dependencies?
thanks in advance........
--
----------------------------------------------------------------------
The information contained in this message (including any attachments)
is confidential and intended solely for the attention and use of the
named addressee(s). It must not be copied, distributed nor disclosed
to any person. If you are not the intended recipient, please delete
it from your system and notify sender immediately. Any disclosure,
copying or distribution thereof or any action taken or omitted to be
taken in reliance thereon is prohibited and may be unlawful.
----------------------------------------------------------------------
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/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 on that file .. its there...
>
> i tried uncommenting pgp_pgsql.dll it works fine... but mssql drivcer wont
> work...
>
> what seems to be the problem..?
> does mssql.dll has dependencies?
>
> thanks in advance........
> --
> ----------------------------------------------------------------------
> The information contained in this message (including any attachments)
> is confidential and intended solely for the attention and use of the
> named addressee(s). It must not be copied, distributed nor disclosed
> to any person. If you are not the intended recipient, please delete
> it from your system and notify sender immediately. Any disclosure,
> copying or distribution thereof or any action taken or omitted to be
> taken in reliance thereon is prohibited and may be unlawful.
> ----------------------------------------------------------------------
>
> --
> 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]
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 not be found...
which version are you using 4.0.4pl1 + ?
there's no mssql70.dll in this (and higher) release(s) anymore.
there's only php_mssql.dll left, which should be valid for MS-SQL server
6.5/7.0/2000.
my guess is that you've only copied over a newer build over the older
build, and php is now trying to load mssql70.dll which isn't compatible
with the API NO.
use php_mssql.dll and delete the others...
daniel
/*--
daniel beulshausen - [EMAIL PROTECTED]
using php on windows? http://www.php4win.de
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 (including any attachments)
is confidential and intended solely for the attention and use of the
named addressee(s). It must not be copied, distributed nor disclosed
to any person. If you are not the intended recipient, please delete
it from your system and notify sender immediately. Any disclosure,
copying or distribution thereof or any action taken or omitted to be
taken in reliance thereon is prohibited and may be unlawful.
----------------------------------------------------------------------
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 to Micrisift SQL Server 7 using
> Linux+APACHE+PHP?
> where can i find a driver?
>
> thanks in advance
>
>
> --
> ----------------------------------------------------------------------
> The information contained in this message (including any attachments)
> is confidential and intended solely for the attention and use of the
> named addressee(s). It must not be copied, distributed nor disclosed
> to any person. If you are not the intended recipient, please delete
> it from your system and notify sender immediately. Any disclosure,
> copying or distribution thereof or any action taken or omitted to be
> taken in reliance thereon is prohibited and may be unlawful.
> ----------------------------------------------------------------------
>
>
>
>
> --
> 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]
>
>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 at least act on them incorrectly.
I've helped out several people with PWS problems going back to the first php
4 release. Several of those finally managed to get things going by
reinstalling PWS. The rest got themselves a decent web server :)
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
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 wrote:
> Hi all
>
> I've just had to revert to Ora (as opposed to OCI) functions for a
> backward site and I'm having a problem: -
>
> I'm doing the following
>
> 1) ora_parse and ora_exec on a SELECT statement
> 2) ora_fetch_into on the cursor from (1)
>
> What seems to happen is that when it encounters any null values in the
> table, the fetch returns the previous good value from that column
> instead.
>
> Anyone else seen this or (preferably) know a solution? The same doesn't
> appear to happen using OCI_Fetch on my own server.
>
> Cheers
>
> Tom
>
> ------------------------------------------------------------------------
> --
> 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]
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 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 on that file .. its there...
>
> i tried uncommenting pgp_pgsql.dll it works fine... but mssql drivcer wont
> work...
>
> what seems to be the problem..?
> does mssql.dll has dependencies?
>
> thanks in advance........
> --
> ----------------------------------------------------------------------
> The information contained in this message (including any attachments)
> is confidential and intended solely for the attention and use of the
> named addressee(s). It must not be copied, distributed nor disclosed
> to any person. If you are not the intended recipient, please delete
> it from your system and notify sender immediately. Any disclosure,
> copying or distribution thereof or any action taken or omitted to be
> taken in reliance thereon is prohibited and may be unlawful.
> ----------------------------------------------------------------------
>
>
>
>
> --
> 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]
>
>
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 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 (including any attachments)
> is confidential and intended solely for the attention and use of the
> named addressee(s). It must not be copied, distributed nor disclosed
> to any person. If you are not the intended recipient, please delete
> it from your system and notify sender immediately. Any disclosure,
> copying or distribution thereof or any action taken or omitted to be
> taken in reliance thereon is prohibited and may be unlawful.
> ----------------------------------------------------------------------
>
>
>
>
> --
> 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]
>
>
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-WIN] cgi error
[...]
>cgi error:
>The specified CGI application misbehaved by not returning a complete set of
>HTTP headers. The headers it did return are:
>
>That's it. Can someone help me out?
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 php works.
Once you've got php working at the command line, try via the server again.
If it still fails then it could be one of the following:
file permissions on your php script, php.exe, php4ts.dll or any php
extensions you are trying to load are such that the anonymous internet user
(ISUR_<machinename> cannot access them.
The script file does not exist (or possibly isn't where you think it is
relative to your web root directory).
If you get to this point in the email, things should now be working ok. Let
us know if they are not!
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
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 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-WIN] cgi error
>
> [...]
> >cgi error:
> >The specified CGI application misbehaved by not returning a complete set
of
> >HTTP headers. The headers it did return are:
> >
> >That's it. Can someone help me out?
>
> --
> 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]
>
>
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
changing the location of the php4apache.dll, but to no avail -
any ideas ?
Nick
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_module c:/progra~1/php/sapi/php4apache.dll
Note: I use the 8.3 format for the directory part of the entry.
Later, use this line in http.conf to parse *.php files with the php engine;
AddType application/x-httpd-php .php
Note: you can other extensions (.htm .html, etc) if you want the php engine
to parse them.
2) php.ini
As an aside, my php.ini file is placed in C:\Program Files\php. I created
the System Enviromental Variable PHPRC that has the path C:\program
files\php entered as its value.
3)php4ts.dll
Make sure you place a copy of this file into you system32 directory, usually
C:\WINNT\SYSTEM32
Hope this works for you.
Sam
""Nick"" <[EMAIL PROTECTED]> wrote in message
9dbdci$cun$[EMAIL PROTECTED]">news:9dbdci$cun$[EMAIL PROTECTED]...
> 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
> changing the location of the php4apache.dll, but to no avail -
> any ideas ?
>
> Nick
>
>
>
> --
> 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]
>
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 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
> changing the location of the php4apache.dll, but to no avail -
> any ideas ?
>
> Nick
>
>
>
> --
> 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]
>
??
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
regards
08/05/01 16:58:24, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>On a standard Apache you cannot just put php scripts in html files, since
>the apache won't pass them on to the php-interpreter. However it is probably
>not true, that the files come without the php-code. You just cannot see it
>in the Browser since it is hidden inside <?php...?> tags. But if you look at
>the sourcecode of the page your borwser is displaying you're likely to see
>your complete php-source in there as well.
>So just rename your files to an extension that is interpreted as php and
>everything should wqork fine. (ususally .php or .php4)
>I know that there is a problem if you want to have a php page as your
>default page, since most webhosters will accept only index.htm(l) for that.
>Don't know a clean way how to get round this problem though (without having
>to use redirects or similar things in the index.html)
>
>> -----Original Message-----
>> From: Jordy [mailto:[EMAIL PROTECTED]]
>> Sent: Dienstag, 8. Mai 2001 14:57
>> To: [EMAIL PROTECTED]
>> Subject: [PHP-WIN] PHP and HTML
>>
>>
>> Hi there,
>> I have Php 4.0.5 and Apache Web Server,
>> It all works fine when I open php files, but
>> when I open html file with php scripts in it, it
>> doesn't work I just simply see the normal html but without any
>> scripts.. as
>> it doesn't use PHP in HTML .. could
>> someone please help!!!
>>
>> Thx
>> mail it to [EMAIL PROTECTED]
>>
>> Jordy
>>
>>
>>
>> --
>> 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 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]
>
>
>
>
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 Message-----
> From: hassan el forkani [mailto:[EMAIL PROTECTED]]
> Sent: Mittwoch, 9. Mai 2001 13:49
> To: [EMAIL PROTECTED]; Jordy; [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] PHP and HTML
>
>
> ??
> 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
>
>
> regards
>
>
> 08/05/01 16:58:24, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> >On a standard Apache you cannot just put php scripts in html files, since
> >the apache won't pass them on to the php-interpreter. However it
> is probably
> >not true, that the files come without the php-code. You just
> cannot see it
> >in the Browser since it is hidden inside <?php...?> tags. But if
> you look at
> >the sourcecode of the page your borwser is displaying you're
> likely to see
> >your complete php-source in there as well.
> >So just rename your files to an extension that is interpreted as php and
> >everything should wqork fine. (ususally .php or .php4)
> >I know that there is a problem if you want to have a php page as your
> >default page, since most webhosters will accept only
> index.htm(l) for that.
> >Don't know a clean way how to get round this problem though
> (without having
> >to use redirects or similar things in the index.html)
> >
> >> -----Original Message-----
> >> From: Jordy [mailto:[EMAIL PROTECTED]]
> >> Sent: Dienstag, 8. Mai 2001 14:57
> >> To: [EMAIL PROTECTED]
> >> Subject: [PHP-WIN] PHP and HTML
> >>
> >>
> >> Hi there,
> >> I have Php 4.0.5 and Apache Web Server,
> >> It all works fine when I open php files, but
> >> when I open html file with php scripts in it, it
> >> doesn't work I just simply see the normal html but without any
> >> scripts.. as
> >> it doesn't use PHP in HTML .. could
> >> someone please help!!!
> >>
> >> Thx
> >> mail it to [EMAIL PROTECTED]
> >>
> >> Jordy
> >>
> >>
> >>
> >> --
> >> 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 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]
> >
> >
> >
> >
>
>
>
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 editor, it has to bee in a fancy "IDE tool" with lots of blips and
gizmos.
Well, he's right in one statement; PHP, MySQL and Apache are most stable
on the Un*x (read Linux) platform. They were developed by Un*x people,
for Un*x platforms. Never the less, the windows versions of these
products do a terrific job.
The problem is what you define as "production environment" and "stable
for production". In the history of Un*x the standards are set very high.
All those 99.9999....% statements require some really goood software.
These conditions can, in my opinion, never be met in any windows
environment. The Micro$oft platforms just isn't that stable themself.
Still PHP, MySQL and Apache work very fine on the windows platform. In
comparission to other (read Micro$oft) products they DO perform well and
are VERY stable.
Another problem is that people tend to think it's a pice of cake to set
up a webserver. If you take any standard, out of the box solution, yes.
But, to set up a webserver with some functionality, databases and
intelligence needs some knowledge.
Some really good ideas in how to seperate homepage development from
server management and development can be found in Sterling Hughes "Top
21 PHP progamming mistakes - Part I: Seven Textbook Mistakes" #16. "Not
separating client side from server side"
(http://www.zend.com/zend/art/mistake.php). Poeple tend to look at
client side and server side development as the same thing, and that's
not true. Though Micro$oft often mislead people to that idea...
/Johan
Hmmm, that tended to be quite misspelled and long, sorry bout that...
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 with that. And besides the
majority of people on the PHPWIN mailing list seem to be capable of
performing the steps in the readme file.
The second comment they make is that "The normal way to do database
programming is through an abstraction layer such as ADO or JDBC But the PHP
way is to use a database-specific API."
Note that there ARE libraries available that do this abstraction for you and
on the other hand it sometimes is nice to be able to optimise for a specific
database. The flexability of PHP is one of it's strengths and not (in my
opinion) a weekness.
The two points they complain about are both pretty well known and no longer
a real problem. (The ISAPI version of PHP is getting better and better but
still not the same as the linux version).
I won't comment on the Zend products as I actually don't use them.
Conclusion.
The story is not a review of a product but a review of the knowledge of the
people working at ZD.
Robert Klinkenberg
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 that Larry Seltzer or any of the ZDNet editors read this
newsgroup, so our griping here won't do anything to correct the erroneous
article.
If enough of us do this, he or his editor will either retract the article
and/or readdress the issue with the attention it deserves.
If there are any writers here, why not write a counter article and see if
ZDNet wants to publish it.
> -----Original Message-----
> From: Dickerson, Monty [mailto:[EMAIL PROTECTED]]
> Sent: May 8, 2001 1:04 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] anti-advocacy: Larry Seltzer, pcmag May'01 pub.
> Importance: Low
>
>
> Today boss comes in and says, "Seen pcmag's story about php? says it is
> bad." Argh:
> http://www.zdnet.com/products/stories/reviews/0,4161,2711724,00.html
>
> What's the scoop on Larry Seltzer anyway. You here, Larry? His review
is
> rather 1-sided, negative. Not good for free software's encroachment
into
> the corporate zone. Of course the points he raises are all true
> and widely
> known. He mentions only one strength.
>
> I don't think Larry has actually been in the trenches doing real
> work on the
> web. Either that or he is/was paid to do it with Micro$oft ASP
> or Allaire's
> Cold Fusion. Maybe he is on the payroll of one of these? It's a
> possibility that should be investigated.
>
> Thanks for nothing, Larry Seltzer.
>
> Cheers,
> MD
>
>
>
> --
> 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]
>
>
smime.p7s
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 notice of the editors...
-----Original Message-----
From: Robin Bolton [mailto:[EMAIL PROTECTED]]
Sent: 09 May 2001 16:29
To: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] anti-advocacy: Larry Seltzer, pcmag May'01 pub.
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 that Larry Seltzer or any of the ZDNet editors read this
newsgroup, so our griping here won't do anything to correct the erroneous
article.
If enough of us do this, he or his editor will either retract the article
and/or readdress the issue with the attention it deserves.
If there are any writers here, why not write a counter article and see if
ZDNet wants to publish it.
> -----Original Message-----
> From: Dickerson, Monty [mailto:[EMAIL PROTECTED]]
> Sent: May 8, 2001 1:04 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] anti-advocacy: Larry Seltzer, pcmag May'01 pub.
> Importance: Low
>
>
> Today boss comes in and says, "Seen pcmag's story about php? says it is
> bad." Argh:
> http://www.zdnet.com/products/stories/reviews/0,4161,2711724,00.html
>
> What's the scoop on Larry Seltzer anyway. You here, Larry? His review
is
> rather 1-sided, negative. Not good for free software's encroachment
into
> the corporate zone. Of course the points he raises are all true
> and widely
> known. He mentions only one strength.
>
> I don't think Larry has actually been in the trenches doing real
> work on the
> web. Either that or he is/was paid to do it with Micro$oft ASP
> or Allaire's
> Cold Fusion. Maybe he is on the payroll of one of these? It's a
> possibility that should be investigated.
>
> Thanks for nothing, Larry Seltzer.
>
> Cheers,
> MD
>
>
>
> --
> 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]
>
>
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 PHP version information tag in it, I get the good old "CGI
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are: <Blank Area>
Now I have seen this error before. I have verified permissions on the
relevant files.. Heck, I even set the web site to have administrator
privileges just to test the possibility of some erroneous permission error..
Same problem. The "Check that file exists" is checked in the IIS setting,
so that is cool.
In my php.ini file, the only item I really changed from default was
"extension_dir =c:\php"
Is there something else in the PHP.ini file that I am missing??? Remember..
This page I am trying to test is simply:
<body>
Hello
<?php
phpinfo();
?>
</body>
Please Help :)
Ed
Hmmmm, 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 Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Aliquando et insanire iucundum est
> -----Original Message-----
> From: ECHJR [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 09, 2001 11:51 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Win2K IIS 5 CGI Behavior Error on simple page.
>
>
> 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 PHP version information tag in it, I get the
> good old "CGI
> The specified CGI application misbehaved by not returning a
> complete set of
> HTTP headers. The headers it did return are: <Blank Area>
>
> Now I have seen this error before. I have verified permissions on the
> relevant files.. Heck, I even set the web site to have administrator
> privileges just to test the possibility of some erroneous
> permission error..
> Same problem. The "Check that file exists" is checked in the
> IIS setting,
> so that is cool.
> In my php.ini file, the only item I really changed from default was
> "extension_dir =c:\php"
>
> Is there something else in the PHP.ini file that I am
> missing??? Remember..
> This page I am trying to test is simply:
> <body>
> Hello
> <?php
> phpinfo();
> ?>
> </body>
>
> Please Help :)
>
> Ed
>
>
>
>
> --
> 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]
>
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've made a mistake somewhere and haven't done
everything you've told us you've done, or you have a machine in a state I've
never come across on this list before.
Any other ideas anyone?
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
Hello all.
How do I write module dll's for php4 for windows
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 display
all of the 500 records (no problem) and (here's where I could use some
advice) highlight any records with a duplicate value in one particular
field.
Should I load all of the data into an array? Should I skim through all the
records, take notes, reset, and then run through them again? Should I run a
separate statement which searches for dupes and then match them against the
whole body of records?
I don't want code, just a voice of experience which could start me off
right.
Thanks,
John
---------------------
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Aliquando et insanire iucundum est
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 iteration is in_array() of the keys, highlight the
row.
At 18:43 9.5. 2001, Asendorf, John wrote the following:
--------------------------------------------------------------
>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 display
>all of the 500 records (no problem) and (here's where I could use some
>advice) highlight any records with a duplicate value in one particular
>field.
>
>Should I load all of the data into an array? Should I skim through all the
>records, take notes, reset, and then run through them again? Should I run a
>separate statement which searches for dupes and then match them against the
>whole body of records?
>
>I don't want code, just a voice of experience which could start me off
>right.
>
>Thanks,
>
>John
>
>---------------------
>John Asendorf - [EMAIL PROTECTED]
>Web Applications Developer
>http://www.lcounty.com - NEW FEATURES ADDED DAILY!
>Licking County, Ohio, USA
>740-349-3631
>Aliquando et insanire iucundum est
>
>
>--
>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]
------end of quote------
[EMAIL PROTECTED]
-------------
And the eyes of them both were opened and they saw that their files
were world readable and writable, so they chmoded 600 their files.
- Book of Installation chapt 3 sec 7