Use google as free proxy

January 29, 2006

you can use google as free proxy to surf the restricted site from your computer

if you are in the university the service always restrict the sites allowable to be visited

http://www.google.com/translate?langpair=en|en&u=www.google.com

You can also use this link to surf the restricted text only  from any site

like جريدة الشعب من مصر

http://www.google.com/translate?langpair=en|en&u=http://www.alshaab.com

this way also allowing more secure surfing

I think  alshaab journal restriction was removed from egypt 🙂


Google hidden results

January 29, 2006

Google may have hidden results in thier search reply

for example

when you search for site:wordpress.com

using the next query

http://www.google.com/search?q=site:wordpress.com

it display only 978 (at time being) though it claims to have 1,630,000 results
Results 901978 of about 1,630,000 from wordpress.com for . (0.35 seconds)

Thus

my blog was removed this week from google results after it was the first result for the query “ibrahim hamza”

http://www.google.com/search?q=ibrahim+hamza

this may mean

some nodes of was ignored in displayed results

give wordpress.com low priority in serach results (upon blogger competition 😉 )

at end competition make all do thier best in thier field


Hoax– MSN is closing down–hoax

January 29, 2006

This mail was send to me claimed that MSN will close down 🙂

MSN Closing

Hey it is Andy and john the directors of MSN, sorry for the interruption but msn is closing down. this is because too many inconsiderate people are taking up all the name (eg making up lots of different accounts for just one person), we only have 578 names left.
If you would like to close your account, DO NOT SEND THIS MESSAGE ON. If you would like to keep your account, then SEND THIS MESSAGE TO EVERYONE ON YOUR CONTACT LIST.
This is no joke, we will be shutting down the servers. Send it on, thanks. WHO EVER DOES NOT SEND THIS MESSEAGE, YOUR ACCOUNT WILL BE CLOSED AND YOU WILL COST £10.00 A MONTH TO USE. SEND THIS TO EVERYONE ON YOUR CONTACT LIST.
NOW YOU KNOW WHAT TO DO. PLEASE DO NOT FORWARD THIS or REPLAY. COPY THE WHOLE EMAIL. GO BACK TO YOUR INBOX AND CLICK ON NEW. AND PASTE THANK YOU FOR YOUR ATTEN


كتب كتابي النهارده

January 26, 2006

بسم الله الرحمن الرحيم
انا إن شاء الله كتب كتابي النهارده
عقباللكم جميعا
ممكن تحط التهنئة ?ي التعليقات
إبراهيم حمزة


Google and Privacy

January 22, 2006

The headlines this week are

Google shares hammered after government challenge

Google defies US over data

Google’s fight for privacy

This action from google will make more users trust google as

there are alot of people say that people violate rules specially the privacy ones
in Gmail – as it search the message content to get related advertisment

in book search

this action has been taken from the great search engine to say to the users that

WE ARE NOT DEVIL ON YOUR PRIVACY , WE REALLY MATTER YOUR PRIVACY
this will make google the best as they know what people want

as this action harm google for some days but at last they will be th winner

to see more about opposite opinion about google

http://www.google-watch.org/

at last google will be the winner in this round


Ajax example with XML file

January 15, 2006

Ajax with XML file

As we say Ajax heavily depend in client side script

The first example has retrieved text file from the server and embed it into

The HTML page

Our current example will retrieve data from XML file (pure static file)

The most advantage for using XML is the structure is organized well hence we can put multiple data and retrieve each one in different location

We mention again that

server side response can be static or dynamic

server side response can be text or xml

If it is text you can insert it directly into your code

If it was XML you need to select what you need from the XML to insert into the page

If the response got from Dynamic like PHP , JSP or ASP

You will change the type of send (GET or POST )

And the parameters which will be passed to the server side script

The current example is at static XML file

Client Side

Steps in the way of thinking and running not the way of writing(see first example)

1- Initialize XMLHttpRequest

2- Open XMLHttpRequest

3- send the XMLHttpRequest

4- Waiting ready state till it was complete

5- Get the XMLHttpRequest

6- Parse the XML and get required data

7- Write the required data into your page

1- Initialize XMLHttpRequest

Intilization of the XMLHttpRequest

It diffes from FireFox to IE

var xmlHttpReq ;

//for Microsoft Internet Explorer

if (window.ActiveXObject) {

xmlHttpReq = new ActiveXObject(“Microsoft.XMLHTTP”);}

//for Firefox,Mozilla,Safari and Netscape etc

else if (window.XMLHttpRequest) {

xmlHttpReq = new XMLHttpRequest();}

//browser didn’t support xmlHttpRequest

else

{ return; }

2&3- open and send the the xmlHttpRequest

xmlHttpReq.open (‘GET’, “file.xml”, true);

xmlHttpReq.send (”);

4- Waiting the ready state

xmlHttpReq.onreadystatechange = function()

{

if (xmlHttpReq.readyState == 4)

{

//your code goes here

//parsing the XML and update the inner html

}

}

5- Get the XMLHttpRequest

when the ready state become 4 means complete the xml parsing function fired

6- Parse the XML and get required data

We get the XML object and tagname which will be parsed and the required index

And get it from XML file

function parsexml(xmlobject,tagname,index,target)

{

var tagarray = xmlobject.getElementsByTagName(tagname);

var htmldata =’ ‘;

htmldata =tagarray[index].firstChild.data;

document.getElementById(target).innerHTML =htmldata;

}

7- Write the retrieved data which apply your page

// target is the id of target div

document.getElementById (“target”).innerHTML = xmlHttpReq. responseText;

in step 6 last line target is variable but in previos line “target” is the id of the target

Run the example

 Download the example


Concept of category

January 2, 2006

This category is made for deep thinking in the abstraction of anything

The opinion of any things from my point of view
for example

I think wordpress.com work with

LiteSpeed Web Server

and at most one database for all users

because the categories has one index

the max at the time of writing is 33438

and they currently develop in the server i wish  they gain the success they wish