When attempting to login to WordPress administration backend through /wp-admin/, you may encounter login failure issue with the following error message, despite the front-end (web pages) is working properly. You do not have sufficient permissions to access this page.
WordPress has built-in media uploader or file uploader which allows user to directly upload the files to the server via online inline interface without having to use a FTP or SFTP client, and subsequently allows user to manage the media and files. However, for security purpose, WordPress restricts the file types which you could upload using the built-in multi-file uploader or browser uploader.
When using crontab in Linux or Unix to schedule cron jobs, the cron daemon will automatically send the output of the each and every cron job to root or email address set by MAILTO variable on the cron job. The email logs all output generated by commands in the cron job which will otherwise display on the console screen.
PHP has several functions which can truncate a string to grab a portion of the string up to certain number of characters. However, there is possibility that a word can be cut off in the middle of nowhere into two, making the separated word unintelligible. The situation is not an error, but by design, as most commands such as substr() simply return portion of string […]
In HTML, text can be easily underlined by enclosed the text with the <u> and </u> tags. However, in HTML 4.0, the <u> and </u> tags element has been depreciated. Although most web browsers will continue to support the u element to underline text, the usage of the u element makes the web pages less “pretty” in the sense of web standards compliant.
Web publishers and bloggers who do not only rely on WYSIWYG editor and do all the dirty work directly at HTML coding level will notice that to make a text appears in italic style, both em and i elements can be used, while to make a text appears in boldface, both strong and b elements can be used.
Visual Studio .Net is an integrated development environment (IDE) from Microsoft which has been designed to support .Net Framework. The .Net Framework is a base class library (BCL) which includes common functions such as file reading and writing, database interaction, XML document manipulation, graphic rendering and etc. One of useful method that allows to find a match in input string is Regex.IsMatch, which return true […]
Microsoft has released the first service pack (SP1) for Microsoft Visual Studio 2010, an Integrated Development Environment (IDE) which aids developers and programmers to develop console and graphical user interface (GUI) applications along with Windows Forms applications, web sites, web applications, and web services in both native code together with managed code for all platforms supported by Windows OS, Windows Mobile, Windows CE, .NET Framework, […]
PHP is a very versatile web programming language that allows web server to serve dynamic content to visitors. PHP can detect and identify the type and version of web browser that visitor used to browse the web page in order to output and display browser-specific targeted content such as custom text, and especially to provide compatibility for older version or non-standard compliant browser with custom […]
Array in PHP is used as advanced data type of ordered map that associates values to keys. In its simplest forms, an array can contain a flat list of keys and values. However, the array values can be other arrays for unlimited layers in depth. When arrays are set as values of a parent array, a two-dimensional, three-dimensional or even multidimensional nested arrays are created.
With PHP (Hypertext Preprocessor) scripting language, it’s possible to check if a URL (link location) matches a specified pattern, and then if matched or unmatched, perform some operation on the URL string. PHP has several built-in pre-defined variables, chief among them is REQUEST_URI from $_SERVER array, which contains information such as headers, paths, and script locations.