[FX.php List] PHP Error Reporting...One more time
Andrew Denman
adenman at tmea.org
Wed Sep 3 16:07:50 MDT 2008
Though this function is depreciated, if you have PHP installed locally you
can run the command line version to check syntax before uploading to the
server.
This link details how to set something up in BBEdit, but the php command
line info is the same no matter your platform:
http://daringfireball.net/2003/12/php_syntax_checking_in_bbedit
Andrew Denman
-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Leo R. Lundgren
Sent: Wednesday, September 03, 2008 3:07 PM
To: FX.php Discussion List
Subject: Re: [FX.php List] PHP Error Reporting...One more time
This function is deprecated after 5.0.4 :I
3 sep 2008 kl. 22.01 skrev DC:
> does this help?
>
> http://www.php.net/php_check_syntax
>
> PHP5 only.
>
> Jonathan Schwartz wrote:
>> ggt,
>> Not sure how this applies.
>> It looks like a command line process to copy a file and then open
>> it in an editor?
>> How does that detect an error in the currently running script and
>> email the adminsitrator?
>> Jonathan
>> At 9:39 PM +0200 9/3/08, Gjermund Gusland Thorsen wrote:
>>> This is how I do it, for example.php I do
>>>
>>> cp example.php example-2008-09-02.php
>>> vim example.php
>>>
>>> ggt
>>>
>>> 2008/9/3 Jonathan Schwartz <jschwartz at exit445.com>:
>>>> Hi folks,
>>>>
>>>> Occasionally, php syntax errors can result after performing on-
>>>> the-fly
>>>> script edits for clients, and there just isn't time to perform
>>>> testing. Call
>>>> me human. ;-)
>>>>
>>>> However, it is often the client that informs me of the error.
>>>> Hmmm...
>>>>
>>>> To resolve, I'd like to receive email notification for php
>>>> errors on any
>>>> page ( not FMP errors) and have a shot at finding the error first.
>>>>
>>>> What mechanism can do that?
>>>>
>>>>
>>>> Thx
>>>>
>>>> J
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Jonathan Schwartz
>>>> Exit 445 Group
>>>> jonathan at exit445.com
>>>> http://www.exit445.com
>>>> 415-370-5011
>>>> _______________________________________________
>>>> FX.php_List mailing list
>>>> FX.php_List at mail.iviking.org
>>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>>>
>>> _______________________________________________
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>>> http://www.iviking.org/mailman/listinfo/fx.php_list
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
-|
_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list