10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello,
I want to run this script on my CentOS 6 via browser :
________________________________________________________________________________________________
#!/bin/sh
echo Username?
read MY_NAME
echo Provisional file name?
read MY_FILE
echo File NAME you want to save?
read MY_FILE2... (16 Replies)
Discussion started by: juta2020
16 Replies
2. IP Networking
Hello,
I work on remote machine using the ssh protocol.
I try to test a tool which is a process running on the port 5000.
tcp 0 0 0.0.0.0:5000 0.0.0.0:* LISTEN 4386/python
Tu visualise this process, i have to launch on http://0.0.0.0:5000/... (3 Replies)
Discussion started by: chercheur111
3 Replies
3. Web Development
Can anyone tell me how to export a variable from one perl CGI script to another perl cgi script when using a redirect.
Upon running the login.pl the user is prompted to enter user name and password. Upon entering the correct credentials (admin/admin) the user is
redirected to welcome page.
My... (3 Replies)
Discussion started by: Arun_Linux
3 Replies
4. UNIX for Dummies Questions & Answers
Hey All,
My first posting around here, So please be patient with me.
I dont have any rights on a computer that Im using right now & I was wondering if I can run putty session from the browser itself without downloading it.
I looked up all over the web & I couldnt really see a place... (1 Reply)
Discussion started by: Fanxinu
1 Replies
5. UNIX for Advanced & Expert Users
I ran an fs_usage (based off dtrace facility) but someone closed the window I think.. But I still see the process running # 15023 I tried fg 15023 but it told me no job control.. Is there anyway I can see my output? The scan has been running an hour and the output is valuable to me. (3 Replies)
Discussion started by: glev2005
3 Replies
6. Linux
I have installed fedora 9 and trying to run .pl (perl files) from browser.
I have below RPM installed:
----------------------------------
httpd-2.2.8-3.i386
mod_perl-2.0.3-21.i386
$cat /etc/httpd/conf.d/perl.conf
LoadModule perl_module modules/mod_perl.so
Alias /perl /var/www/perl... (4 Replies)
Discussion started by: sriram003
4 Replies
7. Solaris
Hi, i have just installed Sun Solaris 8 on the sun sparc server but when i run the browers and write a site to open it my browers automatically closed and when i run the browers window again it again automatically closed again.
can any body help me to resolve this issue (1 Reply)
Discussion started by: adnangc
1 Replies
8. Shell Programming and Scripting
I am in need of a mechanism to run shell scripts from web browser. Could any one of you guide me as to which technology to choose? I have some scripts which take some arguments. Appreciate you response. (7 Replies)
Discussion started by: corleone
7 Replies
9. UNIX for Dummies Questions & Answers
I am learning about cgi and having lots of trouble. If I am on a server cs-srv2.(schoolname).edu and I want to run cgi script what would I need to do? By the way, I see $ on the command line when my server opens , if that makes a difference. I created a cgi-bin directory and put it in there. The... (3 Replies)
Discussion started by: CSGUY
3 Replies
10. Shell Programming and Scripting
If I have a Perl CGI script (script01), which fills an array(s) with information and outputs a HTML page with a link to another CGI page (script02); is there anyway to pass the array(s) from "script01" to "script02" when the page visitor clicks the link?
Hope that makes sense!
:) (2 Replies)
Discussion started by: WIntellect
2 Replies
cgi_cookie_set(3) cgi/cgi.h cgi_cookie_set(3)
NAME
cgi_cookie_set - Set a browser Cookie
SYNOPSIS
#include <cgi/cgi.h>
NEOERR *cgi_cookie_set (CGI *cgi, const char *name, const char *value,
const char *path, const char *domain,
const char *time_str, int persistent, int secure);
ARGUMENTS
cgi - a CGI struct
name - the name of the cookie
value - the value to set the cookie to.
path - optional path for which the cookie is valid. Default
is /
domain - optional domain for which the cookie is valid. You
can use cgi_cookie_authority to determine this
domain. Default is none, which is interpreted by
the browser as the sending domain only.
time_str - expiration time string in the following format
DESCRIPTION
cgi_cookie_set will issue a Set-Cookie header that should cause a browser to return a cookie when required. Note this function does no
escaping of anything, you have to take care of that first.
HH:MM: SS GMT. Only used if persistent. Default is one year from time of call. persistent - cookie will be stored by the browser between
sessions secure - cookie will only be sent over secure connections
RETURN VALUE
None
SEE ALSO
cgi_debug_init(3), cgi_parse(3), cgi_destroy(3), cgi_js_escape(3), cgi_html_escape_strfunc(3), cgi_register_strfuncs(3), cgi_output(3),
parse_rfc2388(3), cgi_url_validate(3), open_upload(3), cgi_cs_init(3), cgi_url_escape_more(3), cgi_html_strip_strfunc(3), cgi_neo_error(3),
cgi_redirect(3), cgi_filehandle(3), cgi_register_parse_cb(3), cgi_url_escape(3), cgi_init(3), cgi_redirect_uri(3), cgi_cookie_clear(3),
cgi_url_unescape(3), cgi_vredirect(3), cgi_display(3), cgi_html_ws_strip(3), cgi_error(3), cgi_cookie_set(3), cgi_text_html_strfunc(3),
cgi_cookie_authority
ClearSilver 12 July 2007 cgi_cookie_set(3)