[PHP] CRC values update by readfile function?

2003-12-21 Thread ermelir
hello list, I have a problem with file integrity in my url. I try to force download file with the following script: $sFile = $dSession['DOWNLOAD'][$id][$type]; if (is_file($sFile)) { header("Content-disposition: attachment; filena

[PHP] CRC values update by readfile function?

2003-12-21 Thread ermelir
hello list, I have a problem with file integrity in my url. I try to force download file with the following script: $sFile = $dSession['DOWNLOAD'][$id][$type]; if (is_file($sFile)) { header("Content-disposition: attachment; fi

[PHP] fileowner function and Windows OS

2003-09-22 Thread ermelir
n these OS. thanks in advance for yours answers best regards Ermelir -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mime_content_type error

2003-08-20 Thread Ermelir
Hi list, I've a problem with the mime_content_type function. each time I use them, my script bug but in my php.ini the extension php_mime_magic.dll is load; and function_exists return true on the mime_content_type I have any details about the error, but my script exit each time. Have you any idea

Re: [PHP] command line or http browser?

2003-07-24 Thread ermelir
urt Zirzow" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 24, 2003 6:22 PM Subject: Re: [PHP] command line or http browser? > * Thus wrote ermelir ([EMAIL PROTECTED]): > > Hi list, > > > > I search to detect if a script is call from command li

[PHP] command line or http browser?

2003-07-24 Thread ermelir
Hi list, I search to detect if a script is call from command line or if the call from a client http browser. for doing that, I test if: php_sapi_name()=='cli' which returns TRUE if script calls from command line; this work fine with PHP 4.2, but with PHP 5 php_sapi_name() returns cgi-fcgi so, I wo

[PHP] implement gpgext

2003-02-13 Thread Ermelir
hello everybody, I'm very interesting in using gpg to encrypt my mails in my php script. so I have download the gpgext file http://www.sourceforge.net/projects/gpgext/ but I don't understand how use it? I suppose that I must inform my php.ini that I want using this librairy, but I don't uderstant

Fw: [PHP] encrypt data with pgp

2003-01-21 Thread Ermelir
just for explain me another better: if I had post in this mailing list, it's just because I want to find another way to use this function under windows system function pgp_encrypt($keyring_location, $public_key_id, $plain_text) { $key_id = EscapeShellArg($public_key_id); putenv("PGPPATH=$keyring_

[PHP] encrypt data with pgp

2003-01-21 Thread ermelir
Hello everyody, I search to encode a string with a strong alogrythm. I choose pgp my desktop is a windows computer; I have found a function but I can't use it because on windows, pgp can"t encrypt on commandline. have you found something for windows station? your help will be helpfull. greeting