Hello PHP - General,
I'm looking for a PHP Unit Test framework and found so far:
SimpleTest: https://sourceforge.net/projects/simpletest/
PEAR PHPUnit:
- http://pear.php.net/package/PHPUnit
- http://pear.php.net/package/PHPUnit2
Sourceforge PHPUnit: http://phpunit.sourceforge.net/
While SF
Hello,
for the purpose of automatically building a syntax highlighting file for
jEdit I wanted to write a script that does this automatically by
retrieving http://php.net/quickref.php and extracting it.
Unfortunately the syntax for the function names there is not trivial.
For example, the swfbit
on Sat, 13 Dec 2003 09:06:56 -0800 (PST) Jough Jeaux wrote:
JJ> Was wondering what everyone's favortie IDE is for
JJ> coding in PHP. I've got a big PHP project in the
JJ> works. I'll be doing alot with it and am looking for
JJ> ways to boost my productivity.
Used to use UltraEdit some time, but
on Tue, 9 Dec 2003 12:49:56 + [EMAIL PROTECTED] wrote:
TPrsc> I want to now be able to stop people from linking to the images directly,
TPrsc> and only be able to access the images via my site...
With Apache you can either use mod_rewrite:
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_R
Hello PHP-list,
I proudly announce the first release of my first PHP script:
spambothoney.
It provides a class to generate different types of email addresses
(random invalid, combination of users/hosts, with spambots IP/host,
"binary" output) and is meant to pollute the crawling spambots that
har
on Tue, 2 Dec 2003 23:46:33 +0100 I already wrote, regarding replacing
macro %rand[x]-[y] with random of random length ([x]-[y]).
Before, I had my own (slow!) procedure to find next occurence of the
macro and generated a new string, which was returned.
This took about 15 seconds for 10.000 addres
on 02 Dec 2003 18:56:28 -0500 Robert Cummings wrote:
RC> I missed the original post, and I'm too lazy to go looking, but the
RC> following code runs in approx. 2.75 seconds on my Athlon 2400 running
RC> linux:
it is 4.3 seconds on xp 1600+..
RC> $chars = '0123456789'
RC> .'abcdef
on Wed, 3 Dec 2003 10:54:10 +1100 Luke wrote:
L> result on my laptop for default script settings
L> (P4 2.66, 512mb ram)
L> 20
L> loaded in: 1.3158s
thanks for the test..
L> please tell me what you think of this? if you like it i can email it to you
L> (as a php file)
Looks good, I have alr
on Tue, 2 Dec 2003 23:33:47 + Richard Davey wrote:
RD> Just so we're clear on this - you're creating a string (an email
RD> address) of a million characters? I don't know my mail RFC's that well, but
RD> I'm sure this is well beyond what it considers "standard".
We're not clear.. ;)
the funct
Hello PHP-list,
I'm building a script, that provides a honeypot of invalid email
addresses for spambots.. for this I want to provide a macro for the
templates that looks like %rand[x]-[y]%, where [x] and [y] are
integers, that specify the length of the random script.
My first thoughts were about t
Hallo PHP-general list,
on Wed, 22 Oct 2003 23:07:06 +0200 I already wrote:
dh> Hallo daniel,
don't want to talk only to myself.. this is for everyone.. :)
--
shinE!
http://www.thequod.de ICQ#152282665
PGP 8.0 key: http://thequod.de/danielhahler.asc
--
PHP General Mailing List (http://www.p
Hallo daniel,
am Mon, 20 Oct 2003 13:45:18 +0200 schrieb ich bereits:
dh> But I did not find an answer, how to correct this.. - using
dh> ob_implicit_flush(); did also not help.
is there no way to put header('Content-Length: '.$sth) in when you use
ob_gzhandler in output buffering?
that would b
Hello PHP,
I found this small demonstration code on the net, that shows it really
good.
Call it with:
wget --header="Accept-Encoding: gzip" --header="Connection: close" -S
http://localhost/test.php
on php-bugs I found that this is defined as "bogus", as the
compression takes place after all o
on Mon, 29 Sep 2003 10:24:09 +0200 Christophe Chisogne wrote:
>> This works good, but if the .mo file gets changed the old content is
>> returned by calls to gettext, until I restart Apache.
CC> gettext uses a caching method to speed up looking translation
CC> strings, which explain why Apache mu
Hello php-general,
I init gettext with
putenv('LANGUAGE='.$language);
putenv('LANG='.$language);
// Specify location of translation tables
bindtextdomain ("messages", "./locale");
// Choose domain
textdomain ("messages");
where $language is either "de" or "en".
This works goo
on Wed, 17 Sep 2003 21:08:31 + Curt Zirzow wrote:
>> I'm building up a site which should be german and english. So I have a
>> site object which remembers this choice during the session and do a
>>include('lang_'.$site->lang.'.php');
>> in my topmost.php.
CZ> I would suggest using gettext
Hello listmembers,
I'm building up a site which should be german and english. So I have a
site object which remembers this choice during the session and do a
include('lang_'.$site->lang.'.php');
in my topmost.php.
This works good, but this file is growing and I thought about how to
handle this
17 matches
Mail list logo