Re: [PHP] ODBC Oracle

2001-03-22 Thread Joe Brown
There is a timeout, that should halt a script if it runs too long. If you can, check php.ini set max_execution_time to something greater than 30 seconds, see if that helps. ""Brooks, Ken"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I thought maybe the php

Re: [PHP] [PHP4]

2001-03-24 Thread Joe Brown
if($formSubmit) { echo "form submitted: $frmName"; //= have you tried this to make sure $formSubmit is true? $newsSubmit = file("news.txt"); //RTM, your not using file() the way it's inteneded. $fp = fopen("news.txt", 'a'); //looks good fwrite($fp, $frmName); //looks good, but does

[PHP] Compiling, How to resolve COM

2001-03-24 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

Re: [PHP] [PHP4] $fp = fopen( news.txt, 'a' ); // 'a' = append! Wah!

2001-03-25 Thread Joe Brown
Re-create the file. You're most of the way there. if( $formSubmit ) { echo "Your news has been processed."; $filename = "news.txt"; //This is simpler than messing with an array of the original content. $fp = fopen ($filename, "r"); $newsSubmit = fread ($fd, filesize ($filename)); fclose

Re: [PHP] [PHP4] $fp = fopen( news.txt, 'a' ); // 'a' = append! Wah!

2001-03-25 Thread Joe Brown
Take a closer look at the previous message I sent $filename was defined as: $filename="news.txt"; ""Dddogbruce (@home.com)"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... When you say $newsSubmit = fread ($fd, filesize ($filename)); Do you mean specify the

Re: [PHP] [PHP4] $fp = fopen( news.txt, 'a' ); // 'a' = append! Wah!

2001-03-25 Thread Joe Brown
maybe spinning the 'd' in $fd 180 degrees to make it a p will help... Sorry, haven't tried this myself, typo's happen. heh, I'm still trying to compile php 4 windows :-( been hoping for a helping hand. ""Dddogbruce (@home.com)"" [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] DF output

2001-03-27 Thread Joe Brown
nobody has execute permission on ps? Probably quite the opposite, your webserver user doesn't have execute permission on ps, so there is no execution or return value. "Steven Shepherd" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am writing a script,

Re: [PHP] DF output

2001-03-27 Thread Joe Brown
ut i dont want 'ps', I want 'top'). Ran top using su to the user 'www' from the command line and was able to run it fine. On Tue, 27 Mar 2001, Joe Brown wrote: Date: Tue, 27 Mar 2001 12:35:08 -0500 From: Joe Brown [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [PHP] "DF

Re: [PHP] DF output

2001-03-27 Thread Joe Brown
en Shepherd [EMAIL PROTECTED] wrote: Bad example (changed to ps and it works actually..but i dont want 'ps', I want 'top'). Ran top using su to the user 'www' from the command line and was able to run it fine. On Tue, 27 Mar 2001, Joe Brown wrote: Date: Tue, 27 Mar 2001 12:35:08 -0500

Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c

2001-04-23 Thread Joe Brown
IMHO, an ideal default is the path up to php.exe with a conf/php.ini This would be a good default for unix/windows both, and maintain some resembelence consistency with Apache if not anything else. Then I could throw php.ini in the apache conf dir and php.exe would find it there, w/o me having

Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c

2001-04-24 Thread Joe Brown
What is the software default path registry key??? I found it once before, when I wasn't looking. Now I'm looking I can't find it. Marc Boeren [EMAIL PROTECTED] wrote in message 7BE0F4A5D7AED2119B7500A0C94C58AC17A73B@DELLSERVER">news:7BE0F4A5D7AED2119B7500A0C94C58AC17A73B@DELLSERVER... If