English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Programming & Design - February 2007

[Selected]: All categories Computers & Internet Programming & Design

I have a CSV file with 6 fields IP_FROM, IP_TO, COUNTRY_CODE, COUNTRY_NAME, CONTINENT_CODE, CONTINENT_NAME. Fields 1 and 2 consist of an IP address range run together as a multi digit number ie 2162545168 to 2162545407 (no leading zeros). The other important field is the country name which for the purposes of this code needs to distinguish between UNITED STATES, UNITED KINGDOM and neither.

Basically I need to pull the IP address of the visitor to my site, send a search to the CSV file, and if a UK visitor has visted .com, send them to .com/uk so I can give them the option of going to the UK site and vice versa send a US visitor to .co.uk/us. If neither country is identified send them to .com/unidentifiedcountry.

CSV file (Zipped) is available from

http://www.ipligence.com/freetools/ipligence-community-200701.zip

Please can someone code something for me either using this or something similar (must be free with no limits on searches etc.) Thank you

2007-02-16 10:55:57 · 4 answers · asked by Status: Paranoia 4

I have to make a program that converts Fahrenheit to celsius or Celsius to Fahrenheit in the program "Just Basic" Using FUNCTIONS I followed all steps and wrote the correct formulas for conversion but the problem is that it does not correctly convert here is the code I been working on not finished still testing.




PRINT "PLEASE ENTER THE CONVERSION YOU WANT TO OCCUR ? "
PRINT "PLEASE PRESS 1 TO CONVERT FAHRENHEIT TO CELCIUS OR PRESS 2 TO CONVERT CELCIUS TO FAHRENHEIT"
INPUT NUMBER
INPUT "PLEASE ENTER THE DEGREE TO CONVERT ";DEGREE
IF NUMBER = 1 THEN GOTO [FC]
IF NUMBER = 2 THEN GOTO [CF]

[FC]
LET CONVERTFC = CONVERT1(DEGREE)
PRINT "YOUR CONVERTED NUMBER FROM FAHRENHEIT TO CELCIUS IS " ;CONVERTFC;
[CF]
LET CONVERTCF = CONVERT2(DEGREE)
PRINT "YOUR CONVERTED NUMBER FORM CELCIUS TO FAHRENHEIT IS " ;CONVERTCF;











FUNCTION CONVERT1(n)
CONVERT1 = 5/9 * (DEGREE - 32)
END FUNCTION

FUNCTION CONVERT2(m)
CONVERT2 = 9/5 * DEGREE + 32
END FUNCTION

2007-02-16 10:48:29 · 3 answers · asked by Mike 3

i need to know how to download music, how to download pictures ( more than 1) and how do you do the background!

2007-02-16 10:40:51 · 1 answers · asked by AMANTILLADO 2

What's the difference between these web page extensions? There's .htm, .asp, .aspx, .php. In terms of creating a new web page, what's the different between saving it in each one of these formats?

Thanks!

2007-02-16 10:38:32 · 7 answers · asked by ♥iamsleepy♥ 4

I recorded the macro and i can use it by the short cut on the keyboard... and i did draw the botton... but i really do not know how can i make the macro run just by clicking over the botton ... please help.. thnx

2007-02-16 10:28:20 · 2 answers · asked by blues_iris 2

Which is the basic step (ie., hello program) to write an application program in Visual C++?

2007-02-16 10:16:28 · 6 answers · asked by prem 2

i am making a poster for a new fanfilm coming out in the summer but i need to put a picture of someone onto my poster but i have no idea how to do this.

i have two images & the person i need to put on my poster is on another i need to cut around her body and place her onto my poster without the background from the original image.

2007-02-16 10:13:25 · 4 answers · asked by Len 2

My aunt just got a PC for my little cousin's room who just learned how to read and now my cousin is on the internet when she wants to...just wondering if this is good or she is too young.

2007-02-16 10:06:38 · 7 answers · asked by grlnextdoor 1

Also, any sites that might have free web page layout or designs that I can use for free. I've been using yahoo geocities, but I want something better. But if I have to use that still then I at least want a new layout. I use to use a site a long time ago but I lose it and I have no idea what it was called. Any ideas for making a web page for free would be of great help.

IT MUST BE FREE...not free for 30 days...I need it to be 100% free.

I will give 10 points to the person that gives me the best info and I will give the points in 4 hours (I have to wait at least 4 hours).

2007-02-16 10:02:09 · 3 answers · asked by dohm84 4

I need Help with java HashMap.How do i convert from an arraylist to a hashmap.

2007-02-16 09:11:54 · 0 answers · asked by jose1008 2

2007-02-16 09:02:14 · 5 answers · asked by Anonymous

2007-02-16 09:00:32 · 9 answers · asked by Anonymous

2007-02-16 08:55:37 · 2 answers · asked by Anonymous

I have database called "blogs" with three fields: blog_title, blog_author, and blog_body.

I am working on the section of my webpage where users will be able to alter existing blogs. When the user opens the edit_blog.php page, I want a textbox to be displayed, and, inside the textbox, I'd like the information stored in blog_body to be printed.

How should I do this? I'm having trouble combining the HTML and PHP.

Specific code examples would be appreciated!

2007-02-16 08:52:11 · 5 answers · asked by Anonymous

Were can i find a site to make a web page. Not a Piczo, Freewebs, Wetpain.

Anything apart from those!

2007-02-16 08:38:03 · 10 answers · asked by Brocken Spirit 1

2007-02-16 08:12:07 · 2 answers · asked by vprairiedog 1

2007-02-16 07:25:08 · 11 answers · asked by kmhosny89 2

I need the Visual FOXpro code for a mortgage payment calculator. The information i have is the amount financed, interest rate and length of years. I need to calculate payment. Then take the differance between 2 payments to give me a result.... Can you help?

2007-02-16 07:21:29 · 2 answers · asked by ondreforsure 3

does anyone know how i can create a free website or web page?its for my dogs.

2007-02-16 07:17:16 · 3 answers · asked by patrona_916 1

I need a formula to show me the last business day before today, I don't really care about holidays. Basically If today is Monday Feb 12th I want the formula to show me Friday Feb 9th. I tried the =Today()-1 but on monday it will show me sundays date which is not a business day.

2007-02-16 07:06:20 · 4 answers · asked by Quickdood 2

my problem is the same as EARNEST B, is it dangerous?

2007-02-16 07:04:06 · 3 answers · asked by khorkie 1

2007-02-16 07:00:50 · 5 answers · asked by Steven A 2

Please someone explain good/bad in doing so? Will I lose any data ...If I want to download some movie clips it says I should enable Java Script..help!!

2007-02-16 06:38:59 · 3 answers · asked by Jimm35 1

3

I am gonna start learning. So please suggest me the best one. Which one is the best, C# or C++?

Thanks

2007-02-16 06:25:50 · 4 answers · asked by farooqaaa 1

I'm thinking about going back to school to learn computer programming. Is computer language really difficult to learn?

2007-02-16 06:14:05 · 5 answers · asked by laboca 2

My SYSUT2 shows that there are 114 pages to be printed, but I only want to actually print the first 2 or 3 pages. I've tried altering the input dataset, but the lowest I've been able to get the page count was 44 pages. Thanks.

2007-02-16 06:12:24 · 1 answers · asked by Ryan S 1

2007-02-16 06:00:03 · 1 answers · asked by tabproduction 2

I have a very simple app I wrote to create an item from VB outside of outlook. What I am wondering if there is a way to select the folder when it saves. Here is the code maybe then you will know what I am talking about

Dim objOutlookItem As Object
Dim objOutlook As New Outlook.Application

For x = Me.Option1.LBound To Me.Option1.UBound
If Option1(x).Value = True Then Exit For

Next


Set objOutlookItem = objOutlook.CreateItem(x)
objOutlookItem.Display
Set objOutlook = Nothing
Set objOutlookItem = Nothing

End

2007-02-16 05:54:10 · 1 answers · asked by Anonymous

i already have a logo i just want to make adjustments and a different border and backround.I already tried vista print and hate it a website would be nicer but i could download software too.thanx in advance u guyz rock!!!

2007-02-16 05:52:54 · 4 answers · asked by Gabriel D 3

fedest.com, questions and answers