Re: [PHP-WIN] Installing PHP4 for PWS

2001-05-08 Thread RJ
Hi, Okay I kind of had this problem. In fact I still do sometimes. In my case it involves a strange ritual with PWS!!! I usually Open up the PWS manager - make sure service is stopped - then goto ADVANCED tab (where you see all the directories) and then select each folder/dir one by one and choos

Re: [PHP-WIN] Php & Oracle 8.1.1.6 Release 2 & Windows NT Novice Php Question

2001-05-08 Thread Paco Ortiz
hi: 1. install Oracle 8.1.6 R2 client libraries on your windows machine 2. configure NET8 in order to connect to the Oracle instance 3. install PHP with support for oracle8 enabled (using php_oci8.dlll). Check it with phpinfo(); 4. use PHP OCI* funtions. In OCILogon, use the service name you con

Re: [PHP-WIN] PHP 4.0.4pl1 ISAPI/CGI, IIS 5.0 ...

2001-05-08 Thread Phil Driscoll
>"CGI Error >The specified CGI application misbehaved by not returning a complete set of >HTTP headers. The headers it did return are:" (and nothing else) This is the error message that IIS spits out if it tried to run a cgi program and no output was produced. It occurs normally when php cannot r

[PHP-WIN] Apache + PHP on Win2K

2001-05-08 Thread macky
Im new to APACHE I already installed APACHE on Win2K and it works well Can anyone tell how to enable.. PHP on Win2K? meaning able to execute .php pages... <%php echo "FOO VAR"; %> -- -- The information contained in this

Re: [PHP-WIN] Apache + PHP on Win2K

2001-05-08 Thread Darren
"macky" <[EMAIL PROTECTED]> wrote in message 9d8dn8$mre$[EMAIL PROTECTED]">news:9d8dn8$mre$[EMAIL PROTECTED]... > Im new to APACHE > > I already installed APACHE on Win2K and it works well > > Can anyone tell how to enable.. PHP on Win2K? > meaning able to execute .php pages... > > > <%php >

[PHP-WIN] Can execute C program with PHP?

2001-05-08 Thread cecchini
Can execute C program with PHP? -- 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] fread() and windows directory permissions

2001-05-08 Thread Benjamin Listwon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all, I am trying to read a directory on a Win2K installation of PHP4 and Apache 1.3. The following is the code I have to read in a directory. $dirname = "c:/temp"; $dirhandle = fopen($dirname, "r"); $dircontents = fread($dirhandle, filesize($di

Re: [PHP-WIN] fread() and windows directory permissions

2001-05-08 Thread Alessio Bernesco Làvore
I think you could not use fopen to open just a directory, without specify a file. Instead try to use: $handle=opendir('mydir'); while ($file = readdir($handle)) { echo "$file\n"; } closedir($handle); Bye, Alessio ""Benjamin Listwon"" <[EMAIL PROTECTED]> ha scritto nel messaggio 9d8l8b$74

[PHP-WIN] PHP and HTML

2001-05-08 Thread Jordy
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 [EM

Re: [PHP-WIN] PHP and HTML

2001-05-08 Thread Alessio Bernesco Làvore
Wath did you mean with "html pages"? Have you set the extensions of these pages as .php? Bye, Alessio. ""Jordy"" <[EMAIL PROTECTED]> ha scritto nel messaggio 9d8qbe$934$[EMAIL PROTECTED]">news:9d8qbe$934$[EMAIL PROTECTED]... > Hi there, > I have Php 4.0.5 and Apache Web Server, > It all works f

[PHP-WIN] Installing PHP on PWS4.0

2001-05-08 Thread Vern DeHaven
Sorry if this is a beaten horse, but I've looked everywhere I can think of for this answer. I have PHP installed over PWS4.0 on Win98 (I know, I know, my boss isn't a developer and won't give in to our screams of despair). I've added the registry entry correctly over and over: [HKEY_LOCAL_MACHI

[PHP-WIN] Assing NT user to PHP cgi Process.

2001-05-08 Thread Alessio Bernesco Làvore
(Win NT 4.0, IIS 4.0) Hi, I've made a script to create some sub-folders to my web root. To turn around security problems (like set the root or another sub-folder as "Everyone change") I would like to create and use an NT user to assign to the PHP process and then assign security permission just f

RE: [PHP-WIN] PHP and HTML

2001-05-08 Thread [EMAIL PROTECTED]
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 tags. But if you look at the s

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

2001-05-08 Thread Phil Driscoll
Firstly the ISAPI module won't work well with PWS so go for the cgi installation using php.exe instead. If that doesn't work, run php.exe -i from the command line, and the error messages displayed will tell you what's wrong. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.di

php-windows Digest 8 May 2001 15:35:09 -0000 Issue 586

2001-05-08 Thread php-windows-digest-help
php-windows Digest 8 May 2001 15:35:09 - Issue 586 Topics (messages 7342 through 7357): Extensions 7342 by: Andrés García Php & Oracle 8.1.1.6 Release 2 & Windows NT Novice Php Question 7343 by: Jimi 7345 by: Paco Ortiz Re: Installing PHP4 for PWS 7344 by:

[PHP-WIN] Ora_fetch

2001-05-08 Thread Tom Mathews
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 i

Re: [PHP-WIN] Get rows over certain data

2001-05-08 Thread Susan Ottwell
just Search the online docs at http://www.mysql.com for 'timestamp' The mySQL online docs are your best friend! Susan Ottwell TechBox Netanya, Israel >From: "PHPWIN" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Subject: [PHP-WIN] Get rows over certain data >Date: Mon, 7 May 2001 11:06:04 +080

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

2001-05-08 Thread Dickerson, Monty
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

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

2001-05-08 Thread Bradley Miller
At 02:04 PM 5/8/01 -0500, Dickerson, Monty wrote: >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 I read it too -- just one more reason to keep my mission critical stuff on Linux . . . and

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

2001-05-08 Thread Robert Trembath
What a crock! I've been using PHP on Win2K for a year tying to MySQL with great success in a production environment. I run 13 portals and several other web applications from PHP on Linux and Win2K and the code has been completely portable with a few small modifications. I agree, I doubt he's ever

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

2001-05-08 Thread Vern DeHaven
Thanks for the response, Phil. I have tried both CGI and ISAPI to no avail. php.exe -i returns no errors, as OmniHTTPd (running on the same machine) serves up PHP fine. I'm thinking there's something odd with how and what keys need to be added to the registry. I have a Win2000 server to play w

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

2001-05-08 Thread Ermanno Iannacci
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. - Original Message - From: "Vern DeHaven" <[EMAIL PROTECTED]> To: "Phil Driscoll" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, May 08, 2001 10:11 PM Subj

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

2001-05-08 Thread Vern DeHaven
That is the version I am running also. I have the 4.0.6-dev from Sourceforge. I'll try that and an earlier version and see what happens. - Original Message - From: "Ermanno Iannacci" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 08, 2001 4:16 PM Subject: Re: [PHP-WIN] I

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] PHP and HTML

2001-05-08 Thread Martijn Weisbeek
> 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) I believe you can do so using a .htaccess on Apache. This comes from the Apache-manual: *** Redirect Now Usable in .htaccess Files *** The Redirect directive can

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] fread() and windows directory permissions

2001-05-08 Thread Mike Flynn
Try $dirname = "c:\\temp"; I need to use dos-style backslashes on my Windows machine for all file system-related functions. I find this code helps quite a bit for looping through directories for whatever reason: $dir_name = '\\stuff\\folder'; $dir_handle = opendir($dir_name); while (($

[PHP-WIN] cgi error

2001-05-08 Thread Deborah Dennison
Hello, Newbie needs help. I get the following error when trying to execute a script on my Windows 2000 machine running IIS 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? Tha

RE: [PHP-WIN] cgi error

2001-05-08 Thread Asendorf, John
This usually happens to me when I type in a page that doesn't exist but has the .php ending to it. Check the URL. I still haven't figured out why though. I hosed my server about 4 weeks ago, that has been happening ever since, but it didn't used to happen. - John Asendorf -

Re: [PHP-WIN] Netscape and $PHP_SELF?

2001-05-08 Thread Chris Boothe
I know what you are saying it is a bit odd. The problem is that $id is being called within a function and the $HTTP_HOST, etc. seem to be set to null within the function. Thanks, Chris Boothe [EMAIL PROTECTED] - Original Message - From: "Mike Flynn" <[EMAIL PROTECTED]> To: "Chris Boot

Re: [PHP-WIN] Netscape and $PHP_SELF?

2001-05-08 Thread phobo
I've experienced this - i think its a 'feature' of Netscape 4.7x which doesn't seem to exist with Netscape 6 or IE4+. Ensure that you are using globals. I think its because IE inserts a 'current path/file' into URLS if only "?asdadsa" exists as an URL. Siggy - Original Message - From: "

php-windows Digest 9 May 2001 04:51:43 -0000 Issue 587

2001-05-08 Thread php-windows-digest-help
php-windows Digest 9 May 2001 04:51:43 - Issue 587 Topics (messages 7358 through 7373): Ora_fetch 7358 by: Tom Mathews Re: Get rows over certain data 7359 by: Susan Ottwell anti-advocacy: Larry Seltzer, pcmag May'01 pub. 7360 by: Dickerson, Monty 7361 by: B