Save info   Get password
Home Submit your blog Edit Account Rules RSS-Archive Contact


What caused an error in mysql query?
2007-02-08 09:29:00
$query = mysql_query("SELECT * FROM table WHERE table_id = 1", $db); $content = mysql_fetch_object($query); The above command will execute the query using the mysql_query(). $query will be true if the query is successfully executed or it will return false. But if the error occured, it just show the arguement is not a valid MySQL result. Use the mysql_error() function to find out what is the real error was: $query = mysql_query("SELECT * FROM table WHERE table_id = 1", $db) or die (”Query failed: ” . mysql_error() . ” Actual query: ” . $query); $content = mysql_fetch_object($query);


How to get blog name
2007-02-06 23:03:52
Use the explode() function on URL to get the blog name. For example: http://blog.ilmuit.com/blogname $blogname = explode("/", get_bloginfo('url')); echo $blogname[3];


Port Scanner in PHP
2007-02-04 22:48:12
This is a very basic port scanner in PHP. for($port = $from; $port <= $to; $port++) { $fp = fsockopen(”$host”, $port); if ($fp) { print(”port $port opened ”); fclose($fp); }
Read more: Scanner

I know HTML
2007-02-02 20:36:36



Selamat Datang
2007-02-02 20:26:41
Selamat datang ke Blog.ilmuit.com. Ini ialah entri pertama anda. Sunting atau buang entri ini, kemudian mulakan memblog!
Read more: Datang

Curl and PHP5 on Windows
2007-02-24 15:17:26
Today I’m trying to getting Curl to work properly on my Windows . When I trying to load the php_curl.dll module, i’m getting this error: Fatal error: Call to undefined function curl_init() To fix this, copy libeay32.dll and ssleay32.dll from PHPdll folder into c:windowssystem32. Override any existing file. Restart Apache server and this should fix the problem.


A Perl script to reboot ZTE 831
2007-03-06 15:51:24
A perl script to reboot ZTE ZXDSL 831 modem/router. Very useful if you want to schedule a reboot of the router. #!/usr/bin/perl use Net::Telnet; $t = Net::Telnet->new( Timeout => 10 ); $t->open(”192.168.1.1″); $t->waitfor(’/Login user: $/i’); $t->print(’username’); $t->waitfor(’/Password: $/i’); $t->print(’password’); $commands = “reboot ”; @response = $t->cmd(”$commands”); print @response;


Backup MySQL database with AutoMySQLBackup
2007-03-31 13:44:44
AutoMySQL Backup can backup a single database or multiple databases on the server. Each database is saved in a separate file that can be compressed into gzip or bzip2. The installation is very simple. Just download the one file bash script and save it somewhere, customize it to fit your setup, make it executable (chmod 777) and put it in cron. Technorati Tags: mysql, automysqlbackup


This form is inoperational!
2007-04-03 13:33:59
  This form is inoperational? If you are getting this similar message when you are trying to use webpoll code, javascript or forms on free web hosting provider, you need to find another web host as most of free hosting provider has disabled forms and javascripts function.


How to find out perl version
2007-04-06 08:07:15
Not sure what version of Perl you have on your server? 1) Telnet into your server, then run the following command: $ perl -v This command will print-out the version of Perl installed on your web server.


TMnet IP Address
2007-04-05 12:28:02
This is not a complete list of TMnet IP Address . You can find out more information on this at CIDR Report: http://www.cidr-report.org/cgi-bin/as-report?as=AS4788&view=4637 202.71.96.0 - 202.71.111.255 (TM Eastgate) - TM Eastgate is an Internet Exchange 202.75.32.0 - 202.75.63.255 (TM MyLoca) - Myloca is Telekom Malaysia’s total hosting and business continuity solutions centre. It offers IDC, Telehousing, and Business Continuity. 202.188.xxx.xxx 210.187.xxx.xxx (Streamyx SDSL) 210.186.xxx.xxx 210.195.xxx.xxx 203.106.xxx.xxx 219.92.0.0 - 219.94.xxx.xxx 219.95.xxx.xxx 60.48.0.0 - 60.54.xxx.xxx 24.82.xxx.xxx 218.111.xxx.xxx 218.208.xxx.xxx 218.208.xxx.xxx


My Google AdSense PIN
2007-04-06 19:20:06
Just got my first Adsense PIN via postal mail a couple of days ago. I am now eligible to receive Payment from Google Adsense. Hopefully soon I will be getting my first check from Google. Technorati Tags: adsense, adsense pin


Cannot Load MySQL Extension
2007-04-30 10:15:11
If you are getting this error (Cannot Load MySQL Extension . Please check your PHP configuration) when running phpmyadmin with browser, you need to enable the mysql extension. 1) Edit your php.ini and make sure the following line was uncommented: extension=php_mbstring.dll extension=php_mysql.dll 2) Copy PHPlibmysql.dll to the windowssystem32 3) Restart your server You can use this simple script to test. It can tell you whether the mysql extensions is successfully loaded. if (!@function_exists('mysql_get_server_info')) { echo “Mysql is not loaded”; }else{ echo “Mysql is successfully loaded”; } Technorati Tags: mysql, mysql extension


Useful links
2007-05-08 14:40:46
I always collect useful URL. So here are a few of them. Forum http://www.cari.com.my http://www.putera.com http://www.wangcyber.com http://www.lowyat.net Online Banking Public Bank Online Banking - https://www2.pbebank.com/main.html Maybank2u - https://www.maybank2u.com.my CIMB Online Banking - https://www.cimbclicks.com.my/wps/portal/!ut/p/.scr/Login EON Bank E-Banking - https://ebank.eonbank.com.my/retail/security/commonLogin.jsp Online Payment UOB PayOnline - http://www.payonline.com.my TM Online Payment - http://www.tmonline.com.my/ e-Statement TNB e-Services - https://e-services.tnb.com.my/scripts/wgate/zeservices/! Syabas Bill - http://www.syabas.com.my/checking_bills/login.php TMnet TMnet Bill https://tmbill.tm.net.my/SelfCare/Maintenance/selfcareLogin.jsp TMnet Webmail - http://webmail.tm.net.my/ Technorati Tags: links , malaysian
Read more: Useful

Attention Paypal users - US Bank account is needed before you can accept payment
2007-05-12 14:19:22
Paypal is now implementing another security measure. All Paypal account holders are required to add US bank account before they can receive payment from 3rd party. You will need to complete the following form before you can accept any payment. Here is a screenshot: Technorati Tags: paypal, us bank account
Read more: users

Point the sitemap in robots.txt
2007-05-14 22:53:58
Sitemaps are very important in SEO in the long run. It will help improve your site visibility in search results. To tell Google and other search engines about your Sitemap, add the following line to your robots .txt: Sitemap: http://www.youdomain.com/sitemap.xml There was no longer need to manually submit your sitemap to the search engines. If you still prefer to submit manually, you can continue to: https://siteexplorer.search.yahoo.com/submit https://www.google.com/accounts/ServiceLogin?service=sitemaps Technorati Tags: sitemap, robots.txt, submit


Streamyx 4.0
2007-05-19 09:05:17
I saw an ad today on local newspaper, TMnet is now offering 4.0 Mbps package to their customers. If you are using 1 Mbps streamyx, the download rate can up to 100 Kbps. Just imagine how is 4.0 Mbps connection. However, the speed of service is still on ‘best effort basis’. Read their TOC carefully. The current promotion package is priced at RM198 per month (ends till June 17, 2007). After 17th June you will be charged at a normal rate of RM268 per month. More info: http://www.tm.net.my/tmnet2006/contents/streamyx_promo/streamyx_4mbps.cfm Technorati Tags: tmnet, streamyx, streamyx 4mpbs, broadband


Karnival ICT Kedah 2007
2007-05-22 15:54:44
The 2007 Kedah ICT Carnival will be held from 8th to 10th on the Tapak Karnival ICT, Stadium Sultan Abdul Halim, Alor Setar, Kedah. From education to games, there’s plenty of competition and activities: E-colouring, Xplorace IT, PC Assembly Competition and much more. Please visit their official web site for more information. Technorati Tags: carnival, ict, kedah


Save files to folders based on extension (Firefox)
2007-05-30 13:20:52
Does your desktop getting cluttered everytime you save files within Firefox from the Internet? This extension / add-on is a great way to keep your Desktop or Downloads folder tidy. You can have all your downloaded JPEG’s sorted in a folder, and all your MP3’s sorted in another folder to make it easy to find later. No longer need to choose “Save file as” to save it to a spesific folder, Download Sort will handle all that for you. Technorati Tags: Firefox, Extension, Download Sort


Payment options for your customers
2007-06-01 21:39:06
  Advantage Processors is the leading provider for the best Credit Card Processing and Merchant Account services. If you are interested in having an online store, Advantage Processors can help you accept credit card quickly and affordably. They provide complete solution for you to establish your own online store, set payment and shipping options for your customers . Click here to apply for their merchant account.
Read more: Payment

Congratulation Pak Lah & Jeanne Abdullah
2007-06-06 05:20:31
PUTRAJAYA: Datuk Seri Abdullah Ahmad Badawi has announced his marriage to Jeanne Abdullah in a private ceremony on Saturday. The akad nikah ceremony, to be attended by close family members only, will be held at the Prime Minister’s official residence at Seri Perdana here, according to a statement issued by the Prime Minister’s Office on Wednesday. The bride-to-be, Jeanne, 53, was born in Kuala Lumpur and is the eldest among four siblings. She received education from SM Assunta, Petaling Jaya, and has vast administrative and hotel management experience. She had also served several major hotels in the city, including KL Hilton and Pan Pacific Hotel. Jeanne served as a supervisor at the Deputy Prime Minister’s official residence and also as manager of the Seri Perdana complex. She has two daughters from a previous marriage - Nadiah and Nadene. The Prime Minister lost his wife, Datin Paduka Seri Endon Mahmood who passed away on Oct 20, 2005 after a two-year battle with br
Read more: Congratulation

Scientists produce wireless electricity
2007-06-10 10:09:40
Plugs and cables could become obsolete after scientists devised a way of recharging electrical devices ranging from laptop computers to lights from a distance.A team from the Massacussetts Institute of Technology made a 60-watt lightbulb glow using electricity sent wirelessly between copper coils set seven feet apart.Scientists have known for years that electricity can be transferred without wires, but had struggled to find a practical and efficient way of making it work.Professor Marin Soljacic used the concept of resonance. Energy can be efficiently transferred between objects that resonate at the same frequency, so he used two copper coils, one transmitting and the other receiving power. Read more http://news.independent.co.uk/sci_tech/article2631620.ece Technorati Tags: Science, Technology, Wireless+Electricity]
Read more: produce

How to install SMF Forum
2007-06-20 03:49:03
Here is a quick how to for install ing SMF (SimpleMachines Forum ): 1. Download SMF from simplemachines.org. 2. Install SMF forum on the same database as Joomla! / Mambo. Use a different prefix such as “smf_”. 3. Download SMF Forum Component 4. Install SMF Mod using SMF Package Manager. 5. Install SMF Integration Component Technorati Tags: SMF, Joomla


Google Referrals 2.0
2007-07-05 11:55:52
Got this message when I logged into my google account: NEW - Congratulations, your account has been upgraded to include the all new Referrals 2.0 - click here to get started With Google Referrals 2.0, I can choose up to 15 products or ads and google will provide them and rotate them. Very interesting. If you don’t see referrals 2.0 feature on your account, please check back in a few days. It will become available in all accounts in the next few weeks. Check out more detailed of Google Adsense 2.0 Referrals here Technorati Tags: Adsense, Referrals 2.0


Enable Wildcard for Wordpress MU
2007-08-02 13:58:25
To allow each new user to have his/her blog hosted in subdomain (eg. http://user.domain.com), you’ll need a wildcard entry in the DNS. To enable wildcard dns, you have to add one single line to your domain name zone: *.domain.tld. IN A 123.456.78.9 Apache Setup Open httpd.conf and add the following line at the VirtualHosts section: DocumentRoot /www/subdomain ServerName www.domain.tld ServerAlias *.domain.tld If you are on shared hosting such as Cpanel, you need to contact the support team and ask them if wildcards are enabled on your account. If not, tell them to add a wildcard entry in the DNS for a particular domain. Technorati Tags: Apache, WPMU, Wildcard DNS, Hosting
Read more: Wordpress

Namecheap will increase their prices
2007-10-11 01:25:10
I’ve just received an email from Namecheap saying that they are now increasing their price for domain name from $8.88 per year to $9.29 per year. Here is a part of the email’s notification about the price increases: In light of that decision, NameCheap.com will be adjusting its pricing on Sunday, October 14, 2007 as follows: .com domain renewals, transfers and new registrations: Old pricing $8.88, new pricing $9.29 per year .net domain renewals, transfers and new registrations: Old pricing $8.88, new pricing $9.29 per year .org domain renewals, transfers and new registrations: Old pricing $8.88, new pricing $9.29 per year .info domain renewals, transfers and new registrations: Old pricing $8.88, new pricing $9.29 per year .biz domain renewals, transfers and new registrations: Old pricing $8.88, new pricing $9.29 per year


Withdraw paypal funds to your Visa Card
2007-10-04 21:27:03
PayPal has announced yesterday that they are now offering withdraw funds into Visa card. With this new facility, enable Malaysians to withdraw money out from their PayPal funds into their Visa credit, debit or prepaid card. The image below show you step-by-step how to do it: Please note, a fee of $5.00 is charged for every transaction made. Technorati Tags: Paypal, Withdraw, Visa


Port 25 blocked by TMnet
2007-12-08 02:01:50
TMnet has recently blocking user’s outgoint port 25/tcp traffic. They has limit port 25 access in order to cut down on spam sent through their servers. This prevents users from sending email using non-streamyx or non-tmnet SMTP servers eg. mail.company.com.my, only smtp.streamyx.com and smtp.tm.net.my will be allowed. Means if you operate or have your own mail server, you must configure your mail server so that it is an open relay. For more information visit http://www.tm.net.my/tmnet2006/contents/products-services/news_result.cfm?id=1411


Google introduced Adsense for Video
2008-02-22 06:35:53
Google has launched a beta version of their Adsense service for video. Web publishers that participate in Google’s AdSense ad network will now be able to make money by offering ad-supported video clips from Youtube site. This service won’t be available to everyone yet. Your site must serve one million video stream per month (at least), [...]
Read more: Google

Webware 100 Award
2008-01-21 17:15:24
If you have a web-based version of your application, you might consider nominating it for a Webware 100 award. Winners receive lots of promotion on Webware and attention from users and the media. The deadline to submit is January 25, 2008, so act fast!
Read more: Award

Page 1 of 2 « < 1 2 > »
eXTReMe Tracker