It can be a very painful experience for the person who has just come out of a broken relation. There can be several reasons that can lead to a broken relation, but the fate at the end of it are broken hearts. Mending a broken heart can be very difficult, requires lots of inner strength [...]
Continue Reading
Have you ever heart about operatng system purely build in php . As we know php is mend for a language of web framework, is it possible to develop a complete operating system in php , which will manage the whole system throw web. Do contribute your ideas , is it posible to override windows [...]
Continue Reading
As a web application developer, it’s essential to upload files in server. When I was windows user, I used FileZilla FTP software. I’m Ubuntu user for long time and I found there is a version of Filezilla for Ubuntu. Here I give the command how to install FileZilla:
Just run your terminal and write:
sudo aptitude install [...]
Continue Reading
As we know , we want to make the system dual boot , we have to install window version first and then the linux version , But what to do , if somehow our window version crashed or somehow we want to reinstall it . Most of us face problems when we dual boot both [...]
Continue Reading
You need to create a form with file fields you wish to upload and define “onsubmit” event. Look at the example below how to do that.
Tested in IE5.5+, FF1.0+, OP 8.0+
Source code for index.html
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en-US” lang=”en-US”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
<title>Iframe Ajax</title>
<script type=”text/javascript” src=”webtoolkit.aim.js”></script>
<script type=”text/javascript”>
function startCallback() {
// make [...]
Continue Reading
Using GET method
Now we open a connection using the GET method.
var url = “get_data.php”;
var params = “lorem=ipsum&name=binny”;
http.open(“GET”, url+”?”+params, true);
http.onreadystatechange = function() {//Call a function when the state changes.
if(http.readyState == 4 && http.status == 200) {
alert(http.responseText);
}
}
http.send(null);
I really hope that this much is clear for you – I am assuming that you know a bit of Ajax [...]
Continue Reading
Step 1: Find your content.
An RSS feed should probably list all the content items in your main section. For example, if you run a blog, you can have an RSS feed of all your latest posts. If you run a small download site, consider a feed of your latest releases. Whatever content you choose, make [...]
Continue Reading
Suppose we have a file name xml file as below
<?xml version=“1.0″ encoding=“utf-8″ ?>
<RecentTutorials>
<Tutorial author=“The Reddest”>
<Title>Silverlight and the Netflix API</Title>
<Categories>
<Category>Tutorials</Category>
<Category>Silverlight 2.0</Category>
<Category>Silverlight</Category>
<Category>C#</Category>
<Category>XAML</Category>
</Categories>
<Date>1/13/2009</Date>
</Tutorial>
<Tutorial author=“The Hairiest”>
<Title>Cake PHP 4 – Saving and Validating Data</Title>
<Categories>
<Category>Tutorials</Category>
<Category>CakePHP</Category>
<Category>PHP</Category>
</Categories>
<Date>1/12/2009</Date>
</Tutorial>
<Tutorial author=“The Tallest”>
<Title>Silverlight 2 – Using initParams</Title>
<Categories>
<Category>Tutorials</Category>
<Category>Silverlight 2.0</Category>
<Category>Silverlight</Category>
<Category>C#</Category>
<Category>HTML</Category>
</Categories>
<Date>1/6/2009</Date>
</Tutorial>
<Tutorial author=“The Fattest”>
<Title>Controlling iTunes with AutoHotkey</Title>
<Categories>
<Category>Tutorials</Category>
<Category>AutoHotkey</Category>
</Categories>
<Date>12/12/2008</Date>
</Tutorial>
</RecentTutorials>
The first thing you’re going to have to do is write some jQuery to request [...]
Continue Reading
As we know php doesnt cum up with curl support by default for this u have to download a separte module libcurl which is basically for php. Using curl you can login to another site , grab the data and then log it off , just like a simple user do , you can use [...]
Continue Reading
static function in php increase performance , string concatenation is bettter , avoid magic functions and require is quite expensive in php, use full path instead of php os path and dont put loops in infinite continueity , use some limits, php string function are much better than regular experssion in php.
