Dear frnds,
The following code works in 4.4.4 but not working in 4.4.8
[PHP]
$filen = basename($_FILE S['uploaded_file']['name']);
$filen = basename($_FILE S['uploaded_file']['name']);
$ext = substr($filen, strrpos($filen, '.') + 1);
echo "filetype=" .$_FILES["embeded_fi le"]["type"];
if (($_FILES["uploaded_f ile"]["type"] == "image/jpeg")|| ($_FILES["uploaded_f ile"]["type"] == "image/pjpeg")|| ($ext == "doc") || ($ext == "rtf") ||($ext == "pdf") || ($ext == "txt"))
{
if($_FILES["uploaded_f ile"]["size"] < 1048576 )
{
$filename = basename($_FILE S['uploaded_file']['name']);
$ext = substr($filenam e, strrpos($filena me, '.') + 1);
$newname = dirname(__FILE_ _).'/uploaded/'.$filename;
[/PHP]
can anyone help me.
The following code works in 4.4.4 but not working in 4.4.8
[PHP]
$filen = basename($_FILE S['uploaded_file']['name']);
$filen = basename($_FILE S['uploaded_file']['name']);
$ext = substr($filen, strrpos($filen, '.') + 1);
echo "filetype=" .$_FILES["embeded_fi le"]["type"];
if (($_FILES["uploaded_f ile"]["type"] == "image/jpeg")|| ($_FILES["uploaded_f ile"]["type"] == "image/pjpeg")|| ($ext == "doc") || ($ext == "rtf") ||($ext == "pdf") || ($ext == "txt"))
{
if($_FILES["uploaded_f ile"]["size"] < 1048576 )
{
$filename = basename($_FILE S['uploaded_file']['name']);
$ext = substr($filenam e, strrpos($filena me, '.') + 1);
$newname = dirname(__FILE_ _).'/uploaded/'.$filename;
[/PHP]
can anyone help me.
Comment