[prev in list] [next in list] [prev in thread] [next in thread] 

List:       systalk
Subject:    Re: [Systalk]trouble with cgi
From:       "Vince Shannon" <vpshannon () sprynet ! com>
Date:       2001-02-24 3:48:50
[Download RAW message or body]

I don't know CGI at all but wonder if maybe you need to first declare a
variable for %1?
Just a thought?
----- Original Message -----
From: "John Kirk" <dystan@pac.net>
To: <systalk@dhs.org>
Sent: Friday, February 16, 2001 11:31 AM
Subject: Re: [Systalk]trouble with cgi


> > ----- Original Message -----
> > From: "Adam K" <Crash1hd@home.com>
> > Sent: Sunday, February 04, 2001 12:38 AM
> > Subject: [Systalk]trouble with cgi
> > > I am having trouble running a very simple script
> > > yet I keep getting this error
> > > my server is running windows advanced server
> > > and I have DJGPP as my C compiler program
> > > ok here is the error
> > >
> > > %1 is not a valid Win32 application.
>
>   The way I'd read this is that '%1' probably is a variable
> name and the fact that it appears in the message, rather than
> some program name, indicates that substitution of a specific
> name value for the variable didn't occur.  The fact that the
> '%1' occurs, rather than an empty value gives me the impression
> that the script isn't even interpreting it as a variable, but
> rather as just an ordinary part of the error message.  I dunno
> anything about the proprietary software you mention running,
> but I wonder whether the script is being executed by something
> that doesn't understand the percent sign as indicating a
> variable.  That convention traditionally would interpret the
> '%1' as meaning 'the first argument passed to the script', so
> another question might be whether your script is properly
> being passed an argument which names a Win32 application
> program (i.e. your compiled C program).
>
>   I'd first guess that this script was written for a different
> environment, where the '%1' syntax is recognized, and your
> "windows advanced server" uses a different convention for
> referring to a parameter passed in to the script.
>
>          regards,   -- John Kirk
>                        Dystan Hays Studios
>
> On Fri, Feb 16, 2001 at 09:26:27AM -0800, Mark Symonds wrote:
> > This is just a wild guess but apparently DJGPP is
> > targeting DOS and not win32 or something.
> > You don't want to use C for cgi's anyway.
>
>   Sometimes, one does, for a variety of possible reasons.
>
> > Use perl or PHP instead.
>
>   I'd concur, this is probably real good advice.
>
>
> _______________________________________________
> DHS Systalk Discussion List Systalk@dhs.org
> To manage your subscription, please goto:
> http://www.dhs.org/mailman/listinfo/systalk


_______________________________________________
DHS Systalk Discussion List Systalk@dhs.org
To manage your subscription, please goto:
http://www.dhs.org/mailman/listinfo/systalk

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic