
Search In
Hello reader! If you have a to check the url is correct or not (not giving the status 404), Then you can get all the details of any url by using 'get_headers' in print_r.
Let's see the example below:-0
<?php
stream_context_set_default(
arra
Hi All,
In this post we will discuss about to build clock using AngularJs. Angularjs provides a directive to build clock face and digital clock. This clock is responsive and auto updated when we change the data. To use this directive we need to downl
Hello Readers,
When the system/web application is not used just in a single location, the developer will have to deal with many times zones in the system/application. There are few rules that every developer should keep in mind while dealing with mu
In this blog we will go trough best practices for handling DateTime in .NET applications:
1) We should always use a consistent date format across the application.
2) When accepting user input we need to ensure that user enters date time in co
It is a small file in a text format and it contains no executable code and has all the information in plain text. Browser stores the cookie file in the user’s work machine. These cookies are sent to the server with each request that follow a set of c
1. To convert UTC(Coordinated Universal Time) to Local timezone
func convertToLocalDateFromUTCDate(dateStr : String) -> String {
let formatter = DateFormatter()
formatter.dateFormat = "yyyy-MM-dd HH:mm:ss Z"
let sourceDat
Hi Friends,
As we all know rails works on MVC Architecture, where the controllers acts as the receiver of the requests and sends the response back to the requester. There are actually 3 ways a controller can send a response :
a) render: It sends a
Fellow Php Programmers,
What does the following header mean (ebay.com):
**HTTP/1.1 200 OK X-EBAY-C-REQUEST-ID: ri=N79YSYGvO9se,rci=qZJNjVUUeUF9xCaS RlogId: t6e%60cckjkb9%3Fvo%7Bccbgmijf%28vo%7B%287570577-15c59d3449c-0x129 X-Frame-Options: S
Hello Readers,
This blog tell the difference between the Datetime vs Timestamp in MySQL and PHP.
1> Datetime and Timestamp are used to store datetime and then retrieve the datetime back.
2> Basically, In this we have a 2 factor which help yo
Hi All,
Though leverage browser caching reduces the load times of pages by storing commonly used files from your website on your visitors browser but sometimes, we need to force application to clear Cache (or System.Web.HttpRuntime.Cache), many ways