Open US bank account for non US residents, With Master Debit Card



It is not a daydream to open a US bank account for non US residents, With Master Debit Card,In 2 Weeks…

Deposit funds from your PayPal, 2CO, & AdSense accounts. Withdraw funds from any ATM around the world.

We will show you exactly how to get your own US bank account within 2 weeks!

DOWNLOAD NOW!

Important things to know before go live

| ]

It is of the upmost importance that your website practices good web design techniques which will enable your website to get the maximum amount of traffic, therefore making the maximum amount of profit.

Standards


The most important thing to consider on the World Wide Web is that your website/blog reaches certain web standards. These are set out at www.w3.org. Your website may look good in commonly used browsers like Internet Explorer, Firfox and Safari, if layout desing breaks you WILL lose visitors. Around 45% of people worldwide use Internet Explorer, 35% Firefox and 20% other browsers so that’s 55 peoples out of every 100 that visit your site using a different browser so cross-browser support MUST be considered.

Navigation Navigation


Ensure your navigation should be easy as possible, make sure it is clear and concise and that at any point of a visitors browsing they know where they are and how to get back to where they came from. If a visitor experiences any confusion in any way they Will leave your website.

ContentContent


Text paragraphs should always be kept at reasonable lengths. If a block of text appears to be too big it can deter some a lot of visitors from reading your content. If you have got a lot of content to go on a page you should always try and split them into small text blocks, this way visitors will be able to pick out what they need to know a lot easier and they will not feel as though they are reading an essay.

IMAGES
If you are using any images, make sure they are optimized to the smallest possible size and try and reduce the number per page. Images will slow the loading of a website down and the majority of the time they aren’t really necessary.

SCRIPTS
Stay away from using any sort of scripting languages throughout your website for visual images/effects. Scripting can slow down the loading time of a page on your website and even cause the browsers, in some cases, to crash. If you really have to use them, export the code to a different page and reference it when needed.

CSS
Lastly, make your pages with CSS, this reduces the amount of code on your web pages enabling them to load quicker and it also saves you a lot of time when re-styling or adjusting the web site in the future.

Plogger: A free open source photo gallery system

| ]

Open source photo galleryPlogger is the next generation in open-source photo gallery systems. A web application not bloated with superfluous features or complicated configuration settings. Plogger is a simple yet powerful tool — everything you need to share your images with the world. Plogger is your photos integrated into your website, a fully featured photo sharing package with an attractive and easy to use administrative interface that makes managing your galleries a breeze. Integrating our gallery software into your website is as easy as inserting three lines of PHP code. Plogger requires a server setup with at least MySQL v3.23, GD1.0, and PHP4.

Click here to download | Visit website

Photo modifier software that improves your looks

| ]

E-TOUCH UPWant to optimise your looks without radically altering them? An Israeli team of computer scientists may have the answer. They have developed a computer software model based on the innate preferences that studies show we have for human faces.

"This technology could become a product where for example there's a web service where people upload their photographs and have them enhanced or beautified by our software," said Professor Dani Lischinksi of Hebrew University in Jerusalem.

Studies show that eyes a certain shape and distance apart, nose a certain length, lips a certain curve, increase the probability that we will find one face more attractive than another.

"We were able to fit a mathematical model to this set of data that we've gathered, namely the images that we showed to people and their responses in terms of the beauty scores that they chose to give to each image," said Lischinksi.

The team then applied the model to modify images so as to make them appear more attractive. They are now exploring a variety of potential commercial applications for the software, Lischinski said.

"This is something we're looking into," he said. It remains to be seen whether women would simply use the improved image as a guide to more effective makeup application or whether people take it to a plastic surgeon and say: "Make me look like that."

SUBTLE SHIFTS

The results can be striking. The photographed face of one conventionally pretty woman processed by what some Israeli media dubbed "the beauty machine" became clearly more beautiful.

Crucially, the software did not attempt to correct the very slight crookedness in her nose, so she was unmistakably the same person but subtly enhanced to great effect.

The aim is not a world "where everybody looks the same or everybody looks like a Hollywood star or a supermodel. What our programme tries to do is to improve the perceived attractiveness of the face but in a manner that tries to change as little as possible," said the professor.

The Israeli scientists say they are well aware of the adage that "beauty is in the eye of the beholder". "I think obviously the original faces have more. They represent the true character of that face and when we modify the image some of that character might go away. This is one possible criticism," Lischinksi said.

So far, the model simply presents the optimised version of a face which could be used as a photograph — if the owner was prepared to disappoint in any real-life encounter.

Some of those asked did not prefer the "improved" looks of movie stars, for example. "I think a lot of it has to do with familiarity," Lischinski said. But if the face is anonymous, the modified version is strongly preferred, the team's trials have shown.

A random trial among Jerusalem women was inconclusive. One woman said she would not use the programme "because then you see yourself in the perfect light and no one is perfect... It's impossible and it's unethical and it will just make you upset."

The software also demands high-quality photographs taken head-on. Blurred images or tilted chins defeat it.

Leonardo da Vinci's Mona Lisa loses her enigmatic smile and appears horribly distorted, her lips like those of a cartoon witch.

source:ibnlive.com

,

Photoshop Tutorial: How to create Shiny Starburst Effect

| ]

In this post you will learn how to create shiny starburst effect by using photoshop. Following the simple steps to create a shiny starburst effect:



Step 1

Open your canvas. Press D. (to set default foreground and background colors) Press Alt+Backspace to fill canvas with black color. Duplicate the layer ( right click on the current layer on the layer's panel and select 'duplicate layer '). Continue working on this new layer.

Step 2

Select the gradient tool from the tool bar, place the cursor at the bottom of the canvas, click and drag it to the top of the canvas. Now your canvas has a black and white gradient fill.

Step 3

photoshop tutorial: shiny starburst effect

Click on Filter>Distort>Wave the Wave window appears, give the settings as in the image on the right.

Step 4

Click on Filter>Distort>Polar Coordinates. The polar coordinates window opens up, give the settings as 100% and check the 'Rectangular to Polar' option.

Step 5

Click on Image>Adjustments>Hue/ Saturation and change the settings to : Hue - 200, Saturation - 25 and Lightness - 0. Check the Colorize option

Step 6

Next click on Filter>Render>Lighting Effects and set the Light type to Omni let the other settings be default.



Here's the shiny star!

Myriad Search, Father of Search Engines

| ]

I have never heared better search engine than google, yahoo, msn etc. Just imagine if some search engine search all engines under single window. Yes, it can be done by Myriad search. It provides various searche engines result under one window means you can search a keyword in Google, Yahoo, MSN, AskJeeves in same time.

Advertisement free meta search service which allows users to grab results from search engines such as Google, Yahoo! Search, MSN Search, and Ask Jeeves. It provides a feature which enables the user to add a negative or positive bias to tweak the importance of an engine. It also allows to export the result page as CSV file.

It allow users to set the search depth (from 10 to 50 results per engine).

For me its time saving, easy to use, more interactive yes wide option. So happy searching guys. Keep posting your feedback.

Click here to go Myraid Search | More free stuff

myraid search

Green Polarbear Offers Royalty Free Photographs

| ]

On this website you will find royalty free photographs* at a reasonable price.

If you are looking for photographs that you can use on your internet or intranet website or in any kind of print product, you are at the right place.

What do you mean by Royality Free:

Royalty free photographs are offered for a one-time fee. If you buy a photo, you have the right to use it as often you want and in different projects. But you are not allowed to sell or distribute the royalty free photo to a third party.

It can be part of a product, an illustration, a brochure etc. It can be used as the cover of a CD, an image on a website, or a graphic in a software.

In any event the creator of the photograph retains copyright. All usage is subject to the terms and conditions of the creator.

Website link | More free stuff

Free PHP comment script

| ]

The script can be included in your website pages and allows your visitors to leave comments. The comments can be edited and deleted in the admin area.

Comment Script Features

:: Visitors can enter a name, e-mail, homepage, comment title and comment text
:: Comment script can be included in existing web pages
:: E-Mail notification of new comments
:: Comment moderation
:: CAPTCHA feature to prevent spam
:: Akismet
:: Content Blocker
:: IP Blocker
:: Flood protection
:: Bad Word Filter
:: Smilies/Emoticons
:: Admin area for editing and deleting comments
:: Completely template driven
:: Installation routine

How the script works

Once you have the script installed on your server you can include it in any existing PHP or HTML page. By default the script shows the form fields "name", "E-mail", "Homepage", "Title", and "Comment". You are free to remove some of the fields and only leave the ones you want. The field "Comment" is mandatory and the form will not submit until that field has been filled out.

In order to prevent the script from being abused by automatic spam bots, you can enable the Captcha feature. The script then asks your visitors to enter a text they see in the image below the comment form into an input box. The comment will only be submitted if the strings match. Visitors have to ensure that their browser support and accept cookies, otherwise the comment cannot be verified.

The script also features an admin area where comments can be edited and deleted. Also there is a section for settings where you can set the front end language as well as the admin account.

Requirements

Comment Script runs on every webserver with PHP/4 or PHP/5. It needs a MySQL database on Windows, Unix or Linux operating system to function properly. You also need a software (WinZIP for example) to unpack the script files after downloading from our server. You should have a solid understanding of HTML and some experience with script installation.

Demo
comment php script

Click here to download free php comment script | More free php script

,

Quick Calendar Using AJAX and PHP

| ]

Online calendars are often used in many web applications. Though popular, the logic behind creating a calendar can be scary especially for those who are new to programming. There are many web calendars in the market but some of them are quite complicated. If we are not able to understand the code, it becomes harder for us to customise the calendar to fit into our existing application. As such, we need to create a calendar that can plug itself into any system seamlessly without problems. Whether we are using Wordpress, Mambo/Joomla or Drupal, we should only need to insert one line into our code for the calendar to work. ie something like this:

require_once('quick_calendar.php');
?>


If you are already bored at this point or not interested to know how to create a web calendar, feel free to see a live demo of the simple calendar here. The installation procedures is in the source code.

Other than configuring the database access for the calendar, I do not want to change other things. With AJAX, I could even make the page static as I navigate between different months in the calendar. In this tutorial, I would like to share with you a simple calendar I created that fufills the objectives discussed above. The tutorial assumes that you have basic knowledge of PHP and SQL but don't worry, the actual code is minimal and you should be able to customise it easily by reading at the comments. I used PHP 4 so that it is compatible with most servers. You should also be able to re-create the calendar easily in other programming languages using the same logic.

The First Step Problem Identification:

Perhaps the hardest part in creating a calendar is to come up with a good solution to display the days of the month in the correct column, ie Monday, Tuesday..etc.



Let us take April 2006 for example. There are 30 days and 6 rows in the calendar. If we are given a day in the month, say 15, we have to know that it falls on a saturday and is in the third row (third week). We cannot take for granted that the first day is always the first cell in the table (top left cell). Sometimes, we get 4 or 5 weeks in a month. Only if we know how many days are there in a certain month and which day the first of the month falls in only can we construct the calender as shown above.

Getting Crucial information From The PHP Date function

PHP provides a date() function that gives us alot of useful information about the days and months of the year. To built the calendar for any month, We need 2 important pieces of information from the Date function, ie the "number of days in the month" and a "numeric representation of the first day of the month".

I can get today's date easily from the following code:

// get year, eg 2006
$year = date('Y');
// get month, eg 04
$month = date('n');
// get day, eg 3
$day = date('j');


To get the number of days in this month, I will use the both the date and mktime function like so:

// get number of days in month, eg 28
$daysInMonth = date("t",mktime(0,0,0,$month,1,$year));


The numeric representation of the day of the week ranges from 0 to 6. 0 is sunday and 6 is saturday. Again, to get the numeric first day of this month, the function mktime comes in handy.

// get first day of the month, eg 4
$firstDay = date("w", mktime(0,0,0,$month,1,$year));


The Monthly Calendar As A 2-D Array

If we look at the calendar again for April 2006, we will see that it is actually a table(grid) filled with values starting from 1 to x (no of days in the month). The first day of the month is a variable though... It can occur in any day of the week. In the table, imagine each cell as having coordinates (x,y), starting from the top left cell as (0,0) and the bottom right cell as (5,6). In the month of April, the first day of the month is stored in coordinate (0,6). So, the plan now is to store the days of the month in a 2-D Array.

Firstly, we want to know the number of cells needed.

// calculate total spaces needed in array
$tempDays = $firstDay + $daysInMonth;


Then we want to know the number of rows needed.

// calculate total rows needed
$weeksInMonth = ceil($tempDays/7);


Populating The 2-D Array

Knowing the number of rows and columns in the 2-D array, we can now fill the arrays with values using 2 for-loops. The first cell will start with a value of 1 and the subsequent cells will have their values increased by 1 till it reaches the end of the array.

for($j=0;$j<$weeksInMonth;$j++) {
for($i=0;$i<7;$i++) {
$counter++;
$week[$j][$i] = $counter;
}
}
?>


For the month of April, the temporary array should be something like this:



The Magic Offset

As you can see, the array above is not correct. The first day of April, ie value 1 should be in (0,6) instead of (0,0). Remeber the variable $firstDay? It is the numeric representation of the first day of month which happens to be 6 in April 2006. If we subtract $firstDay from all the values in the array, we will get the array as follows:



You should now be able to guess what we are going to do next. Looking at the array above, you see that we already got the values we want but we also have some unwanted values. Any number less than 1 or more than $daysInMonth (number of days in a month) should be ignored.

function fillArray() {
// create a 2-d array
for($j=0;$j<$this->weeksInMonth;$j++) {
for($i=0;$i<7;$i++) {
$counter++;
$this->week[$j][$i] = $counter;
// offset the days
$this->week[$j][$i] -= $this->firstDay;
if (($this->week[$j][$i] < 1) || ($this->week[$j][$i] > $this->daysInMonth)) {
$this->week[$j][$i] = "";
}
}
}
}
?>


This is the core function in the entire calendar generation algorithm.

Displaying The Calendar

Getting the values right in the 2-D array, we are now ready to display them. Now, we will create a table and start looping again using the foreach function.
















foreach ($week as $key => $val) {
echo "";
for ($i=0;$i<7;$i++) {
echo "";
}
echo "";
}
?>
Sun Mon Tue Wed Thur Fri Sat
$date


The final display will be like this:



We now have a plain calendar.

Adding Special Dates To The Calendar

This calendar only tells you "the days of a week" at the moment and is not very useful. Most online calendar will have reminders as well. Say for example, if my birthday falls on the 4th of April, I want the number 4 in the calendar be displayed differently, possible with a hyperlink in which upon clicking on it, will perform some task like redirecting me to a certain page or displaying more information about myself in a popup windows..etc. To do that, we need to a table in the database with at least 6 columns: id, day, month, year, link, desc.

CREATE TABLE calendar (
id INT NOT NULL AUTO_INCREMENT ,
day VARCHAR( 2 ) NOT NULL ,
month VARCHAR( 2 ) NOT NULL ,
year VARCHAR( 4 ) NOT NULL ,
link VARCHAR( 255 ) NOT NULL ,
desc TEXT NOT NULL ,
PRIMARY KEY ( id )
);


We then need to insert some data into the table for testing:

VALUES (
'', '24', '*', '2006', 'http://www.sitecritic.net', 'Check your web cccount on the 24th of every month. 2006 only!'
), (
'', '5', '11', '2006', 'some_javascript_funtion', 'Olympics, remember to buy ticket from alice.'
),(
'', '2', '1', '2007', 'some_javascript_funtion', 'early 2007. Any new plans for the year?'
), (
'', '9', '*', '*', 'http://www.evolt.org', 'Remember to check updates from evolt.org every month.'
);


The * under the month or year column means every month or year.

Next, we do a query and extract the important dates for a certain month and store it in an array.

$sql = "SELECT * FROM calendar WHERE (month='$month' AND year='$year') || (month='*' AND year='$year') || (month='$month' AND year='*') || (month='*' AND year='*')";
$rs = $db->query($sql);
while ($rw = $rs->fetchRow()) {
extract($rw);
$links[] = array('day'=>$day', 'month'=>$month, 'year'=>$year, 'link'=>$link, 'desc'=>$desc);
}
?>


If we create a class to generate the calendar, we need to pass the $links array into the class like so:

$cal = &new Calendar($cArray, $today, $links, $css);
$cal->render();
?>


The $cArray is a class containing the array for the plain calendar as shown in step 6. The $today variable is today's date. The $links variable contains the important dates in this month. With the $css variable, we can decorate the calendar table and make it look nicer.

Adding AJAX Capability

To make the calendar more user friendly, we want to be able to navigate easily between the months or years without refreshing the page. Thanks to AJAX, we can now do that easily. If the user clicks on "next month" for example, we need to call the AJAX function to refresh the calendar without refreshing the page. We do that using XMLHttpRequest. This is the main code that does the trick.

http.open('get', 'quick_calendar.php?m='+m+&y='+y+'&ran='+ran_no);

After I get a response from the AJAX function, i need to update the calender. The calendar is wrapped around with the div tag called 'quickCalender'. I just need to rewrite the contents of the tag on the fly.

document.getElementById("quickCalender").innerHTML = http.responseText;

Conclusion and Future Improvements

In this tutorial, we went through the concept of how to create a web calendar using AJAX and PHP. I left the details in the code to prevent the tutorial becoming too long and indigestable. If you look at the code hard enough, you will notice that I packed alot of codes in one file. As a good programming practice, I should have broken them down into smaller parts/files. Because the objective of this project is to create a quick "plug and forget" calendar system, I did that on purpose.

Also, the object oriented approach I used in the code may not be flexible enough if I want to have different layouts for the calendar. The problem can be easily fixed by using inheritance, ie creating a superclass for the QuickCalendar class. We can then have BrownCalendar, SpecialCalendar ...etc.

Hope you enjoy reading this tutorial as much as I wrote it. The full demo can be seen here and source code is here.

source:www.evolt.org

Working with hierarchical data in SQL using Ancestor tables

| ]

This document describe an approach to SQL queries of hierarchical data using ancestor tables. Multiple inheritance are allowed but cycles are not allowed for this approach to work. This approach is most appropriate when recursive SQL is not available and the hierarchies are not too deep. With ancestor tables, inserts and deletes are slower but selects are very fast and there is no need to update the whole tree with each insert. We use this hierarchy of objects as an example to illustrate the problem.



A common way to model this hierarchy is with a Parent table:

ObjectID
ParentID
5
3
6
3
6
4
7
4
3
2
4
2
2
1


This table can keep the relationships between the objects but does not allow to search for all the ancestors of an object or all the children of a parent using single SQL queries.

Using an ancestor table instead of a parent table has the advantage of flattening the relationships between object and simplifying the queries:

ObjectID
AncestorID
hops
5
3
1
5
2
2
5
1
3
6
3
1
6
2
2
6
1
3
6
4
1
6
2
2
6
1
3
7
4
1
7
2
2
7
1
3
3
2
1
3
1
2
4
2
1
4
1
2
2
1
1


Modeling the same hierarchy requires more records when ancestors are explicitly recorded but it simplifies the queries. For example, to get all the children of object-1:

select distinct object_id from ancestor_table where ancestor_id = 1;
object_id
=======
5
6
7
3
4
2


In order to preserve the hierarchical order, a third column called 'hops' can be added to the table. This is useful when query results need to be in order of proximity of the object to the ancestor. Saving the number of hops information in the table also allows to recontruct the table from scratch by first deleting all the records with hops > 1 and then re-inserting all the ancestors. The records with hops=1 are equivalent to the parent table, hops> 1 are the ancestor records. It is also important to have the ability to add and delete associations from this graph without having to re-write the complete tree to the database. This is the general algorithm for inserting and deleting an association in the graph:

To add an association between child1 and parent1, find all the parents of parent1 and attach them to each children of child1

Similarly, for deleting an association:

To remove an association between child1 and parent1, find all the parents of parent1 and remove them from each child of child1

For this solution to work, redundant associations need to be recorded in the database. In our example, there is two associations between object-6 and object-2, one using object-3 and one using object-4. They both need to be present in the ancestor table. This allows the delete function to delete only one of the two associations. In our example, even after removing the object-3 to object-2 association, object-6 can still reach object-2. The insert and delete algorithms need to properly maintain the 'hops' value. Updates need to be converted into a delete and insert combination. Here are the two algorithms in Perl:

sub insert_association {
my($child, $parent) = @_;
# give all group ancestors to all children of group.
my $rc = sql("select ancestor_id, hops from ancestor_table where object_id = $parent");
my $rc2 = sql("select group_id,hops from ancestor_table where ancestor_id = $child ");
foreach my $obj (@$rc2) {
foreach my $anc (@$rc) {
my $hops = $obj->[1] + $anc->[1] + 1; # adjust the hops
sql("insert into ancestor_table (object_id, ancestor_id, hops)
values ($obj->[0], $anc->[0], $hops )");
}
}
}


sub delete_association {
my($child, $parent) = @_;
# remove parent and it's ancestors from group and its children
my $rc = sql("select ancestor_id,hops from ancestor_table where object_id = $parent ");
my $rc2 = sql("select object_id,hops from ancestor_table where ancestor_id = $child");

foreach my $c (@$rc2) {
foreach my $p (@$rc) {
my $hops = $c->[1] + $p->[1] + 1;
my $rc3 = sql("select oid,hops from ancestor_table
where object_id = $c->[0] and ancestor_id = $p->[0] and hops = $hops");
# delete only one association, with the right hops.
# oid is a postgres generated sequence_id used to identify each association.
foreach my $o (@$rc3) {
sql("delete from ancestor_table where oid = $o->[0]");
last;
}
}
}


Enjoy!!!

Share your comments and ideas right here.

source:www.evolt.org