Any PHP wizards with a spare hour and a sense of humour?

Soldato
Joined
16 Oct 2007
Posts
7,446
Location
UK
Hi all,

A joke site that I set up about 10 years ago is getting quite busy, about 2k uniques a day.

The site - http://goo.gl/OGfzq

I thought I'd add to the cheap functionality of the site by allowing users to send this card as an "e" card. My thought was to get the user to fill out a simple HTML form, and link it with this PHP PDF library thing, and voila.
( http://koivi.com/fill-pdf-form-fields/ edit: this new link provides a better method, but it's a little too complex for me!
)

The form would create a very basic blank A4 landscape page with the text on, and I could make a script to combine the two pages (front cover as seen on site, and this "custom" second page), and email it to the user.

But, I'm struggling. A lot.

Anyone able to help? I'll credit the help to you!
 
Last edited:
A huge thanks to visibleman who pointed me several times in the right direction, managed to get it all to work.

and Tesco asked me to about six or seven years ago. I sent them a big email asking them to take my idea and make it a product. I told them I make nothing from the site, it costs me money, and I promote them. They've never contacted me again.
 
You might want to add to your css (style-Blue.css) the following so the labels line up nicely, looks a bit messy otherwise:

Code:
.jotform-form label {
    width: 162px;
}


Tesco value cards are awesome. I've always wondered why they don't sell them, everyone would buy them as a joke.

Incredibly good of you, thank you!
 
actually, thinking of Pho's great hint there - if anyone else has any suggestions on how to improve the site, please do let me know!
 
E-card preview on the form? Would be fairly straight forward to implement (load a 'thumbnail' sized image of the card into a div that has a few placeholder divs over top, use JS/JQuery to add text to placeholders).

I considered exactly that, as people are sending out "test" cards to themselves before sending the ones out to the recipients.

But how to implement, I'm at a loss!
 
Back
Top Bottom