World: r3wp
[CGI] web server issues
older newer | first last |
james_nak 25-Sep-2006 [580x2] | Oldes, I knew you would say that! : ) |
Is that in your example code? | |
Oldes 25-Sep-2006 [582x2] | there is only one file upload in the examples - http://box.lebeda.ws/~hmm/rswf/index.php?example=142 |
i think, it's not possible in pure html | |
james_nak 25-Sep-2006 [584x2] | No, it isn't which is kind of strange. I would use the Rebol plugin but I haven't had too much success and I don't want to create more work supporting users. |
Thanks. | |
Oldes 25-Sep-2006 [586] | if you want to upload more files using flash, it's very simillar to the example above, just you have to use FileReferenceList! instead of FileReference! |
james_nak 25-Sep-2006 [587] | OK, I'm going to try it. Does the flash also handle the file saving portion? |
Oldes 25-Sep-2006 [588x2] | here is ActionScript doc example: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002226.html |
what is file saving portion? | |
james_nak 25-Sep-2006 [590] | I mean, does it simply send it to a cgi program or does it save the files sent as well? |
Oldes 25-Sep-2006 [591] | it just sends data to cgi (one by one = not all at once) |
james_nak 25-Sep-2006 [592] | Oh, OK. I get it. Thanks! |
Oldes 25-Sep-2006 [593x2] | so on the cgi side you get just one file as from one input file field |
maybe I can make some example in the future | |
james_nak 25-Sep-2006 [595] | OK, that should be good. |
Gabriele 25-Sep-2006 [596] | you can probably handle multiple files using javascript too. (qtask does it, but i never used it so i don't know how it's done.) |
james_nak 25-Sep-2006 [597x2] | Hmmm, I'll look into that as well. Thanks. |
I checked it out and it basically has a button to add more inputs to the page. There was a snippet available on the web that does this. That definitely is a possiblity. | |
Oldes 26-Sep-2006 [599] | Yes, more input-file fields is possible as well, just you may reach the upload size limit more easily. Most servers I used has maximum 2MB per post, so if you want to upload 5 images with 1MB, you will not be able to post them at once. |
james_nak 26-Sep-2006 [600] | Yes, that may be a concern as well. I'm running on a virtual server so I could change those parameters. Maybe I should investigate some type of Rebol client app. instead. Basically, what I'm after is a what for my students to send in their homework files that is better and smarter than this dropbox solution that they have now. It doesn't give them feedback of a successful upload and I end up with files upon files of slightly uncategorized uploads. |
Ashley 27-Sep-2006 [601] | I'm using FormMail.pl to handle some simple contact details collection, but seems it is not highly regarded in the Perl community due to it's vulnerability to SPAM and bots. nms seems to offer a more secure version, http://nms-cgi.sourceforge.net/faq_nms.html, but I haven't done anything with Perl for years now. Anyone have a suggestion for a good FormMail.pl replacement, are are rumors of it's death greatly exaggerated? |
yeksoon 27-Sep-2006 [602] | if you have PHP on the server...you can try SwiftMailer. http://www.swiftmailer.org/ |
Gabriele 28-Sep-2006 [603] | afaik, the latest formmail.pl is "secure enough" (esp. if you configure it properly). it's not the best system out there, and being very popular it is also a popular target, but if you don't have time to replace it but can keep it up to date you should be fine. |
Janeks 24-Oct-2006 [604] | How the MS IIS is putting those cgi data into system/ports/input? I had problem with MS IIS - hangs on read-io - results to cgi timeout! |
Oldes 25-Oct-2006 [605] | Try to use Feedback - http://www.rebol.com/feedback.html- I don't think there is many people using Rebol with IIS |
Henrik 5-Dec-2006 [606x2] | has anyone made Carls blog script work with webserv.r? I get very odd behavior here. |
system/options/cgi/remote-addr is not registered, apparently, so I can't edit pages. | |
james_nak 22-Jan-2007 [608] | Does anyone have a nice "easy to use" sessions code like php so I can "secure" pages like the rebol blogger editing? |
Henrik 22-Jan-2007 [609] | james, let me know if you come up with something. I was doing some session stuff for blogger.r, but stopped due to lack of time. |
Maxim 22-Jan-2007 [610] | james, I am sure this has been discussed before and pekr and/or sunanada gave such an example... try doing a search or reading about it here in earlier conversations... |
Sunanda 22-Jan-2007 [611] | James: try this: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=acgiss.r http://www.rebol.org/cgi-bin/cgiwrap/rebol/documentation.r?script=acgiss.r |
james_nak 22-Jan-2007 [612] | Thank you all. I will try it. |
Alek_K 15-Feb-2007 [613] | My ISP just changed OS for FreeBSD 6.2 - and all my rebol cgi scripts are not working! What should I ask them to? |
PeterWood 15-Feb-2007 [614] | Did you install Rebol yourself? |
Alek_K 15-Feb-2007 [615x3] | Yes - before I jast had in root directory a catalog with permissions and all worked. |
For 2 years :) | |
This (in readme) makes me think: "Requires specific library versions on Linux/Unix systems" | |
PeterWood 15-Feb-2007 [618x2] | Rebol.org had a similar problem when the ISP moved from Linux to BSD - they fixed it by running a linux compatibiity utility. Sunanda knows the details. |
..well more detail than I do. | |
Alek_K 15-Feb-2007 [620x2] | As I remember there was some words (2 years ago) about "argh! we must downgrade libraries just for You" (or similar - it was FreeBSD too) |
Thanks for help - I'll try to ask Sunanda | |
PeterWood 15-Feb-2007 [622x2] | There is a FreeBSD version of Rebol Core but I'm not sure which version of FreeBSD.. |
Given the small download and simple installation, it may be worth a try. | |
Alek_K 15-Feb-2007 [624] | Tried it - 500 as before :) |
Oldes 15-Feb-2007 [625] | Can you run Rebol from shell? |
Sunanda 15-Feb-2007 [626] | Al I know is that the IS neglected to start the "Linux compatability module" on a reboot -- and so EBOL.org 500ed for most of a day until we got t sorted. I've sent Alek the full emails from the ISP documenting the problem, but they don't realy say very much more. |
Alek_K 16-Feb-2007 [627] | Shared object "libm.so.2" not found, required by "rebol" So ISP said "this software is old - please upgrade, as we did". Argh... how can I argue with him? Any suggestions? I'm green in such subjects as freeBSD/unix/linux. |
Oldes 16-Feb-2007 [628] | Try to use feedback http://www.rebol.com/feedback.html |
Alek_K 16-Feb-2007 [629] | (ok - used feedback form) |
older newer | first last |