I don't know what I was thinking when I wrote that actually, that is so
blatantly obvious :)
Thanks Brian.
Hamza.
brian [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Marcelo de Moraes Serpa wrote:
How could I iterate over the files in a directory and build a list of
unique
$files = glob(directory/*.jpg);
will give you a list of all the jpg files in the directory,
$files_unique = array_unique($files);
will get rid of the duplicates and create a shiny new array.
Regards,
Hamza.
PS: glob is case-sensitive so the above will only match *.jpg, and not *.JPG
Hi Emil,
Just an alternative solution you may want to consider..
Rather than converting your captions/headings to images, you can also use
the sIFR Image replacement technique.
Quote from the the author's description:
sIFR is meant to replace short passages of plain browser
Not a script you can install/hack but why don't you have a look at:
http://recaptcha.net/ ?
Regards,
Hamza.
Tony Di Croce [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I need a CAPTCHA script Which one is the best? (I dont mind if its
somewhat difficult).
--
PHP General
You may find the following article interesting. It talks about object
cloning, which I think what you are after...
http://www.phpfreaks.com/phpmanual/page/language.oop5.cloning.html
Regards,
Hamza.
Sándor Tamás (GMail) [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
I
Nathan Nobbe [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On 8/6/07, Stut [EMAIL PROTECTED] wrote:
Hamza Saglam wrote:
Thanks for your response. However I am looking for something a bit more
comprehensive :)
I could do it as you suggested if I had only a few plugins. As I
of my web provider.
Anything besides of _clone?
SanTa
- Original Message -
From: Hamza Saglam
To: Sándor Tamás (GMail)
Sent: Tuesday, August 07, 2007 10:49 AM
Subject: Re: Object reference into variable?
You may find the following article interesting. It talks about object
Hello all,
I am working on a project which needs to have some sort of plugins
architecture and I am kinda stuck. Basically I want to give a list of
items to the user, and according to his/her selection, I want to load
relevant functionality into my application.
I was thinking of having an
');
$obj = new $chosenPlugin();
return $obj;
And you can start from there.
hth,
boro
Hamza Saglam schreef:
Hello all,
I am working on a project which needs to have some sort of plugins
architecture and I am kinda stuck. Basically I want to give a list of
items to the user, and according
I think I have a rough understanding of the whole process so I should start
coding :)
Many thanks to everyone for your suggestions.
Regards,
Hamza.
Hamza Saglam [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello all,
I am working on a project which needs to have some sort
10 matches
Mail list logo