POST vars from HTML to PHP

1225 byte By Culperat at 2007-11-20 9:54:13
I'm not absolutely sure this belongs here, but its what it seems like. I'm having some trouble at my workplace. We're creating a CD from which everything is relative to the CD being able to contain. On one of the html pages of the CD, we want to link the user to our website, which req...

Use of Dijkstras algorithm in PHP

8557 byte By Crazy-Heart at 2007-11-20 9:54:24
Hello everyone! I need some help with Dijkstra's algorithm in PHP! I have created 3 php files, the one has the map, the other the algorithm and the last one the results.map.php<html><head><title>Find shortest route!</title><script>function clickMap(classID){ if...

How to read a serial port data in Windows CE emulator

1472 byte By Joong at 2007-11-20 9:54:32
Install State in My Computer 1. OS : Windows XP Home Edition Version 2002 Service pack 22. Install: Embedded Visual C++ 4.0 ( http://www.microsoft.com/downloads/details.aspx?FamilyID=1dacdb3d-50d1-41b2-a107-fa75ae960856&DisplayLang=en)3. Install: Embedded Visual C++ 4.0 SP4 ( http://www.microsoft.c...

Template Problem

477 byte By shoaibi at 2007-11-20 9:54:40
i have this site: http://www.hotlinkfiles.com/files/19...l/AllNotes.zipthis is just a draft, problem is that ulnow.php has different formatting then other pages, how do i correct this?PS:this is a raw that's why:1. password is checked using ifelse2. same menu code and header and footer copy past...

PL/SQL Accessing DBA_TRIGGERS

616 byte By buckey at 2007-11-20 9:55:39
I am trying to get the trigger_body column (long) into a pl sql varible(long) and am getting character string buffer too small. The text of the body of the trigger is approaching 32767 mark or whatever, so i tried varchar2(4000). Still having the same error.My goal is to get the text into the vari...

basic INNER join question

1381 byte By voidflux at 2007-11-20 9:55:46
Hello everyone I'm having issues converting this statement into an inner join statement.The statement I wrote works fine but isn't up to date with standards where they prefer inner joins rather than the method i'm doing it.Here is the orginal code that works:select * FROM ncim.entity...

Unable to fetch Timpstamp datatype using OCI layer

3288 byte By jainr at 2007-11-20 9:56:20
Hi,I am pretty newbie to OCI layer. I was trying to make a connection tooracle, and was trying to fetch timestamp datatype by bindingtimpstamp datatype.This datatype shows different behavior for different sub secondprecisions.For my program(in c++) I was able to fetch data successfully fordirect exe...

Get the position of Window object

244 byte By jsiii at 2007-11-20 9:56:30
I need to know coordinates of current window. I tried self.screenX (and Y). Although it is not in standards it works well in FF. But IE7 does not support it.<br/>Is there another way how to get a position of a window in JS?<br/>Thanks

Users of a role

393 byte By Mr. Tomaszek at 2007-11-20 9:57:03
Hi All,I want to get list of all users in particular role. It can be done by executingexec sp_helprolemember 'myRole'Alas it works only when user that executes that is a member of myRole.How to achieve the same (list of all users in particular role) while user that executes that is not in...

How to Check overflow

687 byte By Ilonggo at 2007-11-20 9:57:47
Hi Guyz!Im trying to convert unsigned long int to string.How to check overflow using ultoa function in C. heres some snippets of the code.....int main(){ unsigned long int num1 = 429467294; /*429467295 is max of ULONG*/ unsigned long int num2 = 1; unsigned long int sum; char stringSUM[MAX];...

Need a search engine in HTML

136 byte By Ajith Sivakumar at 2007-11-20 9:58:14
Hello,<br/>I am designing a webpage. How do i include a search option in the main page.<br/>Thanks and Regards,<br/>Ajith

Unknown column, any ideas? syntax error.

2402 byte By voidflux at 2007-11-20 9:58:54
Hello everyone! having alittle issues here...mysql> SELECT -> ncim.entity.entityId, ncim.entity.mainNodeEntityId, -> ncim.entity.entityName, ncim.entity.domainMgrId, -> ncim.entity.entityType, ncim.entity.displayLabel, -> ncim.entity.alias, -> ospfService.routerId,...

New version V6 of C# IDE Mobile

943 byte By HarveyR at 2007-11-20 9:59:08
New version V6 of C# IDE MobileC# IDE Mobile is an application (totally free) that I've developed to be able to develop with C#/.NET2CF directly on the Pocket PC-Windows Mobile 5/6 (it doesn't require the .NET SDK, you don't need a computer).You can download the new version at: http://...

JS-generated text boxes is not sent on submit!

616 byte By TriKri at 2007-11-20 9:59:11
Hello!I have no example right now, but I earlier this day created a program which generated textboxes to appear inside the form which I later submitted them with. But after submit, the boxes generated with JavaScript and added through the DOM wasn't sent, only those which where created when the...

php mail function - diffferent subject based on the recipients

5430 byte By sjcoder07 at 2007-11-20 9:59:16
Hello everyone:I am wondering if there is a way to use different suject line for different recipients.I am using PHP mail function to send out email which confirm account registration. Emailwill be send to students who registered an account, the lab assistant will also get an emailcontain the same a...

how to put a newline using php?

470 byte By bigluo at 2007-11-20 9:59:25
really a silly question, but I dont know why it doesn't work.Here is a part of my script, I just dont know why "\n" wont create a newline in the file? I tried "\r", it doesnt work either. What's the symbol to use here? Thanks!<?php>$file=fopen($recFile,"a+") ;fwrite($file,"\t");fwrit...

perl question

106 byte By casper007 at 2007-11-20 9:59:39
May I noe what software is needed to run perl files....example, any program to run and complie it...thanks

Is this an impossible SQL query?

1153 byte By sford at 2007-11-20 10:00:22
My Data set looks something like this...Name | StartDate | EndDate | Role------------John | 2007/07/01 | 2007/07/09 | 1Mary | 2007/07/01 | 2007/07/09 | 1Mark | 2007/07/01 | 2007/07/09 | 1John | 2007/07/09 | 2007/07/31 | 2Notice that John appears in the dataset twice, but with different role...

XML Flat Files

510 byte By forgottenhart at 2007-11-20 10:00:39
Not sure if this is the correct forum if not I am sorry. I have a question about XML. I do window app programming that connects to sql databases. I was searching though the web and found mention of XML flat files. It appears that it acts somewhat like a local database?? Is that true and if so a...

Character Arrays

968 byte By maverick786us at 2007-11-20 10:00:44
I am using SQL Server 2005 Express Edition.I got a table named tbl_UserLogin with following fieldsCREATE TABLE tbl_UserLogin( UserName VARCHAR(10), Password VARCHAR(10), UserType int, FName VARCHAR(20), LName VARCHAR(20), Desg VARCHAR(20))Now in this table if you take a look UserTy...

XMLHTTP does not work on IE

480 byte By kimoo at 2007-11-20 10:01:05
hellothe following code works well on FireFox Opera Safari and Netscape navigator but not on IE v6.0function GetXmlHttpObject(){var xmlHttp=null;try { xmlHttp=new XMLHttpRequest(); }catch (e) { try { xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { xmlHttp=new ActiveXObject("Microsoft...

Using a Variable for varchar size?

563 byte By High_D at 2007-11-20 10:01:24
I want to get the length of a text field then CAST to varchar using that smallint size...however I keep getting errors on the line.Can this be done, or am I doing it wrong?PROCEDURE CreateMailQueue @MailTo textDECLARE @iSize smallintSET @iSize = datalength(@MailTo) + 1INSERT INTO MailQueue WITH (ROW...

Feedback on JavaScript OOP model

1925 byte By andreasblixt at 2007-11-20 10:01:37
Hi there, I'd like some feedback on my take on creating classes and inheritance in JavaScript.I considered prototype inheritance (ChildClass.prototype = new BaseClass(); ...), but didn't like the idea of creating an instance of a class to inherit from -- I would either need code in the con...

MySQL PK error...

969 byte By heroine at 2007-11-20 10:01:41
Hi All,I have successfully parsed the dmoz dump files into mysql.There are 4 tables: structure, content_description, content_links and datatypes.Structure table has fields: catid, name, title....I set the primary key as CATID and it works fine.When I tried to do the same for the rest of the tables...

Getting a file handle without opening a file.

472 byte By axle at 2007-11-20 10:02:12
Hi everyoneI was wondering if anyone knows a way to get the handle to a file without actually opening the file. Basically I need to modify a file without changing the "LastWriteTime" and "LastAccessTime" fields of the Win32_Find_Data structure. What I'd like to do is save these values, but of...

Invalid Column Problem

578 byte By jsiii at 2007-11-20 10:02:53
Hello... Let's say, I have a table with fields: Name, Born, Died and I want to select all people who were older than 100 when they died.But I cannot specify this condition in the WHERE clause like this:SELECT * FROM table WHERE Died - Born > 100Instead I need to use a special column like thi...

how to get this done in Oracle andMySQL

646 byte By ninhovid at 2007-11-20 10:03:07
hi...i need to do some queries in oracle and mysql but i cant find how to get this done...on SQL server i can do this:SELECT * FROM TABLE WHERE firstname + lastname like '%john smith%'but when i do it in oracle and mysql i cant get it to work...how can i concatenate fields in those databas...

Very strange problem in firefox

1658 byte By rogernem at 2007-11-20 10:03:21
I have a subscription page which is validated using a javascript<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns=" http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text...

Date and Time

200 byte By maverick786us at 2007-11-20 10:04:17
Usually in SQL Server 2005 we use GetDate to get the current date and time. But suppose I want to store current date and current time individually in 2 different fields. How will I split them into 2??

Listening to SMS, which is send without any port number - J2ME

610 byte By uskris at 2007-11-20 10:04:59
Hi, I need a solution for the following problem: I have a SMS Sender & Receiver MIDlet with MessageConnection created in Client mode for sending SMS to a particular destination on a particular port. This destination is sending back an ACK SMS without any port number set, to my device inbox. My MIDL...

SQL Server prevent Table Spool

1017 byte By Ranthalion at 2007-11-20 10:05:50
Hi,I have a query that inserts records from one table into another table on a linked server. The problem is that it takes close to 30 seconds to perform the query. If I just insert the records into a table on the same server instead, the query completes almost instantly. I am fairly certain that...

Server.URLEncode equivalent in SQL

169 byte By yaron-b at 2007-11-20 10:06:19
Hello!<br/>Is there a way to encode results of type nvarchar with a function or stored procedure, much like the function in ASP - Server.URLEncode?<br/>Thanks!

php file writing question

799 byte By bigluo at 2007-11-20 10:06:35
Hi Everyone:I would like to write/create some content into a txt file on the server, so that I created the following script:<html><body><?php$file=fopen("ftp://myID:mypassword@exampleserver.ca/fullpath//foldername/","w+") or exit("Unable to open file!");fwrite($file,"test writing");fc...

SDK not compatible to Standard SDK for Windows CE.NET

559 byte By ChanKokChern at 2007-11-20 10:06:44
hi guys,I just download eVC++ 4.0 and create a new app to try it outwhen i compile is doesn't give me errorbut when i build, it give me an error<QUOTE>An application targeting a standard SDK for Windows CE .NET and build for the ARMV4I CPU cannot be run on the emulator, you will have to i...

How to use rtf inside xml

138 byte By visharad at 2007-11-20 10:06:45
I want to store rtf text inside an xml file. The problem is that rtf text may contain some special characters. Let me know how to do this.

See if a xml or xsd document is well formed

281 byte By jahlight at 2007-11-20 10:07:01
I have searched and Google'd, but I cannot find a way to<br/>validate that the XML or XSD being processed is well formed. I don't want to<br/>validate against a DTD. How can I check if the document is well formed using Xerces-C? A code example would be nice...<br/>Thanks

[RESOLVED] PHP using command prompt

445 byte By heroine at 2007-11-20 10:07:08
HelloI know now how to run php through command prompt...my question is:is there any php scripts example out there that help like once one is connected to database (MySQL), it can prompt user to enter the database name and get feedback that the name has been created?What's the working code for t...

BIM generator

845 byte By shipwreck99 at 2007-11-20 10:08:06
i'm stuck on a javascript which is supposed to be getting the BIM(bodyy mass index) in a webpage. can anyone help..?how do i post the code that i've cam up with?<html><head><script type="text/javascript">function bim(weight,height){var bm=weight/height^2;return bm;}</s...

SMS and MMS Developers

257 byte By Leon1977 at 2007-11-20 10:08:27
New website www.smssolutions.net is offering lots of information for SMS developers. The site has a large database of SMS software, SMS providers, SMS tutorials and an own SMS and MMS Forum.<br/>Please check it out:<br/> http://www.smssolutions.net

text box content style with mouseover effect

142 byte By anicomsolu at 2007-11-20 10:09:19
Hi,<br/> Any body know how to apply mouse over effect in textbox value . In that text box value i need close button also. Thank you

MS Access Encoding

625 byte By zeid at 2007-11-20 10:09:28
Hi all, I have used "Downloaded" a software "web spider" that crawl a given URL and saves its info such as "title, describtion, keywords" etc in an Access database, I have a problem with "Arabic" sites that contains Arabic characters in title,desc,body.It is showing it as: ???? - ???????? ??????? ??...

please help me regarding J2ME polish

380 byte By tibi_tec at 2007-11-20 10:10:05
I am used J2ME polish with eclipse ,my project for the stocks .So can you please help to find solution for this issues in Ticker .1. how can put more images between the word in Ticker Like thisEx: TEXT IMAGE TEXT IMAGE it is possible or not. OR 2. how can put deferent color for each word in the te...

New version V7 of C# IDE Mobile

1193 byte By HarveyR at 2007-11-20 10:11:23
New version V7 of C# IDE MobileC# IDE Mobile is an application (totally free) that I've developed to be able to develop with C#/.NET2CF directly on the Pocket PC-Windows Mobile 5/6 (it doesn't require the .NET SDK, you don't need a desktop computer).You can download the new version at...

Smartphone recommendation for my requirements??

1463 byte By callagga at 2007-11-20 10:11:25
Hi,Can anyone recommend a value for money cell phone (/smartphone) that meets the requirements I have below? i.e. how cheap can I go to achieve this, but still to have a phone with reasonable useability. My location is Australia (iPhone doesn't seem to be available yet, i.e. not an option).[1...

difference between 2 dates in hh:mn:sec format

328 byte By satish2 at 2007-11-20 10:12:19
Hi all,How can we write an function in sql server 2000 which takes 2 parameters of datetime datatype and returns teh diffrence bewteen the two times in hh:min:sec format.eg:@dt1 '12/05/2007 12:21:25'@dt2 '12/05/2007 14:45:02'diffrence='02:23:37'anyone?...

[RESOLVED] HtmlSelect onclick attribute

707 byte By Visslan at 2007-11-20 10:12:29
Hi!I'm having problem with my HtmlSelect object. I want the page to do a post back when a new item has been selected in the dropdownlist. At the moment my code looks like this:...protected HtmlSelect ddlChooseDateForInstallation;...public void OnSelected_ddlChooseDateForInstallation( object sen...

fill predefined area with images

868 byte By Beeram at 2007-11-20 10:12:52
Hello,I want to fill a pre-defined area (about 500px by 450px) with small images from my database. The images have different length and heights.How can I make this? I need a kind of algorithm that's looks what image fits where. But I don't have a clue how to start on this one...When I just...

help Me Please :(

224 byte By obaid at 2007-11-20 10:12:56
Hi,<br/>i hv a problem in intel 80x86 assembly language programming<br/>my Question is: <br/>Add these two Character<br/>22<br/>+88<br/>--<br/>100<br/>this program is in REAL MODE (16 bit programming)<br/>ThankYou.

playing midi files in mobile 5.0

326 byte By ronysha at 2007-11-20 10:12:58
I am trying to port an application that plays midi files from vb 2005 to my mobile 5.0 pocket pc . I couldn't add the mmcontrol or equivalent to the mobile toolbox. Then I tried to use mcisendcommand but ouldn't find the lib that defines it. Tried winmm and mscorlib and coredll but all fai...

MIDP RMS Speed Problem

751 byte By RajWolf at 2007-11-20 10:13:28
Hello Gurus,I am using Java, MIDP 2.0, CLDC 1.0 for creating an application for the Java enabled mobile(Sony Ericsson to be precise).I am using RMS to store data in it. I am storing a list of Vehicle Numbers( Aprox 2000+) and loading in a ChoiceGroup after a search String is given.My problem is same...