Welcome to Dream.In.Code
Getting PHP Help is Easy!

Join 132,615 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 991 people online right now. Registration is fast and FREE... Join Now!




Help! :)

 
Reply to this topicStart new topic

Help! :)

klewlis
post 16 Oct, 2002 - 08:14 AM
Post #1


cur tu me vexas?

*****
Joined: 9 Nov, 2001
Posts: 1,723

Alright, the following code is not giving an error message, but the results are coming up empty. I know for a fact that the proper line exists, but it just isn't showing up. It was working yesterday *sigh*. Can anyone see something I'm missing?

CODE

<?
$file = fopen("http://www.homeclicking.com/featured/featuredlisting.txt", "r") or die("cannot open feature file");
$id = fgets($file, 100);

$data = fopen("http://www.homeclicking.com/rmhomeclicking/data/listing.dat.cgi", "r") or die ("cannot open data file");
//run through all the lines and store the one which matches $id
while ($lines = fgets($data)) {
    if (eregi("^".$id."ˇ", $lines)) {
 $info = explode("ˇ",$lines);
    }
}
echo "<img src=\"http://www.homeclicking.com/rmhomeclicking/listings//images/$info[4]\" width=\"160\">\n";
echo "<p>$info[25] $info[21]<br>\n";
echo "$info[14], $info[16]</p>\n";
?>
User is offlineProfile CardPM

Go to the top of the page

Noffke
post 16 Oct, 2002 - 08:21 AM
Post #2


D.I.C Regular

***
Joined: 9 Aug, 2002
Posts: 497


My Contributions


I don't know anything about php, but I will take a stab.......

Do you have to specify the size of the data you want to get in the
fgets($data) function call that is in the while loop? Or does fgets() just get a line if no size is specified?

I just noticed that the first call to fgets() uses a size.
User is offlineProfile CardPM

Go to the top of the page

klewlis
post 16 Oct, 2002 - 08:26 AM
Post #3


cur tu me vexas?

*****
Joined: 9 Nov, 2001
Posts: 1,723

yeah it works either way. You can specify a size if you want to limit it, but you don't have to (that was working yesterday too...).

It seems to be not matching the string, because I can't seem to get the eregi to return true... but I *know* there's one line that matches because I'm staring at the data file.

The only thing I've changed today is the fopen path...yesterday it was a relative path and today it's a url, but I tried changing it back and it didn't seem to make a difference, so I have no clue...
User is offlineProfile CardPM

Go to the top of the page

Noffke
post 16 Oct, 2002 - 08:41 AM
Post #4


D.I.C Regular

***
Joined: 9 Aug, 2002
Posts: 497


My Contributions


I don't know how easy it is to debug php, but I would just print out the $lines as you get them and compare them to what you are supposed to get yourself. I'll shut up now, since I have never done any php...I'll let someone who actually knows what they are talking about help you..... smile.gif

Noffke
User is offlineProfile CardPM

Go to the top of the page

klewlis
post 16 Oct, 2002 - 08:48 AM
Post #5


cur tu me vexas?

*****
Joined: 9 Nov, 2001
Posts: 1,723

when I try to print all the lines it only prints one (?)

The data file looks like this:
CODE

#!D:\Perl\bin\Perl.exe
print"Content-type: text/plain\n\nEdis Realty Manager v2.16 data file.";
__END__
22ˇ3ˇ1026065986ˇ1031888933ˇ22_1.jpgˇ22_2.jpgˇ22_3.jpgˇ22_4.jpgˇ22_5.jpgˇ22_6.jpgˇ22_7.jpgˇ22_8.jpgˇ22_9.jpgˇˇCarrington Placeˇ975/2002ˇEdmontonˇMulti family residentialˇ$119,900ˇˇExtremely well kept 1063 sq ft low rise condo, neutral carpet & colors throughout, upgrades include garburetor, extended 15.9 x 15.3 patio, storm door, upgraded bathroom lighting, 2 lazy susans.  Oak &quot;U&quot; shape cupboards, nook eating area, both inside and outside storages, his/hers closets in master bedroom, ensuite off master.  Close to shopping mall.  This condo shows 10+.  Restrictions 45+ˇCondoˇ2ˇ2ˇLow Riseˇ99m2/1063 sq ftˇˇ1993ˇ780-439-7000ˇkristineh@remax.netˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇ
12ˇ3ˇ1029205942ˇ1032708092ˇ12_1.jpgˇ12_2.jpgˇ12_7.jpgˇ12_3.jpgˇ12_4.jpgˇ12_5.jpgˇ12_6.jpgˇ12_8.jpgˇˇˇCounty of LeducˇˇBeaumontˇCountry Residentialˇ$252,400ˇˇWow!! Check this out.Renovations are all done and ready to move in. 2700 square foot bungalow built on a hill and open to the south. Cool in the summer and warm in the winter. Upgrades include, paint, flooring, furnace, siding shingles. Open floor plan boasts a huge family room, large eating area, master bedroom has patio doors leading onto the deck. Triple attached garage, all on 3 well treed acres.   ˇAcreageˇ4ˇ3ˇBungalowˇ250 m2 / 2700 square feetˇ3 acresˇˇ780-980-0635ˇarnoldh@remax.netˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇ
14ˇ3ˇ1030018133ˇ1030018520ˇ14_1.jpgˇ14_2.jpgˇ14_3.jpgˇ14_4.jpgˇ14_5.jpgˇ14_6.jpgˇ14_7.jpgˇ14_8.jpgˇ14_9.jpgˇ14_10.jpgˇBearspawˇ$2026/2002ˇEdmontonˇCondominiumˇ$239,900ˇˇWow!!.  This home is absolutely georgeous, shows like brand new, 2 + 1 bedroom townhouse condo.  Dining room boasts bay window, glass door fireplace with tile surround & oak mantle in living room.  Large windows offers bounty of lights throughout home, vaulted ceilings, huge master bedroom with jacuzzi tub, 2 skylights, 2 air conditioners, 2 hot water tanks (1 tank-1yr old), & 2 furnaces.  Oak throughout with custom built in oak entertainment unit & selves in family room.  Too many features to mention. A must to see.  Large corner yard with additional park pad.  ˇCondoˇ2ˇ2ˇTownhouseˇ2277 sq ft/211.62m2ˇˇ1980ˇ780-439-7000ˇkristineh@remax.netˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇ
1ˇ2ˇ1030563464ˇ1033757919ˇ1_1.jpgˇ1_2.jpgˇ1_3.jpgˇ1_5.jpgˇ1_6.jpgˇ1_5.jpgˇ1_6.jpgˇ1_4.jpgˇ1_9.jpgˇˇMeadowlark - Edmontonˇ1571ˇEdmontonˇˇ$159,000ˇˇ****SOLD for 158,000******ż0aż0aLovely bungalow.  Recently renovated.  Open concept.  Spacious kitchen overlooking the backyard.  Hardwood floors in living room and dining room.  Walking distance to Meadowlark Mall, medi centre, restaurants, banks, public transportation.  Great access to downtown.  ˇHomeˇ4ˇ2ˇbungalowˇ1060 ft2ˇˇˇ458-8300 ˇ411@SusanJaksich.comˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇ
2ˇ2ˇ1031073538ˇ1033757874ˇ2_1.jpgˇ2_2.jpgˇ2_3.jpgˇ2_4.jpgˇ2_5.jpgˇ2_6.jpgˇ2_7.jpgˇ2_8.jpgˇ2_9.jpgˇ2_10.jpgˇDelwood - Edmontonˇ$1448 for 2001ˇEdmontonˇresidentialˇ$149,900ˇˇ*** off the market for now****ż0aż0aSpacious home in on a quiet Delwood street.  Walking distance to schools and shopping.  Home needs some updating, but has great potential.  Area also supports it.  For more details, call Susan at 458-8300ˇHomeˇ3ˇ1ˇbungalowˇ1105 ft2ˇˇ1965ˇ458-8300ˇ411@SusanJaksich.comˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇ
7ˇ2ˇ1031265558ˇ1033757950ˇ7_1.jpgˇ7_2.jpgˇ7_3.jpgˇ7_4.jpgˇ7_5.jpgˇˇˇˇˇˇNOVA Village - NW Edmontonˇ1268 - approx.ˇEdmontonˇˇ$154,500ˇˇVery spacious, brand new duplex in desirable location.  Only 3 left. Fully equipped with 5 appliances, garage opener, deck, fireplace, full ensuite and walk in closet, fully landscaped and GST included.  NO HIDDEN COSTS.  Great value.  Only 3 left.  Call Susan for more details.ˇDuplexˇ3ˇ3ˇ2 storyˇ1800 ft2ˇˇ2002ˇ458-8300ˇ411@SusanJaksich.comˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇ
8ˇ3ˇ1032880717ˇ1034357722ˇ8_1.jpgˇ8_2.jpgˇ8_3.jpgˇ8_4.jpgˇ8_5.jpgˇ8_6.jpgˇ8_7.jpgˇ8_8.jpgˇˇˇWillow Parkˇ1753/2002ˇLeduc CountyˇResidentialˇ$132,900 SOLDˇˇVery well maintainied 1180 sq ft home, newer paint, carpet & lino upgraded.  Shingles 1 yr old.  Very bright L-shaped living room/dining room.  3 + 1 bedrooms, with ensuite off master bedroom.  Perfect for the first time home owner.  Shuffle board in basement stays.ˇHomeˇ4ˇ3ˇBi-levelˇ109.67 m2/1180 sq. ft.ˇ16.76m2 X 42.67 m2/55 X 140 ftˇ1973ˇ780-980-0635ˇarnoldh@remax.netˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇ
9ˇ2ˇ1032892579ˇ1033757845ˇ9_1.jpgˇ9_2.jpgˇ9_3.jpgˇ9_4.jpgˇ9_5.jpgˇ9_6.jpgˇ9_7.jpgˇ9_8.jpgˇˇˇLondonderry - Edmonton ˇ1500ˇEdmontonˇˇ159,000ˇˇ**** SOLD for 155,000ż0aż0aExtremly well looked after home. Only steps to Londonderry Mall. New carpet over hardwood - through out the house.  New ceder fence, furnace and HWT.  Oversized double heated garage with 1 door for RV's.  Newer spacious oak kitchen.  Private backyard with large deck and mature trees.  Appliances included.  ˇHomeˇ4ˇ1ˇbungalowˇ1150 ft2ˇˇ1969ˇ458-8300ˇ411@SusanJaksich.comˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇ
10ˇ2ˇ1032893192ˇ1033757901ˇ10_1.jpgˇ10_2.jpgˇ10_3.jpgˇ10_4.jpgˇ10_5.jpgˇ10_6.jpgˇ10_7.jpgˇ10_8.jpgˇ10_9.jpgˇˇGibbonsˇ1350/01ˇGibbonsˇˇ104,900ˇˇ**** SOLD for 104,900****ż0aż0aFully finished, lovely home.  Won't last long at this price.  Spacious sunny kitchen, 2.5 baths, fully developed basement.  Fenced and private with a large deck and double ditached garage (shingles redone 2 months ago).  Shingles on the house only 4 years old.  This house is spacious and very well looked after.  Also comes with 4 appliances. Just move in.ˇHomeˇ3ˇ3ˇ2 storyˇ111 m2ˇˇ1979ˇ458-8300ˇ411@SusanJaksich.comˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇ
3ˇ2ˇ1033263228ˇ1033263355ˇ3_1.jpgˇ3_2.jpgˇ3_3.jpgˇ3_4.jpgˇ3_5.jpgˇ3_6.jpgˇ3_7.jpgˇ3_8.jpgˇ3_9.jpgˇˇBlue Quill - Edmontonˇ2123 for 2002ˇEdmontonˇˇ$199,900ˇˇGreat big house in Blue Quill.  Over 2200 ft2 above grade.  4 bedrooms, 3 baths, 2 fireplaces.  All windows are large and in great shape and have been capped.  House needs paint and carpets, but otherwise in great shape.  Backing onto greenbelt.ˇHomeˇ4ˇ3ˇ2 storyˇˇˇ1976ˇ458-8300ˇ411@SusanJaksich.comˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇ
4ˇ2ˇ1033757546ˇ1033757805ˇ4_1.jpgˇ4_2.jpgˇ4_3.jpgˇ4_4.jpgˇ4_5.jpgˇ4_6.jpgˇ4_7.jpgˇ4_8.jpgˇ4_9.jpgˇ4_10.jpgˇClareview - Edmontonˇ1508 for 2002ˇEdmontonˇˇ$159,900ˇˇSpacious and bright fully finished end unit in desirable Ravine Estates.  Hardwood floors in living room and dining room, pillars, gas fireplace.  4 bathrooms, jacuzzi ensuite, walk in closet.  Unique upgrades to this unit are: full laundry with sink on the second floor, extra windows, pantry and island in the kitchen, finished & heated garage.  Great condition and location.  Condo fee includes cable.ˇHomeˇ3ˇ4ˇ2 storyˇ1435 ft2ˇˇ1997ˇ458-8300ˇ411@SusanJaksich.comˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇ
5ˇ2ˇ1034189952ˇ1034264938ˇ5_1.jpgˇ5_2.jpgˇ5_3.jpgˇ5_4.jpgˇ5_5.jpgˇ5_6.jpgˇ5_7.jpgˇ5_8.jpgˇ5_9.jpgˇˇWestmount - Edmontonˇ1316ˇEdmontonˇresidentialˇ$136,900ˇˇCharacter home in beautiful Westmount.  You'll fall in love with this recently upgraded and decorated home on a huge lot.  Refinished hardwood in living room and bedrooms.  Upgraded electrical, plumbing, furnace and windows.  Shingles, fence, batroom and family room redone less than 6 months ago.  So cozy, you'll want to call it HOME!!ˇHomeˇ2ˇ1ˇbungalowˇ7d1.4 m2ˇ650 m2ˇ1948ˇ458-8300ˇ411@SusanJaksich.comˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇ
6ˇ3ˇ1034358164ˇ1034358444ˇ6_1.jpgˇ6_2.jpgˇ6_3.jpgˇ6_4.jpgˇ6_5.jpgˇ6_6.jpgˇ6_7.jpgˇ6_8.jpgˇ6_9.jpgˇ6_10.jpgˇBridgeportˇ3080/2002ˇLeducˇResidentialˇ$229,900ˇˇBeautiful 2 story home built in 2001 with 23 x 24 bonus room over garage.  Bright & spacious kitchen/nook is highlighted with oak cabinets, pewter lighting, & walk-in pantry.  Living room boasts gas fireplace, large open windows overlooking deck & fully landscaped backyard.  Neutral color flooring & lino. Main floor laundry.  Alberta new Home warranty till 2005.  HOME SHOWS 10+.ˇHomeˇ3ˇ3ˇ2 Storeyˇ1908 Sq. ft./177.3 m2ˇˇ2001ˇ780-980-0635ˇarnoldh@remax.netˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇ
11ˇ3ˇ1034444176ˇ1034444592ˇ11_1.jpgˇ11_2.jpgˇ11_3.jpgˇ11_4.jpgˇ11_5.jpgˇ11_6.jpgˇ11_7.jpgˇ11_8.jpgˇ11_9.jpgˇˇSouth Telford, Leducˇ$1,330/2002ˇLeducˇResidentialˇ$134,900ˇˇ1100 sq. ft. bungalow featuring 2 + 2 bedrooms, fully finished basement, 2 newer furnaces and new hot water heater.  All newer vinyl windows throughout, large backyard with double detached garage.  Located just 2 blocks from East Elementry school, close to all multi way walking paths and across street from Telford Lake.ˇHomeˇ4ˇ2ˇBungalowˇ1100 sq. ft./102.23 m2ˇ14.63 x 38.10ˇUnknownˇ780-980-0635ˇarnoldh@remax.netˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇ
13ˇ3ˇ1034613035ˇ1034617194ˇ13_1.jpgˇ13_11.jpgˇ13_3.jpgˇ13_4.jpgˇ13_5.jpgˇ13_6.jpgˇ13_7.jpgˇ13_8.jpgˇ13_9.jpgˇ13_13.jpgˇLarkspurˇ$2,343/2002ˇEdmontonˇRF1ˇ$237,900ˇˇBeautiful 1854 sq ft 2 storey home built by Jaymen Homes in 1999.  Home has oak pkg throughout including raise oak kitchen cabinets.  Kitchen features centre island, walk-in pantry, with large dining room windows providing lots of day time lighting.  4 pce. ensuite features 60&quot; shower & soaker tub.  Bonus room over garage, 23' x 23' insulated & heated garage.  ˇHomeˇ3ˇ3ˇ2 storeyˇ1865 sq ft/172.31 m2ˇpie shape 8.87 x 32.92mˇ1999ˇ780-439-7000ˇarnoldh@remax.netˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇ
15ˇ3ˇ1034685135ˇ1034685399ˇ15_1.jpgˇ15_2.jpgˇ15_3.jpgˇ15_4.jpgˇ15_5.jpgˇ15_6.jpgˇ15_7.jpgˇ15_8.jpgˇ15_9.jpgˇ15_10.jpgˇBridgeport Wyndˇ$2,811/2002ˇLeducˇRF1ˇ$243,900ˇˇExquisite 1,440 sq. ft. bungalow with stucco exterior, arch & pillar over front door, built by Sherbilt Homes in 1999.  This home is full of upgrades.  Some of the features include vaulted ceilings in living rom & kitchen, rounded drywall corners, full oak pkg, including raise oak cabinets.  Patio doors off nook leading to deck featuring white aluminium railing, ground patio & fenced yard.ˇHomeˇ4ˇ3ˇBungalowˇ1440 sq. ft/ 133.8m2ˇˇ1999ˇ780-980-0635ˇarnoldh@remax.netˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇ
16ˇ3ˇ1034685985ˇ1034686261ˇ16_1.jpgˇ16_2.jpgˇ16_3.jpgˇ16_4.jpgˇ16_5.jpgˇ16_6.jpgˇ16_7.jpgˇˇˇˇWetaskiwinˇ$1,601/2002ˇWetaskiwinˇRF2ˇ$124,900ˇˇ1100 sq. ft. bi-level with full basement suite which includes kitchen, family room, & 2 bedrooms.  Home has 5 bedrooms in total, Large kitchen upstairs features newer raised oak cabinets.  Upstairs carpet & lino all in excellent shape.  Home very well maintained & shows extremely well.  Perfect for the investor or first time home buyer.  For showings call first, if no answer, go direct.ˇHomeˇ5ˇ2ˇBi-levelˇˇRetangular corner lot 50' x 140'/15.24 x 42.67m2ˇ1969ˇ780-980-0635ˇarnoldh@remax.netˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇ
17ˇ2ˇ1034704098ˇ1034704269ˇ17_1.jpgˇ17_2.jpgˇ17_3.jpgˇ17_4.jpgˇ17_5.jpgˇ17_6.jpgˇ17_7.jpgˇ17_8.jpgˇ17_9.jpgˇ17_10.jpgˇLondonderry/ York - Edmonton ˇ777.28 for 2002ˇEdmontonˇˇ$107,900ˇˇImmaculate 1350 ft2 townhouse with underground parking & direct access to unit.  Brand new oak kitchen, brand new 6 appliances (double sided frige & flat surface stove).  Newer lino, parquet under carpet in living room.  Huge windows, replaced in last 2 years.  Master bedroom walk in closet converted into a shower, other wall to wall closet remained.  Low condo fee, strong reserve fund. Great complex across from Londonderry mall.  ˇTownhouseˇ3ˇ3ˇ2 storyˇ1350 ft2ˇˇ1968ˇ458-8300ˇ411@SusanJaksich.comˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇ


The only part that's showing up is the " Edis Realty Manager v2.16 data file." from line 2.

hrm... those are too long to show the format, but it's about 15 long, delimited lines of text. :)
User is offlineProfile CardPM

Go to the top of the page

klewlis
post 16 Oct, 2002 - 08:55 AM
Post #6


cur tu me vexas?

*****
Joined: 9 Nov, 2001
Posts: 1,723

hm... It seems that because I'm opening a url it's processing the cgi before returning it... grr...
User is offlineProfile CardPM

Go to the top of the page

skrilla
post 16 Oct, 2002 - 12:45 PM
Post #7


boots.

*****
Joined: 5 Jul, 2002
Posts: 2,848



Dream Kudos: 14
My Contributions


i try to stay away from opening files in URLs...you say its coming up empty? like the page shows nothing? or an error?

and always do the most important check: names and urls etc to see if they match. misspelled things are the devil mad.gif

but i trust you're competent enough to be OK right now wink2.gif

ill try to work on this some more...sorry. something that bothers me: why do you use "i" as your delimiter? i usually use something like \t or \n or some symbol i know won't be used for keeping the file clean of characters. because in regular english, people will use the letter "i" all the time, so its try to use THEIR "i"s in the way PHP wants to use them instead of just being plain old text. try to use something specific to PHP.
User is offlineProfile CardPM

Go to the top of the page

klewlis
post 16 Oct, 2002 - 01:27 PM
Post #8


cur tu me vexas?

*****
Joined: 9 Nov, 2001
Posts: 1,723

it's not an "i", but a special character (you might not be able to tell with this font but it actually extends below the baseline).

I figured out how to make it work with relative paths. It's just a pain because I'm using it for two different domains on the same server, so includes and fopens and all that are more complicated. :P

But it's good now!
User is offlineProfile CardPM

Go to the top of the page

skrilla
post 17 Oct, 2002 - 12:29 PM
Post #9


boots.

*****
Joined: 5 Jul, 2002
Posts: 2,848



Dream Kudos: 14
My Contributions


glad to hear it smile.gif

sorry i couldnt help...ergh dead.gif


pirate.gif
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/23/08 03:00AM

Live PHP Help!

PHP Tutorials

Reference Sheets

PHP Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month