any php programmers - I needed a simple script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Cunt
    So Fucking Banned
    • May 2002
    • 170

    #1

    any php programmers - I needed a simple script

    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
  • benthompson
    Confirmed User
    • Mar 2002
    • 553

    #2
    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
    Last edited by benthompson; 03-17-2004, 03:08 PM.
    No signature.. I am bored of the signatures aswell..

    Comment

    • wpbdude
      Registered User
      • Mar 2004
      • 75

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

      -wpbdude
      Sig was too big, so I got a better one.


      No fake reality sites here. All sites have new episodes and galleries every week.

      Comment

      • Evil1
        Confirmed User
        • Mar 2002
        • 3893

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

        Comment

        • Jensen
          Confirmed User
          • Apr 2001
          • 3790

          #5
          listen to Evil1...

          Comment

          • Rorschach
            So Fucking Banned
            • Aug 2002
            • 5579

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

            Comment

            • Evil1
              Confirmed User
              • Mar 2002
              • 3893

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

              Comment

              • Cunt
                So Fucking Banned
                • May 2002
                • 170

                #8
                keep em coming....

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

                ICQ me 224425707

                Comment

                • Rorschach
                  So Fucking Banned
                  • Aug 2002
                  • 5579

                  #9
                  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.

                  Comment

                  • Cunt
                    So Fucking Banned
                    • May 2002
                    • 170

                    #10
                    I've got one thanks to Evil1

                    You're a legend

                    Comment

                    • arial
                      Confirmed User
                      • Jul 2002
                      • 4012

                      #11
                      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.

                      Comment

                      • Ash@phpFX
                        Confirmed User
                        • Nov 2003
                        • 4292

                        #12
                        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

                        Comment

                        Working...