Post Code Search

I'm trying to work out how to do a post code search with longitiude and latitude, the idea is to be able to input yuor postcode and the search will return all company stores in that area.

View Replies


ADVERTISEMENT

Post Code

I am requesting a form field which has a UK postcode value eg yo17 9hs, or NE15 7YY. What I need to do is pull out just the first part of the postcode, in this case it will be yo17 and ne15. Anyone help me do this in asp?

View Replies View Related

Code For HttpWebRequest POST

Could someone post some clean code for a HTTPS POST request running from a
server to a 3rd party server in an aspx page.

I have some code that works unreliably. If I try the request from a few web
pages it will not work reliably.

I use ThreadPool.QueueUserWorkItem, myHttpWebRequest1.BeginGetRequestStream,
myHttpWebRequest1.BeginGetResponse.

Does Microsoft’s .Net SSL socket code use blocking sockets by the way?

View Replies View Related

HTTP Post - The Code...

i've got this code...

Dim oOriginalPO, oXMLHTTP, strFileName, strURL

strURL = "url that is required"
strFileName = sXML

Set oOriginalPO = CreateObject("MSXML2.DOMDocument")
Set oXMLHTTP = CreateObject("MSXML2.XMLHTTP")

oOriginalPO.async = False
oOriginalPO.load strFileName 'name of file containing cXML data

oXMLHTTP.open "POST", strURL, False 'strURL is our URL you post to
oXMLHTTP.send oOriginalPO

So on the assumption that the sXML variable has correct information inside it to send out, can anybody see why perhaps this code isn't working properly?

View Replies View Related

UK Post Code Strings

I have a bit of a problem with UK Post code strings, as you guys in the UK will know, our postcodes are alpha numeric.

LL12 4RS, C4 4GF, DG1 7HD etc etc...

What I need to do is grab the first letter(s) of the post code, ignoring the rest of it. Now, 'cos it can be either 1 or 2 (and in some weird cases 3) letters, I can't do a simple left() on it.I'm guessing something like a regexp will be the way to go? (but I'm a bit hazy on the reg exp thing)

View Replies View Related

Post Code Regexp

Some one has kindly supplyed me with this regexp to check all UK post codes:

/^([Gg][Ii][Rr] 0[Aa]{2})|((([A-Za-z][0-9]{1,2})|(([A-Za-z][A-Ha-hJ-Yj-y][0-9]{1,2})|(([A-Za-z][0-9][A-Za-z])|([A-Za-z][A-Ha-hJ-Yj-y][0-9]?[A-Za-z])))) [0-9][A-Za-z]{2})$/

The trouble is it looks for a space in the middle and i DONT want a space.I can't see the bit that does this

View Replies View Related

Formatting Post Code String

I was wondering if someone could help me with a formatting problem for ASP/SQL?

Is it possible to format a variable string from a textbox?

I'll try and make it more clear what i want, sorry.

I have a page with a textbox and submit button for users to input a postcode, which then searches a database for matching or similar postcodes.

This is the query i am using: Code:

View Replies View Related

ASP Search Code

I want the ASP code to pull data from the database. If i enter one of the field in the form and then click on Search button, the data for the other fields should automatically pop up.

View Replies View Related

Asp Zip Code Distance Search

I have a site and i have a text box for someone to type in a zip code. i nee dto know how to program, or locate a database, where the results will display my business location(s) by zipcode and display the total distance between the zip code entered by the visitor to the site, and my locations.

like Midas has on their site (www.midas.com) where you type in a zip code and it returns the store locations and how far away they are from you.

View Replies View Related

Zip Code Search Form

I am trying to implement a search form that lets people find businesses by zip codes with a certain distance (e.g. 10, 20, and 50 miles).what do I need to buy to have the resources to do this? I have seen some zip code databases but I am not sure how to setup the distance from point A to point B and return the results within the distance.

View Replies View Related

Write Search Code

I am creating student website and wants to create some featuer like if user come on my side and type his/her student id in provided SEARCH FIELD [TEXT BOX] that page will display perticular information of that user but before that it will ask for login name and password as well. I am making my website in XHTML [front end], JAVA SCRIPT[validation], ASP [server coding], IIS server.

View Replies View Related

Code For Search Webpage

i need code for search webpage meta keywords and meta description i need the webpage to be indexed completely up on entering webpage url.

View Replies View Related

Quick Search Code

can anyone tell me where i can get a good tutorial for a quick search.

View Replies View Related

IIS Search: Filter Asp Code In Abstracts

I'm having bit of a problem with a search engine. I got an intranet running in a company with IIS, Indexing Server and ASP. I've realized a search engine which also returns abstracts from the documents.

Most pages in the website are ASP pages. That doesn't mean that it draws all its contents from databases. I'm using ASP for other stuff as well. So they're basically documents, but with extras and hence ASP.

I excluded all sorts of things, e.g. "_" directories, like _vti and _private. Also directories like "include" are left out as people don't need to search for javascript code or css style sheets. Those are not relevant to the users. And finally I also give people the opportunity to make files non-searchable with a quick tag.

So what's the problem? When I perform a search e.g. for "body" (without the "" quotes) it would in this example return some results and one of those results got an abstract with evident pieces of ASP code. Code:

View Replies View Related

Code To Search For Files In Directory

point me to some example code of searching for a file, like *.*, or *.pdf, much like the Windows search function. I am at a smaller location, away from the main office, and although I can map a drive or just use to go to the desired location, the connection is too slow to search.

I'd like to implement a search function on the intranet web (at the main office), where it will search a certain directory and its subdirectories and return the results as network links (using the convention); actually it doesn't matter how it displays the links, as long as it shows me where stuff is. That way the search is run on the computer where the originating directories are.

View Replies View Related

Hide Code From Search Engines

Is it possible to hide code from search engines. We have a dynamical asp-home page that takes two text files per page. One text file contains meta information. I want to stop all search engines to include this text file in the search result.

View Replies View Related

Image Search And Lightbox Functionality And Code..

I'm pretty new to this and im in the process of developing a site for a wildlife photographer in ASP and i need to implement an image search on the site including the functionality to add images to a lightbox etc. And to be honest i just dont know where to start... been searching and currently still searching .....

View Replies View Related

ASP: Code Search Function For Chinese Site

Got a chinese website (has both chinese character and english), got to code search function for it, search for keywords in the webpages (htm/asp)

search in english it works, no problem
search in chinese it doesn't - it always return "nothing found"

you guys any idea?

View Replies View Related

Re-submit A POST Immediately From A Previous POST

Is there a way to 'force' a submit on a form with out actually allowing the
user to press a button ? For example...

step1: A from is filled out by a user, then they click the submit button.

step2: The form is 'post'ed to an ASP page which writes the values to a
database. So far No problems. But..

step3: Now I want to 'post' these values again to another page without any
user interaction.

My ideas were:

1) I know you can get the form values from Request.Form("myVar"), so I
thought of making a 'dummy' form and setting the 'values' of the form
variables to these Request.Form("myVar") valiables, but I don't know how to
'submit' them to another page again.

2) Is there some type of 'submit' command in ASP?

View Replies View Related

Post Data, Then Post Again..

i have a series of .asp pages that i am dividing into model, view, control logic. my view collects a whole bunch of data and posts it to the controller. im wondering if there is a way to somehow "re-post" this same data to my model page.

in short, is .asp capable of taking data posted to a page and re-post that same data to another page?

View Replies View Related

Need To Convert Google Search Ref To Find What The User Search

i get the ref url that come to my site and i want to convert it to find
out what was the query in (google or other searcher sites)

foe example : if someone goes to google and search some text and my
site was in his resaults and he click on it , in my site i see his link
ref like
http://www.google.co.il/search?hl=i...91-Google&meta=

i want to know (in asp and save it to DB) what was the word or words
that the user write in search engine.

View Replies View Related

ASP Code - Anti Spam Verification Code

I'm looking for sample code that will require a use to enter a code from a scued image format.

I'm sure you've seen them before where the image is barely readable by a human and the user has to enter the code correctly to submit the form.

I'm looking for ASP code and NOT ASP.NET code as I am supporting a legacy site.

View Replies View Related

Search Within Search Results

I am trying to create a parametric search within a table (in the column headings). My first page (search.asp) allows you to choose parameters from a dropdown box, such as package and volts. You click "search" and it reads the Access dbase to yield the results.

The results page (results.asp) displays the information based on the parameters. Under the package column heading, I have the same drop down box, and I am able to once again choose the package I want and the table will refresh. Code:

View Replies View Related

Asp Post

I've an html form with some fields, I have to normally post them clicking a
submit button to an asp page; this page have to programmatically repost
these fields and other constants to another page

I do this beacuse I don't want the web user to see the costants which are
the authentication values (username password)

View Replies View Related

POST And GET

I couldn't get my page to POST to my server I thought
because I had run IIS lockdown and other hardening tools.
Now I've rebuilt the whole server from scratch and have
yet to disable anything. I still can't POST. GET has been
working fine all along. Is there anything that needs to
be done beyond setting the forms method to POST and using
Request.Form(whatever), instead of Request.QueryString
(whatever)? Is there something that I need to put in the
ASP or client page header or something? I must be missing
something. Maybe IIS 5 needs to be set up to use POST or
something.

View Replies View Related

Old Post

It's really simple question. How can I insert Statement/line with " ' ".. for exmaple I get error if I enter "Let's play".

I am trying to instert that line into table.

View Replies View Related

Post To A URL

I'm trying to make a simple ASP page post to a URL on a seperate web site, and then get the returned HTML into a string which on service side script I can then parse. Is there any object built into IIS or Microsoft I could use Server.CreateObject with to make this possible?

View Replies View Related

End Of Post

I have a form that get submitted. On the page that dose the db work I need a loop that will run through each record set and updated it to the db. I was thinking about writing a do loop that will increment scount = scount + 1 . the problem is that I have no idea how to tell if i am at the end of my request.form("id").

i can response my request.form("id") and i see all the id's listed acress the page.. just need to loop through then one at a time.

View Replies View Related

Get Vs Post

Well I did a little research of my own and found that get shouldn't be used when a form is causing some big changes into the DB such as deleting, updating etc.

Until now I've always used GET for everything. So should I use Post for updating, deleting editing etc and GET only for retrival.

View Replies View Related

From Post To Get

I am trying to re-write a post method search page so that it will accept variables using the get method. For those of you asking what the heck i'm talking about simply this. I need the ability to send variables through the url to the search page of my site.

This page would be a copy, i.e. Searchprods.asp-original that uses post method, Searchprods2.asp using get method. I am almost completely lost as I don't use asp, or even vbscript often.

View Replies View Related

Post

i got a lot of text inputs inside table(60~)and i want to update them. till now i used to do it with posting to another page the variables and on the other page i will take all the posted values and update it inside mysql.

but suppose i got a long list of text inputs. is there to update only the changed fields? if i got 60 text inputs, and changed only 4. i realy think this is not logical to standon the other page and check all 60 posted variables one by one if they empty or not andupdate those which the user changed, or to skip the checking part and to update all 60 at once.

View Replies View Related

Post Data

in past, i learnt from the book to post data by

action=post & input type=text

now the post data is not from user input
it is from a table which is generated by asp script

i wish to generate a table with a check box at each row.

when i select the check boxs, then the rows of the table will be posted to
another html page

any hints to me for doing this?

Secondly, how about if rows of the table will be posted to a input box on
another html page grateful if you could give me some hints.

View Replies View Related

Post Variable

I have a VB application sending data via post to an ASP page.

The application sends two variable: id, txt

If txt has the & sign in its string, it cause trouble. E.g.:
id = 1
txt = "Hello & more"

If I take a look into Request.Form() array in asp page, it shows the
following:
id = 1
txt = "Hello "
more = ""

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved