I've problems uploading binary files via POST. They get corrupt.
As told on this pag: http://se2.php.net/features.file-upload in the comments
there are some walkarounds for this, but I can't found thoose rows to edit
in the apache config.
Sol 1:
Your binary files may be uploaded incorrectly if
I got alot of this error in my apache log, how do I fix it?
[warn] Cannot get media type from 'application-x-httpd-php'
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How to fix, where's the problem?
Marek Kilimajer [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
Should be application/x-httpd-php. I bet you have this mistake in your
apache config files.
Peter Berglund wrote:
I got alot of this error in my apache log, how do I fix
I'm getting corrupt files after I've used my upload-script. For images it
works good but when I upload an wav-file , 222KB, the file gets corrupt and
I can't play it. Whats the problem ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
since it works with other files I think that it's some configuration
somewhere that is wrong,
this is the form head:
FORM ENCTYPE=multipart/form-data name='spara' method='post'
action='filadmin.php'
and the copycode:
copy($_FILES['img1']['tmp_name'], $ufolder.$_FILES['img1']['name'])
Jay
I want to send user and password from php to a protected directory.
For example: If I go directly to the directory I get a popup to enter user
and password, the normallt way.
But if I go through a php-script that checks if I'm a valid user from a
database I will get access to the folder.
So i
what I mean is if you can create a form page
in PHP prompting for a username and password and then redirect into
an .htaccess protected directory without having the server pop up another
username/password box?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
ok, I change my question, how do I protect downloadable files from users
that are not valid?
without the use of htaccess?
Peter Berglund [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
I want to send user and password from php to a protected directory.
For example: If I go directly
How do I count the memory usage of a script/page.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
9 matches
Mail list logo