Member Avatar

Good day, I've created a webpage on localhost using php. I have a local network with 3 computers at home. I can access the webpage only from one computer (http://localhost/mywebpage/). What changes should I make in phpmyadmin to be able to access the webpage from all computers? Is it possible? Thank you in advance.

Member Avatar
0
11
Member Avatar

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <?php include 'func.inc.php'; ?> <title>SEARCH</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <h2>SEARCH</h2> <form action="" method="post"> <p> <input type="text" name="keywords"/> <input type="submit" value="Search"/> </p> </form> <?php if (isset ($_POST['keywords'])){ $suffix =""; $keywords =mysql_real_escape_string(htmlspecialchars(trim($_POST['keywords']))); $keywords =$_POST['keywords']; $errors = array (); if (empty ($keywords)){ $errors[] = ('Please enter a serch terms'); }else if (strlen($keywords)<3){ $errors[] = ('Your search terms must be three or more characters'); }else if (search_results ($keywords) == false){ $errors []= ('Your search for '.$keywords.' returned no results'); } if(empty($errors)) { $results=search_results ($keywords); $results_num = count ($results); $suffix = ($results_num!=1) ? …

Member Avatar
-1
15
Member Avatar

would you help me how i can connect a unix server and send a command using .net for example changing chmod of a file? Unfortunately there is no usefull information about this on net. But i want to do this using ftp server(not domain name or ip address)

Member Avatar
0
5
Member Avatar

Hi folks, I'm unable to open web pages in any browser (Firefox or IE) - I get the message "server not found." I have a little portable router I plug into my USB slot and I just had it checked; it works fine. I can use it to connect, but no pages will open. I've pinged my IP, which works (not really sure what that means, honestly). I don't have Norton, and I've disabled my firewall and my security software (Security Essentials). Got any ideas?

Member Avatar
0
11
Member Avatar

<form action="login.php" method="post"> Username: <input type='text' name ='username'><br> Password: <input type="password" name='password'><br> <input type="submit" value="Log in"> </form> </body> </html>

Member Avatar
0
8
Member Avatar

Hi Everybody, i would like to develop an application, that can connect to mobile devices. In my case it is a MDE 3090 with Windows CE5 (http://www.ics-ident.de/ICS-Produkte/IT-Logistik-Systeme/Motorola-MC3090,49,96,69.html). What motivates me? I got to reset and re-install the MDE and you have to pay a lot of attention, which folder you delete and create. This process cost about 20min everytime. Here you can see the Problem i got: https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-ash4/s720x720/376311_10151046736217432_232135247_n.jpg I can't mount those partitions because it would not be found in the hdd-snap-in from windows and i can't mount it via net use either. In C# i got a clue, that …

0
1
Member Avatar

Hi all, Can someone please help me. I'm writing a VB5 app that connects to an Access 97 database using a data access control with the following parameters: Connect = "Access" DefaultType = 2 'UseODBC Exclusive = 0 'False Options = 0 ReadOnly = 0 'False RecordsetType = 1 'Dynaset (The app sets the DatabaseName and RecordSource properties at runtime.) When the database doesn't have a password, it works perfectly. But when I give it a password ("OpenSesame") and change the Connect string to "Access;pwd=OpenSesame", I get this error: "Couldn't find installable ISAM." I need to solve this so that …

Member Avatar
0
6
Member Avatar

Hello Everybody please help me out i am in big problem the problem is my organization people gave me the WEB Application to edit it (the application was written in the C# language and it is web application so it is designed in ASP.NET MVC3 ) and i have to Upload in the hostserver but the problem is in the host server the database is MYSQL but the application is build in SQL SERVER so if i directly transfer the files from will that be ok if not than how can i do that please guide me thank you

Member Avatar
0
3
Member Avatar

It's my first time to use oracle and i'm kinda lost :S I'm using netbeans v6.8 and i want to make a connection between Oracle 10g DB and java to make my program insert and retrieve data from the db - i tried searching for oracle's libraries to include it in java but i found so many libraries and i don't know which one to use !!! i want something like the "MySQL JDBC Driver"( i add it when working with mysql db) - the data i'm expecting to have wil be sooooo huge,so my mentor suggested cluster index. i …

Member Avatar
0
6
Member Avatar

What we have done was : Specifying valid FTP remote server name, a username and a password if password required in their relevant textboxes on the form then we click on connect, we notice that the TreeView control is filled with main directories while ListBox control is filled with main files root, that required setting up the Treeview first in the Design-Time (IDE) then we did the same to the ListBox control as well to correctly receive data returned from the FTP remote server. While recieving the data we've changed the cursor shape beside tracking down the ftp server status …

0
1
Member Avatar

Whenever I try to connect to my website over my network (from any device), my browser gives me an error saying that it could not connect to the host. I've tried a proxy, as well as downorjustme, and it works fine. I've recently performed some database work, nothing too important, but between the last time I could access my site and now, I haven't altered anything, except dropping all my tables and erasing my databases after finding out that my site was experiencing downtime, although, as I mentioned before, only on my network. My site's still experiencing that same problem, …

Member Avatar
0
9
Member Avatar

Hi guys, I'm quite unsure of what i'm doing here and could use some guidance. I've searched but haven't found any links that were focused enough. My objective is to connect my application to a database for the first time. I've never done this before so it's essentially a learning exercise. Within visual studio i've followed the "Connect to database" in the Tools tab and followed the connection wizard. My understanding is i need to connect to my local sql server (this may be incorrect) and i cant find it. I'm not sure how to even get started, what do …

Member Avatar
0
7
Member Avatar

Ok I have been cnnecting to the same website for about 1 and a half years [Link Anchor Text](ng-gaming.net) but about 3 days ago it started saying that it is not responding but my mates and from the gameing community that I play NGG are all on it I tought it was my comp so I tryed my IPOD sis laptop and ipad mums ipad none of them can connect I have wired but sisters on Wireless I have windows 7 I need help I have tryed restarting my router any idears please I need to get back on this …

Member Avatar
0
5
Member Avatar

Hey there i have a problem with a program that works on other pc's but not on my laptop. (it connects to access) When i try to run it it gives me the error "AAAjava.sql.SQLException:[Microsoft][ODBC Driver Manager] data source name not found and no default driver specified" I already reinstalled microsoft office, like some threads suggests, but nothing worked.. How can i fix it? Thank you

Member Avatar
0
5
Member Avatar

I'm making a connect 4 like game in Java and everything I choose a column to drop the piece it goes where I want it to however, when I want to drop a piece on top of that I, my program throws an error and makes me select another move. Here's what I'm talking about. http://i.imgur.com/J4ZN0.png Could someone please look over my code and tell me what I'm missing here? Thanks public static void getMove() { // --> to do int row1 = 5, row2 = 5, row3 = 5, row4 = 5, row5 = 5, row6 = 5, col, …

Member Avatar
0
5
Member Avatar

hi! i'm having a project in school regarding vb.net and i badly need your help! it is about connecting vb.net to access. i need to be able to add, delete, edit, and save data to a table in access using a form in vb. i am also required to view the data in a datagridview or listbox or anything in vb.net. i'm just a beginner so i would really appreciate if you would give me simple instructions or codes. thank you very much! God Bless!! :)

Member Avatar
0
20
Member Avatar

M trying to connect to a site using the following code. But not able to. Please help [CODE] this.req = (HttpWebRequest)WebRequest.Create("http://wwwd.way2sms.com/auth.cl"); this.req.CookieContainer = new CookieContainer(); this.req.AllowAutoRedirect = false; this.req.Method = "POST"; this.req.ContentType = "application/x-www-form-urlencoded"; this.strNewValue = "username=" + ckuser + "&password=" + ckpass; this.req.ContentLength = this.strNewValue.Length; StreamWriter writer = new StreamWriter(this.req.GetRequestStream(), Encoding.ASCII); writer.Write(this.strNewValue); writer.Close(); this.response = (HttpWebResponse)this.req.GetResponse(); this.cookieCntr = this.req.CookieContainer; this.response.Close(); this.req = (HttpWebRequest)WebRequest.Create("http://wwwd.way2sms.com//jsp/InstantSMS.jsp?val=0"); this.req.CookieContainer = this.cookieCntr; this.req.Method = "GET"; this.response = (HttpWebResponse)this.req.GetResponse(); responseee = new StreamReader(this.response.GetResponseStream()).ReadToEnd(); int index = Regex.Match(responseee, "custf").Index; responseee = responseee.Substring(index, 0x12); responseee = responseee.Replace("\"", "").Replace(">", "").Trim(); this.response.Close(); lblErrormsg.Text = "connected"; [/CODE]

Member Avatar
0
7
Member Avatar

I need to create a simple http client to a web server and my code is the following: [CODE]#include <stdio.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <errno.h> #include <arpa/inet.h> struct sockaddr_in wserver, cl; struct hostent *rem; int fd, newfd, len, l; int main(int argc, char *argv[]) { wserver.sin_family = AF_INET; wserver.sin_port = 0;//htons(9780); //wserver.sin_addr.s_addr = inet_addr(rem->h_addr); wserver.sin_addr.s_addr = inet_addr(argv[1]); rem = gethostbyname(argv[1]); memcpy(&wserver.sin_addr, rem->h_addr_list[0], rem->h_length); if((fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)) == -1) { perror("create socket"); exit(1); } if(connect(fd, (struct sockaddr*)&wserver, sizeof(wserver)) < 0) { perror("connect"); exit(1); } printf("CONNECTED!!!!!!\n"); return 0; } [/CODE] I am working …

Member Avatar
0
5
Member Avatar

I have installed MySql here already, now i need to connec it because I am going to make a project which it needs a Database, but my problem is that I don't know how to set the connector/j/ I don't know how to install it/I don't know how to put it in my classpath. help please?

Member Avatar
0
2
Member Avatar

Hi. I'm trying to create a function which connects to a database, and then displays rows in it. I'm trying to use a function to connect, but it's not working. Here's my first code: [CODE]<?php define("SERVER", "mysql.example.com"); define("USERNAME", "username"); define("PASSWORD", "********"); define("DATABASE", "db"); function displayFunction() { $dbc = @mysqli_connect(SERVER, USERNAME, PASSWORD, DATABASE); $query = "SELECT * FROM table"; $result = @mysqli_query($dbc, $query); while($row = @mysqli_fetch_array($result)) { return $row['row']; } } echo displayFunction(); ?>[/CODE] That works. However this code: [CODE]<?php define("SERVER", "mysql.example.com"); define("USERNAME", "username"); define("PASSWORD", "********"); define("DATABASE", "db"); function connect() { $dbc = @mysqli_connect(SERVER, USERNAME, PASSWORD, DATABASE); if(!$dbc) { return false; …

Member Avatar
0
4
Member Avatar

HI all, I have already searched the internet and have not found any information that is relevant to my problem. Currently I had to reuse my prior hdd that had my original OS installed. This hdd was cloned onto my new hdd, which recent was wiped somehow. Using this prior hdd, I am now unable to connect to my secured network, but was able to on the cloned hdd. I have uninstalled and reinstalled the wireless NIC. I have no other idea as to solve this problem. Curretnly: Windows XP Home SP2 Dell Dimension 3000 Linksys WMP54G PCI WNIC v4.0 …

Member Avatar
0
14
Member Avatar

Hi all :) I got some serius problem that I've tried to solve in almost two days. I've try to send a request to a URL from a android app, [URL="http://web.hjalmar.nu/~morgan/webpage/test.php"]http://web.hjalmar.nu/~morgan/webpage/test.php[/URL]. the problem is, that it isn't working. ANDROID-file [CODE]package morgan.request.test; import java.io.BufferedReader; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import android.app.Activity; import android.os.Bundle; import android.widget.*; public class TestingrequestActivity extends Activity { /** Called when the activity is first created. */ Button post; EditText txt; TextView outputt; public String postData() { String result = ""; try { URL url = new URL("http://web.hjalmar.nu/~morgan/webpage/test.php"); URLConnection …

Member Avatar
0
5
Member Avatar

Hi all, I'm doing a software. In this i want to develop my report engine in c++ using linux platform. Now my report engine should connect with my browser (Display engine). How i connect C++ with browser?? Example : in my report engine there 'll be class like below. Class Dialog { Dialog() { //To create a window at browser } addbutton() { // To create a button at the window which is created in the browser } addcombobox() { // To create a combo box at the window which is created in the browser } ... ... } Now …

0
1
Member Avatar

Is it possible to find out the skype username by knowing a person's IP?

0
1
Member Avatar

I am editing an image of a subway map in photoshop. I have edited out all but the colored lines and thickened them with the stroke tool. Unfortunately each line has a few gaps as well as ridges along the edges. I would like a smooth, solid line. What is the best way to get rid of one or both? Thanks!

Member Avatar
0
7
Member Avatar

I recently bought a new Netgear N150 DSL Modem/Router. I connected and set it up with my laptop (HP DV9715 w/Vista Home Premium SP2 AMD Turion 64x2 TL-60 2GB Ram NVIDIA Gforce 7150/nforce 630m). I have a direct-connected PC that gets on the internet. We also have two remote PCs that connect and a Windows 7 laptop that connects. The only problem is that my Vista laptop will not recognize the router by wifi. I called Netgear support and was told that it was a problem with Vista. Is it? If so, is there a solution?

Member Avatar
0
8
Member Avatar

Hi guys, I can't get my HP laptop (running Windows 7) to connect at home through my router. It will connect through my neighbor's unsecured network, and my Roku accesses my wireless network, but I can't get the PC to work, although it works fine at other locations. I have a Linksys WRT300N router, and a Linksys Rangefire Wireless Network USB Adapter, model #WUSB 100, ver. 2. The wireless network shows up strong, all five bars, when I try to "Connect to a Network". However, it doesn't connect, even though it says it's connected in the "Currently connect to:" box. …

Member Avatar
0
3
Member Avatar

Hello guys. I'm developing a web application in which I have to connect to a mssql server which is connected through a proxy server. I have allowed data transfers for the MSSQLSERVER service, and allowed connections for port 1433. I've read that this is absolutely insecure, and it still gives me [icode]mssql_connect()[/icode] errors, so which one is the best way to do this? Thanks in advance

Member Avatar
0
2
Member Avatar

Hello I installed MYSQL and Apache via XAMPP. And I am trying some codes from a textbook while Apace and MYSQL are running. I am trying to connect MYSQL with this code :[CODE]<?php //connect to MySQL; note we’ve used our own parameters- you should use //your own for hostname, user, and password $connect = mysql_connect("localhost", "root", "mysqlpass") or die ("Hey loser, check your server connection."); //create the main database mysql_create_db("wiley") or die(mysql_error()); ....[/CODE] But I am getting this: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\test\createmovie.php on line 4 Hey loser, check your server connection. …

Member Avatar
0
9
Member Avatar

im trying to make so one if has two outcomes ex: if(prime % chk == 0) prime++ (and) chk++; i want to know how to put (and) into code so it does both if prime % chk == 0 this is what i have for my prime finder [CODE]class Number { static public void main(String[] args) { int prime = 3; int test = 2; int fin = 0; int chk = prime - 1; while (fin < 100) { if(prime % chk == 0) prime++ + chk++; else chk--; if(chk == 0) System.out.println(prime); if(chk == 0) prime++; } } …

Member Avatar
0
2

The End.