At 16:14 2004-01-13, you wrote:
Hello Sebastian,
Tuesday, January 13, 2004, 3:09:39 PM, you wrote:
SO> I cannot believe that there is no way of making an object parameter
SO> optional.
function ($parameter1, $parameter2 = NULL)
{
// etc
}
If passed to your function, $parameter2 will be your obje
Hi coders,
I've sent several mails to [EMAIL PROTECTED] regarding the limitations / rights
to use the PHP logo.
But I havent recieved any reply, does anyone know who answers that email?
If so please send him/her an heads up to check his/hers inbox.
Now you might think that I've been sending seve
I've been looking for a way to work with stdin/stdout for a mod_rewrite's
rewritemap.
There's a working example in Perl, (just returning the input)
#!/usr/bin/perl
$| = 1;
while () {
print $_;
}
I've been trying to achieve this with fopen() read and write the
php://stdin & php://stdout
Hi,
(Unlink(file) == rm file) ? (ignore this mail):(explain diffs);
Does PHP unlink function handle deletion of files equally as the "rm"
command on the system in my case FreeBSD.
Or does it involve caching/handling files in any different way?
/ Jim
--
PHP General Mailing List (http://www.ph
>I believe that twofish has been successfully broken, so use blowfish
>instead. Typically, for encrypting files you will use an algorithm like
>blowfish in cbc mode (as opposed to ebc mode) but I don't know if Mcrypt
>supports this. Also, when creating the hash of the file, it is probably best
>
Thanx for the suggestions!
Someone mentioned that I could use MD5 and then encrypt the hash,
how would I ever decrypt that? Is'nt MD5 a 1-way thing only?
Another question?
Should I go for bigger keylength or bigger blocksize or both? What makes
for the best encryption?
/ Jim
(and before someon
Hi,
started playing with Mcrypt and just wanted to ask which encryption method
makes the stronger encryption?
(I can supply the necesary keylength).
Should I go for MCRYPT_BLOWFISH or MCRYPT_TWOFISH? Or no fish at all :)
So what do I need it for? I'm going to use it encrypting files, sizes
vari
Hi,
I'm planning on using userinput as a part of path to read (horrific I know :)
So to make this userinput a bit more secure I'm thinking to use
$path = escapeshellarg($path);
$path = str_replace("../","",$path);
I'm thinking to use a basedir in a constant something like
/usr/home/userdir (thi
"johnny1b1g" <[EMAIL PROTECTED]> wrote:
?
Well I guess I could try to help you if you elaborate your question a bit
further.
/ Jimmy
Start with RTFM :-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://
Hi,
I'm trying to get the PUT method working on a Apache server running PHP as
module.
Theese are the steps I've taken so far:
- I see in my apache logs that I've got PUT requests "PUT /path/filename.html
HTTP/1.1" OK
- I've added Script PUT /put.php , And checked so that the requests are beeing
Hi,
I'm looking into the new version of PHP it says in the changelog
"Highly improved performance with file uploads "
Has there been any benchmarking done on this?
/ Jimmy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
I wonder if there's such a thing as a counterpart in PHP for MimeExplode in
PERL?
MimeExplode takes a email and splits the attachments and text so that you
can save it automatically to a certain dir
by using .forward files.
Or something alike to it in PHP. I've been looking at IMAP functions
Hi
following up on the text below...
Will there then be possible to recover uploads in 4.2?
Maybe even resuming uploads? (wishfull thinking) ?
Cheers
Jimmy
Rasmus Lerdorf wrote:
Re: [PHP] upload forms, how much was uploaded before upload fails..
You'll probably need PHP 4.2 for uploads that big
Hi,
I know it has been discussed before but I havent seen any working solutions.
My problem is that I need to force a dowload for Mac users / IE
and preferably also automatically let them open the file with stuffit expander.
(it works with files downloaded from a webpage/apache without PHP)
So th
Hi,
I wonder if there's a better way (more effective, less resource consuming )
to pass a file to a user than the ones I put below.
This might be quite large files more than 100 mb. Mind this might be all
kind of files (binary and others) and must preserve the files state.
//Sending approriate
Hej, jag hade nog inte använt åäö i case men det är bara en vana, kanske du kan
använda en dold
variabel via html-formuläret istället och använda den i case satsen?
Men det svarar ju inte på din fråga men lycka till.
/ iImmy
Martin Skjöldebrand wrote:
> Going grey haired again. In this code onl
Hi, I wonder if there's a way to get the same result as with
call_user_func_array()
on 4.0.1pl2 .
I need to do the following :
foreach($formArray as $arrays){
foreach($arrays as $key => $value){
call_user_func_array($key, explode (",", $value)");
//Not working since I
Hi, I wonder if there's a way to get the same result as with
call_user_func_array()on 4.0.1pl2 .
I need to do the following :
foreach($formArray as
$arrays){
foreach($arrays as $key =>
$value){
call_user_func_array
Yes, thank you you're right this is exactly what it was, I used
Dreamweaver on a mac to edit the files, but now if I encounter parse
error I convert them with BBEdit.
Thank you.
Jimmy Lantz
>I use BBEdit on the Mac, uploading PHP code to a Unix server, and I get
>parse errors on li
15 on solaris)
Please help me out on this one.
Best wishes
Jimmy Lantz
Sweden
Hi,
I was wondewring if someone know the reason to the error below,
I'm no Unix guru and my sysadm says he cant get ldap to work due to this,
is there anyone who tell me what to tell him to get it to work?
greetings
Jimmy
Lund Sweden
//ERROR ENCLOSED BELOW.
gcc -DSOLARIS2=260 -I/usr/local/src/p
21 matches
Mail list logo