Click here to get back home

Cookies being referenced in a second domain

 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
Cookies being referenced in a second domain Katherine Hall 01-25-2005
Get Chitika Premium
Posted by Katherine Hall on January 25, 2005, 3:32 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 Katherine Hall on January 25, 2005, 3:35 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 Matthias Esken on January 25, 2005, 11:16 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 Alvaro G. Vicario on January 25, 2005, 11:27 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
Accessing cookies after domain has been mapped to another domain/folder February 26, 2005, 10:58 pm
Cookies: Set for host rather than domain August 30, 2004, 3:23 pm
Cross-Domain Cookies September 10, 2004, 11:52 am
Whats the cross domain cookies February 12, 2008, 3:53 pm
HELP: cookies / login screens / https / http / domain names, etc February 1, 2006, 10:53 am
kostenlose web site registrierungsstelle domain com in domain registrieren web site de email domain kostenlos 1 May 13, 2008, 10:37 am
destroy referenced objects July 9, 2008, 7:56 pm
Problems including a file referenced from SERVER['DOCUMENT_ROOT'] December 28, 2006, 11:30 am
I want to make the sub domain run on its own domain June 3, 2008, 7:19 am
How to get the domain name? August 13, 2004, 10:17 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap