
Search In
Hello readers, In this blog I will guide you "To validate IP Address using PHP Filter Extension".
The below code validate your IP Address is valid or not using filter_var() function.
<?php
$ipAddress = "107.20.120.5";
if (!filter_var(
I have posted python script for e-mail sending in python project code is given below.
import smtplib
sender = 'from@findnerd.com'
receivers = ['to@todomain.com']
message = """From: From Person
To: To Person
Subject: SMTP e-mail test
This is a te
Hello readers, In this blog I guide you "How to convert XML to JSON using PHP"
Below is the 2 example converting XML to JSON.
1. example
$xml = simplexml_load_string($xml_string);
$json = json_encode($xml);
$array = json_decode($json,TRUE);
2. e
Hello Everyone, today I will guide you "To pass JSON in AJAX ".
In the below code information is a variable that store JSON. We can pass this variable into AJAX data and get user records, and show it into a userDetail <div>.
You can use the b
In cakephp you can handle different session time outs for admin and front end users.I added the following lines in core.php file and it works for me.
if(strripos($_SERVER['REQUEST_URI'],"admin")) {
Configure::write('Session', array(
'defaults'
You can reverse a Singly Linked List in linear order of time by implementing the following iterative approach, there are other recursive approaches are also available. But for the sake of simplicity I am implementing the iterative approach only, as
For the love of light
“If I could eat that light, I would eat that light”
Sometimes the most random thing can set off a bulb inside you, or an inspiration that was sitting dormant inside of you.
Like a song, a movie, an article, a conversation,
Im a Network Admin and start Learning Programming,I start with C and reading a book.
anyone can help answer and explain to me how to come up with it.
1.Write a structure that is to be used with a binary tree. The structure is to hold title name and
In the below example I have created an animation splash screen. Here I have first created animate.xml and traslate.xml layout in anim folder and in activity_main.xml layout I have added ImageView. I have used AnimationUtil.loadAnimation method in Mai
LOOPS IN JAVASCRIPT
A loop allows us to repeat or execute a set of statement multipel times, which are written inside a loop. It execute a block of code many times. Just like all other programming languages javascript also support looping concept.
