- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I have a problem with a script CGI I do a kernel, a file system and my application like the documentation. No problem for compilation. No probleme for upload the kernel and the filesystem with my Index.html and my script CGI. I have my web page OK, but the script not respond or i have a blanck page... any body know why ? http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/mad.gif thanks http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif Pascal FougerayLink Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can not use script in CGI , if you do not have perl.
You may try the uClinux-dist in nios wiki. There is a cgi-demo with it.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by hippo@Feb 27 2007, 10:35 PM you can not use script in cgi , if you do not have perl.
you may try the uclinux-dist in nios wiki. there is a cgi-demo with it.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=21917)
--- quote end ---
--- Quote End --- hello How do that, how to install perl ? http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif Perl in linux on the nios board ? http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif i would like run the script for light on/off the led of the board like is explain in this forum . I don't understand why i must use perl ? Import the folder with cgi-test.cgi, it's not by goal. My script cgi is ok, the problem is just i have a black page. If i run my script cgi alone : http://192.168.0.15/cgi-bin/script_cgi.cgi (http://192.168.0.15/cgi-bin/script_cgi.cgi) i receive the message : No Content-Length was sent with the POST request. But if i run with the HTML page, i see the browse search and the page stay blanck http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I mean, you can install uClinux-dist as in the nios wiki, and modify the cgi-demo example C program to control your LEDs etc. There is no need to install perl, as it is more difficult.
http://nioswiki.jot.com/wikihome/operating...ems/uclinuxdist (http://nioswiki.jot.com/wikihome/operatingsystems/uclinuxdist)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page