WOOO.. i did not know this was possible :
file_exists("mjpalpics/$img1_name")

And this might actually solve the whole issue!! Let me
try this.. 

Thanks a BUNCH!
T. Edison Jr.


--- John Holmes <[EMAIL PROTECTED]> wrote:
> > > copy("$img1", "mjpalpics/$img1_name") or Die
> ("Could
> > > not do");
> > >
> > > Sends the images to the mjpalpics Directory!
> > Possibly. But one thing that is definitely a
> problem is:
> > 
> >   if(file_exists($img1_name)) {
> >     $img1_name = "n"+$img1_name;
> >   }
> > 
> > should be:
> > 
> >   if(file_exists($img1_name)) {
> >     $img1_name = "n" . $img1_name;
> >   }
> 
> Umm...wouldn't you want to use
> file_exists("mjpalpics/$img1_name")
> instead? Otherwise you're not checking for it
> existing in the same place
> you are copying it to...
> 
> ---John Holmes...
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


=====
Rahul S. Johari (Director)
******************************************
Abraxas Technologies Inc.
Homepage : http://www.abraxastech.com
Email : [EMAIL PROTECTED]
Tel : 91-4546512/4522124
*******************************************

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to