Its a nice feature and I am loving it, but I have been doing this with haserl for a while and like it better as you can have bash inside your html instead of the other way round. But still, I can use this in so many ways and I thank you Eko for including this elegant piece of code. _________________ Eko Builds
Here's some basic navigation you can throw into your scripts which will create a list of links to all your mypage_scripts and displays the path to them.
n=1;for i in $(nvram get mypage_scripts); do echo "<a href=\"MyPage.asp?$n\">$i</a>";let n+=1; done _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
Here's some basic navigation you can throw into your scripts which will create a list of links to all your mypage_scripts and displays the path to them.
n=1;for i in $(nvram get mypage_scripts); do echo "<a href=\"MyPage.asp?$n\">$i</a>";let n+=1; done
Joined: 22 Jun 2008 Posts: 2440 Location: Am now Dark_Shadow
Posted: Tue Dec 01, 2009 4:45 Post subject:
This is what I got so far. Now granted my knowledge of this stuff is very limited, so I am open to any suggestion. I would love to know some of the stuff you guys are using. I only have one script. Not sure what I can and can't do for the others.
I thought the same thing, this is a useful feature that needs to get some love from the scripters.
It's mainly just reimplementing CGI access that was removed to fix the miliworm exploit. Having it in the GUI does make it stand out a lot more though. _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
I thought the same thing, this is a useful feature that needs to get some love from the scripters.
It's mainly just reimplementing CGI access that was removed to fix the miliworm exploit. Having it in the GUI does make it stand out a lot more though.
I haven't seen any cgi other than autoap though, I know there is some cool things that can be done with nc and such....I'm trying to figure out how to use GET and POST so we can use forms. _________________ Eko Builds
#script code
echo "<img src='user/image.png'>" _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)