On 26 Aug 2012, at 19:42, Mark wrote:
> Envision the following plugin architecture:
>
> class PluginLoader
> {
> }
>
> interface PluginInterface
> {
> .. some function definitions ..
> }
>
> class PluginOne implements PluginInterface
> {
> }
>
> class PluginTwo implements PluginInterface
> {
I all,
I'm looking for a Class or a PHP bundle in order to programatically
fetch blog entries from a Dotclear Movable Type (MT) blog, with their
tags, categories, all available attributes.
I found http://goo.gl/JUbCN in order to almost do the job.
I could deal with it, but I'm looking for a m
On Mon, Aug 27, 2012 at 12:41 PM, Stuart Dallas wrote:
> On 26 Aug 2012, at 19:42, Mark wrote:
>
>> Envision the following plugin architecture:
>>
>> class PluginLoader
>> {
>> }
>>
>> interface PluginInterface
>> {
>> .. some function definitions ..
>> }
>>
>> class PluginOne implements PluginIn
On 27 Aug 2012, at 14:29, Mark wrote:
> On Mon, Aug 27, 2012 at 12:41 PM, Stuart Dallas wrote:
>> On 26 Aug 2012, at 19:42, Mark wrote:
>>
>>> 2. Let the plugin itself (so in this case PluginOne.php) open itself
>>> and register it to the PluginLoader.
>>>
>>> With the first option i have to
On Mon, Aug 27, 2012 at 3:46 PM, Stuart Dallas wrote:
> On 27 Aug 2012, at 14:29, Mark wrote:
>
>> On Mon, Aug 27, 2012 at 12:41 PM, Stuart Dallas wrote:
>>> On 26 Aug 2012, at 19:42, Mark wrote:
>>>
2. Let the plugin itself (so in this case PluginOne.php) open itself
and register it
On 27 Aug 2012, at 14:52, Mark wrote:
> On Mon, Aug 27, 2012 at 3:46 PM, Stuart Dallas wrote:
>> On 27 Aug 2012, at 14:29, Mark wrote:
>>
>>> On Mon, Aug 27, 2012 at 12:41 PM, Stuart Dallas wrote:
On 26 Aug 2012, at 19:42, Mark wrote:
> 2. Let the plugin itself (so in this cas
On Aug 27, 2012, at 12:08 AM, Rosie Williams
wrote:
>
> Hi all,
> I am a newbie to PHP. I have several php forms which were originally on
> separate pages now included in the one page. Each form had the following code
> in it:
> function mysql_fix_string($string){ if (get_magic_quotes_gpc
On Aug 26, 2012, at 1:36 PM, Ashley Sheridan wrote:
> Well, it turns out that I'm just an idiot...
> --
> Thanks,
> Ash
That was easy -- anyone of us could have told you that. :-)
Cheers,
tedd
PS: We all have our time in the barrel.
_
t...@sperling.com
http://sperling.com
Hello All,
Trying to figure out why when I include the page that contains this
code, I'm not able to get the $calling_page populated with any values.
Any help appreciated...
";
} elseif ($calling_page == "index") {
$title = "Title 2 - $calling_page";
$body = "";
# Non S
On 8/27/2012 3:17 PM, Jack S wrote:
Hello All,
Trying to figure out why when I include the page that contains this
code, I'm not able to get the $calling_page populated with any values.
Any help appreciated...
";
} elseif ($calling_page == "index") {
$title = "Title 2 - $calling_page
On Mon, 2012-08-27 at 15:56 -0400, Jim Giner wrote:
> On 8/27/2012 3:17 PM, Jack S wrote:
> > Hello All,
> >
> > Trying to figure out why when I include the page that contains this
> > code, I'm not able to get the $calling_page populated with any values.
> > Any help appreciated...
> >
> >
> > >
I need some help. I was cleaning up files on my server yesterday and deleted
some files I should not have. One of my websites,
www.ancientempires-tours.com has a problem with one section. The subdomain
www.egypt.ancientempires-tours.com, is having a problem connecting with the
database. I need some
With this question, I aim to understand the inner workings of PHP a
little better.
Assume that you got a 50K library. The library is loaded with a bunch
of handy functions that you use here and there. Also assume that these
functions are needed/used by say 10% of the pages of your site. But
your h
On 08/27/2012 01:26 PM, Ashley Sheridan wrote:
On Mon, 2012-08-27 at 15:56 -0400, Jim Giner wrote:
Also, as Ashley can attest, make sure that your able to run with
short-tags enabled. Seeings how your code block starts with a
short-tag. eg. 'results.
Sorry Ashley, had to point it out.
--
On Mon, Aug 27, 2012 at 4:26 PM, Stuart Dallas wrote:
> On 27 Aug 2012, at 14:52, Mark wrote:
>
>> On Mon, Aug 27, 2012 at 3:46 PM, Stuart Dallas wrote:
>>> On 27 Aug 2012, at 14:29, Mark wrote:
>>>
On Mon, Aug 27, 2012 at 12:41 PM, Stuart Dallas wrote:
> On 26 Aug 2012, at 19:42, Mar
Quick-n-easy question: I have my apache virtual host configured to use
kerberos authentication:
AuthType KerberosV5
KrbAuthRealms DOMAIN.COM
KrbServiceName HTTP
Krb5Keytab /etc/apache2/krb5.keytab
KrbMethodNeg
I agree, but how do I fix it. Everywhere I look, it is pointing to
/home/rodtsd/public_html/Egypt
I decided to uninstall and do a fresh reinstall. This works, but now I have
to find a way to get the old webpage data back on the screen. I can
currently only display the default page and its links.
On Mon, Aug 27, 2012 at 10:56 PM, Haluk Karamete
wrote:
> With this question, I aim to understand the inner workings of PHP a
> little better.
>
> Assume that you got a 50K library. The library is loaded with a bunch
> of handy functions that you use here and there. Also assume that these
> functi
On 8/27/12 4:09 PM, Mark wrote:
On Mon, Aug 27, 2012 at 4:26 PM, Stuart Dallas wrote:
2. Let the plugin itself (so in this case PluginOne.php) open itself
and register it to the PluginLoader.
With the first option i have to do eval which i try to avoid if possible.
With the second solution t
On Tue, Aug 28, 2012 at 12:58 AM, Larry Garfield wrote:
> On 8/27/12 4:09 PM, Mark wrote:
>>
>> On Mon, Aug 27, 2012 at 4:26 PM, Stuart Dallas wrote:
>
>
2. Let the plugin itself (so in this case PluginOne.php) open itself
and register it to the PluginLoader.
W
On Mon, 2012-08-27 at 18:54 -0400, Jack S wrote:
> OK yes, In respect to errors I get:
> PHP Notice: Undefined index: page
> in /home/WebSite.com/www/includes/header.php on line 8
>
> Line 8 has the below line of code
> $calling_page = $_GET['page'];
>
>
>
>
> On Mon, Aug 27, 2012 at 4:47 P
On 8/27/12 6:11 PM, Matijn Woudt wrote:
You should never be calling require() yourself. Just follow the PSR-0
naming standard and use an autoloader, then you don't have to even think
about it. There are many existing autoloaders you can use, including
Composer's, Symfony2's, and probably Zend
Maybe you are hitting this bug?
https://bugzilla.redhat.com/show_bug.cgi?id=687975
mod_auth_kerb using krb5passwd and keepalive and credential delegation
loses delegation after first request on connection
On Mon, 2012-08-27 at 17:29 -0400, Mauricio Tavares wrote:
> Quick-n-easy question: I have
On 8/27/2012 7:21 PM, Ashley Sheridan wrote:
On Mon, 2012-08-27 at 18:54 -0400, Jack S wrote:
OK yes, wrote:
On Mon, 2012-08-27 at 16:37 -0400, Jack S wrote:
> > How are you including this in your code? GET data won't be passed
in a
> > call like require("some_fil
On Mon, Aug 27, 2012 at 6:54 PM, Matijn Woudt wrote:
> On Mon, Aug 27, 2012 at 10:56 PM, Haluk Karamete
> wrote:
>>
>> Now, the question is... should you use a global include that points to
>> this library - across the board - so that ALL the pages ( including
>> the 90% that do not need the libr
What do your performance measurements show so you have actual data
comparisons to make a valid decsion?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
26 matches
Mail list logo