System
Chris Radcliff
chris_radcliff at mac.com
Wed Feb 19 14:56:38 CST 2003
~sdpm~
Joel,
When making a system() call (or similar), you need to specify the
filename to execute, not a URL. A URL like
http://127.0.0.1/cgi-bin/x.pl is for network access, but it gets
translated by Apache into a system filename like
/www/mysite/cgi-bin/x.pl, where /www/mysite/cgi-bin is set as an
"Alias" to http://127.0.0.1/cgi-bin.
It's the latter you want to use from your system() call. So, if x.pl is
found there, a system() call would look like this:
system("/www/mysite/cgi-bin/x.pl");
Note that there are lots of other caveats to using system() in this
manner, but you can cross those bridges when you come to them.
Cheers,
~chris
On Wednesday, February 19, 2003, at 12:37 PM, Joel Fentin wrote:
> I want it to execute x.pl and return to the calling script passing no
> values.
>
~sdpm~
The posting address is: san-diego-pm-list at hfb.pm.org
List requests should be sent to: majordomo at hfb.pm.org
If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at happyfunball.pm.org> with the following
command in the body of your email message:
unsubscribe san-diego-pm-list
If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-san-diego-pm-list at happyfunball.pm.org> .
This is the general rule for most mailing lists when you need
to contact a human.
More information about the San-Diego-pm
mailing list