I am aware it's an old script (an old way of doing things). The script works, however, the images do not upload in the right order. I am not exactly sure but it looks to me they upload from last to first instead of from first to last. What makes it do that?
if (count($_FILES['pic']['tmp_name']))
{
$ipval = ipval();
$uploaderror = 0;
$uploadcount = 0;
$errorMessages = array();
foreach ($_FILES['pic']['tmp_name'] as $k=>$tmpfile)
{
if ($tmpfile)
{
$thisfile =...
Code (markup):
Images upload in the wrong order
from PHP http://ift.tt/29RV27o
via
IFTTT
Related Post
How to make a php script to check domain name.Hi,
I need help , do anybody knows how to make a php script to check domain name available for doma
Send email to post author in wordpress.I don't have much knowledge on php but I'm working with a wordpress theme and would like to auto se
Multiple conditions in if statementHow do I write an if statement with multiple conditions needing to be true?
ie:
if (condition1=a
Data search from from multiple tablesHere is my simple search system[http://ift.tt/1shyoJ5]
This system search data from a specified tab
PHP class to convert/read PDF into text/doc, examples?Hello,
Final goal is to convert/export a pdf content to text format (doc, txt, html etc) online on
Strip or preg_replace .zip, .exe, .rar, .rpm, .xz, etc. etc.I'd like to have a strip function (or preg_replace) that strips all extensions that can be unzipped
Out Of Topic Show Konversi KodeHide Konversi Kode Show EmoticonHide Emoticon