This topic is locked

Image Upload?

8/12/2005 8:35:05 AM
PHPRunner General questions
M
Marcel author

Hello,
I have a problem while I try to make a new record. The problem is when i try to attach a file for upload, in my case these are .jpg-files.
move_uploaded_file(/bedrijfhuur/image/zon.jpg): failed to open stream: No such file or directory
ERROR MESSAGE 2
I think it has a connection with the text: "The path should be relative to the folder for generated pages." What does this mean?
Thanks in advance

admin 8/12/2005

Marcel,
please remove leading slash from the path.

I.e. enter upload folder

bedrijfhuur/image

instead of

/bedrijfhuur/image



on Formatting tab in PHPRunner.
Also you should ensure that subfolder bedrijfhuurand imageinside it exist in folder where you put generated files.

M
Marcel author 8/12/2005

Thank U !
It works, stupid mistake <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=5485&image=1&table=forumreplies' class='bbc_emoticon' alt=';)' />

M
Marcel author 8/12/2005

Another question:
Can I Upload/Download a image to/from a map from 2 tables?
www/image/zon.jpg
www/tabel1/files
www/tabel2/files
can I upload a .jpg-file from tabel1 to de Map: image? And then read this from tabel 2?
Thanks in advance

M
Marcel author 8/12/2005

never mind, I already know