Friday, January 8, 2010

How to create Paypal Buy Now Button in Paypal SandBox - Testing Environment.(Part 2)

How to create Paypal Buy Now Button in Paypal SandBox - Testing Environment.

Simply follow the instructions available on the link as follow:

http://hubpages.com/hub/How-to-refund-back-to-your-customer-using-Paypal

Saturday, December 19, 2009

ALERT








A
: Attention
L : Life
E : Emergency
R
: Rush up

T : Think about it...!

Friday, 18-Dec-2009, about 9:00 am, in Rimpa Plaza, Karachi, Pakistan.....

There was load shedding our laptops bettry became low so we decide to take tea from outside. But when we came out from our office & go towards stairs some peoples were ran upstairs & said there is fire on 6th floor in a store-room exactly next over our office room. Some of our friends immediately rush up out from the plaza & the other were return to office & shift our laptops to our head office. In th mean time all channels team, police, rescue, ambulance, fire brigade reached & try to stop the fire as soon as possible. Thanks to Allah no one was injered except the 6th floor & the fire became cool after a great efforts. Then after Jumma pray we deside to go back to our home.


Conclusion:
I think that was happened only due to poor security & safty precautions which should be taken by the Plaza owner.
And also office owners must have to choose those place to setup their business where all facilities are available like transport should available for (all) employees & similarly other facilities to face such accidents like on Friday.

Opinion:
In Karachi i think the best location to setup once business is from NIPA to Hassan Square because NIPA is the center to all routs.


Excuse:
There may be some English mistakes so please forgive it.

Thanks.

Friday, November 20, 2009

Create subdomain on localhost in linux

Question: Let suppose i have a web site www.webspot.com. Now I want to create a subdomain sub.domain.com, and when I enter it in my browser, I want to go to the same web site (www.webspot.com).
Answer: Simply on terminal type
  • sudo gedit /etc/apache2/sites-available/your-web-site
file will open now make some little changes like this
ServerName webspot.com

DocumentRoot /var/www/your-website/public
ServerAlias sajid.webspot.com
ServerAlias naveed.webspot.com
ServerAlias nasir.webspot.com
ServerAlias ihsan.webspot.com
ServerAlias zeeshan.webspot.com

Options FollowSymLinks
AllowOverride All

ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined

then type:
  • gedit /etc/hosts
file will open now make some little changes like this
127.0.0.1 localhost

127.0.0.1 webspot.com
127.0.0.1 sajid.webspot.com
127.0.0.1 naveed.webspot.com
127.0.0.1 nasir.webspot.com
127.0.0.1 ihsan.webspot.com
127.0.0.1 zeeshan.webspot.com

127.0.1.1 sajid-laptop

now restart apache2 by using:
  • sudo /etc/init.d/apache2 restart
Enjoy :)