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
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
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 yo
since it works with other files I think that it's some configuration
somewhere that is wrong,
this is the form head:
and the copycode:
copy($_FILES['img1']['tmp_name'], "$ufolder".$_FILES['img1']['name'])
"Jay Blanchard" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
[snip]
I'm
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
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.
>
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: http://www.
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 nee
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