Hi,
When I use the getFile method, that belogs to the main class (CGIcc) to retrieve a file loaded in a form, I'd like to kown how can I ask if the file is loaded? In other words. I have several file forms, and I need to know, in each one, if a file is loaded or not. I make this:

f_name = "p_file0"
const_file_iterator file = cgi.getFile(f_name);

There is a way to do something like this: if(*file == NULL) ??
I know this is not correct, but I don't know how make it.

I tried to fix this asking for the filename, but it gives me more problems:

if(strcmp( (*file).getFilename().c_str(),"")

is not correct.

I have many problems with Templates.... Can anybody help me?

Thanks!!

Albert.

PD: I know my english is terrible, sorry :-)
_______________________________________________
help-cgicc mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cgicc

Reply via email to