selinap.com

To leave furtively and stealthily.

Archive for June, 2008

Create a Rotating Ads

Friday, June 13th, 2008

If you run more than one ads, but lack of space to put the ads, you can actually rotate the ads.

The code below will create a random number from 1 to 10. Since I want both ads to be shown with a probability of 50%, I put the condition if (x > 5). You can change this number.

1
2
3
4
5
6
7
8
9
10
<?php $x = rand(1,10); ?>
<?php if ($x > 5) { ?>
 
<!--your first ad code-->
 
<?php } else {?>
 
<!--your second ad code-->
 
<?php } ?>

You can read more about PHP rand() function here.

Export EndNote to BibTeX

Tuesday, June 10th, 2008

EndNote is a great software managing references. EndNote works fine with Microsoft Words. But, what about LaTeX? Do you know that LaTeX users could also use EndNote to manage their references, and export the EndNote database to the BibTeX format as needed. This tutorial will show how to export the EndNote database to BibTeX format.

(more…)

SPCI Cairo 2008

Tuesday, June 10th, 2008

The First International Conference on Security, Privacy and Confidentiality Issues in Cyberlaw (SPCI 2008)

June 2 - 4, 2008
Sheraton Cairo Hotel - Egypt

Link: http://spci2008.net/

How to save parking space

Tuesday, June 10th, 2008

Give Error 404 to your plugins folder

Thursday, June 5th, 2008

It is crucial to hide your Wordpress plugins folder. Click here for the reason why.

This is one way to do it.

(more…)

I know what plugins you are running

Wednesday, June 4th, 2008

If you run a Wordpress based blog, try something like this:
http://yourdomain/wp-content/plugins/

(replace “yourdomain” with your blog domain name)

plugins

(more…)


© Copyright 2008 - 2009 selinap.com
Entries (RSS) and Comments (RSS).