Click here to get back home

2>&1 arg in exec(perl.... + "sh: /perl not found error" TIA for help

 HomeNewsGroups | Search | About
 comp.lang.php    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
2>&1 arg in exec(perl.... + "sh: /perl not found error" TIA for help Marty Meyers 12-06-2005
Get Chitika Premium
Posted by Marty Meyers on December 6, 2005, 7:14 pm
Please log in for more thread options
Kimmo Laine wrote:
> <?php
>
> include('http://www.your.domain/next_page.php?foo=bar');

Unless next_page.php generates PHP, the script with this include will
only get HTML.

> exit();
>
> ?>

next_page.php

<?php
if (isset($_GET['foo'])) {
echo '<?php echo $_GET[\'foo\']; ?>';
} else {
echo '<?php echo \'Not available\'; ?>';
}

--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

Posted by Etienne Marais on December 7, 2005, 3:51 am
Please log in for more thread options
Kimmo Laine wrote:
> <?php
>
> include('http://www.your.domain/next_page.php?foo=bar');

Unless next_page.php generates PHP, the script with this include will
only get HTML.

> exit();
>
> ?>

next_page.php

<?php
if (isset($_GET['foo'])) {
echo '<?php echo $_GET[\'foo\']; ?>';
} else {
echo '<?php echo \'Not available\'; ?>';
}

--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

Posted by Marty Meyers on December 7, 2005, 6:43 am
Please log in for more thread options
Kimmo Laine wrote:
> <?php
>
> include('http://www.your.domain/next_page.php?foo=bar');

Unless next_page.php generates PHP, the script with this include will
only get HTML.

> exit();
>
> ?>

next_page.php

<?php
if (isset($_GET['foo'])) {
echo '<?php echo $_GET[\'foo\']; ?>';
} else {
echo '<?php echo \'Not available\'; ?>';
}

--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

Similar ThreadsPosted
Perl vs PHP? June 5, 2005, 12:49 am
Perl-1.0.0 July 7, 2006, 6:30 am
PHP v PERL October 21, 2006, 1:22 pm
php and perl June 12, 2007, 7:19 am
Why PHP instead of Perl? June 21, 2007, 9:53 pm
perl cgi vs php January 21, 2008, 4:20 pm
php and perl md5 June 12, 2008, 9:45 pm
Is PHP still slower than Perl? October 2, 2004, 4:56 am
perl style in php ? October 31, 2004, 8:59 am
perl-like "slurp" in PHP? December 22, 2004, 11:46 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap