Snaps of Flood In Surat

It has been very 3 bad days for all in Surat. There was dangerous and biggest flood ever in history of Surat. Surat is very famous for its Daimaonds and Textile Business in the world. There was heavy raining in Gujarat and around state of gujarat cause flood in Surat. There is no electricity and water still in highly affected river side area by flood. We got elecricity yesterday and water today in my society. I wish, I was able to take some snaps of this flood, but can not. We all must thank to my friend Nirav Jariwala who is able to get snaps of this flood.

Pictures – 10 August , 2006


Area – Ring Road – Left Side Umpire State Building – Right Side Word Trade Center


Area – Ring Road – Rushab Petrol Pump


Area – Ring Road – IDBI Bank – Nokia Care


Area – Ring Road – IDBI Bank


Area – Ring Road – Babu Bhai 24 Caret – Sweet Shop


Area – Navsari Bazaar – Putali


Area – Navsari Bazaar – Putali


Area – Navsari Bazaar – Putali


Area – Navsari Bazaar – Putali


Area – Navsari Bazaar – Putali


Area – Navsari Bazaar – Putali

Pictures – 11 August , 2006
Area – KataarGam – Lal Darwaja

In this area one of my friend Ashvin Savani is living, whose raw-house is bit far away from this kataargam area but that area also highly affected by flood. It was 15 feet (may be more) high flood there and their parking area was totally in water. I hope my other friends inside middle of city are safe and fine. I wish this kind of flood never ever hit to any city. Our government has not released yet official damage figure but it is may be more than what they expected. There is still no water and electricity inside the flood affected area. I hope everything will be fine soon like before.

I don’t have any words to say now…so just stopping writing.

How to generate pdf from html using php

I have been working on generating pdf using php. I was using ezPDF which is free, but not that much good. It is always mind stretching and panic to generate pdf by using free libraries. I was looking for a way that can generate pdf from html directly. Thre are many way to get pdf from html by means of generating ps files then ps to html.

There is only one good solution which can easly generate pdf from html is tufat’s html2ps and html2pdf.

Its free and amazing, Download It Free | Download the Developmental v.1.9.6

Note: If you are using html2pdf, you will find that if you use render image option enabled with fpdf selected, sometimes you will get the page not found error. if you not select image render option then pdf generate just fine. To solve this problem, download output.fpdf.class.php and replace with your existing one.

Enjoy your pdf generation from html and don’t forgot to thanks tufat.com for such excellent work.

Images/Icon In ComboBox

I have noticed that many developer facing problem of how to display icon along with the selected item in combo box. I know there is no proper solution for it. Some how i managed to get it done correctly. Its still not proper way but it can be really good solution for who want to use it.

I have used Jesse Warden’s Example on Dynamic Icons in a ComboBox.

Check it out following working example:

Download: Dynamic Icon in ComboBox.zip

I didn’t tested it much, but let me know or comments here if it makes selected item unstable.

ls: .: Stale NFS file handle + Samba + Windows 2003 Server

It has been long time since i have configured anything on linux machine. It has been many times we need to do networking between windows and linux machine, it can be done with samba very easly as per we all know. Anybody who don’t know what is samba, then visit Samba Website for more infromation on samba.

I have windows 2003 server which is usually in networking with linux machine. Problem has been started when i mounted windows 2003 share on linux. When i do “ls” command its giving me “ls: .: Stale NFS file handle”, this error is most common error found by everybody. I tried to find solution for it but no luck. Some how i have manage to get the solution.

There are one important step when you issue smbclient. Use following smbclient command:

smbclient -L WindowsMachineName -U WindowsMachinePassword

Do not use ip instead of windows machine name. Always use Machine name.

Now next step is to do mounting of windows share to linux.

mount -t smbfs -o username=”MachineName\Username”,password=”Password”
//MachineIP/SharedName /mnt/SharedDirectory

Create same sharenamed directory inside your /mnt directory. Suppose you have sharename “abcd” on windows machine then create directory “abcd” inside the /mnt directory of linux.

Now use the following mount command to mount the windows share.

After issue above command try to do ls /mnt/Shared Directory in our case it will be /mnt/abcd, you will probably get this error:
“ls: .: Stale NFS file handle”

This is where you mostly stuck and start looking or finding solution for it.

Lets solve it..here is the most common solution that works for me.

Solution:
Just a quick note in relation to Windows 2003 Servers.

You may receieve this error message if your server is “Digitally signing” communications.

To disable this, alter two policies, in the Default Domain Controller Security Settings. Under Local policies, Security Options.

Disable Microsoft network server: Digitally sign communications (always)
Disable Microsoft network server: Digitally sign communications (if client agrees)

Remember to run gpupdate.exe when finishes or you’ll have to wait for Windows to do it at the scheduled interval.

After you did this umount that shared on linux and mount it again.

If you do now ls command, You can see all directories and files of your windows shared on mounted directory in linux. I hope this can be usefull to everybody who facing same problem.

Post your comment if you are having still difficulty or another kind of solution for same situation.

Note: I assume who are reading this, knows already how to install, setup and configure samba.

30 Ajax Tutorials

Max Kiesler has put together a nice Round-up of 30 Ajax Tutorials in which he scoured the web to find the various tutorials on parts of Ajax out there.

AJAX Client-Server Communication Tutorials

AJAX Drag and Drop Tutorials

AJAX Form Tutorials

AJAX File Uploader Tutorial

AJAX Framework and Toolkit Tutorials

Ajax Getting Started Tutorial

Ajax Image Gallery Tutorial

Ajax Keyword Suggest Tutorials

AJAX Live Search Tutorials

Ajax Rounded Corner Tutorials

Ajax Sorting Tutorial

Ajax Tabbed Pages Tutorials