1. Bind CGI Error
- Posted by "Daniel Kluss" <xerox_irs at hotmail.com> Feb 28, 2004
- 420 views
While binding CGIs that I use I get the error #! may only be on the first line of a program <scrambled code> and that #! command is on the first line, and the cgi works great, I really don't want to remove all of those from my files inorder to bind them, cause they work great in source. win98se EXW.exe V2.4 bindw.bat Daniel Kluss
2. Re: Bind CGI Error
- Posted by Robert Craig <rds at RapidEuphoria.com> Feb 28, 2004
- 403 views
Daniel Kluss wrote: > While binding CGIs that I use I get the error > > #! may only be on the first line of a program > <scrambled code> > > and that #! command is on the first line, and the cgi works great, I > really don't want to remove all of those from my files inorder to bind > them, cause they work great in source. > > win98se EXW.exe V2.4 bindw.bat I believe that problem arises on Linux or FreeBSD because the current binder inserts: without warning into the bound file as the first line, causing #! to move to the second line. In the next release, the binder will be totally different and won't do that anymore. If you are using Linux or FreeBSD, you could also make an executable by translating to C with ecu, and compiling with GNU C. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com