GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   any php programmers - I needed a simple script (https://gfy.com/showthread.php?t=254074)

Cunt 03-17-2004 04:51 PM

I need a simple php script that searches a .txt file and displays the data accordingly

I want people to look for a store within their area. They enter a zip/post code and up come any stores within that area. It might be none, one or any other number. I'd like to display the business name, address, phone number and email address.

If there is a business in area 2000, I'll have to source the surrounding areas and put them as result areas too. There might be up to 20 areas that i want this business to be listed in. That is quite and area and that's why there might be more than one displayed depending on the overlap.

If there is no business in an area i need to have a message displayed that states that there is no listing in that area.

Can this be done in php?
How much will it cost without the entries? (I can fill the .txt file as long as you provide me with the format)
How long will it take from the go ahead?
Do you take paypal?

Leave you contact details here :thumbsup

benthompson 03-17-2004 04:55 PM

Ben
ICQ: 45147309

www.xascripts.com
[email protected]

24 hours
Yes we do accept paypal
Yes it is doable with PHP
and Yes it is simple..

Contact me for a price

wpbdude 03-17-2004 04:56 PM

I think my guys have already written something like this. I'll find out and get back with you tonight sometime.

-wpbdude

Evil1 03-17-2004 04:57 PM

yes, and it's quite simple.. don't get ripped off.

Jensen 03-17-2004 05:00 PM

listen to Evil1...

Rorschach 03-17-2004 05:02 PM

You're better off doing that with mysql if you want it to be searchable... but it is simple.

Evil1 03-17-2004 05:05 PM

Quote:

Originally posted by Rorschach
You're better off doing that with mysql if you want it to be searchable...
Explain?

Cunt 03-17-2004 05:22 PM

keep em coming....

I've already collected prices but I'm still open to more

ICQ me 224425707

Rorschach 03-17-2004 05:32 PM

Quote:

Originally posted by Evil1


Explain?

Well if he wants to add relational search later on (for more searchable fields that just location) it's going to be a lot more scalable than using a text file... and for a lot of data it's going to be quicker to pass the operation off to mysql rather than including a text file every time a search happens... JMO of course.

Cunt 03-17-2004 06:31 PM

I've got one thanks to Evil1

You're a legend :thumbsup

arial 03-17-2004 06:33 PM

Quote:

Originally posted by Rorschach
You're better off doing that with mysql if you want it to be searchable... but it is simple.
I agree, mysql is the best way to go when searching for stuff within a database, easier to backup and it's generally faster then searching a lot of flat file db's (.txt files). Mysql all the way on that.

Ash@phpFX 03-17-2004 08:31 PM

i agree, mysql would be the best for this situation, unless there was only a small number of items, then it wouldnt make much difference


All times are GMT -7. The time now is 10:23 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123