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

If a form submits back to same page do you need to use $get
IM trying to pass page number and year that was selected back to the same page.

i have this c

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
what is wrong with this

Code: [Select]<?php
if ($_SERVER['HTTP_REFERER'])
{

quick question
Hi ..

i have a question
how do i set a var so it displays via an echo
Code: $logo = '&a

question about header() security
is is safe to just use the header() function to redirect someone if they are, say, not logged in? or

PHP Directory Listing Not working
Hey Guys,

I need help, I tried a ton of directory listing scripts and they all don't work. Al

Validation
Hello

I know this is a really vag question.

I need to have a input field on a form th

why isn't this PHP code working ???
it's suppose to find a name on the database.

<?php

$s = $_POST["lname&

b+ tree
Hi
can every body help me about b+ tree ?(insert & delete)

Forgot password won't work
My forgot password thing is not working properly. It is giving me this errorMailbox unavailable. The

Loop Through Date Range
Hi guys,
I have date range as parameter like 01/JAN/2009 TO 16/JAN/2009 now i want to loop thro

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