Hello Yermo,
thanks a lot! I will try this on my project (http://oire.org/) and
I'll inform you if I modify it somehow.
--
With best regards from Ukraine,
Andre
Skype: Francophile
Twitter: http://twitter.com/m_elensule
Facebook: http://facebook.com/menelion
- Original message -
From: Yer
On Mon, Nov 22, 2010 at 3:05 PM, Richard Quadling wrote:
> Would it be overboard to use a namespace? Aren't namespaces handled by
> the autoloader? If not autoload(), how about spl_autoloading?
>
Autoloading is for determining the path and filename where a named item is
defined. Namespaces only g
I'm posting this in the hopes that it will be of some use to someone.
I've put together a little regex function for finding and transforming
links in blocks of plain text into clickable links while applying some
heuristics to handle the more common edge cases.
Unlike so many solutions I've fo
On 22 November 2010 22:02, David Harkness wrote:
> The simplest solution would be to move those functions into static methods
> of classes. Place one class in each file to organize your functions and use
> an autoloader to load the classes. You don't need to instantiate the class
> to use the auto
On Mon, Nov 22, 2010 at 16:54, Dee Ayy wrote:
> Hi Daniel,
> Tell me if this isn't self explanatory:
>
> cp ./photos/Nozzle\ 130\ Amp\ SS\ Alum\ 94-00994-06\ 220197.JPG
> "./photossized/001196-220197-0.jpg"
> cp: ./photos/Nozzle 130 Amp SS Alum 94-00994-06 220197.JPG: No such
> file o
On Mon, Nov 22, 2010 at 16:47, Peter Lind wrote:
>
> Not to mention that it has nothing to do with a procedural autoloader.
> Autoloading takes place if you try to instantiate an object of a class
> that PHP doesn't know about (yet). There is no such thing for
> functions. Either refactor your cod
The simplest solution would be to move those functions into static methods
of classes. Place one class in each file to organize your functions and use
an autoloader to load the classes. You don't need to instantiate the class
to use the autoloader--just reference it statically:
// library/Math
Hi Daniel,
Tell me if this isn't self explanatory:
cp ./photos/Nozzle\ 130\ Amp\ SS\ Alum\ 94-00994-06\ 220197.JPG
"./photossized/001196-220197-0.jpg"
cp: ./photos/Nozzle 130 Amp SS Alum 94-00994-06 220197.JPG: No such
file or directory
Thanks for trying. Usually coders c
On Nov 22, 2010, at 4:24 PM, Daniel P. Brown wrote:
On Mon, Nov 22, 2010 at 15:37, Jason Pruim
wrote:
Hey Everyone!
Fresh off my problem with functions and arrays I come across
something that
I can't seem to find currently... The autoloader function that is
in PHP 5+
works on classes...
On 22 November 2010 22:40, Daniel P. Brown wrote:
> On Mon, Nov 22, 2010 at 16:31, Nathan Nobbe wrote:
>>
>> Shrug, if you want to really be dirty about it, you could just put a 'class'
>> atop each file of functions.
>> > class IWishTheseFunctionsWereOOInstead {} // :P
>> function firstProceedur
On Mon, Nov 22, 2010 at 16:31, Nathan Nobbe wrote:
>
> Shrug, if you want to really be dirty about it, you could just put a 'class'
> atop each file of functions.
> class IWishTheseFunctionsWereOOInstead {} // :P
> function firstProceeduralFunc() {
> // ..
> }
> ?>
That's not going to be ec
Ethan Rosenberg wrote:
Dear list -
Does anyone have a URL for the manual for Eclipse/PHP.
Depends which one you are looking for
PHPEclipse is on their site
http://www.phpeclipse.com/wiki/General/PHPEclipseFAQ is a good starting point.
If you must use PDT, then http://wiki.eclipse.org/index.ph
On Mon, Nov 22, 2010 at 2:24 PM, Daniel P. Brown
wrote:
> On Mon, Nov 22, 2010 at 15:37, Jason Pruim
> wrote:
> > Hey Everyone!
> >
> > Fresh off my problem with functions and arrays I come across something
> that
> > I can't seem to find currently... The autoloader function that is in PHP
> 5+
>
On Mon, Nov 22, 2010 at 15:37, Jason Pruim wrote:
> Hey Everyone!
>
> Fresh off my problem with functions and arrays I come across something that
> I can't seem to find currently... The autoloader function that is in PHP 5+
> works on classes... But I'm not finding anything that would do the same
On Mon, Nov 22, 2010 at 15:37, Jason Pruim wrote:
> Hey Everyone!
>
> Fresh off my problem with functions and arrays I come across something that
> I can't seem to find currently... The autoloader function that is in PHP 5+
> works on classes... But I'm not finding anything that would do the same
On Mon, Nov 22, 2010 at 12:37 PM, Jason Pruim wrote:
> The autoloader function that is in PHP 5+ works on classes... But I'm not
> finding anything that would do the same thing on the procedural end.
>
I'll start by explaining how it typically works with classes. The Zend
Framework is a popular w
Dear list -
Does anyone have a URL for the manual for Eclipse/PHP.
Ethan
MySQL 5.1 PHP 5 Linux [Debian (sid)]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey Everyone!
Fresh off my problem with functions and arrays I come across something
that I can't seem to find currently... The autoloader function that is
in PHP 5+ works on classes... But I'm not finding anything that would
do the same thing on the procedural end... Such as I have a folde
On Nov 21, 2010, at 4:57 PM, Tamara Temple wrote:
On Nov 20, 2010, at 5:31 PM, Jason Pruim wrote:
Maybe it's just me, but using the name of a global as a function
parameter just seems like a bad idea. Yes, you can do it. Should
you? I think not. Especially, as, you are passing it a sca
On Mon, Nov 22, 2010 at 14:52, Dee Ayy wrote:
> There are 2 separate issues numbered 1) and 2).
>
> #1 deals with getimagesize operating on definitely existing files
> verified by "ls".
>
> #2 deals with escaping spaces in the name of the file and using the
> exec command, which an example was giv
There are 2 separate issues numbered 1) and 2).
#1 deals with getimagesize operating on definitely existing files
verified by "ls".
#2 deals with escaping spaces in the name of the file and using the
exec command, which an example was given for a different file name
than in #1.
--
PHP General M
On Mon, Nov 22, 2010 at 14:36, Dee Ayy wrote:
> Thes two lines means that they exist by using quoted and unquoted commands:
> ls ./photos/HPR-130-260_HD-3070-1.jpg
> ./photos/HPR-130-260_HD-3070-1.jpg
>
> ls "./photos/HPR-130-260_HD-3070-1.jpg"
> ./photos/HPR-130-260_HD-3070-1.jpg
Please use
On Mon, Nov 22, 2010 at 14:24, Dee Ayy wrote:
> 1)
> Warning: getimagesize("./photos/HPR-130-260_HD-3070-1.jpg"): failed to
> open stream: No such file or directory in ... on line ...
>
> ls ./photos/HPR-130-260_HD-3070-1.jpg
> ./photos/HPR-130-260_HD-3070-1.jpg
>
> ls "./photos/HPR-130-260_HD-307
1)
Warning: getimagesize("./photos/HPR-130-260_HD-3070-1.jpg"): failed to
open stream: No such file or directory in ... on line ...
ls ./photos/HPR-130-260_HD-3070-1.jpg
./photos/HPR-130-260_HD-3070-1.jpg
ls "./photos/HPR-130-260_HD-3070-1.jpg"
./photos/HPR-130-260_HD-3070-1.jpg
2) Similarly...
> perhaps you could just google wordpress pagination
>
> http://www.google.ca/#sclient=psy&hl=en&q=wordpress+pagination&aq=1&aqi=g4g-o1&aql=&oq=&gs_rfai=&pbx=1&fp=88df74f51cdeec4c
>
> --
>
> Bastien
>
> Cat, the other other white meat
>
Here, this may help:
http://lmgt4u.com/?q=wordpress+pag
On Mon, Nov 22, 2010 at 12:14 PM, Rico Secada wrote:
> On Mon, 22 Nov 2010 09:27:28 +0800 (SGT)
> vince samoy wrote:
>
> Hi Vince.
>
> This is not a Wordpress mailing list. This is the general users PHP
> mailing list.
>
>> Hi guys,
>>
>> I was wondering if this is the right place that this quest
On Mon, 22 Nov 2010 09:27:28 +0800 (SGT)
vince samoy wrote:
Hi Vince.
This is not a Wordpress mailing list. This is the general users PHP
mailing list.
> Hi guys,
>
> I was wondering if this is the right place that this question of mine
> might get an answer. I'm currently working on a website
Hello,
This doesn't relates to php directly.
Oracle , MSSQL supports TDE innately. Is there any way to adding that
support to mysql too ? Looking for some free, opensource solution.
Something which won't be much of a hit on performance.
thanks
--
Regards,
Nitesh Nandy
On Sun, 21 Nov 2010 11:19:04 -0700
"Ben Miller" wrote:
>
> To help clarify - the 3 tables look something like the following (tableName
> => column,column,column...):
>
> Products => product_id,product_name,product_description... (key =
> product_id)
> Criteria => criteria_id,criteria_title,cri
On 20 November 2010 23:31, Jason Pruim wrote:
> Hey Everyone!
>
> So I came across a problem that I don't know how to fix... I have searched
> and thought and just not having anything click as to where I am messing
> up...
>
> I have a few functions as follows:
>
> function ddbYear($name, $messag
30 matches
Mail list logo