why is it over writing


Posted on 16th Feb 2014 07:03 pm by admin

Code: $filepaths[] = $_FILES['new_image'];
foreach ($filepaths as $filepath)
{
$imagename = strtolower($filepath['name']);
Did you know?Explore Trending and Topic pages for more stories like this.
$charref = substr($imagename, 0, strrpos($imagename, '.'));
if(ctype_alnum($charref))
{this is for a form with multiple image uploads that need to be resized. im trying to loop them thrue the resize script but it over writes as it goes untill the only img when its done is the final image field.
No comments posted yet

Your Answer:

Login to answer
206 Like 17 Dislike
Previous forums Next forums
Other forums

Recognising Revenue daily
Hello.
Has anyone come across daily recognition of deferred income?
We want to implement R

remove trailing slash from array
I have the following array which contains trailing slashes I need to remove. What is the best way to

Image upload - determine folder
I have an upload script that may be accessed from different directories. Problem is, the script is m

BAPI BBP_INB_DELIVERY_CREATE - material number missing in delivery
Hi Experts,

I was able to successfully create an Inbound delivery with reference to a PO

Pls help with PHP
Pls can anyone direct me on how to create a user account for a customer. For example i want know if

eregi to preg
Im converting my regex for php 5.3 and I am stuck on the following

Code: [Select]if((eregi(&q

Encrypt php code?
Is it possible to encrypt php code in files,
so that it displays a load of unreadable characters

pass form variables straight to email, no database required?
hello all,

im working on this form...

http://www.adobedayevents.com/project_request/pr

Help uploading .JPG
I have a problem with upload images when the ending is .JPG capitalized.. I really don't know what c

Dynamically set AccordianPane Header
I have an accordian on my master page. I'd like to be able to dynamically change the header on diff

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash