hello every one, can anyone send me a sample code for file up load. please send me the code for cgi and html part. Regards Max...
1199
Brandon Long
blong42
Aug 8, 2008 10:32 pm
Do you have a perferred language? Attached is a test python one I had lying around. upload.py is a dirt simple one, upload2.py uses a callback so you get...
1200
maxsimon1980
Aug 11, 2008 7:26 pm
Thanks for your response, but i dont want to use python or any other script. I can use clearsilver C API with cgi application .i just want to know whether it...
1201
Brandon Long
blong42
Aug 11, 2008 9:57 pm
Yes, its possible. The code is obviously similar to the python from before. The key point is, your HTML code must have a FORM element which has the extra...
1202
Jeevan
jeevan_jothi
Aug 12, 2008 1:44 pm
hello everyone.. hope all u r doing great.. i am new to this clearsilver.. Now, I am in need of a file upload and a file download.. I cant find any more help...
1203
Brandon Long
blong42
Aug 12, 2008 8:53 pm
Hmm, second request for file upload help in as many days. You can see my previous response here: http://tech.groups.yahoo.com/group/ClearSilver/message/1201 ...
1204
jeevan jothi
jeevan_jothi
Aug 13, 2008 6:03 pm
Mr.Brandon, Thank you for your immediate response. The file download worked perfectly...!!!!!!!!! I have gone through your replies for file upload. In fact, I...
1205
maxsimon1980
Aug 20, 2008 5:01 am
hello sir, i have created a html file with following tags, <form method="post" enctype="multipart/form-data" action="upload.cgi"> <tr class="ch_fl1"> <td...
1206
Gerald Dachs
gdachs
Aug 20, 2008 7:11 am
... try err=hdf_set_value(cgi->hdf,"Config.Upload.TmpDir","/var/tmp"); Gerald ... This message was sent using IMP, the Internet Messaging Program....
1207
breakthrough6
Aug 21, 2008 8:18 pm
Has anyone successfully compiled CS under Visual Studio 2008 (VC++ 9.0)? I know it's compiled for Windows using MingW (gcc++), but I'm considering developing a...
1208
Brandon Long
blong42
Aug 22, 2008 6:51 pm
I don't know of anyone who has, I'd be interested in whatever patches are necessary to get it to work, though. There are a bunch of things in the util...
Hello. I'm using ClearSilver within XML documents, and it makes a problem : CS uses XML's processing instructions, and these are illegal in attributes (<a...
1210
Brandon Long
blong42
Aug 28, 2008 10:36 pm
... Yeah, that's true. Though, lots of HTML tools should understand php and other syntax that would work... I guess not for XHTML though? ... CS is actually...
1211
petr.vorel
Aug 29, 2008 3:27 pm
Hello, I've got a problem with using variable in <?cs include: ?> in template. I can include file <?cs include: "path_to_file/file.tmpl" ?> I've defined in...
... I don't know about standard HTML editors like Nvu because I'm using an XML editor, but my documents must be pure XML. ... Mmh, it could be a temporary...
1213
Brandon Long
blong42
Aug 29, 2008 9:26 pm
... The correct syntax is: <?cs include:Page.Template.Menu ?> or this: <?cs include!Page.Template.Menu ?> The exclamation point means "required", and if it...
1214
David Jeske
jeskeca
Aug 30, 2008 9:15 am
... Clearsilver is capable of producing pure XML output documents, however, the source documents are not xml compatible for a reason -- to allow arbitrary ...
Oh, it seams I have been misunderstood... I don't want CS to work WITH xml, I want it to work IN xml, transparently and without disturb it. It wasn't the case...
1216
David Jeske
jeskeca
Aug 30, 2008 5:45 pm
... I understand what you want to achieve, and it does seem like this may have utility in some cases. However, even with your patch a template which emits xml ...
Ok, I didn't understand you meant *so* dynamic. In this case I surely agree with you, this kind of work is for xslt (but the problem with xslt is that it can...
\o/ I modified CS to accept new parameters : "Config.CompleteTagStart" and "Config.CompleteTagEnd", which redefine respectively the entire start pattern an the...
1219
petr.vorel
Sep 3, 2008 9:52 pm
Hello, I've got some error on my template but I get no error message to apache log. I use perl CGI scripts on apache 2. It prints some part of page and then it...
1220
Szolnoki Tibor
szolnokit
Sep 10, 2008 3:46 pm
Hi, The ftp://biology.nmsu.edu/pub/software/clearsilver++/ is unavailable. Anybody can send Me the last version of ClearSilver++? Thank you for help, Tibor...
1221
Angus McIntyre
angusmci
Oct 20, 2008 5:07 am
I'm trying to run a Perl script (ezmlm-web) that makes use of ClearSilver under Perl 5.8.8 on a Fedora Core 7 platform. When I call the script, Perl errors...
1222
Szolnoki Tibor
szolnokit
Oct 20, 2008 6:40 pm
I can successfully compiled ClearSilver with MS Visual Studio 2005/2008. Tested with ClearSilver++ and FastCGI. My patch downloadable from: ...
1223
raphael.huck
Oct 27, 2008 5:25 pm
I've found the problem a long time ago, and forgot to post it. I just stumbled on my old message, so I figured I'd post a followup :) In fact the problem comes...
1224
Liran Tal
L.Tal@...
Nov 12, 2008 4:18 pm
Hey everyone, The website documentation doesn't cover in great detail the C programming logic to create a CGI. I have looked at the examples in the the cgi/...
1225
David Jeske
jeskeca
Nov 12, 2008 4:37 pm
You can see an example image-server CGI written in C in the "imd" directory. The API is mostly the same in each language, so the brief tutorial written for the...
1226
Brandon Long
blong42
Nov 12, 2008 11:19 pm
The clearsilver model currently lacks a "top level" idea of how to accept and dispatch different types of requests. The closest we've come to releasing...
1227
Liran Tal
L.Tal@...
Nov 13, 2008 12:31 pm
I would love to hear about other "live" examples implemented in C for ClearSilver usage as it's what we are going for. In regards to the model, we're talking...