Everytime I sit to do proposal, I come to face this question on what a system can do?
- Automate the process
- Shorten the process
- Centralized the data
- Data is at all time up-to-date
- Can generate more useful information
Everytime I sit to do proposal, I come to face this question on what a system can do?
Most of web-based reporting tools I found are on Java. Very few built on PHP. Some of popular reporting tools as follow.
PHP based
Steps to install SSL using WHM (web hosting manager)
I’ve done this once, but forgot already. So I’ll keep a note for the installation for future reference.
Will update this post again soon (while I do the installation for the SSL on server).
There is a group of functions for SSL certificate installation that covers the following:
Steps to install
To renew, easiest way is to remove the host first and repeat again as new installation. But site will be down for some time during the process (after remove the host)
Error that might occur is the IP is not dedicated. If this persists, try to change IP in Account Functions > Change Site’s IP Address
Windows for Netbeans
– Can drag and put as quick button on the left.
– Choose from Windows menu to activate
– Commonly used – projects, navigation
An object in PHP to manage data
Some sample code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | $dbh = new PDO('mysql:host=localhost;dbname=test', $user, $pass); //establish connection $dbh = null; //close connection //insert by prepare statement $stmt = $dbh->prepare("INSERT INTO REGISTRY (name, value) VALUES (?, ?)"); $stmt->bindParam(1, $name); $stmt->bindParam(2, $value); // insert one row $name = 'one'; $value = 1; $stmt->execute(); //get result $stmt = $dbh->prepare("SELECT * FROM REGISTRY where name LIKE ?"); if ($stmt->execute(array("%$_GET[name]%"))) { while ($row = $stmt->fetch()) { print_r($row); } } |
Some of agile development tools to develop application
http://www.outsystems.com/
http://www.mendix.com/
https://www.rollbase.com/
Google just introduced another security level to set custom domain for blogspot.com. Besides normal ghs.google.com to be added to the CNAME record in domain, user needs to add another 2nd unique CNAME record.
You can get the 2nd CNAME by following below steps
1. Go to blogger setting for any blog
Settings > Basic
2. Under “Publishing”, click on “Add a custom domain”
3. Click “Switch to advanced settings”
4. Enter your registered domain name
5. Click “settings instructions”
6. Choose type of domain to install.
e.g. “On a top-level domain (www.example.com).”
7. Get the CNAME under “CNAME” subject
Add two CNAME records. For the first CNAME, where it says Name, Label or Host enter “qprm” and where it says Destination, Target or Points To enter “ghs.google.com” . For the second CNAME, enter “OKQFRCLFFBSL” as the Name and “gv-MK4QLTUM3XARQLGY4ZBLD6ZMRAERAEF72BQBZAZMNN26JVOAZ6AH.domainverify.googlehosted.com.” as the Destination. See our detailed instructions on providing CNAMEs for various registrars. If yours isn’t listed, or if you run into
other difficulties, contact your registrar directly and they can help you out.
I tried to remove a contact of a friend since he has a new email address. Few times I mistakenly sent to his old email address. But I couldn’t found where to go about to remove the old email address.
After wandering around, I found this hidden link to contact to remove a friend’s contact.
Click on the “Contact” link
Search for a contact
Click on the More > Delete contact
You are done removing a contact in your contact list.
What you should do and learn
DB Activities
If no record found for a particular condition, you can display message to the users. The code as below
1 2 3 4 5 6 7 8 | $sql="SELECT * FROM user WHERE email = '$email'"; $result=mysql_query($sql); $num=mysql_numrows($result); if ($num > 0) echo "found something"; else echo "no record found"; |