InstallationLearn how to create printable web pages on the fly. See how to get ton´s of visitor´s to your web site with the unique send page as e-mail feature.
Step 1Just copy your licensed copy of web2printer in a directory of your web server. The directory must be in your html path (so you can reach it with your browser) and executable for php scripts. Step 2: Add a link to your pages You can use web2printer5 for every web page. To use the incredible copyright feature just add a metatag to the header section: <meta name="copyright" content="your copyright"> To exclude menus, banners and so forth sourround your printable content with a html comment: <!-- web2printer:start --> your content <!-- web2printer:end --> Add a hyperlink to web2printer5 in every page. The hyperlink may look likes this:
<a href="/script/web2printer5.php?img=0&lnk=0&style="mystyle.css" target="_blank "Printable Page</a>
nsert an hyperlink to web2printer in that page. The hyperlink may have the form as explained above. (Not forget mail=1 !!)
Send to a friend parameter
| value
| description
| | img | 0 | no special images processing | | | 1 | images are suppressed in the printable version | | | 2 | images replaced with [IMAGE] | | | 3 | images are replaced with the string from alt= | | | 4 | images replaced with [IMAGE] ,cross reference entry is generated
| | lnk | 0
| no special hyperlink processing | | | 1 | a hyperlink cross reference will generated at the end of the printable document | | | 2 | a hyperlink cross reference with removed gat params | | | 3 | removes "clickable" links only | | tgs | 0
| meta tag omitted | | | 1 | meta tags preserved | | style | string | Set the stylesheet used for printing. If you use the e-mail feature this should be the full url, otherwise a relative or absolute path to the stylesheet. | | | empty | filename resolved by HTTP_REFERER | mail
| 1
| send page as email |
Step 3: e-Mail* To use the unique, traffic generating e-mail feature, you have to mark the position where web2printer can inlcude the e-mail form with a html comment: <!--- web2printer:email !--> To configure web2printer5´s e-mail feature, just edit the configuration.php file.
<?php /* * web2printer * Module : configuration.php * * Version : 5 * Reference Plattform: 5 * * Copyright (c) 1998 - 2008 pda-systems.COM. All rights reserved. * http://www.pda-systems.com * * This software is confidential and proprietary information of * pda-systems.COM ("Confidential Information"). You shall not * disclose such Confidential Information and shall use it only * in accordance with the terms of the license agreement you * entered into with pda-systems.COM. * * PDA-SYSTEMS.COM MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE * SUITABILITY OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING * BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGMENT. * PDA-SYSTEMS.COM SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY * LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THIS * SOFTWARE OR ITS DERIVATES. */
// page to open if the url does not contains a filename $defaultPage = "index.html";
// page url header: $pageUrlHeader = "<b>This page URL</b>:<br>";
// page url crossreference header: $pageXRefURLHeader = "<b>Links:</b>";
// page images crossreference header: $pageXRefImages = "<b>Images:</b>";
// active link // 0 - hyperlinks not active (clickable) in the resulting html file // 1 - hyperlinks active (clickable) in the resulting html file $activeLinks = 0;
// 0 disable footer // 1 enable footer // 2 use custom footer $footer = 1; // custom footer text - if you not enjoy the standard footer // this page was generated with .... $customFooter = "";
// path to your e-mail template (absolute or relative to web2printer5.php) $myEMailForm = "./form.html";
// 0 disable email logging // 1 enable email loggin //$logmail = 1; // logfile path - put it outside your html path (ONLY PATH !!!) //$logfile = /path/to/logfile // maximum number of mails a single (visitor)ip can send per day // important to prevent abuse $maxip = 10;
* the e-mail is unsupported at the moment. |