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

Windows 7
Windows 7 default user account control worries experts. Corporate IT departments should be pleased w

Insert to MySQL inside foreach
Hey.
I am parsing some html, and putting inside an html db.
I need to create a randomized inte

utl_file open error
i have file in the unix path

Path /popdev01/pop/popdevb/tfi/

File name

session checking in page load
hai all I have a web site is www.Mryas.com in this my login page is Page1.aspx its co

Pulling out some result data from MYSQL
Hey Guys,

I've built a PHP page that has a for just imagine something like registration form

using a loop help
Hi guys , i need some help. I have this loop :
while ($row = mysql_fetch_assoc($Result)) { ?&

filesize() returns 0
I have a socket program that runs in an infinite loop, listening for connections, in this socket I h

Header is not working in IE
Hi ! header function is not working in IE but it works in FF, Safari, Chrome. any help please. :

Email with Attachments in PHP
Hi Friends

How to send email in PHP with attachment.
I know simple mail can be sent with

Need help: how to catch acess of undefined class properties
Hello. I am learning OO with PHP and have hit a problem.
Some code runs as perfectly valid code,

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