SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2000
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How do I add this options to my pages? Is there a script that I can configure?

    Please help

    Thanks

  2. #2
    imagine no limitations exbabylon's Avatar
    Join Date
    Dec 2000
    Location
    Idaho, USA
    Posts
    452
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what exactly are you wanting to do? If you could be REALLY specific I could probably help. I'll try though )

    As for PRINT

    If you had an article, like here at sitepoint, that uses a lot of colors, you can use a script to get the data, and put it into just a black/white format. You would most likely want to have the data a databse first though... or else it would be infeesable.

    As for SAVE...

    You could use a PHP package that is available to ZIP the articles... then have that on every page available for download... but it's a bit complex... and even difficult for advanced people.

    As for EMAIL...

    You can drag the data out of a database, and send it via e-mail... the script for sending e-mail is as follows.

    PHP Code:
    mail("where@you_want_it_to_goto.com""Subject""body""Headers"); 
    For now, don't even worry about headers... they can cause problems, but are very usefull... if you read the articles at http://www.mycoding.com and SitePoint.

    And as for FONTS

    You could display your data like this

    PHP Code:
    echo("<font face=\"$font\">$body</font>"); 
    then have a dropdown box on the page like this:

    Code:
    <form action="<?php echo $PHP_SELF ?>">
    <select name="font">
    <option value="Arial">Arial</option>
    <option value="Times New Roman">Times New Roman</option>
    </select>
    <input type="submit" value="Change">
    </form>
    then have some code at the top of your page:

    PHP Code:
    <?php

    if(!$font){
    $font "Arial";
    }

    ?>
    then your font changes depending on what they select... or default to Arial

    Hope this helps, if you're more specific I'm sure we could hit closer to the target!

    God Bless
    Blamestorming: Sitting around in a group discussing why a deadline was missed or a project failed and who was responsible.

    Exbabylon- Professional Internet Services


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •