The easiest thing to do is look in the httpd error log to see what errors your script is generating.
If that doesn't work, or you need more information, upload a small shell script like this:
, make it executable, and run it from your browser. All the errors that would normally go to your screen will show up in your browser. It's a great help for tracking these things down.#!/bin/sh -x printf "Content-type: text/plain\n\n" exec 2>&1 ./your_script.cgi echo "Exit status: $?"
Another technique is to upload a small script, say:
then keep adding on to it until it stops working. That should give you an idea of what's not working.#!/usr/bin/perl -w use strict; print "Content-type: text/html\n\nThis is a CGI script.\n";
In reply to Re: SQL help with Linux hosting
by sgifford
in thread SQL help with Linux hosting
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |