I got this connector in a CIS sensor board
the connector is 18 pin , dimensions (around 5mm X 18 mm )
Here's some images for it the male & female
The cable is a "flat flex cable" (FFC). The connector is one of several hundred different types made for FFCs. Without a LOT more information it would be almost impossible to narrow it down further.
For starters, we don't know the manufacturer. Look carefully at the connector and there might be some identifying marks. Next would be to know what the conductor pitch of the cable is. Common values are 1.0, 0.8, 0.65, and 0.5 mm. Those two pieces of info, along with what you've already given us, might narrow it down to at least a product series.
I think that the socket you have is one like this
Pitch FPC / FFC Connector (Flip-Lock Type) : http://jinlong.en.alibaba.com/product/50907754-50158186/0_5_Pitch_FPC_FFC_Connector_Flip_Lock_Type_.html
this is a datasheet for it: http://www.hirose.co.jp/cataloge_hp/e58605370.pdf
and the connector is a FFC cable this is a datasheet for the 18-pin connector: http://www.parlex.com/tech_library/PS-1635RevB1.pdf
I don't know the exact part number, but this will get you close:
Go to Digi-Key. http://digikey.com
Enter "FFC connector" in the search box.
Click on "FFC, FPC (Flat Flexible) - Connectors - Board Mount"
Select Number of Positions as 18
Select Pitch as 0.5mm
Select "Flip Lock" (that's how your opens, right?)
Click "Apply filters" and look at the pictures in the results. You might make more measurements, e.g. height above PCB, to narrow the results some more.
One of the parts that you'll find with this procedure is Hirose FH19SC-18S-0.5SH(05):