Click here to get back home

How to use for loop to write to file?

 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
How to use for loop to write to file? deko 07-20-2004
Get Chitika Premium
Posted by deko on July 20, 2004, 8:03 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
PHP/IIS: File Read/Write OK, File Unlink Denied March 22, 2006, 5:10 am
Newbie: How to loop through lines in a file? December 15, 2004, 3:25 am
Write to text file May 26, 2005, 10:01 pm
Write a file to disk with PHP September 14, 2007, 4:47 am
Write to binary file December 8, 2007, 3:47 pm
how to write in a text file before a given word August 31, 2004, 7:01 pm
proc_open, write error to var instead file?? January 5, 2005, 12:07 pm
fputs of a textarea write a dos file January 29, 2005, 11:52 am
How to write string in a file to the next line May 2, 2005, 8:39 am
Select items and write a txt file September 8, 2005, 4:26 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap