CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 How to insert file upload code in CC?

Print topic Send  topic

Author Message
----------
Posted: 05/25/2001, 7:39 AM

CC generate php+template files.
In html i insert file field with name="img1".
I insert this code before show:

if ($img1_name != "") {
@copy("$img1" , "aaaa/$img1_name")
or die("not send");

But file is not uploads.
How to insert into CC generated php this file?
Thanks
CodeCharge
Posted: 05/25/2001, 3:34 PM

Please submit a request to http://support.codecharge.com
We just created an example of how to do this.
It will be also placed on our web site in a week or so.


"----------" <shar@taide.lt> wrote in message
news:3B0E61AC.45B95218@taide.lt...
> CC generate php+template files.
> In html i insert file field with name="img1".
> I insert this code before show:
>
> if ($img1_name != "") {
> @copy("$img1" , "aaaa/$img1_name")
> or die("not send");
>
> But file is not uploads.
> How to insert into CC generated php this file?
> Thanks
>


   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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