Tuesday, November 30, 2004
MySQL db management tool
sqlYog - SQLyog is an easy to use, compact and very fast graphical tool to manage your MySQL database anywhere in the world. SQLyog is FREE for personal and commercial use.
Thursday, November 25, 2004
MySQL Function List
- mysql_connect(dbhost, username, password)
- Open a connection to a MySQL Server
- mysql_select_db(dbname)
- Select a MySQL database
- mysql_query(sqlstmt)
- Send a MySQL query
- mysql_fetch_array(query result, [MYSQL_ASSOC/MYSQL_NUM/MYSQL_BOTH])
- Fetch a result row as an associative array, a numeric array, or both.
- mysql_close()
- Close MySQL connection
- mysql_error()
- Returns the text of the error message from previous MySQL operation
- mysql_free_result (query result)
- Free result memory
mysql_connect("localhost", "mysql_user", "mysql_password") or
die("Could not connect: " . mysql_error());
mysql_select_db("mydb");
$result = mysql_query("SELECT id, name FROM mytable");
while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
printf("ID: %s Name: %s", $row["id"], $row["name"]);
}
mysql_free_result($result);
Full php mysql function list
Wednesday, November 24, 2004
CMS - Content Management System
Looking for a suitable one for the customer.
Found this website that contains all links to open source CMS
Open Source CMS
Among the CMS listed:
CMS - Portals
XOOPS
CMS - Lite
zTml
Sunday, November 21, 2004
Time
- Focus
- Prioritize - first thing first
- Manage
- Make a to-do-list
CMSimple - Simple CMS with no db
Saturday, November 20, 2004
Online job ads
Need extra cash?
Start making money online now Click here!
Reference and guide available...
---
Looking for a job or want to post job ads online?
Try one of these links.
www.joblink.com.my
www.jobpilot.com.my
www.jobsdb.com.my
www.jobstreet.com.my
www.hotspotz.com.my
www.spa.gov.com.my
www.star-jobs.com
www.jtr.gov.my
www.totaljob.com.my
www.mohr.gov.my
--------
Need extra cash?
Start making money online now Click here!
Reference and guide available...
Microsoft Access 2000 and 2002 Maximum Capacities
Source: http://www.databasezone.com/techdocs/acclimit.html
Microsoft Access 2000 and 2002 Maximum Capacities
Microsoft Access 2000 and 2002 can both use the Access 2000 database file structure. Access 2000 MDB files can be used by both versions with no conversion.
| Database specifications |
|
| Attribute | Maximum |
| Database (.mdb) file size | 2 gigabyte. However, because your database can include linked tables in other files, its total size is limited only by available storage capacity. |
| Number of objects in a database | 32768 |
| Modules (including forms and reports with the HasModule property set to True) | 1000 |
| Number of characters in an object name | 64 |
| Number of characters in a password | 14 |
| Number of characters in a user name or group name | 20 |
| Number of concurrent users | 255 |
|
|
|
| Table specifications |
|
| Attribute | Maximum |
| Number of characters in a table name | 64 |
| Number of characters in a field name | 64 |
| Number of fields in a table | 255 |
| Number of open tables | 2048. The actual number may be less because of tables open internally by Microsoft Access. |
| Table size | 1 gigabyte |
| Number of characters in a Text field | 255 |
| Number of characters in a Memo field | 65,535 when entering data through the user interface; 1 gigabyte when entering data programmatically. |
| Size of an OLE Object field | 1 gigabyte |
| Number of indexes in a table | 32 |
| Number of fields in an index | 10 |
| Number of characters in a validation message | 255 |
| Number of characters in a validation rule | 2048 |
| Number of characters in a table or field description | 255 |
| Number of characters in a record (excluding Memo and OLE Object fields) | 2000 |
| Number of characters in a field property setting | 255 |
|
|
|
| Query specifications |
|
| Attribute | Maximum |
| Number of enforced relationships | 32 per table minus the number of indexes that are on the table for fields or combinations of fields that are not involved in relationships |
| Number of tables in a query | 32 |
| Number of fields in a recordset | 255 |
| Recordset size | 1 gigabyte |
| Sort limit | 255 characters in one or more fields |
| Number of levels of nested queries | 50 |
| Number of characters in a cell in the query design grid | 1024 |
| Number of characters for a parameter in a parameter query | 255 |
| Number of ANDs in a WHERE or HAVING clause | 40 |
| Number of characters in a SQL statement | approximately 64,000 |
|
|
|
| Form and report specifications |
|
| Attribute | Maximum |
| Number of characters in a label | 2,048 |
| Number of characters in a text box | 65,535 |
| Form or report width | 22 in. (55.87 cm) |
| Section height | 22 in. (55.87 cm) |
| Height of all sections plus section headers (in Design view) | 200 in. (508 cm) |
| Number of levels of nested forms or reports | 3 |
| Number of fields or expressions you can sort or group on in a report | 10 |
| Number of headers and footers in a report | 1 report header/footer; 1 page header/footer; 10 group headers/footers |
| Number of printed pages in a report | 65,536 |
| Number of controls and sections you can add over the lifetime of the form or report | 754 |
|
|
|
| Macro specifications |
|
| Attribute | Maximum |
| Number of actions in a macro | 999 |
| Number of characters in a condition | 255 |
| Number of characters in a comment | 255 |
| Number of characters in an action argument | 255 |
Variable and Table Data Types
| Data type | Prefix | Example | Note |
| String (Text) | str | strCity | Text to 255 characters |
| Date/Time | dtm | dtmCreated | Date and Time |
| Boolean | bln | blnIsNotNull | Yes/No or True/False, two values |
| Byte | byt | bytMonth | One Byte, values from 0 to +255 |
| Integer | int | intCount | Two Bytes; values from –32,768 to +32,767; No fractions |
| Long
| lng | lngDistance | Four Bytes, values from
|
| Single | sng | sngPopulation | Four Bytes single precision, floating point |
| Currency | cur | curTraded | Fifteen digits to the left, four to the right. Fixed decimal place. |
| Double | dbl | dblClientID | Eight Bytes |
| Decimal | dec | decMicroseconds | Twelve Bytes |
| Object | obj | objConnection |
|
| Variant | vnt | vntUserInput | It can store numeric, string, date/time, Null, or Empty data |
| Error | err | errBadEmailAddress |
|
Thursday, November 18, 2004
Convert e-mail address to ascii text
Installing Apache, PHP and MySQL
Some of the clear and great advantages are
1. They are FREE (or with a very small fee for commercial)
2. A lot of FREE resources (source code, tutorial, forum etc.)
3. Can be deployed on multi-platform OS (Windows and Linux most commonly used)
To install,
Download
Apache, PHP and MySQL
INSTALL & CONFIGURE APACHE
Follow step by step wizard guide to install Apache.
Test Apache working by point your internet browser to http://localhost
INSTALL & CONFIGURE PHP
Then follow step by step wizard guide to install PHP.
After the PHP install is done you should get something that says you will have to manually configure apache to use php. Assuming you have a working Apache server installed, make sure that it is not running.
Navigate to C:\Program Files\Apache Group\Apache\conf\ open the httpd.conf file. Note that you can also get to the http.conf from the start menu. Start > Program File > Apache HTTP Server > Configure Apache Server > Edit the Apache httpd.conf Configuration File and the window will open up in notepad.
Now hit Ctrl + End if you see something like what follows, you can skip this step. If you do not see that code, copy it. This code will only work if you used the default install folder when you installed php. If you did, copy that code and paste it into the end of the file. Select the code that follows, and hit crtl + c , then go into the httpd.conf file and hit ctrl + v and save the file:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php .phtml
Action application/x-httpd-php "/php/php.exe"
Also edit this lines
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#
DirectoryIndex index.html index.php default.php index.htm
Now that we have php installed, it is time to test it. Open up notepad and type the following:
Save it as phpinfo.php. Remember to set it as all files in the drop down menu, or the file will be a text file. Save in the Directory: C:\Program Files\Apache Group\Apache\htdocs. htdocs is the directory where all the files go. You can create endless dir's and browse them. For
Example E:\Program Files\Apache Group\Apache\htdocs\mydir\myfile.php could be accessed as http://localhost/mydir/myfile.php. Once you have that file saved. You will need to start the Server. Click: Start > Program File > Apache HTTP Server >; and look for something like Start Apache in Console.
After you have found it, launch it. You should get a window saying that Apache is running. Now go to Start > Run > and type in http://localhost/phpinfo.php. If you don't see anything, php is not installed correctly. If php is installed correctly, you will see a few large tables, displaying php's configuration.
INSTALL & CONFIGURE MYSQL
Follow step by step wizard guide to install MySQL.
No password for root by default.
You are going to need to start mysql. For myself I made a file that would start mysql for me. Open notepad and type: start c:\mysql\bin\mysqld-nt.exe --standalone and save that as Start MySQL.bat. Once you have saved it, click it. A window should open and then close. Mysql is now running on your computer
Download MySQL administrator at www.mysql.com/products/administrator/ for GUI control of MySQL database.
Resource: http://www.webmasterstop.com/tutorials/apache-php-mysql-installation.shtml
Wednesday, November 17, 2004
Hartanah.Net new way to search for a house online
The website provides advertisement for house for sale, house for rent and also land, commercial, industrial and commercial building for sale/rent all around Malaysia.
On the sellers side, they can save a lot of money by advertising at Hartanah.Net. Advertisement can be posted for FREE and if they want to add pictures to the advertisement, they can just pay for a minimum fee to get it done. They can also let their ads to be on the first page of the website with very small fee (also called 'Gold Ads').
Nowadays people have more awareness in investing their money wisely especially in real estate and unit trust. They are looking forward to get a good deal in both. Make their money work hard for them.
This website has more to offer such as match the buyer with the property that he/she wants. Hartanah.Net will do the marketing such as in magazine, newspaper and billboard.
Thursday, November 11, 2004
Invison power board hosting
At first I was looking for free ASP forum script at aspin.com. Found quite interesting one called webwiz forum. Try to download it and install on localhost. Installation successful. Played around with the forum admin features and setting.
The problem with the script was too many works and setting to do. Hehe. So lazy to install and configure. (Maybe need to get paid to be more motivated :)
Then I search for "Free Invision Forum Hosting" then found FREE remotely hosted Invision Power Board hosting (of course with ads) at hosted-forum.com. Registered and configured one at smach.hosted-forum.com.
So now up and running.
Wednesday, November 10, 2004
Create PDF file
- protect your content (from being copy/paste by others)
- retain your formatting/look and feel of your doc
- can be viewed in any OS (Windows/Linux/Mac OS)
How to create PDF?
The easiest way is to create a .DOC document and convert it to PDF using a free software named pdf995. You can download it free at www.pdf995.com
