Re: [PHP-WIN] Trapping PHP errors

2002-07-09 Thread Rasmus Lerdorf
http://php.net/set_error_handler On Tue, 9 Jul 2002, Matt Babineau wrote: > Does anyone know of a way to trap PHP errors and have them automatically > emailed to an email address? I am trying to do some remote testing on a > script but the problem it is it's server to server interaction so I > c

[PHP-WIN] Re: Trapping PHP errors

2002-07-09 Thread Matt Parlane
Have a look at this dinky little function... http://php.weblogs.com/php_error_handler_mail Matt "Matt Babineau" <[EMAIL PROTECTED]> wrote in message 003301c227b2$fb09ca60$0100a8c0@developerx">news:003301c227b2$fb09ca60$0100a8c0@developerx... > Does anyone know of a way to trap PHP errors and ha

[PHP-WIN] Trapping PHP errors

2002-07-09 Thread Matt Babineau
Does anyone know of a way to trap PHP errors and have them automatically emailed to an email address? I am trying to do some remote testing on a script but the problem it is it's server to server interaction so I can't see what is going on! Any ideas? Matt Babineau MCWD / CCFD --

[PHP-WIN] need help caching problems!

2002-07-09 Thread kalmen
Hi , I am very new to php and I installed :php421 ,xitami server on Win98se and trying to post at phpbuilder, but seems like my questions is being ignored , I don't know whether I ask the right question or I was in the wrong place ! , so I try here , and would like to request for help ,please . I

RE: [PHP-WIN] More bzip woes! No file written...

2002-07-09 Thread Mikey
Ooops! The code was slightly different - see ammendments below... // $data = file ("$filename.tar"); $data = implode ("", file ("$filename.tar")); $bz = bzopen ("$filename.bz2", "w"); bzwrite ($bz, $data); bzclose ($

[PHP-WIN] Re: File Upload Problem

2002-07-09 Thread Alexandr Polupanov
Now i'm asking to excuse me. I found my mistake. In my Upload form MAX_FILE_SIZE was set to 1000. Sorry for that. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] File Upload Problem

2002-07-09 Thread Alexandr Polupanov
I've read all messages related to this problem, but my situation is different. I can't upload files > 1000 Bytes. NOT 1 KB but exactly 1000 bytes. In php.ini memory_limit is set to 8M and upload_max_filesize is set to 8M and i'm still getting error, and is_uploaded_file() returns FALSE. My syst

[PHP-WIN] RE: [PHP] Dual Server...

2002-07-09 Thread Collins, Robert
Matt, I dont know if this helpped Brian but it just saved me a huge headache with some of the presonal settings on my intranet THANKS! Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Fax: (504) 248-3866 Email : [EMAIL PROTECTED]

php-windows Digest 9 Jul 2002 21:41:15 -0000 Issue 1232

2002-07-09 Thread php-windows-digest-help
php-windows Digest 9 Jul 2002 21:41:15 - Issue 1232 Topics (messages 14623 through 14652): Re: Request for ideas... 14623 by: Matt Parlane Browser Troubles... 14624 by: Brian McGarvie 14628 by: Piotr Pluciennik 14630 by: Brian McGarvie 14631 by: Piot

[PHP-WIN] Re: [PHP] Dual Server...

2002-07-09 Thread Matt Parlane
Hi Brian... I have it set up just like Robert, and I really think it's the way to go - having Apache as the web-accessible server gives me much more peace of mind than having IIS sitting out there just waiting to be attacked. Do you realize you can have content served by IIS accessed without usi

[PHP-WIN] RE: run as

2002-07-09 Thread Scott Hurring
You're entirely correct -- IF it was an internet accessable webserver. It's installed locally on my workstation solely for local development. It's got a pretty nice corporate firewall and "httpd.conf" restrictions setup to deny access to everyone 'cept me. Of course, firewalls and corporate LAN

[PHP-WIN] Re: run as

2002-07-09 Thread Neil Smith
At 09:15 09/07/2002 +, you wrote: >Message-ID: <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >From: "Scott Hurring" <[EMAIL PROTECTED]> >Date: Mon, 8 Jul 2002 17:36:52 -0400 >Subject: Re: WinampCOM problem > >What user is your Server running as? Whoa ! This is a really, really *bad* idea - you h

[PHP-WIN] More bzip woes! No file written...

2002-07-09 Thread Mikey
Hi ng! Well, I have finally managed to make my archive (thanks to being set on the right track by this ng), yet I am having a problem using the bz2 functions... The code I am using to make the compressed file is as follows: $data = file ("$filename.tar"); $bz = b

RE: [PHP-WIN] PHP4 and Apache2

2002-07-09 Thread Dash McElroy
http://ftp.proventum.net/pub/php/win32/php4.2.x-apache2.zip Replace the php4apache2.dll file with the one in this zip file. It's worked for several people on this board. -Dash -Original Message- From: Reese [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 2:55 AM To: [EMAIL PROT

RE: [PHP-WIN] Zip Problem

2002-07-09 Thread Dash McElroy
You might be able to get away with a command line version of PKZIP or Winzip (they do have a command line tool). -Dash -Original Message- From: Mathew Joseph [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 10:28 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Zip Problem Hi There,

RE: [PHP-WIN] Re: COM stalls the server..

2002-07-09 Thread Scott Carr
I have run into this as well. Of course, the project I am working on is kind of critical so I couldn't spend time on resolving the issue. I found that running the COM object through the php-cli prog, I could accomplish what I needed. Trying to insert the COM object in the Apache space caused al

RE: [PHP-WIN] Re: COM stalls the server..

2002-07-09 Thread Ross Fleming
Hi, thanks for your reply. The COM app doesn't even start. Viewing the webpage that only attempts to open and close a COM instance (to winamp incidently) simply says "Web page found, waiting for reply" and nothing ever happens. Simply trying it against the command line works fine however which

Re: [PHP-WIN] Apache/PHP...

2002-07-09 Thread Steve Parrish
At 5:25 PM +0100 7/9/02, Brian McGarvie wrote: >C:\APACHE2\BIN>apache -t >APACHE: module "c:\php4build\snap\sapi\apache2filter\sapi_apache2.c" >is not comp >atible with this version of Apache. >Please contact the vendor for the correct version. > >anyone seen this when trying to run apache? > I

[PHP-WIN] Apache/PHP...

2002-07-09 Thread Brian McGarvie
C:\APACHE2\BIN>apache -t APACHE: module "c:\php4build\snap\sapi\apache2filter\sapi_apache2.c" is not comp atible with this version of Apache. Please contact the vendor for the correct version. anyone seen this when trying to run apache? -- PHP Windows Mailing List (http://www.php.net/) To unsubs

[PHP-WIN] RE: [PHP] Dual Server...

2002-07-09 Thread Brian McGarvie
I will probably do this the other way round as we have a few sites... so if i have a single file with a frame and point contents of frame to apache this should work? > -Original Message- > From: Collins, Robert [mailto:[EMAIL PROTECTED]] > Sent: 09 July 2002 4:41 PM > To: Brian McGarvie

[PHP-WIN] RE: [PHP] Dual Server...

2002-07-09 Thread Collins, Robert
I have Apache and IIS coexisting on my intranet server and the way I set them up was to put each on a different port. (Apache serves http://intranet and IIS serves http://intranet:8080) this appears to work fine. Hope this helps Robert W. Collins II Webmaster New Orleans Regional Transit Authori

[PHP-WIN] Dual Server...

2002-07-09 Thread Brian McGarvie
OK following from my thread 'Browser Issues' I have found that when serving the site from apache, that the aforementioned errors go away... mostly... OK so... What is the best way to setup so that IIS/Apache co-exist... I'd like to keep the 'entry' to the site on IIS as we have other sites too.

Re: [PHP-WIN] Script doesn't write to database...

2002-07-09 Thread Mathew Joseph
does it show an error or warning ? use mssql_rows_affected() and find if any row was affected. try using mssql_get_last_message() and find if any message was sent by the server. Mathew At 09:17 AM 7/9/2002 -0500, you wrote: >Mathew, > >Thanks for your reply. > >I have another table in the sam

[PHP-WIN] problem with xslt-modul

2002-07-09 Thread Roman STeiner
hi, i'm using php 4.2.1 on win2k. but i have problems using the xslt-modul within my website. as soon as i actvate the extension (php_xslt.dll) in the php.ini i get an error-message "Unable to load dynamic library 'c:\...\php_xslt.php' - unable to find the function" i tried to install a other

Re: [PHP-WIN] Script doesn't write to database...

2002-07-09 Thread Mathew Joseph
i have a feeling that your database doesnt commit by default. you may have to explicitly call commit from ur PHP scripts or set auto_commit in ur sql server. Ofcourse if other update statements of yours are working without an explicit commit then i cant find anything wrong with ur code. Mathew

[PHP-WIN] Script doesn't write to database...

2002-07-09 Thread R.S. Herhuth
I have put together this script to read a row of data from SQL Server, perform a calculation and write back the results. the read and calculation are working but it doesn't write the data to SQL Server...what am I doing wrong here? CityStateZipLongitudeLatitudeLongitude RadiansLatitude Radians

[PHP-WIN] Re: Form, reading parameters

2002-07-09 Thread Jean Bresse
Thank you Colin, it solved it. Jean "Colin McDonald" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > try $_POST[''] instead of $HTTP_POST_VARS[''] this changed recently. > > also, $username probably doesn't work because you have register_globals > turned off

[PHP-WIN] RE: PHP4 and Apache2

2002-07-09 Thread Chris Dion
Reese, They do work together. I am using PhP 4.3.0-dev because it solves cookie problems and apache2 support is no longer experimental.at least not in the experimental folder. You should upgrade to apache 2.0.39. In the httpd.conf file I have: LoadModule php4_module c:/php/sapi/php4ap

Re: [PHP-WIN] Re: Closest store location by zip code

2002-07-09 Thread R.S. Herhuth
I actually found a free PERL script that uses a zip code database and the math to calculate the closest store (by zip code) to a user entered address. I have converted it to work under php. So thanks to all the idiots who felt it necessary to poke fun at me instead of trying to help. Ron Scot

[PHP-WIN] Domain validiation in php??

2002-07-09 Thread Daniel Ryhle
Hi folks! Is there anyone that can tell me if it is possible to validate users in php on a windows machine against domain accounts?? Really need to know if its possible and if it is, the how. Thanks in advance! -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://

RE: [PHP-WIN] Browser Troubles...

2002-07-09 Thread Piotr Pluciennik
It doesnt't matter how many JS pieces you've got in your file. One buggy js is quite enough :-). So check it carrefuly. If you've validated your entire html and it's correct - so, the frames should not be a problem... HTH Piotr --- Brian McGarvie <[EMAIL PROTECTED]> wrote: > I have validated t

RE: [PHP-WIN] Browser Troubles...

2002-07-09 Thread Brian McGarvie
I have validated the html... there is only one piece of JS in it... Would frames cause probs? > -Original Message- > From: Piotr Pluciennik [mailto:[EMAIL PROTECTED]] > Sent: 09 July 2002 11:48 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] Browser Troubles... > > > Hmm... > > t

[PHP-WIN] Returning values from function

2002-07-09 Thread Thomas Weidner
Hy... How can I get back an reference value from an function. I call an COM-function witch is described as followed : int GetCount(Value 1, Value 2, return Value 3) Well... 'till now it look like this $obj = new COM("comobject"); $count = -1; $error = -1; $error = $obj -> GetCount(1,1,&$count)

Re: [PHP-WIN] Browser Troubles...

2002-07-09 Thread Piotr Pluciennik
Hmm... the first thing you should to do is to validate HTML output generated from your script. Second - to check if JS embeded in your page works correctly in problematic browsers. You must recognize the source of problems. I've met such problem once - with old IE4 and it was an IE bug with dyna

[PHP-WIN] RE: [PHP] Browser Troubles...

2002-07-09 Thread Brian McGarvie
There is rather a lot to check... i have checked *most* of it... the only JS is to open a pop-up window, but that functions correctly... In one particular version of IE it fails even to submit the login form ;\ Works perfectly in Mozzilla/NN(4->6)... also fine in IE 6, and as I mentiond most I

[PHP-WIN] Re: [PHP] Browser Troubles...

2002-07-09 Thread René Moonen
>Now... on certain browser platforms the browser spuriously dies for no reason. >(Primarily Oldish IE 5.0(but not all releases) and 5.5). > >Has anyone came accross this kind of thing before? > > > > What? M$ software crashing? Na... never seen that ;-) sorry... coudn't help that! What outp

[PHP-WIN] PHP4 and Apache2

2002-07-09 Thread Reese
Hello everyone. I'm running win2k pro, apache v2.0.x and PHP v4.2.1 on an offline testing platform. This offline testing platform doubles as my personal computer for email and browsing, but the test platform website is not available for public browsing (within the limits of my software firewall)

[PHP-WIN] Browser Troubles...

2002-07-09 Thread Brian McGarvie
OK... I have developed a web-application... on Windows 2k Server, IIS5, PHP, MsSQL/MySQL. Now... on certain browser platforms the browser spuriously dies for no reason. (Primarily Oldish IE 5.0(but not all releases) and 5.5). I have tried MS's mailing lists/support but not had any usefull feed

[PHP-WIN] Re: Request for ideas...

2002-07-09 Thread Matt Parlane
Hi Mikey... I'm not quite sure what you mean by doing it within one page... do you mean apart from using http://www.something.com/something.zip";> ? You could probably try a header('Location: http://www.something.com/something.zip); Or, if you want to appear as though the file is coming from y

php-windows Digest 9 Jul 2002 09:15:33 -0000 Issue 1231

2002-07-09 Thread php-windows-digest-help
php-windows Digest 9 Jul 2002 09:15:33 - Issue 1231 Topics (messages 14604 through 14622): Administration using PHP/ADSI 14604 by: Bill Rucker 14617 by: Manuel Lemos Closest store location by zip code 14605 by: R.S. Herhuth 14606 by: George Nicolae 1

[PHP-WIN] Request for ideas...

2002-07-09 Thread Mikey
Does anyone on this list know how to send a file automatically to a site user after viewing an HTML page, such as is done at download.com? I can re-direct to the file using an HTTP directive in the page but was wondering if there was anyway to do this within one page? regards, Mikey -- PHP W