Configuring High Score List ...
We decided to switch over our servers from a SQL server to a Microsoft one. We have a Flash Pacman game on there, but the high score list didn't work after we switched servers. So, what I've got is a game that uses PHP, but I need it in ASP - Code:
View Replies
ADVERTISEMENT
Anyone know how to make a text field automatically highlite the text inside when the user clicks on it?
It would be very helpful.
Also, what is the default value of a blank text field?
View Replies
View Related
I have set up a variable that if the answer is correct score =1 however im not sure how to total all the scores and i would also like to have it as a percentage. Code:
View Replies
View Related
We are specialized in the production and marketing of global companies
renowned brand wrist watches.Our companies engaged in research and
development,production,assembly and marketing of brand-name watches
series and Handbag series.
The wrist watches include Rolex,Omega,Breitling,Bvlgari,Cartier,Tag
Heuer,Versace and more than 28 brands.
The Handbag include Gucci,Chole,Fendi,Miu Miu and More than 20 Brands
our products sell to Europe,American and Oceania. We have high-quality
watches, Code:
View Replies
View Related
how to validate a field to make sure that its numbers only. Its basically a form that asks for the user to input the scores. Now , i realiase that you'd have to be fairly thick to enter a letter as the score instead of a number but, i'd like a tidy error message instead of the type mismatch error (that could confuse newbies even more) just incase . I looked into javascript validation but, i really need to do it serverside .
View Replies
View Related
i hv 2 build a E-Learning system which will provide questions 2 t users & once they answer it,the system need to count the score.
i created a database consist of Question & t correct answer,a need u'llz help for coding which will check t answer given by user vit t correct answer n give t score
here's t design of the database
________________________
|Question | Correct Answer |
|________|______________|
| | |
| | |
| | | ....
View Replies
View Related
I've found that, when debugging scripts on my computer, IE will give me an Error 500 message if something is wrong with the script, whereas IE on my co-worker's actually prints the line and points at the exact character that's amiss, and says what kind of error it is.
This is incredibly useful for someone who is learning like me, but we can't figure out how to make mine work that way (it's the same version on the same OS and everything).
View Replies
View Related
i had this site of mine running from my pc with duc no-ip for avoiding my ip from changing my ip. it was working fine, but i made an upgrade to my machine, so had to start all over again;
my web app works with access and asp;
i gave my .mdb total control to IUSER_myPcName and, in iis, in mmconsole, i go to my websites/properties/security and then in this window i click edit and i have:
anonimous access checked but the rest of it i'm unsure
when i try my login, i get this error msg:
Provider (0x80004005)
unspecified error
/a/login.asp, linha 53
that's the line where, in my script, i connect to odbc.
View Replies
View Related
I'm just after installing windows 2000 server. It seems to be running fine. I can log onto sites stored within etc. However I'm having major problems trying to sending email forms. I am using an asp form to send the details however I never receive them. After completing the form and submitting the user is brought to a confirmation window which displays all the form details. There are no errors howver the email is never recieved.
With the errors I cannot say if the email was sent or not. So i do not know if it is the server settings or the asp file.
Do I need to preform additional installation of configuration to get the smtp server up and running as I am only using the default settings.
View Replies
View Related
Could someone help me find a tutorial (or perhaps instuct me) in the proper way to configure IIS 5.1 so that I can design and test (using localhost) multiple web sites. My problem arises when I try to debug ASPs that contain virtual includes which assume that the ASP exists in the default web site.
Since my ASPs exist in subwebs within the default site rather than in the default site, the included pages are not found and my ASPs return errors. I'm sure there must be a better way to do this but so far I haven't found one.
View Replies
View Related
how do i get ASP running on my windows XP professional standalone PC, I,ve Got IIS running in my machine. I,ll be working on a single website.
View Replies
View Related
I have to ask for some help on this simple task. I have a form that I want to sent via email. I made an asp mail form/file that looks like this:
Code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<body>
<form method="POST" name="aspmail.asp" action="--WEBBOT-SELF--">
<p> </p>
<p><input type="text" name="T1" size="20"></p>
<p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>
</body>
</html>
Ib have linked this form via POST to my aspmail.asp cdonts code. This looks like like this:
Code:
<%
Dim objMail
Set objMail = Server.CreateObject("CDO.Message")
Set objConfig = Server.CreateObject("CDO.Configuration")
'Configuration:
objConfig.Fields(cdoSendUsingMethod) = cdoSendUsingPort
objConfig.Fields(cdoSMTPServer)="smtp.1and1.com"
objConfig.Fields(cdoSMTPServerPort)=25
objConfig.Fields(cdoSMTPAuthenticate)=cdoBasic
objConfig.Fields(cdoSendUserName) = "mdinrune-1"
objConfig.Fields(cdoSendPassword) = "rtdhe"
'Update configuration
objConfig.Fields.Update
Set objMail.Configuration = objConfig
objMail.From ="info@justonedomain.com"
objMail.To = "kmuel@aol.net"
objMail.Subject ="Information"
objMail.TextBody="This is a test for CDO.message"
objMail.Send
If Err.Number = 0 Then
Response.Write("Mail sent!")
Else
Response.Write("Error sending mail. Code: " & Err.Number)
Err.Clear
End If
Set objMail=Nothing
Set objConfig=Nothing
%>
Can anyone point out why this is not working? It should work.
View Replies
View Related
It seem that I did not configure the SMTP service on a Windows 2000 server correctly because all the email is been sent to InetpubmailrootQueue directory. Do I need to install Outlook for the email to send the mail to the recipient?
View Replies
View Related
How can i list out all the email address into my website from the hotmail caontact list? i am successful log in into the yahoo contact list by using serverxmlhttp and list out all the email address from the page source, but i could not access to hotmail by using the serverxmlhttp. Is any other methos can list out the email address from hotmail contact list?
View Replies
View Related
I have a form with 3 list boxes, in the second list box i have created a select all button to enable users to select all items.
but when i click select all button an error message is returned stating that "Object doesn't support this propery or method"
here is my code.
<script language=javascript>
function selectall(sel) {
var len = sel.length;
for ( var i=0; i<len; i++)
{
sel.options[i].selected = true;
}
}
</script>
<input type="button" name="selectall" value"select All" onclick="javascript:selectall(listboxname)")
View Replies
View Related
i have a list box with allot of values in it. How do i submit the item that is selected in the list box? ive tried a few but i cant get it working. Here is what i tried:
Document.form.search.value = document.form.list1.value
View Replies
View Related
in select box we can select only values...can not change that value in list itself...
i wanted to give my user in edit form they can chnage the value in list itself...
any property of select box..or some codeing ? Code:
View Replies
View Related
i know how to get a listing of files in a specific directory, but i want to get a list of all files in all subdirectories of a specific directory (not virtual). on my server i have e:picturesweb.
in this folder there is male and female directories and in those directories there are also subdirectories. i want the page to create a value for each file and directory so that it can be submitted to another page that will ftp the pictures to a remote site. (yes I have the ftp script ready to go)
something like:
picname1 = john1.jpg
picdir1 = male/
picname2 = sally.jpg
picdir2 = female/
View Replies
View Related
I have a webpage with a list box. I wish to populate it with values from my database when the page loads, these values are just the primary key.
View Replies
View Related
I've created one list box and a button The query is: After clicking the button the action done on the same page with the values selected. How to solve this ?
View Replies
View Related
Does anyone know how to tell which items in a multiple-select listbox are selected?
View Replies
View Related
Im using a drop down list for user to select their option. (For example the user selected type2) All goes fine for saving, but when I retrieve the info from database to be display on the same form on the same drop down list, it display Select Heretype2
<select name="type">
<option value="<%=type%>">Select Here<%=type%></option>
<option value="type1">type1</option>
<option value="type2">type2</option>
</select>
How to overcome this?
View Replies
View Related
I want to save the value of the option in a cookies choosed by a user in a drop down list in ASP page. After OnChange"........ what should I write?
View Replies
View Related
I need to create a page which updates a products information within a record.
the tables are,
products (ID,CatID,sID)
supplier (sID,sName),
category (CatID, CatName)
The above tables supplier and category have relationships to products by using the sID and CatID
I need to update the product details by having a select/option for a supplier and category but if not changed by the user the value already within products table stays the same, therefore the list must be dynamic so that the first item in the list is the one relating to the value in the products table. Also the value must be the ID numbers but must display the names not the ID's to the users within the select/option.
View Replies
View Related
I'm sure an ASP programmer would be able to create this function within 5 minutes, but I'm just learning and I've fumbled my way through creating a little site content management system for a local community group. I'm a designer and the site looks great (so I'm told) but I just can't get this last page to work. I'm desperate for help!!!
I'm trying to call the values for a drop-down list from a seperate categories table in Access, to add/update records in a main Access table/query. The page/form is used to:
a) diplay/edit existing records; or
b) add new (if cstr = "").
I have finally managed to display the correct selection in the drop-down list for existing records (not sure if code is correct?) but I can't work out how to write changes (edit record) back to the database; or 'save' a new record? I'm also not sure if I should be trying to write data to the table or query? Code:
View Replies
View Related
how do i maintain the drop down value.. when i click on the "All" it cant be maintained... jsut that "All"... others values works fine.. Code:
View Replies
View Related
Can someone tell me why my "select2" menulist disappears??
Code:
View Replies
View Related
Is there a way to list the permissions on a directory in my web folder? Like group permissions and such
View Replies
View Related
i am selecting a field from a list .i want to show all the list after searching on the basis of that selected field from database in another list box which is on the same page.
View Replies
View Related
I have a select list which get populated from com but i option value ALL is hard coded on the pageWhen any value is selcted from the list box and form is submitted pages refreshes with the value as selected in the drop down but if All is selected the page ref but All doesnot get selected.
<LABEL for="MyList"></LABEL>
<SELECT id="MyList" name="MyList">
<%For icount=0 To intmyCount%>
<OPTION
<%if Trim(arrmyType(icount,0)) =strmytype Then%>
SELECTED
<%end if%>
VALUE="<%=Trim(arrmyType(icount,0))%>"><%=Trim(arrmyType(intCtr,1))%>
<%Next%>
View Replies
View Related
How to display sql database data to dropdown list in asp?
View Replies
View Related
I have a page which displays all the fields in a table of my dbase. One of the fields in the database was previously populated by a drop down box.
My question is, is it possible to display the same drop down box with the value that has been populated from the table so it can be updated?
View Replies
View Related
Does anyone has some sample code or know any resources for using ASP and Javascript to dynamiclly create a drop down list?
(ie. Once the user selects a drop down list, ASP gets the selected value and go to database to get another set of new values. then creates a drop down list of all the new values)
View Replies
View Related