Click here to get back home

Clickable File Link in PHP

 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
Clickable File Link in PHP Jeff Gaines 10-09-2007
Get Chitika Premium
Posted by Jeff Gaines on October 9, 2007, 12:38 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 Lars Eighner on October 9, 2007, 1:09 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 Jeff Gaines on October 9, 2007, 6:42 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 Lars Eighner on October 9, 2007, 6:55 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 Jeff Gaines on October 9, 2007, 7:04 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

Similar ThreadsPosted
Creating link to file or temp file for user download June 20, 2005, 10:42 am
Create thumbnails with clickable links XYZ October 29, 2006, 7:59 pm
File with no link May 31, 2006, 11:03 pm
Adding a clickable button or text into a image with GD October 18, 2007, 10:39 am
Secure downloads - how to link to file? March 17, 2005, 7:57 am
prevent the direct link with .httaccess file November 24, 2008, 7:52 am
PHP-generated link to local file doesn't work when clicked on. Why? May 26, 2006, 10:36 am
Using an as a link February 11, 2006, 11:31 pm
inserting a link September 28, 2004, 6:55 pm
Session and link October 20, 2004, 11:40 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap