Zend - The PHP Company




Code Gallery: hermawan


Another Sendmail  

Type: code fragment
Added by: hermawan
Entered: 10/01/2004
Last modified: 01/12/2003
Rating: ***** (17 votes)
Views: 23077
This is another sendmail script. Sends HTML and Text message. Add attached file as inline image or attachment.


censormsg  

Type: application
Added by: hermawan
Entered: 03/11/2002
Last modified: 01/11/2001
Rating: - (fewer than 3 votes)
Views: 6347
This is a simple function which can be used when you have a form for your users to post their message and you want to censor every badwords that they might write on that form.


classKurs  

Type: application
Added by: hermawan
Entered: 11/11/2002
Last modified: 01/11/2001
Rating: - (fewer than 3 votes)
Views: 4991
classKurs is a PHP class that lets you grab Bank Indonesia's content of kurs, then put the content on a single file. The grabber can be set as cron job. There is also the function to show the grabbed file in formated html tags, ready to go.


ConvGMT  

Type: code fragment
Added by: hermawan
Entered: 03/11/2002
Last modified: 01/11/2001
Rating: - (fewer than 3 votes)
Views: 5595
This function is used when your have Overseas server, let's say your server is on GMT-7 and your Local time is on GMT +7, then you want your script time to use your Local (GMT+7) time.


Easy Bar Chart  

Type: class
Added by: hermawan
Entered: 01/03/2002
Last modified: 03/12/2001
Rating: - (fewer than 3 votes)
Views: 11767
I guess you already had the Idea of this class. It create a Dynamic Bar Chart of your Dynamic Report, This class can be used for Finance Report, Site Log Report, or any other application that need Bar Chart Auto Generation


Get Emails Addresses from Strings  

Type: code fragment
Added by: hermawan
Entered: 19/11/2003
Last modified: 02/11/2002
Rating: - (fewer than 3 votes)
Views: 5324
For you who needs to grab email addresses from string or from website which you've grabbed.


myPaging with Staging  

Type: code fragment
Added by: hermawan
Entered: 11/11/2002
Last modified: 01/11/2001
Rating: - (fewer than 3 votes)
Views: 5789
This script is not actually a class. I just want to show you how to make paging with result set and how to display it not all of the link page, but separate it in some number of stage. It can be easly adapted to your general class.


num2words  

Type: class
Added by: hermawan
Entered: 30/10/2002
Last modified: 01/11/2001
Rating: - (fewer than 3 votes)
Views: 5598
With this class you can convert your integer/number to english fraction words. Ex. 1=>One, 250=>Two hundred fifty, 1000=>One thousand. Give it a try.


Save to PDF  

Type: code fragment
Added by: hermawan
Entered: 13/04/2001
Last modified: 04/12/2000
Rating: **** (10 votes)
Views: 32840
Want your customer to save your article, product catalog, or just a document to PDF format? PDF is very easy document format because it's portable, they can print it anywhere.


show result with paging and staging  

Type: code fragment
Added by: hermawan
Entered: 04/04/2001
Last modified: 04/12/2000
Rating: ***** (6 votes)
Views: 9767
You have a query results number about 100000 record, then what you should do to view all of them ?, paging ?...yah good, but how many page would it shown in your page if every page is only view 100 record ? 1000 link page ? get real!!!.


UPS Cost Calculation  

Type: class library
Added by: hermawan
Entered: 27/05/2004
Last modified: 06/12/2003
Rating: - (fewer than 3 votes)
Views: 4963
With this class you can find out how much you have to pay for delivering using UPS.


URL Mailer  

Type: code fragment
Added by: hermawan
Entered: 05/05/2003
Last modified: 05/12/2002
Rating: - (fewer than 3 votes)
Views: 4936
Small snippet to send the content of URL to your friend. Try it


XML Reader 1.0  

Type: class library
Added by: hermawan
Entered: 20/06/2003
Last modified: 09/12/2002
Rating: - (fewer than 3 votes)
Views: 7420
Light XML Reader, you'll gonna need it to parse your XML content.




Search