Click here to get back home

terminal locks up upon second running of this CLI PHP function

 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
terminal locks up upon second running of this CLI PHP function comp.lang.php 08-12-2005
Get Chitika Premium
Posted by comp.lang.php on August 12, 2005, 9:56 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 comp.lang.php on August 12, 2005, 1:31 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 comp.lang.php on August 15, 2005, 9:50 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
terminal php September 8, 2006, 6:49 am
php in terminal shell July 16, 2008, 9:44 am
Strange fatal error in terminal May 2, 2007, 12:08 am
Running PHP code in Javascript function November 23, 2005, 7:57 pm
Concurrent access and locks April 2, 2005, 12:35 pm
InnoDB autocommit and locks April 27, 2005, 10:54 pm
Windows 2k3 IIS locks up with mysqli May 2, 2008, 11:12 am
concurrency, locks, multi-user app. January 5, 2006, 5:48 pm
How to stop code execution when an error is found on a function, from within the function... It's hard to explain, just read... January 14, 2008, 6:02 am
How do I know that PHP is running October 16, 2004, 9:50 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap