36 Topics

Member Avatar for
Member Avatar for tkms

I have a piece of client software which sends an HTTP POST request asynchronously using a "chunked" transfer encoding ($ENV{HTTP_TRANSFER_ENCODING} is "chunked"), which I'm utterly unfamiliar with -- and unfortunately I can't change the client specification. I need to write a simple server script to receive the client's chunked data, …

Member Avatar for scrappedcola
0
461
Member Avatar for Nintendo

I just upgraded my server and now a simple log script reaks of errors. [code]#!/usr/bin/perl use CGI ':standard'; use warnings; $database = "/full_path/filename.shtml"; $shortdate = `date +"%D %T %Z"`; chop ($shortdate); open (DATABASE,">>$database"); print DATABASE "$ENV{'REMOTE_ADDR'} - $shortdate - $ENV{'SCRIPT_URI'} - $ENV{'HTTP_USER_AGENT'}<!-- - $ENV{'HTTP_REFERER'}--><BR>\n"; close(DATABASE); { print "Content-Type: text/html\n\n"; print …

Member Avatar for Nintendo
0
435
Member Avatar for daryll1

Hi, as a bit of background, My Uni have lately implemented a CGI script so you have to log in to be able to use the wireless. This would be OK but they are terrible programmers and instead of timing out after a period of inactivity it will time out …

0
129
Member Avatar for Hummdis

I'm using Python and the Python CGI module to do some web development for a system's administrative access page. The problem I have is that the current features allow you to reboot the system, power off the system and stop/start/restart system services. The system is very limited in what's running …

Member Avatar for Hummdis
0
367
Member Avatar for horakova

This is actually a CGI issue I am having but Perl seems to be the closest forum here. I am having a very simple (hence very frustrating) problem with a CGI/Perl script. For some reason if I pas things from a checkbox they all get passed fine but the last …

0
123
Member Avatar for tomthecarrot

Hello. I am a newbie to HTML and I am trying to make a form. The problem is that every HTML tutorial website I look at has a form with: [code]action="whatever.cgi"[/code] but they don't give me the code to that CGI file. What am I supposed to do with a …

Member Avatar for ingeva
0
163

The End.