CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Upload function from a popup window

Print topic Send  topic

Author Message
telmiger

Posts: 61
Posted: 07/22/2004, 10:59 AM

I use the upload function from a popup window that closes after the record is submitted.

The problem I have is that the uploaded file stays in the temp directory.
If I disable the closing of the popup window the file gets transfered into the documents directory.

I have the following code in the after update event
die( "<script>window.opener.location.reload();window.close();</script>");

Is there a workaround to this problem or can I delay the window closing until the upload function is completed.

2. Security of uploaded files
Can the uploded files be protected so that you can only access or download the files thorugh the link stored in the database.?

Tony
View profile  Send private message
RvR
Posted: 07/28/2004, 7:50 AM

1 workaround:
- make for upload form new target page
- on this target page make close event

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.