Hello everyone,
I am having the difficult time trying to figure out how to detract an
max user license when my script tries to connect to our Pervasive
database through an ODBC connector. I am looking for a way to ignore
the error if one arise and continue on with the code.
Here is what I
On Tue, Apr 27, 2010 at 7:34 PM, Gary . wrote:
> On Tue, Apr 27, 2010 at 10:46 AM, Peter Lind wrote:
>> On 27 April 2010 10:42, Gary . wrote:
>>> How do you guys handle errors during, say, db insertions.
>>>
>>> Let's say you have an ongoing transaction which fails on the n-th
>>> insert. Ok, you
On 27/04/10 16:37, tedd wrote:
Error handling is almost an art form.
More like a black art - voodoo perhaps...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Apr 27, 2010 at 12:23 PM, tedd wrote:
> At 4:23 PM +0100 4/27/10, Nathan Rixham wrote:
>>
>> I'm still shocked you guys are still writing code that has errors in it,
>> what's worse is you know about the errors, and instead of fixing them
>> you're just telling the user about it!
>>
>> :p
On 4/27/10, tedd wrote:
> At 4:23 PM +0100 4/27/10, Nathan Rixham wrote:
>>
>>I'm still shocked you guys are still writing code that has errors in it,
>>what's worse is you know about the errors, and instead of fixing them
>>you're just telling the user about it!
>>
>>:p
>
> Here's my code that doe
At 10:24 AM -0400 4/27/10, Paul M Foster wrote:
>Unfortunately, true. Sometimes I think computer users should be
>required to take a course in using a computer before being allowed
>behind the keyboard.
>
>Paul
I came across a term long ago amidst my readings: PEBKAC
Problem
Exists
Between
Keybo
On Tue, Apr 27, 2010 at 12:12:31PM -0400, tedd wrote:
> At 4:13 PM +0200 4/27/10, Peter Lind wrote:
>> If only the world consisted of smart users ... I think, however, that
>> we're generally closer to the opposite. And no, I don't hate users -
>> I've just seen too many people do things that were
On Tue, 2010-04-27 at 12:31 -0400, tedd wrote:
> At 5:09 PM +0100 4/27/10, Ashley Sheridan wrote:
> >>
> >
> >Sounds like you've got a few stories that would a lot of people
> >happy were you to share them on the DailyWTF ;)
> >
> >Thanks,
> >Ash
>
> Ash:
>
> Sharing them here is more direct an
At 5:09 PM +0100 4/27/10, Ashley Sheridan wrote:
Sounds like you've got a few stories that would a lot of people
happy were you to share them on the DailyWTF ;)
Thanks,
Ash
Ash:
Sharing them here is more direct and meaningful to what we do, but I
will investigate what you suggest.
Che
On 27 April 2010 18:21, tedd wrote:
> At 4:31 PM +0200 4/27/10, Peter Lind wrote:
>>
>> While I love to rant at stupid users, the truth is probably that
>> programmers are the ones who should take courses in how users think.
>> In the end, if I fail to understand my users, it doesn't matter how
>>
At 4:23 PM +0100 4/27/10, Nathan Rixham wrote:
I'm still shocked you guys are still writing code that has errors in it,
what's worse is you know about the errors, and instead of fixing them
you're just telling the user about it!
:p
Here's my code that doesn't contain errors:
Cheers,
ted
At 4:31 PM +0200 4/27/10, Peter Lind wrote:
While I love to rant at stupid users, the truth is probably that
programmers are the ones who should take courses in how users think.
In the end, if I fail to understand my users, it doesn't matter how
great my program is: they'll still fail to use it.
On Tue, 2010-04-27 at 12:12 -0400, tedd wrote:
> At 4:13 PM +0200 4/27/10, Peter Lind wrote:
> >If only the world consisted of smart users ... I think, however, that
> >we're generally closer to the opposite. And no, I don't hate users -
> >I've just seen too many people do things that were very f
At 10:24 AM -0400 4/27/10, Paul M Foster wrote:
Unfortunately, true. Sometimes I think computer users should be required
to take a course in using a computer before being allowed behind the
keyboard.
Paul
Yeah, like I believe that everyone should do through at least one
divorce before getting
At 4:13 PM +0200 4/27/10, Peter Lind wrote:
If only the world consisted of smart users ... I think, however, that
we're generally closer to the opposite. And no, I don't hate users -
I've just seen too many people do things that were very far removed
from "smart".
Regards
Peter
Peter et al:
S
Teus Benschop wrote:
>> I'm still shocked you guys are still writing code that has errors in it,
>> what's worse is you know about the errors, and instead of fixing them
>> you're just telling the user about it!
>>
>
> The point here is that we, programmers, know that we write code with
> bugs in
At 9:36 AM -0400 4/27/10, Paul M Foster wrote:
On Tue, Apr 27, 2010 at 10:42:03AM +0200, Gary . wrote:
How do you guys handle errors during, say, db insertions.
Let's say you have an ongoing transaction which fails on the n-th
insert. Ok, you roll back the transaction, no problem. How do yo
> I'm still shocked you guys are still writing code that has errors in it,
> what's worse is you know about the errors, and instead of fixing them
> you're just telling the user about it!
>
The point here is that we, programmers, know that we write code with
bugs in it. We are realistic about it,
Peter Lind wrote:
> On 27 April 2010 16:24, Paul M Foster wrote:
>> On Tue, Apr 27, 2010 at 04:13:20PM +0200, Peter Lind wrote:
>>
>>> On 27 April 2010 16:07, Paul M Foster wrote:
On Tue, Apr 27, 2010 at 03:41:04PM +0200, Peter Lind wrote:
> On 27 April 2010 15:36, Paul M Foster wr
On 27 April 2010 16:24, Paul M Foster wrote:
> On Tue, Apr 27, 2010 at 04:13:20PM +0200, Peter Lind wrote:
>
>> On 27 April 2010 16:07, Paul M Foster wrote:
>> > On Tue, Apr 27, 2010 at 03:41:04PM +0200, Peter Lind wrote:
>> >
>> >> On 27 April 2010 15:36, Paul M Foster wrote:
>> >> > On Tue, Ap
On Tue, Apr 27, 2010 at 04:13:20PM +0200, Peter Lind wrote:
> On 27 April 2010 16:07, Paul M Foster wrote:
> > On Tue, Apr 27, 2010 at 03:41:04PM +0200, Peter Lind wrote:
> >
> >> On 27 April 2010 15:36, Paul M Foster wrote:
> >> > On Tue, Apr 27, 2010 at 10:42:03AM +0200, Gary . wrote:
> >> >
>
On 27 April 2010 16:07, Paul M Foster wrote:
> On Tue, Apr 27, 2010 at 03:41:04PM +0200, Peter Lind wrote:
>
>> On 27 April 2010 15:36, Paul M Foster wrote:
>> > On Tue, Apr 27, 2010 at 10:42:03AM +0200, Gary . wrote:
>> >
>> >> How do you guys handle errors during, say, db insertions.
>> >>
>> >
On Tue, Apr 27, 2010 at 03:41:04PM +0200, Peter Lind wrote:
> On 27 April 2010 15:36, Paul M Foster wrote:
> > On Tue, Apr 27, 2010 at 10:42:03AM +0200, Gary . wrote:
> >
> >> How do you guys handle errors during, say, db insertions.
> >>
> >> Let's say you have an ongoing transaction which fails
On Tue, Apr 27, 2010 at 10:46 AM, Peter Lind wrote:
> On 27 April 2010 10:42, Gary . wrote:
>> How do you guys handle errors during, say, db insertions.
>>
>> Let's say you have an ongoing transaction which fails on the n-th
>> insert. Ok, you roll back the transaction, no problem. How do you then
On 27 April 2010 15:36, Paul M Foster wrote:
> On Tue, Apr 27, 2010 at 10:42:03AM +0200, Gary . wrote:
>
>> How do you guys handle errors during, say, db insertions.
>>
>> Let's say you have an ongoing transaction which fails on the n-th
>> insert. Ok, you roll back the transaction, no problem. Ho
On Tue, Apr 27, 2010 at 10:42:03AM +0200, Gary . wrote:
> How do you guys handle errors during, say, db insertions.
>
> Let's say you have an ongoing transaction which fails on the n-th
> insert. Ok, you roll back the transaction, no problem. How do you then
> inform the user? Just using the text
On 27 April 2010 10:42, Gary . wrote:
> How do you guys handle errors during, say, db insertions.
>
> Let's say you have an ongoing transaction which fails on the n-th
> insert. Ok, you roll back the transaction, no problem. How do you then
> inform the user? Just using the text from pg_result_er
On 27 April 2010 10:42, Gary . wrote:
> How do you guys handle errors during, say, db insertions.
>
> Let's say you have an ongoing transaction which fails on the n-th
> insert. Ok, you roll back the transaction, no problem. How do you then
> inform the user? Just using the text from pg_result_err
How do you guys handle errors during, say, db insertions.
Let's say you have an ongoing transaction which fails on the n-th
insert. Ok, you roll back the transaction, no problem. How do you then
inform the user? Just using the text from pg_result_error or
something?
--
PHP General Mailing List
This note shows up in the documentation for set_error_handler():
The following error types cannot be handled with a user defined
function: E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING,
E_COMPILE_ERROR, E_COMPILE_WARNING, and most of E_STRICT raised in the
file where set_error_handler() is called
Hi, I'm having trouble with a framework I'm developing, apparently when a
non-catchable error occurs (E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING,
E_COMPILE_ERROR, E_COMPILE_WARNING types) not only I can't fire up my error
handling function, I can't even display the static html page I set wit
Sorry,
i found the error. it was my mistake
- Original Message
From: It Maq <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Sent: Tuesday, March 11, 2008 11:38:10 AM
Subject: [PHP] Error handling
Hi,
I need help with a simple script that i made for handling errors. The probl
Hi,
I need help with a simple script that i made for handling errors. The problem
is that the script displays the same message several times while i want it
displayed just one time.
He is the code:
";
echo $errno. "";
}
}
set_error_handler(error_handler, E_STRICT);
ini_set('error_re
On Mon, August 6, 2007 4:41 am, debussy007 wrote:
> I am new to PHP and need some help for error handling.
>
> I read in the docs that i can handle the errors this way in my PhP:
>
> set_error_handler('errorHandler');
> function errorHandler($errnum,$errmsg,$file,$lineno){
> [...]
> }
>
> But d
debussy007 wrote:
Hi,
I am new to PHP and need some help for error handling.
I read in the docs that i can handle the errors this way in my PhP:
set_error_handler('errorHandler');
function errorHandler($errnum,$errmsg,$file,$lineno){
[...]
}
But does that mean that I have to copy paste th
Hi,
I am new to PHP and need some help for error handling.
I read in the docs that i can handle the errors this way in my PhP:
set_error_handler('errorHandler');
function errorHandler($errnum,$errmsg,$file,$lineno){
[...]
}
But does that mean that I have to copy paste this code in all my P
E_USER_WARNING is a 'constant' whose value is a number.
It is not a string.
If you do this:
echo "E_USER_WARNING is set to '", E_USER_WARNING, "'\n";
you will see exactly what number it is.
So whatever you thought was going wrong, this is not it.
In addition...
The check for $query should pr
I am trying to add some error handling to my code. Instead of
reinventing the wheel, I searched and found the code below. For the
most part, it seems to work. When I have an error, it doesn't get
shown. However, I don't get any output. I tracked it down to the
$errno. It is outputting a numb
Didja see this one:
http://us3.php.net/manual/en/function.memcache-debug.php
Not, perhaps, the best answer, and maybe even not possible in your
environment, but it may be useful for development, if not production.
You could also check the getServerStats functions to see if their
stats provide an
Hi,
Before I start, I am not sure whether I should have sent this to
Memcached or PHP mailing list. So, for those who are subscribed to
both, I apologize.
I have started using the PHP extension at
http://pecl.php.net/package/memcache for memcached. But, one problem I
am having right now is that,
I'm curious, what features are you looking for in an error handling library?
2006/8/31, Jay Paulson <[EMAIL PROTECTED]>:
I've been doing some research and was wondering if anyone out there has
written a library for error handling? I haven't found anything as of yet
but would love to hear sugge
On Thu, 2006-08-31 at 11:12 -0500, Jay Paulson wrote:
> I've been doing some research and was wondering if anyone out there has
> written a library for error handling? I haven't found anything as of yet
> but would love to hear suggestions!
PEAR
Cheers,
Rob.
--
.
Hi!, u can extend the exception class and handle ur own errors, If u need
help let me know!
Rafa
On 8/31/06, Jay Paulson <[EMAIL PROTECTED]> wrote:
I've been doing some research and was wondering if anyone out there has
written a library for error handling? I haven't found anything as of yet
I've been doing some research and was wondering if anyone out there has
written a library for error handling? I haven't found anything as of yet
but would love to hear suggestions!
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Chuck
On 9/9/05, Chuck Brockman <[EMAIL PROTECTED]> wrote:
> What is a good way to capture errors that occur. I've tried the
> following code in development, but it still spits out an error (Parse
> error: syntax error, unexpected '}', expecting ',' or ';' in
> X:\\\.php on line
What is a good way to capture errors that occur. I've tried the
following code in development, but it still spits out an error (Parse
error: syntax error, unexpected '}', expecting ',' or ';' in
X:\\\.php on line 7)
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsub
ssage: $error_Message";
}
set_error_handler("errorHandler");
call_some_pgsql_function();
-Original Message-
From: Cima [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 11:46 PM
To: php
Subject: [PHP] error handling
hi,
im working with php 4 and postgresq
On Wednesday 13 April 2005 08:46, Cima wrote:
> hi,
>
> im working with php 4 and postgresql 8 and i would like to know how to
> handle certain errors generated. in postgresql, i've written a stored
> function that selects a record from a table and in case no record is found
> i 'raise an exceptio
hi,
im working with php 4 and postgresql 8 and i would like to know how to
handle certain errors generated. in postgresql, i've written a stored
function that selects a record from a table and in case no record is found i
'raise an exception'. fine, now in my php script i call that the stored
fu
On Sat, 2003-10-18 at 00:07, Frank Tudor wrote:
> Interjinn looks great but my development box is a windows me
> machine with easyphp (globals turned off) How am I supposes to
> get this stuff to work. I actually just unzipped it to my www
> dir and it has been sitting there the whole day.
>
> a
Frank,
http://pear.php.net/HTML_QuickForm
It's that easy. There are full docs accessible from the page listed
above. Average time from download to output of your first form with
validation: 30 minutes to 1 hour. Tops.
Regards,
Greg
Frank Tudor wrote:
I would really be interested in quickfo
Interjinn looks great but my development box is a windows me
machine with easyphp (globals turned off) How am I supposes to
get this stuff to work. I actually just unzipped it to my www
dir and it has been sitting there the whole day.
and I still have my vailidation (form handling) problem.
I w
On Fri, 2003-10-17 at 23:14, John Nichel wrote:
>
> I had InterJinn Simonize my car this morning. :)
Hmm, that's an odd word to use... I hope your car enjoyed its
simonizing. But don't let it get carried away :)
Cheers,
Rob
--
..
| Int
John W. Holmes wrote:
Robert Cummings wrote:
"Error Handling"?? Do you mean form validation? InterJinn does form
validation and allows custom validators for any kind of form field. I
believe PEAR's Quickform can also do similar.
I'm thinking about getting a vasectomy; what does InterJinn recomme
On Fri, 2003-10-17 at 18:49, John W. Holmes wrote:
> Robert Cummings wrote:
>
> > "Error Handling"?? Do you mean form validation? InterJinn does form
> > validation and allows custom validators for any kind of form field. I
> > believe PEAR's Quickform can also do similar.
>
> I'm thinking about
Robert Cummings wrote:
"Error Handling"?? Do you mean form validation? InterJinn does form
validation and allows custom validators for any kind of form field. I
believe PEAR's Quickform can also do similar.
I'm thinking about getting a vasectomy; what does InterJinn recommend?
Seriously, is it ju
On Fri, 2003-10-17 at 16:29, Frank Tudor wrote:
> I have found some great code that handles errors through
> PHP_SELF
>
> However I have radio buttons and drop down selections that I
> cannot do a $_POST (the POST only works on my text fields).
>
> Does someone have some sample code that can chec
[snip]
I have found some great code that handles errors through
PHP_SELF
However I have radio buttons and drop down selections that I
cannot do a $_POST (the POST only works on my text fields).
Does someone have some sample code that can check for errors on
a drop down selection or radio buttons
I have found some great code that handles errors through
PHP_SELF
However I have radio buttons and drop down selections that I
cannot do a $_POST (the POST only works on my text fields).
Does someone have some sample code that can check for errors on
a drop down selection or radio buttons and the
* Thus wrote thierry lhomme ([EMAIL PROTECTED]):
> Hi !
>
> I still have found no satisfying solution to my problem yet...
>
> At home, when an error occurs in an script I got something like this :
>
> Warning: unlink() failed (No such file or directory) in c:\program
> files\easyphp\www\php_scr
Hi !
I still have found no satisfying solution to my problem yet...
At home, when an error occurs in an script I got something like this :
Warning: unlink() failed (No such file or directory) in c:\program
files\easyphp\www\php_scripts\index.php on line 356
but my provider in the same case deli
On Friday 20 June 2003 02:11, Mignon Hunter wrote:
> On my dev server the php.ini is set to log all errors and notices.
>
> Isnt there a way to over ride this on a per script basis to output to
> stdout (or my browser) ?
Yes, manual > Error Handling and Logging Functions
--
Jason Wong -> Gremlin
On my dev server the php.ini is set to log all errors and notices.
Isnt there a way to over ride this on a per script basis to output to
stdout (or my browser) ?
Thx
--
Mignon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Why not split it into 2 forms? insert, then attach pictures to the
record.
Its just not user-friendly enough, I have thought about it though. I think
I'd rather risk the script hitting an error than compromise the
user-friendliness.after all, the chance of a file not saving is
miniscule as
Why not split it into 2 forms? insert, then attach pictures to the record.
Otherwise, decide what's the key issue (imho the a record can exist without
pics, but not vice-versa), and focus on that first.
Justin
on 06/01/03 10:15 PM, Jim ([EMAIL PROTECTED]) wrote:
> Hi,
>
> I have the followin
Hi,
I have the following scenario:
A user can login to my website (so I know their ID) and create a new 'item
record' through a form. This item may have up to 10 images uploaded with it
(pictures of the item). The structure of my DB is a main 'Items' table
holding textual description/price/locati
Try this. In your php.ini file:
display_errors = Off
log_errors = On
track_errors = On
Then in your code:
$php_errormsg = false;
ob_start();
... your code ...
if($php_errormsg) {
ob_end_clean(); // Error - discard buffer
echo "An error occurred - webmaster notified";
}
When the display_errors is Off, and the output of the page comes all in the
end, or when you're using some template engine or some output buffer
function (ob_start()), no output is displayed to the screen! I would like to
tell a message to the use in case of failure of the scripy, without giving
th
I'm writing a web app with php, and would like to do the following:
when an error occures (a php/apache error or an application error) the error
is logged to a log file. The user is displayed a page that says 500 internal
server error, and nothig more. I have access to .htacces and no access to
ph
Hi everybody,
I hope u can help me with this. This file should give me an error msg
that there is time-out coz of the loop. But it's not giving me anything.
What could be the problem?
Thx a lot
FATAL [$errno] $errstr\n";
echo " Fatal error in line ".$errline." of file ".$errfile;
echo
On Thursday, April 18, 2002, at 08:53 AM, Julio Nobrega Trabalhando
wrote:
> Anyone recommend a good one? I am in need of the following features:
>
> 1) Catch any type of errors,
> 2) Actions like: Show on the screen, log on a file or database, or
> email,
> 3) Different actions for each er
Anyone recommend a good one? I am in need of the following features:
1) Catch any type of errors,
2) Actions like: Show on the screen, log on a file or database, or email,
3) Different actions for each error level/warning type, etc..
I have searched Hotscripts, but only found classes to cont
At our web hosting facillity we have several developers (each who recieve a seperate
email when an error occurs on the site there working on) and we would like to have
extra
data included in the log files which are written (such as the $_POST, $_GET, $_ENV, and
$_SERVER arrays), this would help u
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> I want errors reported on a page when the mail()
> function for any reason fails to send emails. FOr
> example, if there is a malformed email address or
> anything, and the mail is not sent, how can i catch
> the Error and Display it on
On Tue, 12 Mar 2002, Thomas Edison Jr. wrote:
> I want errors reported on a page when the mail()
> function for any reason fails to send emails. FOr
> example, if there is a malformed email address or
> anything, and the mail is not sent, how can i catch
> the Error and Display it on the page?
t
I want errors reported on a page when the mail()
function for any reason fails to send emails. FOr
example, if there is a malformed email address or
anything, and the mail is not sent, how can i catch
the Error and Display it on the page?
Thanks,
T. Edison Jr.
=
Rahul S. Johari (Director)
What warnings are you receiving? Many can be avoided by doing various
checks:
e.g.
if (!isset($some_variable))
...some error code
else
...all is well
others which may be useful:
function_exists()
file_exists()
HTH
Neil
Yoel Benitez Fonseca wrote:
> Hi!
>
> There is in PHP some way
Hi!
There is in PHP some way to handle errors like in other languages,
I mean, something like this:
.
.
.
try to do
...
if error then do ...
.
.
.
I'm tired of reciving warnings :-(
--
Yoel Benitez Fonseca
--
PHP General Mailing List (http://www.php.net/)
To unsu
#x27;is_object($obj)');
>
> and write your error handler code or use mine :)
> or am i missing something?
>
> Papp Gyozo
> - [EMAIL PROTECTED]
>
> - Original Message -
> From: "SafeV" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Sent: Thursday, November 22, 2001 4:15 PM
Subject: [PHP] error handling and __LINE__
| Hi,
| I wonder if there's a way to find the line number of the calling script
| from a function, like the error messages PHP generates. An example:
|
| In an included
Hi,
I wonder if there's a way to find the line number of the calling script
from a function, like the error messages PHP generates. An example:
In an included file I have a function and want to do something similar to:
function foo($obj) {
if (!is_object($obj)) {
echo "Error: suppli
Could someone give me an example of the sort of error handling you put in
your php scripts? Cheers. Should I be preceding every command with @?
Anything where this would be harmful? Just looking for some pointers really
:-)
- seb
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-v
Hello,
I have red all about Error handling but there isn't mentionet that user
cant handle fatal errors :(
I'm writing some application and need to hide all fatal errors from user
and do some hidden reporting/logging such errors. But the
handler function set by set_error_handler() din't get contr
Hey,
A Site one of my sites is hosted on(H4P), with it's php, when there is an
error, it just doesn't display the page, any one ever had this problem? I tried it on
another server, removed the error works on both now, but i don't want to have to
switch just to test it, so does any one kn
Is there a good write up out there or can anyone offer
some insight to the rest of us as to how error handling
should be properly implemented?
Yes, PEAR has some error handling routines, but it
doesn't have any kind of information as to how it should
be "properly" implemented. I've just finished
the PEAR library has an error class
-Stewart.
-Original Message-
From: Boget, Chris [mailto:[EMAIL PROTECTED]]
Sent: 12 April 2001 16:19
To: Php (E-mail)
Subject: [PHP] Error Handling class
I've looked around but haven't really found one...
Does anyone know where I can fi
I've looked around but haven't really found one...
Does anyone know where I can find a class (or a
set of functions) that handles errors gracefully?
I'm about to write something to do this but would
rather not reinvent the wheel.
thnx,
Chris
OK, I tried the @ symbol. It seemed to just disable error checking
altogether. I have this in my code that I'd like to use.
if (!$php_errormsg) {
header("Location: http://www.domain.com/admin/index.php");
}
else {
header("Location: http://www.domain.com/admin/error.html");
}
"CC Zona" <[EMAIL
In article <96faad$h9k$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Patrick
Brown") wrote:
> How can I disable the display of error to the browser window from within the
> script? I want to do a redirect based on the error and cannot because header
> info has already been sent.
Use the "@" sign. Exa
On Thu, 15 Feb 2001 11:42, Patrick Brown wrote:
> How can I disable the display of error to the browser window from
> within the script? I want to do a redirect based on the error and
> cannot because header info has already been sent.
>
> Thanks,
> Pat
Try an @ prepended to the function that tri
How can I disable the display of error to the browser window from within the
script? I want to do a redirect based on the error and cannot because header
info has already been sent.
Thanks,
Pat
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
to handle errors i have this in .htaccess:
e.g
ErrorDocument 404 http://www.mysite.com/error/error.php
but on error.php the 'REDIRECT_' vars contain nothing
e.g REDIRECT_URL etc.
why so?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
92 matches
Mail list logo