CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 PHP File Upload

Print topic Send  topic

Author Message
carolcastro


Posts: 24
Posted: 03/02/2004, 5:22 AM

Hello,

I am having trouble with the file upload component.

Something is wrong.

I´ve set the path to the temporary and file folders.

I don´t know what´s happening, but the file is being uploaded to the temporary folder and not to the file folder.

Can anybody help me! I´m using the last codecharge studio version with PHP.

Thanks! :)

Carol Castro

_________________
Carol Castro
View profile  Send private message
mother
Posted: 03/03/2004, 12:26 AM

try to remove slashes from target folder name, it works for me (e.g.: images, not images/ )
carolcastro


Posts: 24
Posted: 03/03/2004, 4:59 AM

I just tried that, but is still uploading to the temporary folder.

Any other suggestion?

Thanks anyway! :-)
_________________
Carol Castro
View profile  Send private message
peterr


Posts: 5971
Posted: 03/03/2004, 10:50 AM

Maybe check the permissions on the destination folder.
BTW, is this UNIX or Windows?
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
carolcastro


Posts: 24
Posted: 03/03/2004, 11:58 AM

Hey Peter,

I´ve checked that too... both folders have the same permission. I use LINUX and both are with 777.

Thanks anyway.

I´ll keep trying.
_________________
Carol Castro
View profile  Send private message
DonB
Posted: 03/03/2004, 4:11 PM

My case: the "temporary folder" is "/tmp" and the "file folder" is
"uploads". This is PHP on Linux. Hopefully that will help you sort out the
slashes.

It's possible that the owner or mode of the temp folder disallows read
permission to "apache" (or the account your webserver runs under). Not
sure, but the move might be a user-context operation - if so, the temp file
may not "belong" to the account doing the move. I found the whole
Unix/Linux fileupload process very frustrating and it was all due to
permissions and ownerships of apache vs. my own login. I think this all is
affected by "safe mode: being turned on or off, too - so think about that.

--
DonB

http://www.gotodon.com/ccbth


"carolcastro" <carolcastro@forum.codecharge> wrote in message
news:5404638edbb006@news.codecharge.com...
> Hey Peter,
>
> I´ve checked that too... both folders have the same permission. I use
LINUX and both are with 777.
>
> Thanks anyway.
>
> I´ll keep trying.
> _________________
> Carol Castro
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

carolcastro


Posts: 24
Posted: 03/04/2004, 4:20 AM

Thanks DonB.

I´ll take a look at my configurations! :)

Thanks!
_________________
Carol Castro
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.