View Single Post
Old 07-14-2009, 12:59 PM   #1 (permalink)
planepixel
The Contributor
 
planepixel's Avatar
 
Join Date: Feb 2009
Posts: 28
Thanks: 10
planepixel is on a distinguished road
Default php define usage

Hi i am using define as in example below but it is giving me error about path which is i am replacing. when i do not use define and type path directly in code i.e. "uploads/" everything works fine .what am i doing wrong here?
PHP Code:
define"FILEPATH""/uploads/" ) ;
move_uploaded_file($_FILES['files']['tmp_name'], FILEPATH $_FILES['files']['name']); 

thanks
planepixel is offline  
Reply With Quote