Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
?
Installing wireless PCI-E driver on Windows Server 2012?
So here's the deal.
Two PC's, one i5 system as my main PC and an AMD FX-4100 system as the server.
Installed windows server 2012 and trying to connect the server PC to our wireless network connection.
Installed the PCI Adapter chip and it hasn't auto detected, tried to install the drivers for the chip but of course they can't be installed on a Windows Server 2012 platform, they only work on normal operating systems.
Any ideas as to what I can try now ?
1 AnswerComputer Networking8 years agoPHP assistance with Key Checking system?
Right, so here's the issue.
I'm making a script which checks the key a user inputs into the database, and returns the value of the "active" setting in the database, this will either be "YES" or "NO" in the database.
Here's the error.
mysql_fetch_array(): supplied argument is not a valid MySQL result resource on line 17
This should return the value of 1: (There is supposed to be a php variable here which is not displaying for some reason)
That key was not found in our database
And here is the code.
Thanks to all in advance. Your assistance is greatly appreciated.
2 AnswersProgramming & Design8 years agoSome assistance with PHP script ?
Okay, So I'm having a bit of an issue, no matter what I try I can't get rid of the error which is.
Unexpected T_VARIABLE on Line 39 of script activate_key.php
The code is here.
Any assistance would be greatly appreciated.
1 AnswerProgramming & Design8 years agoQuestion about CPU cooler?
Okay, So I overclocked my CPU (AMD FX-4100) this morning from the stock speed of 3.6GHZ to 4.2GHZ so far, all on the stock cooler, I've read online you can go up to 4.6 on the stock cooler.
Anyway, the question is I've ordered one of these http://www.amazon.co.uk/Arctic-Cooling-Alpine-Pro-... And only just noticed it has a max cooling capacity of 90Watt.
Now my CPU has a max 95watt TDP .. So i was wondering if this cooler is suitable and will cool the CPU effectively?
Part of me thinks only if the CPU gets to full load the CPU cooler will be unable to keep it cool for long periods of time.
How much of this is correct?
2 AnswersDesktops8 years agoNvidia GTX 650 TI compatible with Asrock N68 VS3 FX?
So, will it work?
I currently have one PCI-E port.
My current graphics card is a GT640 2GB (Nvidia), taking up one port.
Installed next to my graphics card is a wireless TP link card. (PCI)
Is it possible I can install a GTX 650 TI to replace my current GT 640 without getting in the way of the TP-Link wireless card chip ?
Also, I've heard if you buy a card with two fans, you need two fan headers, is this true?
My current card only has one fan built into it, and so I will need to check if I have any free fan headers available.
Thanks in advance.
2 AnswersDesktops8 years agoObtaining and display profile ID's in php?
So I'm looking to create a link located on the homepage, the link will be, for example "www.mysite.com/profile.php?id="
Now what I want to be able to do is that when a user logs in, they are able to click on a their profile link below, and have the "id=" taken from the database and inserted into the link so that the user can then view their profile.
I think i'm going along the right lines with the code but I can't remember if I need to concatenate when displaying the link "www.mysite.com/profile.php?id=$id".
I've tried concatenating but the code editor doesn't seem to recognise it.
Wonder if I shall bump into Gitlez on this question!
Here's the code.
3 AnswersProgramming & Design8 years agoHelp with an SQL insert script ?
So I have a script i've created, it gets first names, surnames, usernames, emails and passwords from the HTML form. However it only displays the FirstName variable when i echo each of the above variables as they're not being inserted into the database, they're not being passed from the HTML form to the PHP script either, except for the FirstName field, i've checked over and can't see why.
The SQL insert script is also not working.
Any ideas ?
Below is the code for both parts.
HTML http://pastebin.com/Fih4QgDs
PHP http://pastebin.com/PCTuThPa
Thanks in Advance.
3 AnswersProgramming & Design8 years agoDoes anyone know what this is ?
This is located near to where i live, it looks gas related as the little cabinet... i suppose that's what you'd call it, has EDF ENERGY notices on it. It's also got a small pipe next to the cabinet with a small round object on top, maybe some sort of extraction device, and then as pictured, there are two funnels, one to the left, the smaller one, and one to the right, these are hollow and the tips bend over and point to the ground, i've walked past this a few times and sometimes it makes a whirring noise, it's difficult to describe, this appliance is right next to a main road which is always busy.
This looks like some sort of gas extraction thing, but i was wondering if anyone knew what these were, or are called ?
Here's an image of the appliance.
5 AnswersOther - Environment9 years agoHelp me identify this song?
Okay, I first heard this song on an Aer Lingus flight as the offloading music when we landed at Malaga airport in August 2011, I was convinced it was airline exclusive music because I couldn't find the title anywhere. I tried googling.. I can't contact Aer Lingus about it. They don't have a relevant queries email address.
I heard this song again today when I was buying lunch at the co-op.
The song is something like this
"when you bring out the best in me "
*whistling tune*
Then something else.
It pretty much repeats those two lines over and over.
Please help me find this song!
Thank you.
2 AnswersLyrics9 years agoPhp Insert not working ?
Hi
My php insert script is not working, it used to work, now it does not seem to.
here's my code
<?php
include('connect.php');
//sanitize input
$compname=(strip_tags($_POST['compname']));
$compdesc=(strip_tags($_POST['compdesc']));
$compslog=(strip_tags($_POST['compslog']));
$sql=("INSERT INTO `a4264749_company`.`company` (`company_name`, `company_description`, `company_slogan`, `cash`, `staff`, `warehouses`, `machines`) VALUES ('$compname','$compdesc','$compslog','10000000,50,1,10)");
Nothing's being inserted, not even the text.
Here's the code in pastebin http://pastebin.com/rZJWgJ1n
Thanks.
3 AnswersProgramming & Design9 years agoAer lingus boarding music ?
Remember hearing some boarding music back in october and august, and one particular song which i did like, can't remember what its called.... If it's even a song.
The song had a whistly tune in it. I also heard someone else playing it on a coach on a school trip quite recently so im guessing its a recently released song.
Any one know the name ?
1 AnswerAir Travel9 years agoI was interested in selling digital game downloads?
Hi
i was interested in having a game download site, like gamersgate where users pay for game downloads.
i have tried googling but can't seem to find any info on it.
How would i go about obtaining the licence to resell games?
I am talking about proper games, not flash games.
Any info is appreciated :)
thanks.
1 AnswerVideo & Online Games10 years agophp help - in game cash?
hey
Im trying to make code for an online game im trying to build,
im trying to make a php page which will subtract the cost of the factory from the users cash, this is what i have so far:
<?php
$factory1 = "$12,000,000";
$factory2 = "$18,000,000";
$factory3 = "$24,000,000";
if ($cash|>$factory1);
echo "You have successfully built this factory";
else
{
echo "You do not have sufficient funds";
}
//deduct 12 million from the users cash
//
if ($cash|>$factory2);
echo "You have successfully built this factory";
else
{
echo "You do not have sufficient funds to complete the purchase";
}
//deduct 18million from users cash
//
?>
but i was wondering how to make it so that if they buy factory 1 then 12 million is deducted, and if they buy factory 2 then 18 million is deducted, also i was wondering how would i send the remaining cash after the purchase into the database?
is it INSERT INTO * cash WHERE cash = $cash; ?? or something similar
thanks :)
2 AnswersProgramming & Design10 years agowhats wrong with this PHP code?
hi
Ive made a register and login page, you can view the register page here >> http://www.techempirestest.net16.net/register.php
However when i press "Register" i get this error:
Parse error: syntax error, unexpected T_ELSE in /home/a4264749/public_html/register.php on line 84
here is line 84: else
and here is my code
?php
echo "<h1>Register</h1>";
$submit = $_POST['submit'];
//form data
$firstname = strip_tags($_POST['firstname']);
$surname = strip_tags($_POST['surname']);
$username = $_POST['username'];
$password = strip_tags($_POST['password']);
$confirmpassword = strip_tags($_POST['confirmpassword']);
$date = date("y-m-d");
if ($submit)
{
//check for existance
if ($firstname&&$surname&&$username&&$password&&$confirmpassword)
{
if ($password==$confirmpassword)
{
//check char length of username and fullname
if (strlen($username)>25||strlen($firstname)>25)
{
echo "Length of Username or First name is too long";
}
else
{
//check password length
if (strlen($password)>25||strlen($password)<6)
{
echo "Password must be between 6 and 25 characters";
}
else
{
//register the user
//encrypt password
$password = md5($password);
$confirmpassword = md5($confirmpassword);
//open database
$connect = mysql_connect("hostnameremoved","removed","passwordremoved");
mysql_select_db("removed"); //select database
$queryreg = mysql_query("INSERT INTO users VALUES ('','$firstname','$username','$password','$date')");
die ("You have been registered! <a href='login.html'>Click here</a>to login ");
}
}
}
else
echo "Your passwords do not match!";
{
}
else
echo "Please fill in <b>all</b> fields!";
}
}
?>
<html>
<head>
<style type="text/css">
a:link {color:blue;text-decoration:none;}
a:visited {color:red;text-decoration:none;}
a:hover {color:orange;text-decoration:underline;…
</style>
</head>
<body>
<p>
<form action='register.php'>
<table>
<td>
<tr>
First Name
</tr>
<tr>
<input type='text' name='first name' value='<?php echo $firstname ?>'
</td><br>
<tr>
Surname
</tr>
<tr>
<input type='text' name='surname' value='<?php echo $surname ?>'
</tr><br>
<tr>
Desired Username:
</tr>
<tr>
<input type='text' name='username' value='<?php echo $username ?>'
</tr><br>
<tr>
Choose a password:
</tr>
<tr>
<input type='password' name='password'>
</tr>
<br>
<tr>
Confirm password:
</tr>
<tr>
<input type='password' name='confirm password'>
</tr>
<br>
<input type='submit' name='submit' value='Register'>
</td>
</table>
</form>
</body>
</html>
2 AnswersProgramming & Design10 years agohow to align this HTML form?
hi
Im trying to edit this so the fields will appear beneath each other, i have tried using a <br> tag after the </td> tag but it doesnt seem to work, if anyone could help me here i would be very grateful.
here is my code:
<?php
?>
<html>
<head>
<style type="text/css">
a:link {color:blue;text-decoration:none;}
a:visited {color:red;text-decoration:none;}
a:hover {color:orange;text-decoration:underline;}
</style>
</head>
<form action='register.php'>
<table>
<tr>
<td>
First Name
</td>
<td>
<input type='text' name='first name'>
</td><br>
<td>
Surname
</td>
<td>
<input type='text' name='surname'>
</td><br>
<td>
Desired Username:
</td>
<td>
<input type='text' name='username'>
</td><br>
<td>
Choose a password:
</td>
<td>
<input type='password' name='password'>
</td>
<br>
<td>
Confirm password:
</td>
<td>
<input type='password' name='confirm passowrd'>
</td>
<br>
</tr>
</table>
</form>
</html>
Link to the form i currently see: http://www.techempirestest.net16.net/register.php
Also i was wondering of anyone knew the code for adding the Captcha verification tool?
Thanks in advance.
I do know this is missing a submit button, i will add this in later... also, this is meant to be a php script.
2 AnswersProgramming & Design10 years agowhat is wrong with this part 2?
right...
thanks to the 3 answerers i got in the first question.
im basically trying to add a function that checks to see if the user info they enter upon login matches with the info in the database.
if it does then they it should echo "you have successfully logged in"
if not it should say "incorrect password"
I get this error:
Parse error: syntax error, unexpected $end in /home/a4264749/public_html/logintest.php on line 61
line 61 is: ?>
Here is my code:
<?php
$username = $_POST['username'];
$password = $_POST['password'];
if ($username&&$password)
{
$connect = mysql_connect('mysql11.000webhost.com','…
if(!$connect)
die("could not connect to database");
mysql_select_db("a4264749_login") or die ("couldn't find database");
$query = mysql_query("SELECT * FROM users WHERE username='$username'");
$numrows = mysql_num_rows ($query);
if ($numrows!=0)
{
while ($row = mysql_fetch_assoc($query))
{
$dbusername = $row['username'];
$dbpassword = $row['password'];
}
//check to see if they match
if ($username==$dbusername&&$password==$dbp…
{
echo "You have successfully logged in!";
}
else
{
echo "Incorrect password";
}
}
?>
2 AnswersProgramming & Design10 years agowhats wrong with this php code?
I am using this php code for a login script for a game i am making. it was working earlier but i am following a tutorial and since the last step this hasnt worked... stupidly i didnt save it before adding the last step....
if anyone could tell me what is wrong with this code it would be much appreciated
<?php
$username = $_POST['username'];
$password = $_POST['password'];
if ($username&&$password)
{
$connect = mysql_connect("mysql11.000webhost.com","a4264749_members","billyjoe16")
or die("could not connect to database");
mysql_select_db("a4264749_login") or die ("couldn't find database");
$query = mysql_query("SELECT * FROM users WHERE username='$username'");
$numrows = mysql_num_rows ($query);
if ($numrows!=0)
}
{
else
die ("That user does not exist");
}
{
else
die ("Please enter a username and password");
}
?>
Just so you know there is nothing wrong with the user credentials that dissapear off the corner of the page with a "......"
3 AnswersProgramming & Design10 years agoCome and join us At techempires?
Come and join us at http://techempires.invisionzone.com/ to browse through some tech related forums, and talk to us in the chat room. And hopefully in a few months time play an online free game called Tech empires...
Also interested im php programmers, any available and wouldnt mind working for free, even if its like 2 hours a week or something.... Any help would be greatly appreciated, if you are interested in helping out then please sign up and either PM me (will16) or Bolli or tell us in the chat room that you are interested in helping.
Thanks in advance.
1 AnswerOther - Internet1 decade agoLooking for some PHP developers to help out?
Hi.
This is a re-post of my last question, im looking for some php developers to help me develop an online game called Tech empires, i currently have an IP board set up for the game, you can check it out here... http://techempires.invisionzone.com/ The game would need pages to buy tech, seperate user accounts, sell tech, inventory, login, logout... I already have one php developer on my side but he is at uni and i dont want to stop him from doing well.... Any help would be greatly appreciated.
If you are interested then sign up here http://techempires.invisionzone.com/inde%E2%80%A6 And contact me or bolli via Private message or IP chat room.
Thanks
1 AnswerProgramming & Design1 decade agoAssisting iPod apps? ?
I am looking for some iPod apps that will keep me playing them, most categories I am fine with. And I'm not one of those cheapskates that wants a free app. I can buy a paid app. I have some angry birds, alone crawler wild, and others
1 AnswerMusic & Music Players1 decade ago