php-general Digest 2 Jun 2012 01:28:38 - Issue 7836
Topics (messages 318072 through 318096):
Re: How to insert a file in a class?
318072 by: sertcetin.itu.edu.tr
318073 by: LAMP
318074 by: LAMP
318075 by: marco.behnke.biz
318076 by: LAMP
progress
You need to get better tools. I found this with Notepad++ for Windows
searching case within *.php files filter within the root directory
of the extracted zip/tarball:
H:\data\Downloads\dev\PHP\htmlpurifier-4.4.0\library\HTMLPurifier\AttrDef\CSS\Font.php
(6 hits)
Line 45:
On Thu, May 31, 2012 at 11:17 PM, Govinda govinda.webdnat...@gmail.com wrote:
You need to get better tools. I found this with Notepad++ for Windows
searching case within *.php files filter within the root directory
of the extracted zip/tarball:
Hi to all.
Let's say there is a class
class Box
{
var $box_title;
var $box_content;
function __construct()
{
$this-box = '';
}
function box_title($title)
{
$this-title = $title;
}
file_get_contents() ?
--
Ege Sertçetin
Alinti LAMP l...@afan.net
Hi to all.
Let's say there is a class
class Box
{
var $box_title;
var $box_content;
function __construct()
{
$this-box = '';
}
function box_title($title)
On Jun 1, 2012, at 8:00 AM, Gibbs wrote:
On 01/06/12 13:41, LAMP wrote:
Hi to all.
Let's say there is a class
class Box
{
var $box_title;
var $box_content;
function __construct()
{
$this-box = '';
}
function box_title($title)
{
$this-title = $title;
On Jun 1, 2012, at 7:46 AM, David OBrien wrote:
On Fri, Jun 1, 2012 at 8:41 AM, LAMP l...@afan.net wrote:
Hi to all.
Let's say there is a class
class Box
{
var $box_title;
var $box_content;
function __construct()
{
$this-box = '';
}
LAMP l...@afan.net hat am 1. Juni 2012 um 14:41 geschrieben:
include(file.php);
$box-box_content($content);
$box-make_box();
echo $box-get_box();
Wrong approach.
Right is:
$content = file_get_contents('file.php');
$box-box_content($content);
Marco Behnke
Dipl. Informatiker (FH), SAE
On Jun 1, 2012, at 8:11 AM, LAMP wrote:
On Jun 1, 2012, at 7:46 AM, David OBrien wrote:
On Fri, Jun 1, 2012 at 8:41 AM, LAMP l...@afan.net wrote:
Hi to all.
Let's say there is a class
class Box
{
var $box_title;
var $box_content;
function __construct()
{
Hi..
I've got several scripts now that may run for a long time; the
self-test script for my htmlMicroscope, my serviceLog component when
it calculates totals for a large number of hits, a curl script that is
likely to one day crawl a hundred or so RSS urls in a single update,
etc, etc.
I'd like
Hey guys,
Haven't posted in a long time... Happy Memorial Day! I have an issue
with exception handling. I'm using a framework that throws a
Database_Exception object. I was expecting catch (Exception $var) to
be sufficient to catch this, but it doesn't. I have to do catch
James Colannino crankycycl...@gmail.com hat am 1. Juni 2012 um 16:25
geschrieben:
Hey guys,
Haven't posted in a long time... Happy Memorial Day! I have an issue
with exception handling. I'm using a framework that throws a
Database_Exception object. I was expecting catch (Exception $var)
-Original Message-
From: James Colannino [mailto:crankycycl...@gmail.com]
Sent: Friday, June 01, 2012 10:25 AM
To: PHP-General List
Subject: [PHP] Exception Handling
Hey guys,
Haven't posted in a long time... Happy Memorial Day! I have an issue
with exception handling. I'm using a
On 06/01/12 07:30, ma...@behnke.biz wrote:
James Colanninocrankycycl...@gmail.com hat am 1. Juni 2012 um 16:25
geschrieben:
Hey guys,
Haven't posted in a long time... Happy Memorial Day! I have an issue
with exception handling. I'm using a framework that throws a
Database_Exception object.
On 06/01/12 08:08, James Colannino wrote:
On 06/01/12 07:30, ma...@behnke.biz wrote:
James Colanninocrankycycl...@gmail.com hat am 1. Juni 2012 um 16:25
geschrieben:
Hey guys,
Haven't posted in a long time... Happy Memorial Day! I have an issue
with exception handling. I'm using a
On 06/01/12 07:32, Mackintosh, Mike wrote:
Hi James,
You would have to catch Database_Exception. It is also good practice to
also always catch exception afterwards.
Hey Mike,
Thanks for the reply! I saw this comment in the documentation
-Original Message-
From: James Colannino [mailto:crankycycl...@gmail.com]
Sent: Friday, June 01, 2012 11:14 AM
To: PHP-General List
Subject: Re: [PHP] Exception Handling
Hey Mike,
Thanks for the reply! I saw this comment in the documentation
Maybe catch(Exception $e) should be catch(\Exception $e)?
On Fri, Jun 1, 2012 at 5:25 PM, James Colannino crankycycl...@gmail.com wrote:
Hey guys,
Haven't posted in a long time... Happy Memorial Day! I have an issue with
exception handling. I'm using a framework that throws a
This is a bit of a shameless plug, but it is a Friday and a pretty
special weekend over here.
I recently got to work on something a bit fun at work in my spare time
and they liked it so much that it got used internally to celebrate the
jubilee weekend.
This is the result
On Fri, Jun 1, 2012 at 1:44 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
This is a bit of a shameless plug, but it is a Friday and a pretty
special weekend over here.
I recently got to work on something a bit fun at work in my spare time
and they liked it so much that it got used
Am 01.06.12 17:08, schrieb James Colannino:
Hey Marco,
Thanks for the reply! That was the first thing I checked.
class Database_Exception extends \FuelException {}
class Fuel_Exception extends \Exception {}
It's extending Exception, as expected. Also, can you throw classes
that don't
Hi,
as I accidentally found out that PHP allows default argument values
to occur not only at the end of parameter list:
function ( Classname $a, Classname $b = null, Classname $c ) ...
Unfortunately, documentation does not state what is supposed to happen in
such situation.
It appears $b
we got off list, without meaning to, it seems.
Here are the last few posts in the thread:
On Fri, Jun 1, 2012 at 12:46 AM, Govinda govinda.webdnat...@gmail.com
wrote:
Perhaps you should spend some time looking for a better text editor
for your OS. :) When the current tools I use does
On Fri, Jun 1, 2012 at 12:51 PM, Marco Behnke ma...@behnke.biz wrote:
Ah, I guess that is the problem. Your application framework uses namespaces.
I guess you should try
catch (\Exception $e)
instead of
catch (Exception $e)
:-)
Ah, that was probably it. Will try it out tonight to
And this is when I realize that I still have so much to learn Looks amazing
ash!
Jason Pruim
352.234.3175 Google Voice
352.682.1073 Cell
On Jun 1, 2012, at 1:44 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote:
This is a bit of a shameless plug, but it is a Friday and a pretty
On Fri, Jun 01, 2012 at 06:44:17PM +0100, Ashley Sheridan wrote:
This is a bit of a shameless plug, but it is a Friday and a pretty
special weekend over here.
I recently got to work on something a bit fun at work in my spare time
and they liked it so much that it got used internally to
Greetings, all;
Have you ever wanted to get directly involved in the PHP project
in an official capacity, but don't have the time, resources, or
knowledge required to contribute to the core, documentation, or other
roles? Did you know about our Official Mirrors program?
Starting
Hi all,
I built a system in PHP/mySQL where a group of users post events, sign-
up for events, change their arrival times, remove thier names from
events, and post related notes on the events. Each time an action is
done, an email is generated to the entire group that their has been a
On Fri, Jun 1, 2012 at 8:32 PM, Don Wieland d...@pointmade.net wrote:
Hi all,
I built a system in PHP/mySQL where a group of users post events, sign-up
for events, change their arrival times, remove thier names from events, and
post related notes on the events. Each time an action is done, an
29 matches
Mail list logo