Results 1 to 2 of 2

Thread: rename()

  1. #1
    Join Date
    Mar 2009
    Location
    Western Australia
    Posts
    386
    Tokens
    0

    Default rename()

    I'm using the rename function and I keep getting this error:
    PHP Code:
    Warningrename(10.png,giggle2_10.png) [function.rename]: No error in C:\xampp\htdocs\happyhabbos\uploader\upload.php on line 23 
    Line 23:
    PHP Code:
         rename("$fileform""$uploadname"); 
    here are the strings:
    PHP Code:
    $fileform $_FILES["file"]["name"];
    $uploadname $nameform '_' $fileform

  2. #2
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Literally less than 10s in Google.
    http://stackoverflow.com/questions/2...unction-in-php


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •