Re: [PHP] Email This Story and Print Functions

2003-05-31 Thread Michael Geier
the Print this Story really doesn't have anything to do with PHP, if you
are referring to actually sending the page to a printer (see Javascript)

if you are storing your articles in a DB, simply pull the info out and
create a mailbody for the Email this Story function.

On Fri, 2003-05-30 at 02:36, Jeffrey L. Fitzgerald wrote:
   Thanks to Kevin, Monty and the others who helped with my earlier post...
 
   Anyone have experience with PHP based Email This Story and Print This 
 Story functions?? I am looking to add these along with a digital postcard 
 mailer. 
-- 
Michael Geier [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Email This Story and Print Functions

2003-05-31 Thread Justin French
on 30/05/03 6:36 PM, Jeffrey L. Fitzgerald ([EMAIL PROTECTED]) wrote:

 Thanks to Kevin, Monty and the others who helped with my earlier post...
 
 Anyone have experience with PHP based Email This Story and Print This
 Story functions?? I am looking to add these along with a digital postcard
 mailer. 

Email this story is a way of someone emailing the contents of a page, OR
the URL of the page (more common) to a friend  so all you need to do is
know what page they're trying to email, collect the sender and recipient
email address', and send a URL  short message with mail().  Look in the
$_SERVER array for some values which will tell you the current URL  query
string.

Print this page can be as simple as an alternate style sheet, or a
simplified way of presenting data on a page, which is printer-friendly.

If you're pulling your main content out of databases or flat files, then it
should be relatively easy to set a value in the URL ($_GET array) which
toggles between a complex (regular) page layout, and a simple (print)
layout.

Think it through.


Justin


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Email This Story and Print Functions

2003-05-30 Thread David Grant
Jeffrey L. Fitzgerald wrote:

Thanks to Kevin, Monty and the others who helped with my earlier 
post...

Anyone have experience with PHP based Email This Story and Print 
This Story functions?? I am looking to add these along with a digital 
postcard mailer.

Probably not the answer you're looking for, but a hell of a lot easier:

For print this story, you only need an alternate print stylesheet... 
Look at the CSS spec.

Regards,

David

--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625

Wired Media Ltd
Registered Office: 43 Royal Park, Bristol, BS8 3AN
Studio: Whittakers House, 32 - 34 Hotwell Road, Bristol, BS8 4UD
Company registration number: 4016744

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php