This topic is locked

Upload image to directory

1/17/2010 9:12:16 PM
PHPRunner General questions
alac author

( PHPRUNNER 5.1 2503 )
Renomear aquivo de imagem para carregar no diretorio do servidor.

O codigo não funciona! Não sei o que fazer!!!
Obrigado a todos...
OR
Rename file image to load the directory server.

The code does not work! I do not know what to do!!!
thanks!!![/b]



global $files_move;

foreach( $files_move as $key=>$val)

{if($val[0]==$_FILES["file_FieldName"]["tmp_name"])

$files_move[$key][1] = "files_folder/".$values["ID"].".jpg";}

$values["FieldName"] = $values["ID"].".jpg";

Sergey Kornilov admin 1/18/2010

What error message you getting?

alac author 1/18/2010

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=46988&image=1&table=forumreplies' class='bbc_emoticon' alt=':huh:' />
new name records url of the image in the database. OK!
File in the directory does not rename.

J
Jane 1/19/2010

It's difficult to tell you what's happening without seeing actual files.
Please publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.

alac author 1/19/2010

OK!