Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 2004 11:43:03 +0200
From:      nocturnal <nocturnal@swehack.se>
To:        freebsd-questions@freebsd.org
Subject:   Binary/ASCII File upload issues
Message-ID:  <41739027.6040903@swehack.se>

next in thread | raw e-mail | index | archive | help
if i do file index.php on a file i uploaded that works just
fine with php ran as cgi i get "/path/index.php: a
/usr/local/bin/php script text executable" and if i do file
index.php on a customers index.php file which i think they
uploaded using binary transfer mode i get "script text
executable/bin/php" only, the second file doesn't work using
php as cgi, i get an internal server error, i know how to
fix this but i'm wondering if anyone could explain why this
happens on freebsd and if it's related to the ftp transfer
-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41739027.6040903>