Hello, There is a post request coming to my portal and I am fetching IP address from the post request on my portal landing page(INDEX view in MVC) and saving in DB table. below is the code to fetch IP address. string Device_IP = ""; if (!string.IsNullOrEmpty(Request.ServerVariables["HTTP_VIA"])) { // ' using proxy // ' Return real client IP. Device_IP = Convert.ToString(Request.ServerVariables["HTTP_X_FORWARDED_FOR"]); } else { // 'not using proxy or can't get the Client IP // 'While it can't get the Client IP, it will return proxy IP. Device_IP = Convert.ToString(Request.ServerVariables["REMOTE_ADDR"]); } It is fetching IP address on my side but …

Member Avatar
+0 forum 0

I am working with dynamic arrays which have been created using **<vector>**. For convenience, I have created a typedef : typedef vector<double> C1DArray; In the main program, several variables are created using this definition which, at the moment, means working with arrays of size 30. main() { . . . // Declare several dynamic arrays that will be re-sized appropriately later. C1DArray WORK1_Array, WORK2_Array, WORK3_Array, WORK4_Array; . . . return 0; } Several sub-routines only need to work with a particular range of these arrays. For example, SUB-ROUTINE1 takes in WORK2_Array and only touches, say, elements 5 through 25: WORK2_Array[4] …

Member Avatar
Member Avatar
+0 forum 2

Hi everyone. I got a situation here. Usually making a T-SQL(using sqlclient) on a server is very simple in vb.net if you have access to a sever. But I got this problem, where in a computer does not have access to that server but need to make a T-SQL on it without requesting an access. I actually thought of 2 possible solution. 1. The application from the Computer(W/o access) will Use a valid IP address to connect on that server and make a T-SQL. 2. The application from the Computer(W/o access) will communicate to an application from the computer (w/ …

Member Avatar
Member Avatar
+0 forum 1

Hello Community, I was wondering if there is a way to make dynamic email address that'll look like this example example_name1@subdomain.example.com or example_name2@subdomain.example.com the subdomains have been created using .htaccess and a wildcard subdomain. So the "example_name" and "subdomain" would be created dynamically. So can this be done using .htaccess? or anything similure?

Member Avatar
Member Avatar
+0 forum 5

hi I have a project due this Monday to make an address book. need some help with that.I have some code with me but it is not working. please help me if you can. i have attached a copy of the same and given description below. program description: develop a program for an address book.single entry in an address book is called a contact, which can have any of the following fields, 1. first name 2. last name 3. nickname 4. email1 5. email2 7. phone1 8. phone2 9. address 10.website 11.birthday 12.notes a contact must have at least one …

Member Avatar
Member Avatar
+0 forum 8

#include<iostream> using namespace std; int main(){ int fish =6; int * fishp = &fish; cout<<fishp<<endl; return 0;} this runs ok, but i get the same memory address when i cout either fishp or &fishp. how is it possible for a pointer to have the same address as the address it's pointing to?

Member Avatar
Member Avatar
+0 forum 6

Hi, am so new to java programming and I need help to create an address book. Am using this project to test my self.(http://sis.ashesi.edu.gh/courseware/cms/mod/resource/view.php?id=218). Please this is my writen code but I need help to add, edit, delete, and the rest of the functions. Or better if someone can guide me please. import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JLabel; import javax.swing.JButton; import javax.swing.JTextField; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import java.awt.Font; import javax.swing.border.LineBorder; import java.awt.Color; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import javax.swing.SwingConstants; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JMenu; public class AddressBook extends JFrame { private JTextField txtSearchHere; private …

Member Avatar
Member Avatar
+0 forum 1

How to Recover Address Book Contacts? If you have answer of this query then plz reply

Member Avatar
Member Avatar
+0 forum 2

Hi All, Am trying to send the same e-mail to 2 addys with one click with out using the cc or bcc , this is the line i am syuck on $email = '$_REQUEST['email'],$_REQUEST['email2']' ; it works if i do not add the 2nd email request to i am guessing i am not stictching them up right, any clues ? thanks xxx

Member Avatar
Member Avatar
+0 forum 2

Hi All, Can somebody tell me how I can remove the email addresses I naievely posted in this thread some years ago: http://www.daniweb.com/web-development/web-design-html-and-css/threads/58133/asp-form-action-script I can't seem to find a post edit button.. Thanks, Max.

Member Avatar
Member Avatar
+0 forum 1

Hey guys, The company I work for is going through a Cross Forest Exchange (both Exch 2010) and AD migration (2003 to 2008 R2). Some users in the TARGET domain were receiving NDRs (Non Delivery Report) in Outlook when responding to old emails from users still located in the SOURCE domain, or when using the N2K cached addresses for those same SOURCE users. This was only happening with 2 scenarios: 1. There was no **mailbox user** or **contact** in the TARGET exchange organization for that recipient. 2. There was a contact for that recipient in the TARGET exchange organization, however …

Member Avatar
+0 forum 0

This thread I am starting is a carry over from this thread http://www.daniweb.com/web-development/web-design-html-and-css/threads/205959/getting-ip-address-into-a-contact-form-field **In the thread above BBQKAREN and ALMOSTBOB was able to resolve her issue wich is the same issue I have but I have no way of contacting THEM here.** I have a form field (no PHP) code anywhere at this point that I wish to include the users IP address on the form as a hidden field like she did and pass it back to me when they contact us. Ok so this is what I have 1.HTML form only 2.The form does not call or execute …

Member Avatar
Member Avatar
+0 forum 19

How to get ip address of all systems connected to a network using php code

Member Avatar
Member Avatar
+0 forum 1

Hi.. Any PHP code to display the IPaddress of all systems which are connected in a LAN ? Thanks in advance

Member Avatar
Member Avatar
-1 forum 5

Hi every one i want to validate postal address I require the text field should contains Alphabets in Upper and lower case, numbers, hyphen, fullstops forward and back slash and commas and spaces in it currently i am using this fucntion but its not getting me the same thing which i require can anyone help me in this if(eregi("[0-9]+\s(\w)*(\W)(\s?)(\w)*(\W)(#[0-9])?(\W*)(\w)*(\W)(\s?)(\w)*(\s?)(\w)*", $address)) { $valid_address = $address; } else { $error_address = 'Street address must be valid'; }

Member Avatar
Member Avatar
+0 forum 4

A few weeks ago, I noticed that when I went to Yahoo Maps to look for directions, the site had me listed as a resident of Herndon, VA. I live in Sherman Oaks, CA. When I attempted to changed this default (that I did not apply), Yahoo told me that my IP address indicated that my computer was based in Herndon. It never has been; I've always been based here in California. Up until a few weeks ago, my Sherman Oaks address was always the default. When I checked my network connections, it was set on "automatically set IP address". …

Member Avatar
Member Avatar
+0 forum 1

1) I want to make a windows service that simply pings the IP address 2) The IP addresses is located in a simple text file 3) If the service cant ping the IP's (unreachable) it sends a simple e-mail to an email address located in a simple text file.

Member Avatar
Member Avatar
+0 forum 1

hi I have a question regarding my situation in our LAN, when I ping local address by hostname (to any computer) (I'm using 192.168.0.0/16). it result in stange ip 118.98.96.151, even though after I check in the other pc the address is in 192.168 range. but if I ping using its real IP address it still connecting. (so right now to communicate with other computer I use IP address instead host name). my configuration is: - using AD server 2008, static IP. - all windows client. - two pc as internet gateway, one microtic, one pfsense. anyone know how to …

Member Avatar
Member Avatar
+0 forum 1

I just bought a myphone A878 android mobile phone, suddenly wifi connection can not turn ON it always goes back to off then in advance settings it is written there that IP and Mac address are unavailable. same as bluetooth always off. pls. help, I just use this android mobile for 3 weeks all working, but suddenly this wifi and bluetooth are not working aymore.

Member Avatar
Member Avatar
+0 forum 1

Basically I want to develop a Address lookup(part of my project) using C# (and I can use SQL if necessary). I have a very large text file which have all the UK address and postcodes. Addresses needs to be looked up from this text file. For example, as soon as a user type in the first letter of the postcode it should list all the postcodes starting with that letter and as they type in further, the list should narrow down. Could you guys please how I can do this search very fast and list the results in a efficient …

Member Avatar
Member Avatar
+0 forum 1

Hello! I've got a question here that has me scratching my head - I've got a table of IP addresses. Each octet has its own field (OCT1,OCT2,OCT3,OCT4). The first two octets are fixed, and will never change (so, the IP addresses on my table are between X.Y.0.0 and X.Y.255.255). As such, I've got a range form where the user can type in the third and fourth octets of the low and high IP search range. The problem is, is I can't figure out the proper format of the SELECT statement. I've tried a bunch of ideas and looked up several …

Member Avatar
Member Avatar
+0 forum 12

How do I check if a certain IP address is online and get its current location in c#

Member Avatar
Member Avatar
+0 forum 1

how do you extract all email addresses from a string and put each extracted email address as an element of a simple array? <?php // define and implement your php function here function get_all_emails($text_field) { // ---- Beginning of Green Section --- // create an empty array $emails = array(); // implement the function. this function should extract // all emails from $text_field and put them in $emails // ---- End of Green Section --- return $emails; } // your main code $example1 = "person-1@here.com, person_2@there.net; person.3@wayoverthere.com"; $response = get_all_emails($example1); // use print_r to test the result echo "<pre>"; print_r($response); …

Member Avatar
Member Avatar
+0 forum 12

Just a quicky!

Member Avatar
Member Avatar
+1 forum 3

Hi,, Is it possible to get IP of server where the script is running. I used following code <?php echo $ip=$_SERVER['REMOTE_ADDR']; echo $_SERVER['SERVER_ADDR']; ?> But it outputing as "127.0.0.1". Is there any way to print IP ?

Member Avatar
Member Avatar
+0 forum 1

Hi I have a question about memory address on Windows Mobile 5.0 I found application pid by task manager which I downloaded from internet. Is it possible to find memory addresses by pid on Windows Mobile ? I know that VisualC++ has built in methods but for desktop Windows. I need to find system info addresses: device type, model etc.

Member Avatar
+0 forum 0

HI Guys; How to get the machine address using php

Member Avatar
Member Avatar
+0 forum 3

I can subnet and im going for my CCENT exam Aug 20 and im a little stuck on this question, can someone show me in a really easy way on how the answer is got. I know the answer is 192.168.1.22 but how?: What is the last Usable host address on the third subnet for the following address and mask combination - 192.168.1.0 255.255.255.248?

Member Avatar
Member Avatar
+0 forum 3

hi, i want to change my ip address in every 10 minutes so please give me code to change my ip address in c# windows form application.

Member Avatar
Member Avatar
-1 forum 1

hello ı want to develop some code in java but ı coudnt find the java programmer on internet please give me url or adres for downloandind java developer

Member Avatar
Member Avatar
+0 forum 3

The End.