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
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
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
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
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
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
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
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_
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
9 matches
Mail list logo