You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Remo Mattei <re...@italy1.com> on 2002/12/12 09:16:26 UTC

[users@httpd] apache variables

Hi guys I need to get some info from apache, I have a login form and I
need to pass the info from apache to a shell script what's the best way?
I cannot use php in the shell script. 

Thanks, 

 

 

Remo Mattei

Network Security Engineer

cell 801-209-8554

email remo@italy1.com

 


Re: [users@httpd] apache variables

Posted by ja...@area319.de.
Hi Remo,
i think you mean a simple cgi-script.
Sure, you can't use php in shell, but it's easier if you use just php if
it can do it.
If you need the shell-script then you are maybe interessted in the
Environment-Variables `QUERY_STRING' and so on. The CGI-Interface is
explained here: http://hoohoo.ncsa.uiuc.edu/cgi/env.html

Combine that with google and you will find something that fits your needs.

Regards,
Simon
> Hi guys I need to get some info from apache, I have a login form and I
> need to pass the info from apache to a shell script what's the best way?
> I cannot use php in the shell script.
>
> Thanks,
>
>
>
>
>
> Remo Mattei
>
> Network Security Engineer
>
> cell 801-209-8554
>
> email remo@italy1.com
>
>




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org