Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Skip Errors


Ive got a code that mix up diff engines like mambo and phpbb, i just got some bothering msgs sometimes, even if the job gets done correctly i remeber theres a code to skip mysql errors so they down show on the php script.




View Complete Forum Thread with Replies

Related Forum Messages:
Skip Proxy Use
I'm developing a website that will work as intranet.

The user use a proxy for internet access.

Sometimes, the website is slow, I know that the reason is because the web browser has setup a proxy.

So, how can I develop a instruction that my website don´t use the proxy?.

View Replies !
Skip A $_FILES
Here is the code im using:

<?php
foreach($_FILES['image']['error'] as $k => $error){

//Tjekker for fejl, hvis igen gÃ¥ videre
if($_FILES['image'][$k][$error] == 0){

//Tjekker om billedet er et gyldigt billede. JPEG eller GIF billede.
if($_FILES['image']['error'][$k] == "image/jpeg" || $_FILES['image']['error'][$k] == "image/pjpeg" || $_FILES['image']['error'][$k] == "image/gif"){

if(!empty($_FILES['image']['name'][$k])){
if(empty($_POST['order'])){
echo "Du skal vælge hvilket nr. billedet skal være. 1, 2 eller 3.";
}else.

View Replies !
Skip First 3 Chars In A Variable..
I have a variable like :

"tn_blahblah.jpg", How do I change it so "tn_blahblah.jpg", is blahblah.jpg.

I want to drop the first 3 chars everytime.

View Replies !
Skip To Line Command?
Hello fellow PHPers. I've made a few posts in the past few days and really appreciate your help. Now i'm at the end of my project - getting a database submission/send email form to validate.

I get all the correct errors if the person doesn't enter certain fields, and the data doesn't submit. If they do enter all the required fields, it submits...

However, the code for when it doesn't submit reads...
if ($errmsg!= "") {
echo $errmsg;
} else {
the rest of the code
the rest of the html syntax

My problem is that if the error page comes up, the rest of the HTML doesn't get rendered because the PHP simply quits. Is there a command in PHP in terms of "Go To Line This in the document", so rather than exiting it would just skip the rest of the PHP but still print all the HTML. I thought of switching!= to == but the way in which that works fails as well. I'm thinking I might have to validate straight on the form rather than the submission page, but let me know what you know!

View Replies !
How To Skip To An Ancor In The Page?
I made a xhtml page with a form (with an anchor name "form") for sending mail at the bottom of the page . When the submit button is pressed it calls a send.php page that generates some code and recalls the form in it.

The problem is this: is there some way to get the send.php page to open where the anchor is? example: pages.php#form

View Replies !
Page Skip To The Bottom?
Is there any php code that makes the page skip to the bottom?

View Replies !
Skip Lines In Txt-file
I have to process large files containing "logical" blocks of strings, each
block varying in number of lines.
....
Block number x
string1
string2
....
string n
Block number y
et cetera.

Blocks are read and processed one by one. My GetNextBlock ($index) function
returns an array with all lines in a block, and returns the line number of
the next block header.

What is the fastest way to skip those first <$index -1> lines the next read
? I cannot guarantee (unfortunately) the file is still open, so the file
pointer must be assumed at start of file again.

I had an intermittent solution in which I first split all the blocks into
separate files, but that caused a lot of other unwanted effects beyond the
scope of this posting.

View Replies !
Skip First Result In Array
I have an array that contains both key and value. The first key/value is used to store a heading so it is not needed in the rest of the loop. How can I skip that first key/value and display the rest. Example:

$myarray = array("key1"=>"heading", "key2"=>1, "key3"=>2.......

Without knowing the key/value of the first result, how can I skip it

foreach($myarray as $k =>$v){

//if first key skip

//else continue the loop

}

View Replies !
Skip Rest Of Script
ive written a virtual shop in php for my VA Members but i want it to check their account ballance first and if there ballance is lower than that of the item they are trying to buy then i want the program to end without executing the rest of the program which wold buy the member that item?

View Replies !
Mysql Skip Function
i want to have a function, where i can go something liek:

if mysql has error, {
mysql_status_enable = 0;}

this way, it would cancel all funtions and variables relying on anything to do with the database.

View Replies !
Skip First Line When Parsing An Xml File
I have an xml file which I cant change, the problem is that the
first line looks like this <?xml version="1.0" ?> with the rest of
the xml being fine. However when I try to parse this I am getting a
malformed xml error. THis line was added recently, the parser worked
before. My question is how can I get rid of this first line in the
xml file - which I get from an internet feed using
fopen("http://dsfsf.com/sdf.xml", r);

View Replies !
How To Skip Line Every X MySQL Results ?
Im, making a gallery and I'm done with most of it , but I dont like that when it shows the results it show too many vertical results or too many horizontal results. Is is possible to insert something so every 5 or 6 results it skips a line ? Code:

View Replies !
Supress Errors At The Page Level? Undefined Index Errors.
I'm creating a simple reply form, and if a form item isn't answered I
get an error:
"Notice: Undefined index: rb_amntspent in
c:inetpubwwwrootmackinawsurvey.php on line 36"
even if in the code I allow for an unselected item. (Code at the
bottom here.)
It works fine otherwise.

Now in the past I've made a change to php.ini to repress errors, but
for this project I don't have access to the php.ini.
Is there a way to supress errors on that page for that session?

Or, is there a way to just not get that error at all?

Here's a sample of the code that gets the form response. If an item is
selected, no error for that question, but if an item is not selected I
get the error above even though I still get a successful echo for the
"else" or "default" option which occurs if nothing is selected:

$rb_visited = $_POST["rb_visited"]; //Have you ever visited Mackinaw
City, Michigan?
if ($rb_visited == "1") {
$rb_visited_reply = "Yes";
} elseif ($rb_visited == "0") {
$rb_visited_reply = "No";
} else {
$rb_visited_reply = "You did not answer this question";
};

$rb_lastvisit = $_POST["rb_lastvisit"]; //When was your last visit to
Mackinaw ity?
switch ($rb_lastvisit) {
case "1":
$rb_lastvisit_reply = "Earlier this year (2003)";
break;
case "2":
$rb_lastvisit_reply = "Last year (2002)";
break;
case "3":
$rb_lastvisit_reply = "2 years ago (2001)";
break;
case "4":
$rb_lastvisit_reply = "3 years ago (2000)";
break;
case "5":
$rb_lastvisit_reply = "4 or more years ago (1999)";
break;
default:
$rb_lastvisit_reply = "You did not answer this uestion";
}

View Replies !
If Statement - Skip Some Code Once My Query Reaches The Last Image
I have a field with the names of image in it and I am tying skip some code once my query reaches the last image (black_spacer.jpg) and I am not getting it to work. Here is my code to check that field from the query. PHP Code:

if ($right_name['Name'] == 'black_spacer.jpg') {

skip the rest....

What am I doing wrong here?

View Replies !
Create A .txt File Or Skip If .txt File Already Exists
I am currently trying to write a favourites script which will store all the information on a .txt file using the following line of code,

$file = fopen("mytextfile.txt","w");

All works great apart from one tiny problem...

Every time i reload the page it re-creates the .txt file and deletes all the content.

I need the code to create a .txt file if one doesn't exist (and skip the creation if one does) then run the rest of my program.

My guess so far is this...

If 'text file' doesn't exist, create one then run rest of code.
If 'text file' does exist, simply run the rest of the code.

View Replies !
Errors In Php 5.0.4 Not In 4.3.10-16
I use the following statements:

$var = "";
$var = $_POST('varname');

In php 4, when 'varname' was not defined, $var remained an empty string;
In php 5, I suddenly get errors.

I solved these by including the function array_key_exist to check the
occurence of 'varname'
Is this the prefered way or is ther a better solution?

View Replies !
PHP 404 Errors
Some of my visitors keep emailing me about "404 page errors" on my website even though the pages are working perfectly. I have had this problem before , I figured it out and it was because of my "generators" which uses pure PHP codings like this - http://www.generators.hot-lyts.com/linkgen.php.

I had the solution, I made a sub domain and since then I wasn't getting anymore error mails however it occurs again, I have checked the new pages I've added recently and deleted some of them but I still have no luck, I still get tons of mails about this error pages and it is really frustrating because my hits have been dropping big time.

I really have no idea what the problem is with my website. I am not sure if it's my server or some php problems. Code:

View Replies !
Eva(...)l Errors
I have an eval(...) and sometimes, (not often), i get an error.

I can catch the error quite easily,
if( FALSE === eval($code ))
{
// output the code
echo ( htmlentities($code );
}

That does give me the error and the code but how can i get the code to be nicely lined up, or even have line numbers in front? Just to make it easier to debug.

View Replies !
OCI.dll Errors!
I keep getting OCI.dll errors when trying to open php via my browser on abyss web server X1 (2.4),

It keeps giving me these errors, and all I can do is press okay. Then the php-cgi.exe stops responding, so I press don't send. Please help me fix this as I really need to make php work on Abyss Web Server.

View Replies !
PHP.INI Errors
I am having errors reported in my apache log files about a php.ini error, specifically that:

PHP: Error parsing /etc/php.ini on line 278 ....

I can not find an issue with line 278. After removing all the comments from my php.ini file and reloading apache I still get the same error, even though there is no longer 278 lines in /etc/php.ini file.

This error continues to show in the log continually while apache is running.

Any ideas?
Php 4.3.9 & Apache 2


View Replies !
SQL Errors
Using a form to add data to a mysql database, however, whenever someone uses an apostrophe in a text field, I get "check the manual for the right syntax to use near 's ". Looks like it's tripping up the PHP in the form.

View Replies !
Getting Errors
I am getting some errors I have never seen before

PHP Notice: Use of undefined constant email - assumed 'email' in not_compare.php on line 7
PHP Notice: Use of undefined constant id - assumed 'id' in not_compare.php on line 8
PHP Notice: Use of undefined constant oldprice - assumed 'oldprice' in not_compare.php on line 9

can somebody tell me what these mean? here is the code I am working with

$select = "SELECT * FROM notify";
$selres = mysql_query($select);
while($seldata = mysql_fetch_array($selres)){
extract($seldata,'extr_overwrite');
$selarray[] = array(email => $email,
id =>$product,
oldprice=> $oldprice);

View Replies !
Ups Errors
how to solve these following errors in oscommerce PHP Code:

Warning: error_log(): SMTP server response: 451 See http://pobox.com/~djb/docs/smtplf.html. in E:Apache GroupApache2htdocsosccatalogincludesmodulesshippingupsxml.php on line 795

Warning: error_log(): SMTP server response: 451 See http://pobox.com/~djb/docs/smtplf.html. in E:Apache GroupApache2htdocsosccatalogincludesmodulesshippingupsxml.php on line 795

Warning: error_log(): SMTP server response: 451 See http://pobox.com/~djb/docs/smtplf.html. in E:Apache GroupApache2htdocsosccatalogincludesmodulesshippingupsxml.php on line 857

View Replies !
Ereg_replace - Errors
Whenever I use the ereg_replace function like follows:

View Replies !
Getting DB Errors For Too Many Connections.
about twice a day, i've been getting DB errors for too many connections.

can someone walk me through how to change this value? the mysql info on
it is pretty mimimal.

i'm on cpanel/WHM and have SSH access to my box.

View Replies !
Connection Errors ?
host -{ The server }- is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts'

anyone know why this message show up allot of times and goes away only after restarting mysql and apache ? is there a other way if fixing this ?

View Replies !
Odbc Errors
I am using php and sybase as a backend. To connect to sybase I am using odbc connections. the odbc connection is working fine but when I run an sql statement i get the following error:

" Warning: Supplied argument is not a valid ODBC-Link resource "

I am using an external file which holds my connection function which is:
function db_connect()
{
global $dbhost, $dbusername, $dbuserpassword, $defaultdbname, $dsn;
$myConnection = odbc_connect($dsn, $dbusername, $dbuserpassword) or die("Unable to connect to Server");
}

$myConnection = db_connect();
echo "Connected";

$mySql = "Select * from branch";
$myResult = odbc_prepare($myConnection, $mySql) or die("Could not prepare Statement");
odbc_execute($myResult) or die("Could not execute Statement");

odbc_free_result($myResult);
odbc_close($myConnection);

I get an error after the sql query. Can anyone please tell me what's wrong with this?

View Replies !
PHP Install Errors
I want to install Twig for web email which requires apache and php so I've installed all the right stuff but it still fails. Error_log output:

[Fri Feb 16 11:57:07 2001] [info] Server built: Feb 15 2001 11:38:09
[Fri Feb 16 11:58:46 2001] [error] (8)Exec format error: exec of /var/www/htdocs/index.php3 failed
[Fri Feb 16 11:58:46 2001] [error] [client 134.202.1.235] Premature end of script headers: /var/www/htdocs/index.php3

I configured Apache using the commandline: Code:

View Replies !
Bcompiler Errors
I am getting these errors all the time now, on multiple scripts at random
times.

Warning: bcompiler: Bad bytecode file format at 00000000 in Unknown on line
0

This tells me it has to be PHP in some fashion.

View Replies !
Display Errors Is Both On And Off
I have a website in which PHP errors are displayed, despite having them
configured to not display.

Here is a test file I created to explore this:

<?php
echo ini_get( 'display_errors' );
phpInfo();
?>

The ini_get says "On", the phpInfo says "Off" (for display_errors in the PHP
Core section).

PHP 5.0.4

I'm struggling to understand how, at runtime, I get these conflicting
reports. The configuration files all say display_errors is OFF, and phpInfo
agrees, but PHP acts like they are on, and ini_get shows why.

View Replies !
Displaying Errors
php_info(); for display_errors variable says: Off, Off. I tried the
error_reporting(E_ALL);, but nothing happens. If I have an error
somewhere, PHP just silently dies, no output whatsoever. Which variable
has to be set so that error_reporting() function works, but no
errors/warnings are displayed if the error_reporting() wasn't executed
(admins don't want to have display_errors On globally)? PHP Version is
4.3.3.

--

View Replies !
Trapping Errors
Is there a clean way to trap errors in PHP?
In Perl there is eval { <code> } and a special variable that can be
checked to see if the execution of the code was successful or not, and
thus a clean way to trap the error without it killing the entire
script.

Is there something similar in PHP?

View Replies !
How Do I Get MySQL Errors?
I just started going from ASP to PHP about a week ago, and I'm absolutely loving it, but what is up with PHP and MySQL errors? When I insert data with a mysql_query() and nothing gets inserted, I have no way of knowing what went wrong. Where are the errors?

View Replies !
Errors Using Php And Perl
I'm trying to intergrate a cgi affiliate tracking system into a php
website. When someone pays using PayPal it's supposed to direct them to one
page if the payment is a success or another if payment failed. This is the
code:

if($action == order && $order_n != "")
{

include "engine/card_process.pml";

if($payment_status == success)
{
$page = payment_success;
}
else
{
$page = payment_failed;
}
}
I'm trying to insert code into this process that will credit the affiliate
the correct amount if the process is a success. This is the code that's
supposed to be inserted to credit affiliates:

<img src="http://www.yoursite.com/cgi-bin/affiliates/sale.cgi?payment=
$amount" border=0>

I tried inserting this before the line "$page = payment_success;" in
various forms, but I either get errors, or the affiliate isn't credited, or
both. I managed to get the code to credit affiliates correctly, by
inserting this:

include "<img src='http://www.yoursite.com/cgi-bin/affiliates/sale.cgi?
payment=$amount' border=0>";
but it also gives me errors:

Warning: main(): failed to open stream: No such file or directory in
/home/httpd/vhosts/yoursite.com/httpdocs/index.php on line 18

Warning: main(): Failed opening '<img src='http://www.yoursite.com/cgi-
bin/affiliates/sale.cgi?payment=0.01' border=0>' for inclusion
(include_path='.:/usr/share/pear') in
/home/httpd/vhosts/yoursite.com/httpdocs/index.php on line 18

Warning: session_start(): Cannot send session cookie - headers already sent
by (output started at
/home/httpd/vhosts/yoursite.com/httpdocs/index.php:18) in
/home/httpd/vhosts/yoursite.com/httpdocs/index.php on line 29

Warning: session_start(): Cannot send session cache limiter - headers
already sent (output started at
/home/httpd/vhosts/yoursite.com/httpdocs/index.php:18) in
/home/httpd/vhosts/yoursite.com/httpdocs/index.php on line 29

Warning: Cannot modify header information - headers already sent by (output
started at /home/httpd/vhosts/yoursite.com/httpdocs/index.php:18) in
/home/httpd/vhosts/yoursite.com/httpdocs/index.php on line 69

Line 18 is the inserted code, line 29 is:

session_start();

Line 69 is:

setcookie("current_page"' $page);

If you can help me I would appreciate it. I really don't have a clue about
what I'm doing. I'm just guessing. Also, the email address is valid.
Address harvesters are programmed to ignore email addresses that contain
the word "fake".

View Replies !
Errors With $_SESSION
the website i'm creating will block "guest" users to some sections of the site. when "guest users" go to "download" page it will show an alert window. logged in members have the access to download page.

in "login.php", i create a $_SESSION var, each member has their own level, depending on the type of features they want;

$_SESSION['mylevel'] = $member_info['level'];
the checking of level to show the alert window is this: Code:

if (($_SESSION[mylevel']=='')||($_SESSION['mylevel']==&#399;')) { ?>
<SCRIPT LANGUAGE=JavaScript>
var agree=alert('Please login first.');
window.location='http://www.mywebsite.com'
</SCRIPT><? }

problem is like this; as a guest user, i go to "download" page, the alert window shows up, saying "please login first". (that's ok) when i log in, then go back to "download" page it still shows the alert window. i have to close the browser first then go to "download" page before its accessible.

View Replies !
WhereBisDu Errors
I have installed WhereBisDu on phpNuke 7.0 and it seems to work well. The problem I am encountering is when I scroll down to the bottom of the Forum page, I see these errors. I see no where in the php scripts where I need to put in SQL information. what am I missing: Quote:

Warning: mysql_query(): Access denied for user: 'XXXXX@localhost' (Using password: NO) in /var/www/html/modules/WhereBisDu/wbdtrack.php on line 36

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/html/modules/WhereBisDu/wbdtrack.php on line 48

Warning: mysql_query(): Access denied for user: 'XXXXX@localhost' (Using password: NO) in /var/www/html/modules/WhereBisDu/wbdgeo.inc on line 188

Code:

View Replies !
No Errors ( Mysql )
<?php
echo "a href="index.php?alp=a">A</a> ] "
."- [ <a href="index.php?alp=b">B</a> ] "
."- [ <a href="index.php?alp=c">C</a> ] ";

if (isset($_GET['alp']))
{
// Now what must i make the sql statment so that it will display all
the names that starts with a $_GET['alp'] ( a ) //
// and if i use like then it will display all names that has a 'a'
some where in the word. //

$sql = "SELECT * FROM store_items WHERE name = '$sid'";
$result = $db->sql_query($sql);

while($row = $db->sql_fetchrow($result))
{
$name = $row[name];
}
}
?>

View Replies !
How To Get Errors From Exec?
I am running PHP 4 and this code is failing, in that it does not
insert the records into MySQL

// Upload the data to file to the db.
exec("mysqlimport --replace --fields-terminated-by=','
--fields-optionally-enclosed-by='"' --user=$db_user
--password=$db_password --host=$db_hostname
--lines-terminated-by='
' $db_name $new_src_file_path", $output,
$return);

Sadly, the $output array is empty, but the $return value is 127. Does
anyone know what that means or how I can get more meaningful error
output?

View Replies !
Phpgroupware On Iis Errors
i'm trying to install phpGroupWare on Win2k running IIS 5. I know i
should be using Apache, but this is what my current conditions limit
me to due to other projects and applications that have to be on IIS. I
have been running into problems left and right. Lots of them were
fixed with the php.ini fix of register_global = on . i am still
getting tons of error and every single one is Undefined something or
other. moslty Undefined index with a few Undefined properties, classes
and functions sprinkled throughout. i'm hoping that the new verson of
PHP had somethin done in the ini file, similar to the
register_globals, that would change something about defining
variables. If anybody has any insight,

View Replies !
Errors To Stderr
I want to write all produced error messages (error, warning, notify,
etc...) to STDERR.
Is this possible without writing my own error handling routine?

View Replies !
FastTemplate Errors
I'm attempting to use the PHP FastTemplate class, and am running into trouble right away. I'm using the latest version of the template code, and PHP 4.0.6. Code:

View Replies !
Socket Errors
I'm looking through a complex script at the moment.
If the OS is FreeBSD, the script defines EINPROGRESS to error 36 (Operation
now in progress), EALREADY to error 37 (Operation already in progress), and
EISCONN to error 56 (Socket is already connected). If it's Linux, then sets
them to 115, 114 and 106 respectively. I want to try and add Windows
compatability to this code. I've printed a list of all Windows socket error
codes from 0 to 15000, but can't find the similar errors,

View Replies !
Errors In Php/mySQL
I wonder if there is any command to hide
php and mySQL errors from the user, and replace
them with a customized message, en maybe even
send a mail with the error to a defined email adress..

View Replies !
Fsockopen Errors
In the code fragment below $errno and $errstr get set to the
system-level errno and strerror() from the connect() call. Does anyone
know what the errors below mean an how I may rectify them?

$fp = fsockopen($host, $port, $errno, $errstr, 30);

Here are the resulting errors I get regardless of what I specify for
$host:

$errno = "115"
$errstr = "Operation now in progress"

View Replies !
Mysql Errors
I've run a php script that uses mysql databases without problems
on one server, but then I changed web hosts and installed it the same
way buy I get a lot of errors which are all derived from the
script not being able to interact with the database.
It finds the database and connects, but then can't do anything else.
When it uses a database on a different server, things work fine,
so I'm guessing it's just a mysql error and not the fault of the script.

View Replies !
PHP Does Not Report Errors!
I have no idea how this happened, but PHP (5.1.2) on my dev server
stopped telling me about errors. There's nothing in the server log
either.

I redownloaded PHP and used php.ini-recommended (only setting
display_errors = On). After restarting, it still returned blank pages
rather than error messages.

So I deleted php.ini and restarted the server, and suddenly error
reporting came alive!

Where have I buggered up?

View Replies !
PHP Startup Errors
i'm using pHP 5.2.1 after much effort i've managed to get it to work in IIS and it can pull data out of mysql database that was installed with xampp. now the xampp has a php 4 in there - using that for other java/apache projects - cant remove it.

thing is - when i start up my machine or i restart the IIS service, i'm getting a whole bunch of PHP Startup error message, mostly to do with not being able to load dynamic libraries. I've configure the php.ini file in terms of the ext etc, set up my environment variables etc.

View Replies !
Odd Forbidden Errors
Not sure if this is PHP or .htaccess errors but for some odd reasons certain rewritten URLs on my forum work, and others don't. They all work for me, but for some people they have reported "Forbidden" server errors. I'm stumped at what it could be.

Example of a working URL
Example of a "Forbidden" URL

I have attached my .htaccess file's contents below in case it is being caused by it: Code:

View Replies !
Require_once() Errors
Im making a website and i am writing a php script for a register form. The script checks for required fields if a required field is missed out then a error is generated. I think the problem might be on the server site.

There errors i am getting are

Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/Connections/userlogin.php) is not within the allowed path(s): (/tmp:/usr/share/pear:/home/fhlinux169/m/maltmandarkblues.co.uk/user) in /home/fhlinux169/m/maltmandarkblues.co.uk/user/htdocs/Register.php on line 2

Warning: require_once(/Connections/userlogin.php) [function.require-once]: failed to open stream: Operation not permitted in /home/fhlinux169/m/maltmandarkblues.co.uk/user/htdocs/Register.php on line 2

Fatal error: require_once() [function.require]: Failed opening required '/Connections/userlogin.php' (include_path='.:/usr/share/pear-php5') in /home/fhlinux169/m/maltmandarkblues.co.uk/user/htdocs/Register.php on line 2

The code:

View Replies !
HIDE Errors?
I used a show error code once, can't remember which, but now I've looked at my site, every error on every page is showing, including undefined variable errors (partly because they're defined by forms on that page). So how do I hide all errors?

View Replies !
Session Errors
Im trying to call a session via session_start(); in a script, and im getting this error.

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/frozen/public_html/fg/index.php:8) in /home/frozen/public_html/fg/ses.php on line 11

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/frozen/public_html/fg/index.php:8) in /home/frozen/public_html/fg/ses.php on line 11
PHP version 4.4.6

View Replies !
Catching Errors?
I am having trouble wrapping my head around the general concept of catching errors. I have read the tutorials about exceptions on DevShed, as well as on Zend's website. It is still not clear to me. If I throw 5 exceptions, how come I need 5 catch phrases, and what does it mean when it travels up the stack?

Sorry I am just really confused with the catch phrases and how they work, although I am almost positive I completely understand the throwing of exception concept.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved