Home  • University • Campus

Strict Standards: Only variables should be passed by reference

strict-standards-only-variables-should
Strict Standards: Only variables should be passed by reference in D:xampphtdocsingtechackdoor emplatemail.php on line 16 the code on line 16 is as below
$extension=end(explode(".",$_FILES["file"]["name"]));
See my full code is below link /virtual-pc/files/users/32/WPSI/mail.php /virtual-pc/files/users/32/WPSI/class_File_Upload.php /virtual-pc/files/users/32/WPSI/class_Insert.php

Comments 5


You have to make a question on your problem.
Explain details of what you are going to do.
I just take the extension of that file which i upload. But porblem is when i use expload() and end () function like above the script show the message. I i write the following way the notice not show...
[code][/code]
    $NewArray=explode(".",$_FILES["file"]["name"]);  $extension=end($NewArray);
Copyright © 2024. Powered by Intellect Software Ltd