Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

How to validate a given URL using PHP

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

AngularJs Directive to show clock.

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

.Net best practices for timezone

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

Date Time : Best Practices

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

What is a cookie

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

Convert NSDate from local timezone to UTC and vice versa in Swift 3.0

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

Responses In Rails: Part 1

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

How To Precede A Tracking Url Onto A Url >

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

Datetime vs Timestamp in MySQL and PHP

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

How to clear ASP.NET Cache forcibly code behind or expire cache using HTML Cache Control Tag?

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

prev 1
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: