I am
wondering if this is my headers that are doing this, but I
really dont know.
I think its an IE or Windows behavior and what causes it is the multiple
dots in the filename. I resorted to naming our downloads
filename-v1_0_2_1.exe
-Original Message-
From: Aaron Todd
I've been using mozilla firebird as a test browser with the 'Live HTTP
Headers' extension. I've found it most useful.
http://texturizer.net/firebird/extensions/#livehttpheaders
-Original Message-
From: Scott Taylor [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 11, 2004 9:34 PM
...no matter what follows the NANC...seems like a bug.
if(NA 0)
{
print(err 1\n);
}
if(NAN 0)
{
print(err 2\n);
}
if(NANC 0)
{
print(err 3\n);
}
if(NANCY 0)
{
print(err 4\n);
}
// output
err 3
err 4
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi,
Never noticed it before...only after the linux box got updated to
v4.3.4...running the script against my v4.2.3 also outputs err 3
err4...version 4.0.6 outputs nothing as it should.
Odd...not sure where to start digging to figure this...in the meantime
I'll work it around like this:
$data
-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED]
From: Kelly Hallman [EMAIL PROTECTED]
On Tue, 6 Jan 2004, Ivo Pletikosic wrote:
$data = 'NANC';
if(is_numeric($data) $data 0) { die('Not OK'); }
Interesting problem, one of the first legit oddities
It did not work for me but since I have only one http port and one https
port on my server i use instead
if( $_SERVER['SERVER_PORT'] == 80 ) echo 'http';
C.
-Original Message-
From: Richard Davey [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 06, 2004 6:56 PM
To: Thomas Andersen
Hey Matt,
Below is a cut down version of how I'm doing it. I lifted most of it right
out of the manual examples. It assumes a single entry in each compressed
file.
function uncompress($filepath, $new_filename, $compression)
{
if($compression == COMPRESSION_GZIP)
{
$zp = gzopen(
I had a similar problem recently, but was not able to work with it in PHP
tho. The array for that mapped characters to their entity turned out to be
HUGE and it took forever to evaluate long XML files.
I ended up killing several birds with one stone by wrapping the html-tidy
utility
Hello all,
How do I go about checking if a file is a zip file?
Wrapping the zipinfo utility in php did not help since it does not return an
exit code whether it succeeded or not.
Thanks,
IP
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hello,
I am currently involved in a site where users frequently need to upload text
files of various sizes. Every so often users will experience problems where
the uploads will start timing-out and need to be reinitiated.
The timeout problem comes and goes, so far I've been unable to find the
would
$team_name = trim(ereg_replace( +, , $team_name ));
do it?
-Original Message-
From: Steve Buehler [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 9:50 AM
To: PHP
Subject: [PHP] strip white space
I am not sure how to go about this and hope that someone can help here.
You can also initiate the download with headers yourself...tho it might be a
bit cumbersome than just using direct links:
Header( Content-Type: application/octet-stream );
Header( Content-Length: . filesize( $path ) );
Header( Content-Disposition: attatchment; filename=$filename );
readfile(
12 matches
Mail list logo