Click here to get back home

Handling PDO Exceptions

 HomeNewsGroups | Search | About
 comp.lang.php    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Handling PDO Exceptions r_topor 03-29-2006
Get Chitika Premium
Posted by r_topor on March 29, 2006, 8:06 am
Please log in for more thread options
Kimmo Laine wrote:
> <?php
>
> include('http://www.your.domain/next_page.php?foo=bar');

Unless next_page.php generates PHP, the script with this include will
only get HTML.

> exit();
>
> ?>

next_page.php

<?php
if (isset($_GET['foo'])) {
echo '<?php echo $_GET[\'foo\']; ?>';
} else {
echo '<?php echo \'Not available\'; ?>';
}

--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

Similar ThreadsPosted
mysql, classes, exceptions and error handling September 19, 2005, 7:21 pm
What is the difference between exceptions and simple error handling techniques? December 2, 2007, 10:55 pm
Exceptions August 30, 2005, 11:50 am
Exceptions - what do they mean? December 4, 2008, 10:16 am
Responding to Exceptions February 24, 2007, 5:17 pm
Errors to Exceptions November 3, 2008, 8:34 am
SOAP Exceptions with php/pear July 1, 2005, 6:55 am
List of Predefined PHP exceptions October 3, 2007, 4:07 pm
Throw Exceptions from setters: second opinion December 30, 2008, 5:28 am
[PDO] Displaying errors - silent mode, warnings or exceptions? March 18, 2008, 1:45 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap