This works fine while trying to connect to sql server on localhost:
$dsn="sqlserver";
$username="sa";
$password="";
$sqlconnect=odbc_connect($dsn,$username,$password);
I have created a new sql server dns configuration on "COMPUTER1" (networked computer) with the same name "sqlserver" and I...
When a purchase is made from my site I have mals-e.com send a remote http request to a page that updates the database etc. However it always fails - in debug mode I get this:
HTTP/1.1 302 Moved Temporarily
Plus some other stuff about get vars...
If I hit the page in a browser, everything works...
Hi I'm fairly new to asp.net. I've installed it on apache2 and things like:
<%
response.write(DateTime.Now.ToString())
%>
work fine. But when I try something a little more complex like trying to connect to sql server 2000 I get application errors. When I try to remove the offending code and...
I'm designing a game similar to the old Atari "Asteroids". I use _root.createEmptyMovieClip() to load new asteroids into levels when the parent asteroid is hit. The problem is is that there are loads of asteroids flying about (on the fly?) in many different levels and occaisionly new asteroids...
How do I use replace() to remove all commas from string.
var my_string = "This is a string, it has a comma";
my_string = my_string.replace(",","");
?
T.I.A
I've got an OS Commerce site on a "real" webserver and on my laptop running apahce2 on XP. On the "real" webserver all is fine regarding sessions being kept, but on my laptop unless the links are followed with something like this: ?osCsid=eeaa05b3d1322b25156342c2cced417f
I get booted out and...
Why does this work in firefox but not IE?
<form name="form1" id="form1">
<textarea name="biog" id="biog"></textarea>
<input type="button" name="Button" value="Paragraph" onClick="code('form1','biog','')">
</form>
<script language="JavaScript" type="text/JavaScript">
function...
An inner join query on 6 tables none of which hold more than 4000 rows keeps timing out. Here are the tables:
CREATE TABLE `codetbl_language` (
`code_language` bigint(20) NOT NULL auto_increment,
`code_abbreviation` varchar(10) default NULL,
`code_description` varchar(50) default NULL...
I have two tables. Names:
ID |First|Last
1 |Joe |Blogs
2 |Ann |Smith
Colors:
Foreign_ID|Color
1 |Blue
1 |Red
1 |Green
2 |Red
Using a table join how do I get a record that's like this:
Joe Bloggs Blue Red Green
"SELECT names.*,Color from names INNER...
Does anyone know why when my anti-virus detects a bug it can't just delete it and has to put in into the "vault" until you decide to uninstall the anti.v? then it asks you if you want to del the infected items? I know this is a general q but it all seems a mystery to me...
I only want to return one row for driver_guide 46 but "select distinct driver_guide,driver_make..." returns both records:
driver_guide| driver_make
46 |Jaguar
46 |Ford
Any help much appreciated.
Hope this is the right forum for this. I have undertaken the task of moving a small office access datadase to the web and convert it to mySQL. They are on a small network and share their access database but none of the staff can access the .db. A visual basic error appears. It seems that a small...
In the data base dates are saved in this format:
1945-04-24 00:00:00
Can I select eg: "SELECT DOB from DB" them so they are returned as YYYY-MM-DD?
Thanks in advance...
I hope this is the right forum for this if not please accept my apologies. I have connected my laptop running XP home to my PC running ME. Both machines can fiew each others folders and share DSL/broadband connection. But I can't ftp anyone even with all firewalls disabled. On ME I get socket...
I hope this is the right forum for this if not please accept my apologies. I have connected my laptop running XP home to my PC running ME. Both machines can fiew each others folders and share DSL/broadband connection. But I can't ftp anyone even with all firewalls disabled. On ME I get socket...
I hope someone can help with my networking problem:
Computer 1: Windows ME has a DSL broadband connection that goes into a usb to fast ethernet adaptor (straight into the back of the PC) the PC also has a usb hub that I use to run printers and plug in cameras etc.
Computer 2: Laptop running XP...
This code is called from a button on the main time line:
on(Release){
mySound = new Sound();
mySound.loadSound("track1.mp3",true);
}
but the tune plays ridiculously fast. If I load the mp3 normally into the timeline it plays fine. The sample rate of the mp3 is khz 44.1
Can anyone suggest...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.