How to change Contact US page in Joomla
November 5, 2009 by saim · Leave a Comment
Very easy steps to change it. Go to administration section. Click "Components" -> "Contacts" -> "Manage Contacts" Here you can add/edit/delete contacts. Enjoy the great php CMS…
Change file upload size limit in PHP/MySQL
November 5, 2009 by saim · Leave a Comment
In php.ini, this is the one: upload_max_filesize However, change only this line won’t help you to restore big db, so you have to setup some other factors as well Try these different settings in C:\wamp\bin\apache\apache2.2.6\bin\php.ini Find: post_max_size = 8M upload_max_filesize = 2M max_execution_time = 30 max_input_time = 60 memory_limit = 8M Change to: post_max_size = [...]
TCP/IP PROTOCOL
November 3, 2009 by Nauman · Leave a Comment
For many years, the technical literature on protocol architectures was dominated by discussions related to OSI and to the development of protocols and services at each layer. Throughout the 1980s, the belief was widespread that OSI would come to dominate commercially, both over architectures such as IBM’s SNA, as well as over competing multivendor schemes [...]
Global System for Mobile Communications (GSM)
November 3, 2009 by Nauman · Leave a Comment
•Designed to be a digital (wide area) wireless network. • Driven by European telecom manufacturers, operators, and standardization committees • Very widely used around the world GSM Features 1.Service portability • Mobile can be used in any of the participating countries with international roaming and standardized numbering & dialing (but possibly at different rates!) • [...]
Cellular Digital Packet Data (CDPD)
November 3, 2009 by Nauman · Leave a Comment
In 1992, AT&T Wireless Services developed cellular digital packet data (CDPD) protocol, a data-only protocol that (re-)uses the AMPS or IS-136 network. Packets (typically some 1.5 kilobytes) use vacant cellular channels – either an assigned channel or between calls. CDPD does not communicate with the underlying network (but does utilize knowledge of this networks channel [...]
How to set border of CDialog
November 3, 2009 by saim · Leave a Comment
I am new in MFC. I put some time to draw a border around a Dialog in MFC application. Here is the solution that i found. It is very simple for any level of programmer. Follow just three simple steps. Step1: Add OnCtlColor() method in your Message map like:- BEGIN_MESSAGE_MAP(CDATToSWFDlg, CTrayDialog) ON_WM_CTLCOLOR() END_MESSAGE_MAP() Step2: Add [...]
RGB-to-Hex Conversion
November 3, 2009 by saim · Leave a Comment
Question is: How do I convert RGB values of a color to a hexadecimal string? The algorithm is as follows: make sure that RGB values are in the range 0…255, convert RGB values to hex strings, and then merge the three strings. Here is a script that does this conversion: function RGBtoHex(R,G,B) { return toHex(R)+toHex(G)+toHex(B); [...]
charachter validation and count for a textbox – Javascript
November 3, 2009 by Nauman · Leave a Comment
Here I have provided a solution to put a counter for a textbox, that can be updated as each character typed into the textbox. This script will also validate the maximum character length allowed for a textbox. This script will also work when anyone copy/paste the text into the textbox. Textbox can be either single [...]
Enable/Disable DIV tags through Javascript
November 3, 2009 by Nauman · Leave a Comment
Copy/Paste following javascript code snippet. <script type="text/javascript"> function toggleAlert() { toggleDisabled(document.getElementById("content")); } function toggleDisabled(el) { try { el.disabled = el.disabled ? false : true; } catch(E){ } if (el.childNodes && el.childNodes.length > 0) { for (var x = 0; x < el.childNodes.length; x++) { toggleDisabled(el.childNodes[x]); } } } </script> Copy/Paste following HTML code in BODY [...]
Changing the background color of a dialog
November 1, 2009 by saim · Leave a Comment
If you want to change the background color of your dialog box, it is a very simple. In your CTestDlg header file, declare a member variable from CBrush: class CTestDlg : public CDialog{…protected: CBrush m_brush;…}; Then, add this line in the OnInitDialog function: BOOL CTestDlg::OnInitDialog(){ … m_brush.CreateSolidBrush(RGB(255, 255, 255)); // color white brush … } [...]