Click here to get back home

Date formatting

 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
Date formatting Martin Lucas-Smith 02-16-2005
---> Re: Date formatting Janwillem Borle...02-16-2005
| `--> Re: Date formatting Martin Lucas-Sm...02-16-2005
  `--> Re: Date formatting Martin Lucas-Sm...02-18-2005
Get Chitika Premium
Posted by Martin Lucas-Smith on February 16, 2005, 5:33 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 Steve on February 16, 2005, 10:01 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 Janwillem Borleffs on February 16, 2005, 7:03 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 Martin Lucas-Smith on February 16, 2005, 8:17 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 Rodney Pont on February 17, 2005, 7:11 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 Date-Formatting Help January 5, 2006, 6:18 pm
Formatting a date with php from a mysql table October 27, 2007, 3:57 pm
Formatting date returned from MySQL query February 22, 2006, 8:57 am
DATE formatting and TIME zones - how to deal with this hell? June 21, 2008, 5:57 pm
Date is not being pulled from MYSQL database, instead current date is displayed!!! March 22, 2006, 12:29 pm
PHP Date Question: How to Determine The Date Each of the Past 3 Sundays August 18, 2004, 10:04 pm
Help: Date function not returning correct date & time May 28, 2005, 11:59 am
Put today's date into a MySQL "date" formated field August 3, 2006, 3:47 pm
formatting textarea August 17, 2004, 3:49 pm
formatting time April 28, 2006, 2:49 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap