Jump to content
Larry Ullman's Book Forums

Search the Community

Showing results for tags 'pdf'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Single Editions
    • Modern Javascript: Develop and Design
    • The Yii Book
    • Effortless Flex 4 Development
    • Building a Web Site with Ajax: Visual QuickProject
    • Ruby: Visual QuickStart Guide
    • C++ Programming: Visual QuickStart Guide
    • C Programming: Visual QuickStart Guide
    • Adobe AIR: Visual QuickPro Guide
  • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (5th Edition)
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (4th Edition)
    • PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide (3rd Edition)
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (2nd Edition)
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (1st Edition)
  • PHP for the Web: Visual QuickStart Guide
    • PHP for the Web: Visual QuickStart Guide (5th Edition)
    • PHP for the Web: Visual QuickStart Guide (4th Edition)
    • PHP for the Web: Visual QuickStart Guide (3rd Edition)
    • PHP for the World Wide Web: Visual QuickStart Guide (2nd Edition)
    • PHP for the World Wide Web: Visual QuickStart Guide (1st Edition)
  • Effortless E-commerce with PHP and MySQL
    • Effortless E-Commerce with PHP and MySQL (2nd Edition)
    • Effortless E-Commerce with PHP and MySQL
  • PHP Advanced: Visual QuickPro Guide
    • PHP Advanced and Object-Oriented Programming: Visual QuickPro Guide (3rd Edition)
    • PHP 5 Advanced: Visual QuickPro Guide (2nd Edition)
    • PHP Advanced: Visual QuickPro Guide
  • MySQL: Visual QuickStart Guide
    • MySQL: Visual QuickStart Guide (2nd Edition)
    • MySQL: Visual QuickStart Guide (1st Edition)
  • Other
    • Announcements
    • Newsletter, Blog, and Other Topics
    • Forum Issues
    • Social

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 3 results

  1. Hi, I bought both version of the book (1st, 2nd) and the electronic version of the second version too, awhile ago. In second book, I'm trying to modify the script (add_pdf) in the first site (selling virtual products) to add image instead of pdf, by using the script (add_other_products) in the second site example (selling physical product) Here, I upload my modified file (add_pdf). Everything goes fine when I upload an image, but for some reason I cannot view them. I keep getting the error from the script view_pdf (first site): "This page has been accessed in error." Do I need to change those values in the veiw_pdf script or something else? header('Content-type:application/image'); or header('Content-type:image/jpg'); ------------------------------------------------------------------------- // Send the content information: header('Content-type:application/pdf'); header('Content-Disposition:inline;filename="' . $row['file_name'] . '"'); $fs = filesize($file); header("Content-Length:$fs\n"); ------------------------------------------------------------------------------------ Please help me all, please Mr larry Ullman help. I'd like to be able to upload different file type, such as images(png, jpg, psd), video(mp4) and pdfs. Note: Yes, I also bought larry Ullman other books too. (php and mysql both version: 1st and second edition). This other book has a file upload with php and javascript but it's different. add_pdf.php
  2. Hi, Can you tell me someone, is there any PDF or ebook found for this book. If so, can you provide the link where I can buy. Thanks
  3. Hello Larry et al. I know that the receipt.php script is not written in the book. So I'll ask here. Being new to this and working my way through (more like hacking/hashing my way through), PHP has PDFlib functions some have been deprecated but there should be a way to create a sales receipt that you could place LOGO (shop stationary), ORDER NUMBER, ITEMS ORDERED, COST (each), COST (total), CARD (last 4), FOOTER (address of store or a coupon good for next purchase (image) amongst a few other items. This could be placed into it's own table for reference as well as be printed by the customer. As I would like to try to create this on my own, could you just let me 1) know if it's possible, 2) am I on the right track with PDFlib and 3) would it be worth my time as the receipt could be past to an html file using a css to define it's look... Thanks, this is my second time around reading your book Larry Todd
×
×
  • Create New...