php-general Digest 17 Jan 2008 20:02:02 -0000 Issue 5241
Topics (messages 267483 through 267506):
Re: PHP array entries max limit
267483 by: Per Jessen
Re: New years resolution: To get serious with my programming! Anyone wanna
help? :)
267484 by: Jochem Maas
Match anything between two " that is not a " except if it is escaped...
267485 by: mathieu leddet
267486 by: Jochem Maas
267488 by: Max Antonov
267489 by: Jochem Maas
267490 by: Max Antonov
267491 by: Per Jessen
267492 by: mathieu leddet
267494 by: Jochem Maas
267495 by: Max Antonov
267496 by: mathieu leddet
267498 by: Jim Lucas
267499 by: Jochem Maas
Re: SMTP vs mail()
267487 by: Richard Heyes
Re: system command runs application, but application doesn't work correctly
267493 by: Apple7777
Hashes and character encodings
267497 by: Naz Gassiep
267500 by: Per Jessen
Re: Encryption failing
267501 by: Ken Kixmoeller -- reply to ken.kixmoeller.com
Re: How to take video embed codes and change all their widths/heights?
267502 by: Dan
Count
267503 by: Pastor Steve
267504 by: Richard Heyes
267506 by: Pastor Steve
Re: changing the ini from a file
267505 by: Dan
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Prabath Kumarasinghe wrote:
> Hi All
>
> I would like to know how many entries does PHP associative array can
> handle.
Why don't you just test it?
for( $i=0; ; $i++ )
{
$kk[$i]=1;
}
Attempt#1 - 130000 keys, stopped due to memory limit *M.
Attempt#2 - 8380000 keys, memlimit 512M.
Attempt#3 - 29580000 keys, memlimit 2G.
/Per Jessen, Zürich
--- End Message ---
--- Begin Message ---
Richard Lynch schreef:
On Wed, January 16, 2008 9:57 am, Daniel Brown wrote:
echo($h."\n".$i."\n"); // echo is a construct, but as expected, can
use parentheses()
Just to be picuyane:
echo isn't using the parens.
The parens are forcing PHP to evaluate the concatenation of the
strings FIRST, and then echo them.
And since the concatenation operator takes precedence over the
language construct, the parens are basically useless cruft.
not to mention that it should be written as (spaces are optional ;-)):
echo $h, "\n", $i, "\n";
which avoids any concat operation and dumps the result of each expression
direct to the buffer :-)
--- End Message ---
--- Begin Message ---
Hi everyone,
I am struggling with regular expression trying to match strings
delimited by double quotes, but taking into consideration that \" is not
a string ending character.
-------8<---------------------------------------------------------------
-
$in = 'this is a string : "Hi everyone my name is \"Mathieu\"!" Here is
a second string : "PHP is just perfect"';
// pattern for catching strings between "
$pattern = '#"([^"]*)"#';
// surround matching string with HTML span code to highlight
$replacement = '<b>"${1}"</b>';
// perform the reg exp replacement
$out = preg_replace($pattern, $replacement, $in);
-------8<---------------------------------------------------------------
-
$out contains :
this is a string : <b>"Hi everyone my name is \"</b>Mathieu\<b>"!"</b>
Here is a second string : <b>"PHP is just perfect"</b>
This behaviour is normal considering my pattern (anything between two "
that is not a ").
But I don't know how to get this :
this is a string : <b>"Hi everyone my name is \"Mathieu\"!"</b> Here is
a second string : <b>"PHP is just perfect"</b>
I would like my pattern to express : Anything between two " that is not
a " except if it is escaped.
Thanks for reading me, any help in return is welcome !
--
Mathieu
--- End Message ---
--- Begin Message ---
mathieu leddet schreef:
Hi everyone,
I am struggling with regular expression trying to match strings
delimited by double quotes, but taking into consideration that \" is not
a string ending character.
STFW for the concept "look behind assertion" - that is what you need to
differentiate between an escaped double-quote and the delimiting double quote.
-------8<---------------------------------------------------------------
-
$in = 'this is a string : "Hi everyone my name is \"Mathieu\"!" Here is
a second string : "PHP is just perfect"';
// pattern for catching strings between "
$pattern = '#"([^"]*)"#';
// surround matching string with HTML span code to highlight
$replacement = '<b>"${1}"</b>';
// perform the reg exp replacement
$out = preg_replace($pattern, $replacement, $in);
-------8<---------------------------------------------------------------
-
$out contains :
this is a string : <b>"Hi everyone my name is \"</b>Mathieu\<b>"!"</b>
Here is a second string : <b>"PHP is just perfect"</b>
This behaviour is normal considering my pattern (anything between two "
that is not a ").
But I don't know how to get this :
this is a string : <b>"Hi everyone my name is \"Mathieu\"!"</b> Here is
a second string : <b>"PHP is just perfect"</b>
I would like my pattern to express : Anything between two " that is not
a " except if it is escaped.
Thanks for reading me, any help in return is welcome !
--
Mathieu
--- End Message ---
--- Begin Message ---
mathieu leddet writes:
Hi everyone,
I am struggling with regular expression trying to match strings
delimited by double quotes, but taking into consideration that \" is not
a string ending character.
......
// pattern for catching strings between "
$pattern = '#"([^"]*)"#';
.....
$out contains :
this is a string : <b>"Hi everyone my name is \"</b>Mathieu\<b>"!"</b>
Here is a second string : <b>"PHP is just perfect"</b>
.....
--
Mathieu
If I right understand you scope. (yes, my English is bad)
You hope to get result such as:
this is a string : <b>"Hi everyone my name is \"Mathieu\"!"</b> Here is
a second string : <b>"PHP is just perfect"</b>
I try to fix you regular expression.
$pattern = '#"(.*?)(?<=[^\\\\])"#is';
attend to this: (?<=[^\\\\])
when PHP compile this string - inside it looks like (?<=[^\\])
when regular expression compile inside pcre library it looks like
#"(.*?)(?<=[^\])"#is
this part: (?<=[^\])" is mean folow:
double quote, which not have leading backslash.
see folow:
[EMAIL PROTECTED]:~$ cat preg.php
<?php
$in = 'this is a string : "Hi everyone my name is \"Mathieu\"!" Here is
a second string : "PHP is just perfect"';
// pattern for catching strings between "
$pattern = '#"(.*?)(?<=[^\\\\])"#is';
// surround matching string with HTML span code to highlight
$replacement = '<b>"${1}"</b>';
// perform the reg exp replacement
$out = preg_replace($pattern, $replacement, $in);
echo $out,"\n\n";
[EMAIL PROTECTED]:~$ php preg.php
this is a string : <b>"Hi everyone my name is \"Mathieu\"!"</b> Here is
a second string : <b>"PHP is just perfect"</b>
Is this rigth?
--
Max Anotnov (idler at instanceof dot ru)
--- End Message ---
--- Begin Message ---
Max Antonov schreef:
mathieu leddet writes:
Hi everyone,
I am struggling with regular expression trying to match strings
delimited by double quotes, but taking into consideration that \" is not
a string ending character.
......
// pattern for catching strings between "
$pattern = '#"([^"]*)"#';
.....
$out contains : this is a string : <b>"Hi everyone my name is
\"</b>Mathieu\<b>"!"</b>
Here is a second string : <b>"PHP is just perfect"</b>
.....
--
Mathieu
If I right understand you scope. (yes, my English is bad)
better than our russian.
You hope to get result such as:
this is a string : <b>"Hi everyone my name is \"Mathieu\"!"</b> Here is
a second string : <b>"PHP is just perfect"</b>
I try to fix you regular expression.
$pattern = '#"(.*?)(?<=[^\\\\])"#is';
attend to this: (?<=[^\\\\])
attend? don't understand what you mean BUT you have given the OP the
answer by changing his regexp to include a [negative] look behind assertion
for the backslash. :-)
when PHP compile this string - inside it looks like (?<=[^\\])
when regular expression compile inside pcre library it looks like
#"(.*?)(?<=[^\])"#is
this part: (?<=[^\])" is mean folow:
double quote, which not have leading backslash.
see folow:
[EMAIL PROTECTED]:~$ cat preg.php
<?php
$in = 'this is a string : "Hi everyone my name is \"Mathieu\"!" Here is
a second string : "PHP is just perfect"';
// pattern for catching strings between "
$pattern = '#"(.*?)(?<=[^\\\\])"#is';
// surround matching string with HTML span code to highlight
$replacement = '<b>"${1}"</b>';
// perform the reg exp replacement
$out = preg_replace($pattern, $replacement, $in);
echo $out,"\n\n";
[EMAIL PROTECTED]:~$ php preg.php
this is a string : <b>"Hi everyone my name is \"Mathieu\"!"</b> Here is
a second string : <b>"PHP is just perfect"</b>
Is this rigth?
--
Max Anotnov (idler at instanceof dot ru)
--- End Message ---
--- Begin Message ---
Jochem Maas writes:
attend? don't understand what you mean BUT you have given the OP the
answer by changing his regexp to include a [negative] look behind assertion
for the backslash. :-)
I hope, my regular expression answer the purpose, than need Mathieu
(what mean abbreviation OP? can send direcly to my mailbox)
--
Max Anotnov (idler at instanceof dot ru)
--- End Message ---
--- Begin Message ---
Max Antonov wrote:
> (what mean abbreviation OP? can send direcly to my mailbox)
Original Poster.
/Per Jessen, Zürich
--- End Message ---
--- Begin Message ---
Thanks a lot Max (and Jochem), you solved my issue.
Cheers from Bordeaux in France !
--
Mathieu, learning everyday.
-----Message d'origine-----
De : Max Antonov [mailto:[EMAIL PROTECTED]
Envoyé : Thursday, January 17, 2008 12:36 PM
À : [EMAIL PROTECTED]
Objet : Re: [PHP] Re: Match anything between two " that is not a " exceptifit
is escaped...
Jochem Maas writes:
> attend? don't understand what you mean BUT you have given the OP the
> answer by changing his regexp to include a [negative] look behind assertion
> for the backslash. :-)
I hope, my regular expression answer the purpose, than need Mathieu
(what mean abbreviation OP? can send direcly to my mailbox)
--
Max Anotnov (idler at instanceof dot ru)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
mathieu leddet schreef:
Thanks a lot Max (and Jochem), you solved my issue.
Cheers from Bordeaux in France !
send us a bottle of your finest ;-)
PS - you solved the issue but did you learn what a [negative] look behind
assertion is?
I didn't give you the regexp in the hope you'd be able to figure it out
yourself once you
knew the terminology to search for.
--
Mathieu, learning everyday.
-----Message d'origine-----
De : Max Antonov [mailto:[EMAIL PROTECTED]
Envoyé : Thursday, January 17, 2008 12:36 PM
À : [EMAIL PROTECTED]
Objet : Re: [PHP] Re: Match anything between two " that is not a " exceptifit
is escaped...
Jochem Maas writes:
attend? don't understand what you mean BUT you have given the OP the
answer by changing his regexp to include a [negative] look behind assertion
for the backslash. :-)
I hope, my regular expression answer the purpose, than need Mathieu
(what mean abbreviation OP? can send direcly to my mailbox)
--- End Message ---
--- Begin Message ---
Jochem Maas :
mathieu leddet schreef:
Thanks a lot Max (and Jochem), you solved my issue.
PS - you solved the issue but did you learn what a [negative] look
behind assertion is?
Mathieu, I agree with Jochem.
If you periodicaly solve issues, such this - you must know about behind
assertions in pcre.
I ask google, and google give me good manual.
http://www.pcre.org/pcre.txt
open this page and use brouser search interface to find section PCREPATTERN
or
PCRE REGULAR EXPRESSION DETAILS
it is best manual about PCRE (IMHO)
But I don't know - is php pcre fully compatible with pcre library.
Also see documentation in php.net :)
--- End Message ---
--- Begin Message ---
Yes Jochem, I *now* know what "lookbehind" and "lookahead" assertions are. I
think I am *now* able to use them when needed.
Max, thanks for the link.
--
Mathieu
____
|____|
_| |_
/ \
| |
| |
| |
| |
| |
| |
|______| ;)
-----Message d'origine-----
De : Max Antonov [mailto:[EMAIL PROTECTED]
Envoyé : Thursday, January 17, 2008 3:04 PM
À : [EMAIL PROTECTED]
Objet : Re: [PHP] Re: Match anything between two " that is not a "
exceptifitisescaped...
Jochem Maas :
> mathieu leddet schreef:
>> Thanks a lot Max (and Jochem), you solved my issue.
>>
> PS - you solved the issue but did you learn what a [negative] look
> behind assertion is?
Mathieu, I agree with Jochem.
If you periodicaly solve issues, such this - you must know about behind
assertions in pcre.
I ask google, and google give me good manual.
http://www.pcre.org/pcre.txt
open this page and use brouser search interface to find section PCREPATTERN
or
PCRE REGULAR EXPRESSION DETAILS
it is best manual about PCRE (IMHO)
But I don't know - is php pcre fully compatible with pcre library.
Also see documentation in php.net :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Per Jessen wrote:
Max Antonov wrote:
(what mean abbreviation OP? can send direcly to my mailbox)
Original Poster.
/Per Jessen, Zürich
Thats what it means? I assumed it meant "Operator". Oh well
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Twelfth Night, Act II, Scene V
by William Shakespeare
--- End Message ---
--- Begin Message ---
mathieu leddet schreef:
Yes Jochem, I *now* know what "lookbehind" and "lookahead" assertions are. I
think I am *now* able to use them when needed.
yeah! (give a man a fish he eats for a day, teach him how to fish and he'll eat
forever - or until
he empties the north sea [in the case of dutch fishermen :-(])
Max, thanks for the link.
--- End Message ---
--- Begin Message ---
You can easily make a mail queue in php yourself with a daemon that
checks the queue and sends waiting mail in batches of say 200 per
minute. (provided you have access to the cli on the server)
Why when there MTAs?
--
Richard Heyes
http://www.websupportsolutions.co.uk
Mailing list management service allowing you to reach your Customers
and increase your sales.
** NOW OFFERING FREE ACCOUNTS TO CHARITIES AND NON-PROFITS **
--- End Message ---
--- Begin Message ---
Daniel Brown <parasane <at> gmail.com> writes:
> Try replacing system() with die() and letting it print out the
> information full command string. That may give you an idea of a
> variable that's either incorrect or undefined. If you copy and paste
> it and run the command from the command line and it works, then it may
> be permissions issues.
Daniel,
This doesn't display anything:
die($first);
die($second);
Full commands are:
first: /usr/local/bin/mencoder -vf scale=448:-3,expand=448:336 -sws 9 -of lavf
-ovc lavc -lavcopts
vcodec=flv:vbitrate=250:trell:v4mv:mv0:mbd=2:cbp:aic:cmp=3:subcmp=3:vpass=1
-frames 800 -ofps 24000/1001 -oac mp3lame -lameopts abr:br=64:mode=0 -channels 1
-srate 22050 -of lavf -lavfopts format=flv -o /home/re/video/2/16.flv
/home/re/ff/logo7.avi /home/re/video/2/16temp
second:
/usr/local/bin/mencoder -vf scale=448:-3,expand=448:336 -sws 9 -of lavf -ovc
lavc -lavcopts
vcodec=flv:vbitrate=250:trell:v4mv:mv0:mbd=2:cbp:aic:cmp=3:subcmp=3:vpass=1
-frames 800 -ofps 24000/1001 -oac mp3lame -lameopts abr:br=64:mode=0 -channels 1
-srate 22050 -of lavf -lavfopts format=flv -o /home/re/video/2/16.flv
/home/re/ff/logo7.avi /home/re/video/2/16temp
I've set permissions of all test files and directories to 777. But still my
script doesn't work.
>
> One part of the snipped content that I noticed kept repeating is
> the following (and actually ending with this line):
> 'VDecoder init failed :( Read DOCS/HTML/en/codecs.html'
>
> Did you follow the advice and read that document?
Yes. It's just describes codecs. But I know mencoder support those codecs,
because it encodes videos when it's called from SSH.
> Beyond that, it's a question that should probably instead be asked
> on a mencoder mailing list, since PHP's system() function is working
> correctly, but apparently isn't getting the information it needs to
> pass stuff back-and-forth with the system.
>
I've already asked this question in Mencoder group, by noone replied.
I thinkit's because mencoder works fine and it doesn't work only when I call it
from PHP.
The thing is when I copy/paste commands above to SSH, everything works fine.
Do you have any thoughts?
--- End Message ---
--- Begin Message ---
When passing strings to md5() or sha1() do the strings get coerced to
utf8 for hashing, or does that not matter? Does anyone have a URL that
comprehensively deals with this issue?
- Naz.
--- End Message ---
--- Begin Message ---
Naz Gassiep wrote:
> When passing strings to md5() or sha1() do the strings get coerced to
> utf8 for hashing, or does that not matter?
No and no.
> Does anyone have a URL that comprehensively deals with this issue?
There is no issue.
/Per Jessen, Zürich
--- End Message ---
--- Begin Message ---
(forgot to copy the list)
On Jan 16, 2008, at 5:08 PM, Richard Lynch wrote:
Is it possible that 4% of the time, you have spaces on the start/end
of the string, which get trimmed before encryption?
In this case, no. In trying to simplify the situation to narrow the
possibilities of error, I am generating "random" character strings of
only alphanumeric (or numeric-only) characters. Each is exactly 16
characters.
And if rijndael is one of the algorithms which requires a fixed-size
input, that also would be "bad" to trim it.
No documentation that I was able to find suggests that requirement.
Actually, I'd suggest that the encryption function has no business
trimming the text anyway.
Philosophically I agree with you, but mCrypt has this nasty habit of
appending bunches of nulls to the decrypted string. So philosophical
purity gives way to practical application.
Good ideas, as usual. Thank you.
Ken
--- End Message ---
--- Begin Message ---
"Rob Gould" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Can anytime give me some insights on how to write a PHP script that could
accept any of the below strings below and edit the strings to change
their width and height settings dynamically?
For instance, if I want all embedded videos to have a width of 320, and a
height of 240, using PHP's string manipulation commands, what's the best
way to "hone in" on width="425" and change it to width="320"? (In all
cases in each string)
stringtoedit='<object width="425" height="355"><param name="movie"
value="http://www.youtube.com/v/B1O2jcfOylU&rel=1"></param><param
name="wmode" value="transparent"></param><embed
src="http://www.youtube.com/v/B1O2jcfOylU&rel=1 "
type="application/x-shockwave-flash" wmode="transparent" width="425"
height="355"></embed></object>';
stringtoedit='<object width="464" height="388" classid="clsid:d27cdb6e-
ae6d-11cf-96b8-444553540000"><param name="movie"
value="http://www2.funnyordie.com/public/flash/fodplayer.swf " /><param
name="flashvars" value="key=5468" /><param name="allowfullscreen"
value="true" /><embed width="464" height="388" flashvars="key=5468"
allowfullscreen="true" quality="high"
src="http://www2.funnyordie.com/public/flash/fodplayer.swf "
type="application/x-shockwave-flash"></embed></object><noscript><a
href="http://www.funnyordie.com/videos/5468">Cars</a> on <a
href="http://www.funnyordie.com ">FunnyOrDie.com</a></noscript>';
If you only have those two types that you need to imbed then it might be
easier to make a function EmbedYoutubeCode( 'B1O2jcfOylU' ) since the only
thing that changes is the ID number near the end of the url, your function
could just spit out
function EmbedYoutubeCode( MovieID: String): String;
{
'object width="425" height="355"><param name="movie"
value="http://www.youtube.com/v/' + MovieID + '&rel=1"></param><param
name="wmode" value="transparent"></param><embed
src="http://www.youtube.com/v/' + MovieID + '&rel=1"
type="application/x-shockwave-flash" wmode="transparent" width="425"
height="355"></embed></object>';
}
Basiclly you just give it the ID, and it would spit back out the embed code,
it also makes for safer code since you coudl also check to make sure that
there was no urls or other junk so it's harder to get hacked.
Oh, and sorry about half of that function being written in Pascal, I've been
working with it all morning.
- Dan
--- End Message ---
--- Begin Message ---
Greetings,
I am wanting to create an select menu for displaying the order of the item
on a page. I am guessing that I need to get the count of how many items are
in the db and them put them into a select menu.
Does anyone know how to do this or can point me in the right direction?
I hope this makes sense.
--
Steve M.
--- End Message ---
--- Begin Message ---
I am wanting to create an select menu for displaying the order of the item
on a page. I am guessing that I need to get the count of how many items are
in the db and them put them into a select menu.
Your question doesn't really make a great deal of sense. Your SQL could be:
SELECT COUNT(*) FROM your_table WHERE 1
Which will give you a single numeric value back (the number of rows). To
put them into an HTML page:
<select name="mySelect">
<option>Choose...</option>
<option value="1">Foo</option>
</select>
This is a very basic select. You can simply loop through your query
results adding more option tags to add more items to the select.
--
Richard Heyes
http://www.websupportsolutions.co.uk
Mailing list management service allowing you to reach your Customers
and increase your sales.
** NOW OFFERING FREE ACCOUNTS TO CHARITIES AND NON-PROFITS **
--- End Message ---
--- Begin Message ---
Richard,
Thank you so much for your response.
The select would be created from the number of records in the db.
<option value=²$variable²>$variable2</option>
The problem that I am having is rather than getting just the number of
records, which is 3 currently, I would like it to be 1 for the first option,
2 for the second..., so that the user has the choice of any record. The idea
would be to order the content by the highest number.
I hope this makes more sense.
--
Steve M.
on 1/17/08 1:54 PM Richard Heyes ([EMAIL PROTECTED]) wrote:
>> > I am wanting to create an select menu for displaying the order of the item
>> > on a page. I am guessing that I need to get the count of how many items are
>> > in the db and them put them into a select menu.
>
> Your question doesn't really make a great deal of sense. Your SQL could be:
>
> SELECT COUNT(*) FROM your_table WHERE 1
>
> Which will give you a single numeric value back (the number of rows). To
> put them into an HTML page:
>
> <select name="mySelect">
> <option>Choose...</option>
> <option value="1">Foo</option>
> </select>
>
> This is a very basic select. You can simply loop through your query
> results adding more option tags to add more items to the select.
--- End Message ---
--- Begin Message ---
""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On Jan 16, 2008 12:02 PM, Jim Lucas <[EMAIL PROTECTED]> wrote:
Jim Lucas wrote:
> Wolf wrote:
>> I'm using .htaccess to do
>> php_value auto_prepend_file "auth.php"
>>
>> The problem is that there are very specific files that I want to be
>> able to NOT run that in. I guess I could just move them to a
>> directory and use .htaccess to perform a php_value auto_prepend_file
>> ""
>>
>> But I was hoping to not have to make a separate folder for that.
>> Anyone encoutered being able to change/disable the setting on the fly
>> in a specific file?
>>
>> Thanks!
>>
>> Wolf
>>
>
> Just had an interesting way of solving this problem come to mind.
>
> I would like others to way in on this.
>
> You can do this completely from within apache.
>
> For the pages that you want to have auth.php included with, give them
> and extension of .phtml or something else...
>
> Then, configure apache to allow php to process those like this
>
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .phtml
>
> then in apache, could be in httpd.conf or .htaccess have something like
> this.
>
>
> <Files .phtml>
> php_value auto_prepend_file "auth.php"
> </Files>
>
> When finished, restart apache and you should be good to go.
>
> I would try something like this. Should work, others might have better
> ideas.
>
Now that I am looking at this a second time. Couldn't all this apache
stuff be done in the .htaccess file?
Just place all the following in a .htaccess file, then change the
extension on the file(s) that you want to have work this way. I don't
think you need to touch the httpd.conf file at all.
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
<Files .phtml>
php_value auto_prepend_file "auth.php"
</Files>
Then all of the links or includes would have to be updated to
handle the .phtml extension change, too. Good idea, but it sounds to
be like what he's asking unfortunately just isn't possible without
some form of major overhaul.
--
</Dan>
Well, at least it will be usefull next time someone does a project in which
they want to auto-add a header, or some authorization code.
--- End Message ---