On 07/17/2013 09:28 AM, Tedd Sperling wrote:
On Jul 17, 2013, at 11:55 AM, Daniel Brown wrote:
On Wed, Jul 17, 2013 at 11:49 AM, Tedd Sperling wrote:
This is what I do for error checking:
ini_set('error_reporting', E_ALL | E_STRICT);
ini_set('display_errors', 'On');
i
On Jul 17, 2013, at 11:55 AM, Daniel Brown wrote:
> On Wed, Jul 17, 2013 at 11:49 AM, Tedd Sperling wrote:
>> This is what I do for error checking:
>>
>>ini_set('error_reporting', E_ALL | E_STRICT);
>>ini_set('display_errors', 'On');
>>ini_set('log_errors', 'On');
>>
On Wed, Jul 17, 2013 at 11:49 AM, Tedd Sperling wrote:
> Hi gang:
>
> Considering:
>
> On Jul 17, 2013, at 11:41 AM, Jim Giner wrote:
>
>> Since you state that you haven't made any changes to the system (in
>> general), I'm going to guess that you modified an 'included' file and it has
>> an er
Hi gang:
Considering:
On Jul 17, 2013, at 11:41 AM, Jim Giner wrote:
> Since you state that you haven't made any changes to the system (in general),
> I'm going to guess that you modified an 'included' file and it has an error
> in it, such as an unmatched curly brace. As Dan said, turn on a
Steve,
Thanks a bunch. Must have been "dead brain" today. I knew that as well as
could look it up using phpinfo().
Althea
>>In your php.ini there are settings for "upload_max_filesize" and also
"post_max_size." These would be causes for case 2. More information:
http://us3.php.net/features.file
Sorry, I meant case 1.
- Steve
On 8/19/05, Steve Slotnick <[EMAIL PROTECTED]> wrote:
>
> In your php.ini there are settings for "upload_max_filesize" and also
> "post_max_size." These would be causes for case 2. More information:
> http://us3.php.net/features.file-upload
>
>
> On 8/19/05, Pe
In your php.ini there are settings for "upload_max_filesize" and also
"post_max_size." These would be causes for case 2. More information:
http://us3.php.net/features.file-upload
On 8/19/05, Peppy < [EMAIL PROTECTED]> wrote:
>
> I've been working on a script for uploading a file to a Unix serv
I've been working on a script for uploading a file to a Unix server. I'm
testing the script and have it coded for error messages using a switch
statement. One error that I am getting is case 2 "The file is bigger than this
form allows" and I am wondering what might cause me to get the error for
Kristen G. Thorson wrote:
Thanks for the == !
But I had set $message global within the buld-checkbox function, so that
part of it does work. . . .
Jack,
Read below:
Jack Jackson wrote:
Hi,
Now that the drop down is working properly (thanks!!), I am trying to
validate, and havi
Jack,
Read below:
Jack Jackson wrote:
Hi,
Now that the drop down is working properly (thanks!!), I am trying to
validate, and having LOTS of trouble. After being ceaselessly derided
last night on an irc channel for my dimwitedness, I am still not any
closer.
The code which works is this
hi,
I have checkboxes beging dynamically generated. to seperate tasks in
error checking I have added he arrays not just to $_POST but to
$_POST[cb] so names (derived from question numbers) are for example:
$_POST[cb][7]
A dump of $_POST would therefore include something like
["cb"]=> array
I did the smart thing last night: nothing. I read some PHP books and
then realized that the answer to my error checking was a lot less
complex, once again, than I had initially suspected. I finally ended up
with:
//error checking
foreach($_POST as $qname=>$value) {
if(empty($value)){
Okay, last attempt before I hit my head against wall. I thought perhaps
to add the error check to the dropdown function itself:
function GetQuestionsDropdown($cat){
//first get all the questions
$sql = "SELECT * FROM questions WHERE questions.q_cat=$cat AND
questions.q_style=1";
$result
Hi,
Now that the drop down is working properly (thanks!!), I am trying to
validate, and having LOTS of trouble. After being ceaselessly derided
last night on an irc channel for my dimwitedness, I am still not any closer.
The code which works is this:
function GetQuestionsDropdown($cat){
//fir
Michael Satterwhite wrote:
Philip Hallstrom wrote:
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting = E_ALL & ~E_NOTICE
but I don't get any errors - even when I've clearly used an undefined
variable. What else might need to be set to get
But I have no idea how. I made a series of changes trying to figure out
what I missed. Most of the changes didn't look like they'd do anything -
but the error reporting started working.
I then tried changing things back - at least I thought I did. The error
checking continued to work.
I *HAT
Philip Hallstrom wrote:
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting = E_ALL & ~E_NOTICE
but I don't get any errors - even when I've clearly used an undefined
variable. What else might need to be set to get PHP to report errors
for me?
Michael Satterwhite a écrit :
> in /etc/php4/apache, I have the setting
I guess you mean /etc/php4/apache/php.ini
> error_reporting = E_ALL & ~E_NOTICE
You'll get all errors but warnings (ex unused var). What you want is
error_reporting = E_ALL
Ch.
--
PHP General Mailing Lis
John Nichel wrote:
Michael Satterwhite wrote:
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting = E_ALL & ~E_NOTICE
but I don't get any errors - even when I've clearly used an undefined
variable. What else might need to be set to get PHP to
Michael Satterwhite wrote:
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting = E_ALL & ~E_NOTICE
but I don't get any errors - even when I've clearly used an undefined
variable. What else might need to be set to get PHP to report errors for
m
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting = E_ALL & ~E_NOTICE
but I don't get any errors - even when I've clearly used an undefined
variable. What else might need to be set to get PHP to report errors for me?
take a read through
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting = E_ALL & ~E_NOTICE
but I don't get any errors - even when I've clearly used an undefined
variable. What else might need to be set to get PHP to report errors for me?
--
PHP General Maili
add this check
John Taylor-Johnston wrote:
http://www.php.net/manual/en/function.fread.php
What about error checking if the file contains something as I include below? Is that enough? Is this the right way?
if(!$handle) die('could not open file for reading');
$contents = fread ($handle, files
http://www.php.net/manual/en/function.fread.php
What about error checking if the file contains something as I include below? Is that
enough? Is this the right way?
$contents";}
else{echo "no contents there";}
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
24 matches
Mail list logo