Hello I can not find a tab to csv converter, any one here now about a php file to convert tab to csv

You'll probably find all the documentation right here
http://us.php.net/manual/en/function.fputcsv.php

How can I apply this to the file attached

???
Thank you

Attachments
428943	100			   Homes - Yuma City Homes - Yuma County Homes - Fortuna/Foothills Homes - San Luis/Somerton Homes - Tacna/Wellton Homes - Open Houses Homes - Out of Area Acreage Building Sites/Lots Commercial Property Condominiums/Townhomes Manufactured Homes Park Models Residential Lots RV Lots Wanting to Buy - Real Estate
428955	101			    Publisher's Notice:       All real estate advertised herein is subject to the Federal Fair Housing Act, which makes it illegal to advertise any preference, limitation, or discrimination based on race, color, religion, sex, handicap, familial status, or national origin, or intention to make any such preference, limitation or discrimination."   We will not knowingly accept any advertisement for real estate which is in violation of the law. Our readers our hereby informed that all dwellings advertised are available on an equal opportunity basis.
432237	105			          YOUR PARADISE  IS WAITING!  Your new home features gorgeous gardens, splashes of color, great gathering spaces for family and friends. 4 bedrooms, 2 baths plus spa room and a delicious pool. Breakfast bar connects kitchen to family room, so you never miss the action. Oversizedgarage, formal dining room, brick fireplace, plantation shutters. Come tour today. Owner very anxious, priced now only $239,750 (best price in San Marcos Villas). Sondra Lindsey Realty Executives 928-580-8800 Buyer's Gain, Seller's Loss!
432507	105			4 bdrm, 2 ba 2 car garage, near Cibola High, owner moving out of state need to sell asap. As is. 4868 W. 19th Pl $135,000 Call Kassie 928-580-1009
432754	105			GORGEOUS 4 bdrm, 3 ba home in Barkley Ranch.  Corner house, Lots of upgrades. 3 car, RV access, water fall, entertainment with surround sound in house, granite countertop. $375,000 Ramon or Blanca 928-941-6453 or 928-919-2584
433386	105			Beautiful Home for Sale 1165 South Hereford Ave. Yuma, Arizona.    Approximately 2,400 sq.ft. home, sits on approximately 1/3 acre lot, beautiful pool area. This is a 4 bedroom home with 3 bathrooms. It comes with travertine floors, real wood doors, fireplace, crown molding, new plumbing, new paint, new plumbing fixtures, 4 car garage, with work shop area, mature landscaping, irrigation system, new roof coating and home warranty. A must have beautiful custom home. Only $359,000/obo!! By appointment only 928-782-0550
434431	105			Investment property for sale. Single family residence. Rents for $900 Good renters. Price negotiable.Owner/Agent 928-919-3377
434439	105			      5 BEDROOM, 3 BATH, With Wood Floors   YouTube.com For Your Personal Tour   Go To Search and Type In Yuma Home Cook   Then You May Take a Much Closer Look!  928-210-5708 $349,000/obo
434497	105			1786 W. 29TH ST. 1,280 sq. ft., mas. bdrm w/ba + 2 bdrms & ba, firepl, 2 car garage, near hospital/shopping. $139,900. Hacienda Estates. 928-345-8028
434817	105			PRICE REDUCED! OWNER VERY ANXIOUS TO SELL. 1878 S. 36th DR.  Nearly new 1,816 sq ft home in Piccacho subdivision, 3 bdrm, 2 ba, 3 car garage, split floor plan, tile flooring, granite counters, upgraded cabinets, stainless appliances, landscaped backyard, tinted windows, wood blinds, custom fencing, upgraded lighting, walk-in closets, tiled bathrooms, vaulted ceilings, garage cabinets. Very spacious. A must see. $286,000, reasonable offers accepted. 928-581-9229 or 928-344-9104
434866	105			2703 S. 17th Ave. 1,680 sq. ft., mas. bdrm w/ba + 2 bdrms & ba, fireplace, near hospital/shopping. $141,900. Hacienda Estates. 928-345-8028
435016	105			$215,000. VERY NICE! 3 bedroom, 2 bath, yard. POOL. Garage. Off Avenue B.  Call 928-580-8899 (AZ lic. Realtor owner)
435505	105			4248 W. 12th St. Yuma New 4 bdrm, 3 ba home. 2,050 sq. ft. Ceramic tile throughout, carpet in bdrm, granite countertops, big lot, large patio w/ outdoor bath, tile roof & much more. $270K. 928-919-3242.
435519	105			3804 Dale St. Yuma, AZ 4 bedroom, 2 bath,  ceramic floor tile, carpet  in bedrooms. 1,460 sq.ft. $165,000. Under consrtuction. 928-919-3242  
436598	105			GREAT HOME, RANCHO SERENADE, PRICED RIGHT! FSBO: Beautiful, 4 bdrm, 2 ba, garden tub in master ba, 1,456 sq. ft. New paint & new carpet in most of the house. Must see to appreciate only $115,500.  OPEN HOUSE  EVERY SAT. & SUN.  FROM 11AM - 4PM AT  3020 S. KINNOW AVE.  OR CALL 928-919-2083. 
432115	110			FOR SALE/TRADE 3 ACRE LOT ,  4,000 SQ.FT. HOME, POOL. Shop w/three roll-up doors, basketball court, trees. Very secluded. Will take smaller property as down payment.  Will negotiate. 928-257-5497
436276	110			BEAUTIFUL 2,700 SQ.FT. SANTE FE STYLE  CUSTOM HOME,  4 bdrm, 4 bath oversized 3 car garage on 2 acres. $550,000. 928-246-8180 visit <A TARGET="_top" HREF="http://www.yumanow.com">www.yumanow.com</A>
425860	115			FSBO 12148 E. 34Th Pl. new home in Sierra Ridge, 2,165 sq. ft., 4 bdrm, 2 ba, salt water pool/spa, no neighbors behind the home, and so much more! $399,000. Call 928-941-0012 Realtors Welcome!
431289	115			13663 E. 44th St. 2 bdrm, 1 1/2 bath mobile, on lot w/ great mtn. views! Lot alone worth $75K. Asking $75K/firm. 928-785-2946
432226	115			 2 bedroom, 2 ba, sun screens, fresh paint, new carpet & ceramic tile, auto sprinklers, see online at <A TARGET="_top" HREF="http://www.forsalebyowner.com">www.forsalebyowner.com</A> or call 928-342-2599 evenings and weekends. FSBO: PRICE REDUCED! 10539 Ruby Dr.
434077	115			 11451 E. 27TH PL  4 BEDROOM, 2 BATH, 2,050 sq. ft., tile roof, fireplace, extra well insulated walls, jacuzzi tub surrounded by decorative pond, double gated RV access w/hookups inside yard. FSBO, $259,000/obo.   CALL FOR YOUR APPOINTMENT TO SEE THIS BEAUTY! 928-920-0287 MOUNTAIN VIEW ESTATES
435524	115			FSBO 11808 S. Hunter 2 fenced lots 106X124, 2RV spots,  dble garage, 3 bdrm, 2 ba, doublewide, AZ room, appl, nice yard, citrus, R/O & H2O, $129,500 Info. 503-704-3983 or 503-286-5444
435761	115			Sierra Ridge- 3 bdrm, 2 ba, 1,700 sq.ft. F/P, built-in entertainment center, fully landscaped, pool, lots of stamped concrete. $265,000. 928-446-4075, 928-315-9392. 12136 E. 33rd Street.
436029	115			CHARMING HOME  IN TAMARACK! 4 Bdrm, 1.75 ba, 2,089 sq.ft. Pool, tile, shutters, ez landscape & much more! 7859 E. Topeka Pl. $279,000. 928-581-7786 Will work with agent.
436572	115			FSBO-  BEAUTIFUL  2,100 SQ.FT. HOME.  3 bedroom, 2 full bath, living room, family room, office/den, 2 car garage on big 1/2 corner lot with mature trees. Tiles throughout. $239,000. Phone 928-342-3914
429232	120			RENT TO OWN 3 BEDROOM, 2 BATH Semi new, great location,  Please Call  Sandra @ 928-246-0112
433927	120			Subdivision Los Alamos, San Luis, AZ. 3 bdrm, 2 bath, patio, ceramic tile throughout, carpet in bedroom. 1,250 sq.ft. $140,000. 928-919-3242 or 928-627-9163. Home under construction.
434887	120			Charming 2 bedroom, 1 bath brick home in Somerton. Large fenced lot. Great location. Next door to park, library, youth center & close to middle school. $92,500. 928-210-0757
435516	120			1838 San Pedro, San Luis, AZ- 3 bedroom, 2 bath ceramic tile throughout, carpet in bedroom. 1,050 sq.ft. $135,000. 928-919-3242 or 928-627-9163. Home under construction.
436066	120			3 BDRM, 2 BA + laundry room, 1,200 sq.ft.  built in 2005 at Vargas Estates.  All appliances included. 10-min drive to  Yuma. $144,000.928-580-9050 / 928-627-1313
434165	125			Beautiful 1,877 sq.ft. home on 1/2 acre at Antelope Mountain. 3 bdrm, 2 ba + den. Open split floor plan w/ lots of upgrades. $244,900. Agent fee negotiable. Call 928-785-9302 or 928-941-4845
432448	135			OWN YOUR OWN HOME In the tall pines of Munds Park  17 miles south of Flagstaff on I-17. Only $28,500 to $45,000 1-800-243-1309
436085	135			LARGE DOUBLE LOT IN COOL SHOWLOW CROSSROADS SUB. (AZ), appx. 2/3 acre, all utilities, beautiful panoramic views $38,000. 928-242-9062
436551	135			VOTED BEST SMALL TOWN IN ARIZONA! (PAYSON, AZ)  FSBO, 3 BEDROOM, 2 BATH, 1,340 sq. ft., Santa Fe style gas fireplace, new granite countertops, ceramic tile, carpet, appliances, automatic irrigation / landscaping, $287,500. Sale price is below appraisal.  928-474-5538
422870	140			Roll Area 7.75 acres zoned heavy industrial has R/R and I-8 Frontage as well as 36E on ramp off ramp access. $39,500 per acre;  Dateland area 3 one acre parcels has Frontage Rd access, $16,000 per acre. $3,000 down. balance carryback; AZTEC AREA 80 acres zoned AG, has 1/2 mile I-8 Frontage, will sell 40 acre parcel if needed. $7,500 per acre; Dateland RV Lot 60'x100' $4,800; Terms available. 928-783-3489 or 928-388-8186
433413	140			     4 ACRE LOT  Zoned SR2, irrigation, electric,  MUST SELL,  First $215,000 TAKES IT ALL! 928-941-1360 NEW NUMBER: Phone number in ad corrected!
433939	140			Lots for sale! 5 contiguous lots in Tanca Arizona. Citrus Park unit 1. Lots  107 - 111 Citrus Circle. Must sell all 5  together for $75,000 or offer. Lots are approximately 60' x 100'.  Owner/agent  928-919-2788
435575	140			FSBO: 4 bedroom, 2 bath home on a 2 acre lot.  2 car garage.  Great for horse lovers.  $385,000 928-580-9787
436204	140			2.11 ACRES IN NORTHERN ARIZONA, COOL IN THE PINES OF FLAGSTAFF, AZ. Water, electric, and natural gas, septic. Ready to move Mobile in, or build. Perfect for second getaway home, or retirement. Great neighborhood, paved road, 5 mi from town, quiet. Friendly country store nearby. Must sell due to death in family. Price reduced. Please leave message 928-526-0700 Thanks.
436048	165			INVESTORS DREAM! Great income opp! 4-units. Near historic downtown. Only $350,000. 650 W. 3rd St. Call 512-365-3226.
436205	165			MOBILE & RV PARK  FOR SALE 386 May Ave -  Van Dyke Park. For more information call 928-783-5252
434407	170			1408 S. Sunset Drive $175,000 Call Andrew at 928-941-0444 3 bedrooms, 2 bath with fireplace with no rear neighbors. New roof, A/C unit, tank-less water heater, water softener, stove, dishwasher, sink, matching remote ceiling fans, fully finished garage with built in cabinets. House overlooks the east main canal; enjoy beautiful sunsets and easy access to the jogging path. Backyard is covered, designed with light vegetation with very low maintenance.
433850	175			MOBILE HOME & CAR COMBO1 bedroom, 1 bath, 12'x54' and 1991 Buick Par

How can I apply this to the file attached

???
Thank you

Copy this function to your php file if fputcsv() is undefined: http://us.php.net/manual/en/function.fputcsv.php#77866

and then put the following code on the same page:

$contents = file("dtifeed.txt"); //your path/file with read permission
$handle = fopen('file.csv'/*some other path/file with write permission*/, 'w');
foreach($contents as $line)
{
	fputcsv($handle, explode("\t", $line));
}
fclose($handle);

Copy this function to your php file if fputcsv() is undefined: http://us.php.net/manual/en/function.fputcsv.php#77866

and then put the following code on the same page:

$contents = file("dtifeed.txt"); //your path/file with read permission
$handle = fopen('file.csv'/*some other path/file with write permission*/, 'w');
foreach($contents as $line)
{
	fputcsv($handle, explode("\t", $line));
}
fclose($handle);

This worked thatnk you

This question has already been answered. Start a new discussion instead.