Re: cgi script for dos2unix and unix2dos
If nobody else wants to do this, I will. Except users will have to upload
the text (i have a lame java applet that lets you upload from your
browser) then it would Have the switches and a Okay button. I see no need
for password though. If you want it password protected just stick a
.htaccess file in the base dir.
...
(0 0)
----------------------------------------------------ooo--v--ooo----
Windows 95 packs with solitare (ooohhh!), Linux packs with DOOM.
You can have your deck of cards, I'll take a chainsaw!!
John root@fluxnet.windsor.igs.net
Security Analyst & Kernel Hacker security@linux.chaosnet.nu
.oOo. Windsor Linux Users Group Founder .oOo.
-------------------------------------------------------------------
On Sat, 15 Aug 1998, Paul Miller wrote:
>
> Anyone have a cgi script for the dos2unix and unix2dos commands?
>
> I'm not talented in html or cgi scripts, so I can't exactly make one.
> Here's how I thought it might work:
>
> 1) web page:
> 2 radio switches, 1st=dos2unix, 2nd=unix2dos
> 2 small text fields
> "ok" button at the bottom of page
> the 1st small field is for reading a file
> the 2nd small field is the location to write a file
> "ok" goes to the next step
> 2) asks for user name and password
> 3) runs dos2unix or unix2dos
> 4) saves file
>
> can anyone help me out?
>
>
> Thank you,
> Paul Miller
>
Reply to: