You are currently browsing the category archive for the 'My Works' category.

i got a problem to search a string from a set of string. but i solved it by using a php function. the function is strpbrk.

review_1
for more help or detials about the function please check http://www.php.net/manual/en/function.strpbrk.php

Few day earlier I have a done a project that have Multilanguage supported. It was quite interesting for me. Because it is automatically select your language. Like if you come from Bangladesh then its show bangle and if you come from England then its show English. Just not stop there its show the currency automatically. But I want to give thanks to the phpclasses forum that’s help me a lot to do this project.
Now this article I want to share a little tool of PHP. That tool helps who want to make Multilanguage website. Now a days many site use this Multilanguage option in there website. I write a few PHP code here for how to add Multilanguage options in your site. This gives you an idea. Its very easy code here downloads the codes from here and run into your localhost or your server.
Here I write the PHP code of the language change function that I create.
Here it is,

change_lang1This code is not enough to run. To make it functionally, download Multilanguagesite.rar and test it into you server. Few more things needed a bangla unicode for change into bangla. And modify the language files and make different your website with Multilanguage support.:-)

WordPress has finalized a stable multi-user version of its world famous blogging software. if you wanted to have more than one blog in WordPress you had to have multiple installs. WordPressMU let’s you do the same thing with a single install and run them under sub-domains if you desire. You can also continue to add blogs and users to those blogs until you get tired.
I was encountering some difficulties installing WordPress MU  using different subdomains, and I finally figured it out after some time, so I thought I’d do a walkthough to help fellow MU-wannabes. Just follow few step to install. Installing wordpressmu is difficult then wordpress. So lets start…
Here I discuss about install wordpressMU into localhost. For this you need few change in windows configuretion and localhost server. First I discuss how to change your http://localhost to http://localhost.com .

step 1: Setting up locally on Windows!

WordPressmu will not run on the address http://localhost/ so will have to change the Windows HOST file a bit. I added this to the file:
127.0.0.1 localhost.com
This file can be found in this path in Windows.
c:\windows\system32\drivers\etc\hosts


OR there are another option to change this. Just download HostsXpert software and install. To using this software you change your localhost domain what you need.

Step 2. Download WordPress MU and extract the files!

You can download from here http://mu.wordpress.org/download/ . grab a copy of the source code. It should be a zip or tar.gz file. Doesn’t matter.

Step 3. Upload Those Files!

Extract all files into desired folder (ex: http://localhost.com/wordpressmu/) for host (ex: http://www.yourdomain.com/wordpressmu/)

Step 4: Enable mod-rewrite!


For Apache on my machine, mod-rewrite is not enabled by default. To enable mod-rewrite goto this file httpd.conf. you find this file here Open your httpd.conf file.(I install my server in c directory.
Search and change the following code:
#LoadModule rewrite_module modules/mod_rewrite. so

Remove the # at the beginning of the line. Should look like this

LoadModule rewrite_module modules/mod_rewrite.so


Save changes and Restart Apache Server.

Step 5: Create Database!

Create Database (without any tables). In PHPMyAdmin this task is fairly simple.
Step 6:  Enter the details!

enter-bl
Select “subdomains” in the Blog Addresses section, enter your mySQL credentials into the page, and the details of your main blog.
Hit submit and you will seeing that you are done! :D
Step 7: Log in !

Log in and make sure everything looks good.

wpmu-ins
now its install. enjoy the wordpress MU :D  you can use it many way.

This script is a example of date() function. That displays the date and time in the title bar, all you do is just insert the code in between the <title> and </title> tags.
Here the code,

<title>
<?php
echo “( Date”;
echo date(“l”);  //Parameter for  A full textual representation of a  day of a week.
echo “, “;
echo date(“F d, o”); //Parameter for The Months, Dates, Years.
echo ” Time “;
echo date(“g:h:i A”);  //Parameter for The Hours, Minutes, Seconds with leading zeros.
echo “)”;
?>
</title>

you can download the PHP file from here . Download the file and put it into your server and run. very simple try it :) .

Hi friends, today’s I want to share a JavaScript’s program. Actually few days ago I started reading JavaScript’s. I found that JavaScript’s is very essential for web programming. JavaScript’s add dynamic things to a program.
Here I give a JavaScript’s code using date object. I use some build in JavaScript’s function. Here I created a clock using JavaScript’s. Here the code for a digital clock. You can use the clock in your website. The code is very simple to understand. The clock gives you hours, minutes, seconds and A.M and P.M. So guys lets check it out.

<HEAD>
<script type=”text/javascript”>

<!–
function startclock()
{
var time=new Date();var hours=time.getHours();
var mins=time.getMinutes();
var sec=time.getSeconds();
var AandP=” “;

if (hours>=12)
AandP=”P.M.”;
else
AandP=”A.M.”;

if (hours>=13)
hours-=12;

if (hours==0)
hours=12;

if (sec<10)
sec=”0″+sec;

if (mins<10)
mins=”0″+mins;

document.clock.clockspot.value=hours+”:”+mins+”:”+sec+” “+AandP;

setTimeout(’startclock()’,1000);

} //–>
</script>
</HEAD>

<BODY onLoad=”startclock()”>
<FORM name=”clock”>
Current Time: <INPUT TYPE=”text” name=”clockspot”>
</FORM>
</BODY>

To run this code just copy the code and paste it.  Open to your browser. And enjoy JavaScript’s.

Huy guys now i’m install hardy heron. Its cool….. jotil visualization ubuntu 8.04 . try its guys. If any one want hardy heron copy they just connact me.

After a long time I do not write any thing in my site. Today I’m here for writing something.

WELLCOME

Hi, I’m saeed Ahmed. Study in computer science & engineering at Rajshahi University of engineering & Technology. I enjoy programming; recently I work on web applications. Please feel free to share and suggest me your good thoughts. Email me: saeedmail@yahoo.com

 

November 2009
S S M T W T F
« Aug    
 123456
78910111213
14151617181920
21222324252627
282930  

My Linkedin Profile

FOLLOW ME ON TWITTER :)

Categories

Archives

Blog Stats

  • 11,130 hits

Some Moment Can't Never Forget

Image013

profile

5493_1195770810448_1113791260_30638811_5916842_n

5493_1195767570367_1113791260_30638805_6606845_n

amre dhakkay sob agune pheltace

rokib guru, emon ganju, me & rasel ghoti

More Photos