Re: need your helpppp



"Debbie523" <Deb.Fang@xxxxxxxxx> writes:

I guess you are right, and the browser can't find the file p1.cgi

Browsers don't run CGIs. Servers run CGIs, and forward the output to a
browser (or other user agent).

So then I guess the set of path is wrong.
Could you tell me how I should set the path??

Just supply the full path. exec('/path/to/p1.cgi');

But don't forget what I said before - exec() does not do what you're
expecting it to do. Once you get the call to exec() working, you'll
find that nothing seems to happen after p1.cgi runs. Read the docs for
exec() (i.e. perldoc -f exec) to see why, and to see how to fix that.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
.