Browsing the category
PHP

PHP GD generate an image with text and font embedding

1 Star2 Stars3 Stars4 Stars5 Stars
10
Fb Shares
9
Fb Likes
7
G+
32
Tweets

PHP isn’t limited to just generating HTML. It can also be used to create and manipulate image files in a variety of formats. I recently worked on a project where we had to generate an image for the user and …
Continue reading

PHP GD generate an image with text and font embedding

PHP Clever Caching

1 Star2 Stars3 Stars4 Stars5 Stars
3
Fb Shares
4
Fb Likes
6
G+
25
Tweets

This clever bit of code checks if a page has been modified since it was last displayed and if it hasn’t, it sends a “304 not modified” header and exits, otherwise the content is loads as normal. Add the code …
Continue reading

PHP Clever Caching

Show Google Plus’s – PHP function

1 Star2 Stars3 Stars4 Stars5 Stars
5
Fb Shares
6
Fb Likes
17
G+
29
Tweets

Following on from yesterdays function to get likes and share data for a URL here’s a function to get Google Plus’s for any URL. The Code It’s worth pointing out you must have CURL enabled on your web server, I …
Continue reading

Show Google Plus’s – PHP function

Display Facebook likes / Shares PHP function

1 Star2 Stars3 Stars4 Stars5 Stars
7
Fb Shares
17
Fb Likes
10
G+
31
Tweets

We launched a new product at Harkable last week called Daily Pulse – which tracks social data for any URL, you can also subscribe to receive email reports. I thought i’d share a bit of functionality similar to how we …
Continue reading

Display Facebook likes / Shares PHP function

jQuery dynamic number ticker

1 Star2 Stars3 Stars4 Stars5 Stars
6
Fb Shares
10
Fb Likes
10
G+
46
Tweets

This is a fascinating little script that helps you display a dynamic JSON feed of numbers that automatically updates on the page by animating up or down to the current number. A great addition as part of a realtime analytical …
Continue reading

jQuery dynamic number ticker

10 Free scripts to download

1 Star2 Stars3 Stars4 Stars5 Stars
7
Fb Shares
10
Fb Likes
19
G+
43
Tweets

It’s been a while since I put together the “20 Complete scripts to download” post so I thought it was time for a quick roundup of some of the best downloads I’ve put together on Papermashup. You can download each …
Continue reading

10 Free scripts to download

6 Useful PHP code snippets

1 Star2 Stars3 Stars4 Stars5 Stars
9
Fb Shares
6
Fb Likes
18
G+
54
Tweets

Here’s a selection of really useful PHP code snippets that I find using on a weekly basis. You could use these as is or expand them as part of other applications or add them to a php class. Adjust server …
Continue reading

6 Useful PHP code snippets