[San-Diego-pm] Running PHP slide show from Perl
joel at fentin.com
Wed Oct 6 10:29:26 PDT 2010
Thank you for getting back to me.
On 10/6/2010 7:21 AM, Christopher Hahn wrote:
> Just a quick one, but when I see:
> "No such file or directory ./plant1.php"
I think that refers to the question mark in line one of
plant1.php. There is also an error mentioned for line three. The
.php program itself has been located and something is attempting
to deal with it.
I believe you can run commands like dir and xx.exe via system().
But can you run xxx.php? If not, how is it done?
An experiment: system('dir');
This shows me the working directory is correct.
> I wonder if the problem is the cwd when running is not where this
I don't understand.
> Perhaps you can fuly qualify the reference to plant1.php?
If by fully qualify, you mean:
These are worse. The error is in Perl saying it can't find the file.
> On Wed, Oct 6, 2010 at 5:45 AM, Joel Fentin <joel at fentin.com
> <mailto:joel at fentin.com>> wrote:
> I have been attempting to test/run a slideshow program. The
> program must be run from a Perl program.
> + First note that plant1.php works. See it here:
> + I wrote a Perl script to run plant1.php. You can run it at:
> It doesn't work. Note the error message.
> + The operative code lines:
> print "Content-type: text/html\n\n";
> chdir '../../Raja99/';
> I hope sombody knows what is happening and can help.
> Thank you.
> Joel Fentin tel: 760-749-8863
> Biz Website: http://fentin.com
> Personal Website: http://fentin.com/me
> San-Diego-pm mailing list
> San-Diego-pm at pm.org <mailto:San-Diego-pm at pm.org>
> Realisant mon espoir, je me lance vers la gloire.
> Christopher Hahn == xrz1138 at gmail.com <mailto:xrz1138 at gmail.com>
Joel Fentin tel: 760-749-8863
Biz Website: http://fentin.com
Personal Website: http://fentin.com/me
More information about the San-Diego-pm