27;];
if (is_uploaded_file($_FILES['ufile1']['name'])) {
copy($_FILES['ufile1']['name'], ".");
echo "$ufile1_name ";
echo "DONE";
echo " ";
print_r($_FILES);
} else {
echo "Possible file upload attack. Fi
--
'Bunmi Akinmboni
5, Aibu Street, Off Bode Thomas Street,
P.O. Box 6235, Surulere, Lagos, NIGERIA.
Tel: (234) 1-813-3335
Fax: (234) 1-583-2585 (Nigeria Only)
Fax: 1 (309) 285-2383 (International)
Email: [EMAIL PROTECTED]
Web site: http://www.budelak.com
http://www.ayserve.net
Web D
age/pjpeg [tmp_name] => /tmp/php1tARiu [error] => 0 [size]
=> 3030 ) )
Bunmi
John W. Holmes wrote:
Bunmi Akinmboni wrote:
Pls Help.
I have done a lot of reading prior to this yet I just can't seem make
it work. I wrote an upload program as seen below but the response I
got was:
Poss
ho "Possible file upload attack. Filename: " .
$_FILES['ufile1']['name'];
echo " ";
print_r($_FILES);
}
?>
Bunmi
Bunmi Akinmboni wrote:
Thanks John,
I had done it before and still tried it again now. This is what I get:
Warning: copy(.): failed to open stream: Is
full access to the two servers.
Bunmi
John W. Holmes wrote:
Bunmi Akinmboni wrote:
His is the new code:
You should be using move_uploaded_file() instead of copy(), first of all.
Next, the two arguments passed to either copy() or move_uploaded_file()
are _filenames_, not directories. So some
y ( [ufile1] => Array ( [name] => ayservenet.jpg
[type] => image/pjpeg [tmp_name] => /tmp/phpfJyDSw [error] => 0 [size]
=> 3030 ) )
I had experienced this also on Windows IIS now it is also coming on my
Linux yet I have full access to the two servers.
Bunmi
John W. Holmes wro
So what could be the problem? I reaaly don't know.
Bunmi
John W. Holmes wrote:
Bunmi Akinmboni wrote:
Warning: move_uploaded_file(./ayservenet.jpg): failed to open stream:
Permission denied in /home/ayserve/public_html/fu/fuprocess.php on line 6
PHP runs as the web server and it does not
ay ( [ufile1] => Array ( [name] => ayservenet.jpg
[type] => image/pjpeg [tmp_name] => /tmp/phpfJyDSw [error] => 0 [size]
=> 3030 ) )
I had experienced this also on Windows IIS now it is also coming on my
Linux yet I have full access to the two servers.
Bunmi
John W. Holmes wrote:
Bunmi A
ftp_chdir( $site , $folder );
ftp_site( $site , "chmod $mode $folder" );
}
ftp_quit( $site );
"John W. Holmes" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
Bunmi Akinmboni wrote:
Pls Help.
I have done a lot of rea
directory again.
PS _ Can you remind me again how this is related to Databases in PHP,
the topic of this list ;-)
Cheers - Neil.
At 06:25 16/10/2003 +, you wrote:
Message-ID: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Thu, 16 Oct 2003 06:09:07 +0100
From: Bunmi Akinmboni <[EMAI
ou remind me again how this is related to Databases in PHP,
the topic of this list ;-)
Cheers - Neil.
At 06:25 16/10/2003 +, you wrote:
Message-ID: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Thu, 16 Oct 2003 06:09:07 +0100
From: Bunmi Akinmboni <[EMAIL PROTECTED]>
MIME-Version
HI Nitin,
Is that not dangerous as it will affect the entire server structure?
Bunmi
Nitin wrote:
permission is ok but it's got to be inside the home directory of web server,
which is /var/www by default for apache
Nitin
- Original Message -
From: "Bunmi Akinmboni" &l
Can you state the exact error?
Bunmi in Lagos
Yemi Obembe wrote:
hi folks,
who knows any function that can do this javascript trick
window.location='http://somewhere.com/'
tried header(location:http://somewhere.com/) but it gave me an errorinclude()
on th
Ha, I see Ben and Ken have dealt with the most common cause with the
header statement especially Ben.
Hope you're okay now?
Bunmi from Lagos
Yemi Obembe wrote:
hi folks,
who knows any function that can do this javascript trick
window.location='http://somewhere.co
I want to store picture in a MySQL field. What type do I call the field
and any guide or link on the net to tell me how to store the picture?
Bunmi from Lagos
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
15 matches
Mail list logo