I'm doing a content management system, whereby the user can enter the HTML code for a currency symbol, eg £ for £.y . when I bring this data backup, say they want to edit the settings, then my ASP/HTML page is rendering the HTML code, eg £, rather than showing the original value, eg £.
If for example I put a space between the '&' and the 'pound;', eg & pound; then this will cause me problems because the user will think that they have to a put a space in or they file it with the space, which means the HTML code won't work any more. Is there a way round this?
I have two folders in inetpub/wwroot. One has all HTML code, the other has HTML & ASP pages. The pure HTML files show up in IE6 just fine. The other pages just say done with a blank page. I had servral files that were ASP pages but only had HMTL code and changed the extension to HMTL and still get blank pages. Not sure why these pages do not display but the other directory does.
Both folders have the same rights configuration (scripts & executables). I am using IIS 5.1 on XP SP2 machine and I Have all updates installed. If I open these sites in FrontPage they both work fine. I guess FrontPage handles the code itself and does not use IIS. I am tryint to relearn my ASP & HTML and I need to get this working,
I am currently attempting to convert from PHP to ASP and I am having some difficulties.
Foremost, from my PHP page I have pages that reference HTML source code from a remote page, write it to a local page and then displays it. I haven't been able to find any way to display this HTML source anywhere.
I am designing an Interactive website that uses MySql. At the moment I have just designed the Login pages for users. However to do this I have a Login.html page and a Login.asp page. The values from the html form is posted to the asp page which checks the details against the databse and redirects the user acordingly.
However I would like to have just one Login.asp page where this is all done in. I have tried simply putting the html code into the asp page but the problem is that as soon as i run the login.asp page (on IIS), the asp code is also run. How can I change this so that only once the user clicks on the submit form button, only then the asp code is executed?
I have creating a simple ASP guestbook using an Access Database, is there any of disabling HTML code so that visitors cant post HTML in the guestbook entries?
<a href="contact.asp?subject=Question about group <%=(Recordset1.Fields.Item("group_name").Value)%>">Send a message</a>
I am actually putting above info in an Access field. People would be able to send me email through a form in contact.asp and I want the subject line reflect which page they came from.
So, when my search returns the result I need one of the fields to be clickable and show the customer's info for the clicked customer.So, lets say we make the ID clickable. So, my HTML has to look like:Code:
<input type = "submit" value="sqlrs("ID")">
How do I construct that in ASP since, using " in strings ends it and same with Response.write methods.
How would I insert this code into a .HTML document rather than a .ASP document.
<% Set MyFileObj = Server.CreateObject("Scripting.FileSystemObject") Set MyTextFile = MyFileObj.OpenTextFile(Server.MapPath("content.txt")) WHILE NOT MyTextFile.AtEndOfStream Response.Write(MyTextFile.ReadLine & "<BR>") WEND MyTextFile.Close %>
im using some wysiwug editor called htmlarea to add some articles to the DB through textarea (something like that we use to add threads) but when the html code contains a link for example it gives error coz of the the ("") in the html tags .. it's something like this Code:
,I need to call a URL, receive the raw html in my VB Script code and parse it to retrieve a value from a cgi generated web page on a remote Apache Web server.
What is the best method to accomplish this in ASP 1.0?
I have a page which has a header finding out some variables from request.querystring and other places. Later on in the page in what is normal HTML code I want to use the variable but am having to do this:
is there any way i can just have the line with the variable being interpreted without having to go into a code protect and write the line out with code. Something like this:
I have a e-mail function in serverside VB, how would i put html code in the body variable so when email is recieved it looks like html page in the body. right now it just shows up as text in the body of message,
inserting dynamic page code in .html page? i.e. i would like to insert a code which will display links. where my homepage link extension is .html. if it is .asp it would have been very easy. and also i would have worked fine. but now the problem is the homepage index file extension is .html.
so if i insert the code it is not displaying the links. i tried inserting the code in a separate file and saved as file.inc and gave the link from home page <!--#include file="file.inc"--> but still the link is not showing and not working.
i have a database and the asp file. my database will have one table, a user table, with various fields like username, password, name...age.. all i need is the html code to make a simple form such as
Welcome to the add user page: PLease enter a username (input box) Please enter an email address (input box) finally a submit button.
i then want the variables to run a 'signup.asp' file which i have, and be placed into a database.
I have a table having 3 columns. There is a checkbox for each line. I need to get those lines whose checkboxes are checked, and show those lines to another webpage. Is there any way to do that? My concern is that all information in the table are in <tb></tb> pairs without any name tag. Any idea?
i need to include the html inside another html, though it might appear simple, the catch is this, my one html is in one server and my another html is in another server.I cannot read the html and stream it as it has images and their path gets changed when i do that.
More over i donot have any control over the html which i am going to include all i have is a url http:abcxx.htm whose content i want to show in another asp page. The technology is ASP (vbscript and javascript).
I was just wondering if anyone else has had this problem? I am displaying records from a database and when I hit F12 the page displays ok. However when I link the page to the main page and click on the hyperlink the page appears in code view and I was wondering if anyone knew how to solve this problem.
I have a table that contains a chunk of text, and the text commonly has special characters, such as "&" or "–". To edit this text, there is a page where the text is dumped into a textarea.
However, IE interprets the special characters, instead of their values. How can I have it so that when the text from the database is displayed inside a textbox, IE does not display the characters but instead their values?
I've created a form, using ASP to pull through first and last names from a database into another database. I cannot get it to put a space between the names it pulls through!!! Can anyone suggest what a put between the two to get a space!!
I have an asp file that I made and I want to have it when you come to my site, the index.html redirects you to the .asp file, what is the code to do this?
ASP is server-side technology.All it does is process data sent from a client in a Request and generate html to be sent to the client via Response. You'll probably get a quicker response by posting to a relevant newsgroup. http://groups.google.com/groups/dir?sel=33584039
What is the difference between HTML and ASP? Apart from this,i know that ASP can display data from the text file of the server.Can HTML do such thing too?
I need to make a javascript include file using asp. I know how to make the include file with a .asp extention, but I am haveing other truobles How can I make the < in html code be displayed as < not hidden and executed as normal code? Ex. <body><font color="red">this is text</font></body> would be displayed as that not this is text (but colored red). There's some function... ...can't think of it... ...I kind of does replace(pghtml,">",">"), etc... since I am getting the data from a database, I need it ALL to go on one line when I response.write it, how would I do this?
I have an index.asp which consists of frameset and frames. The sub-frames also consists of frameset and frames. This way, I can set the layout of my webpages.
In one of the frames, I load Login.asp. When it is submitted to doLogin.asp, I validate the login information. When I validate the password successfully, I want the whole webpage (the index.asp and down) to reload because it has to re-draw the menus on top. When the login is failed, it redirects to Login.asp.
I am having a hard time doing this from my ASP page right after I validate the login information.
If this is the wrong group, please post a more relevant group. My problem is that I have a .hex file (basically a text file) shown on a web page for download. If one left clicks on the link for this file, the text content is displayed. Someone in my organization wants to prevent this display. Any ideas on how to do this? I hope this is not an ignorant question but I am not a web developer, ... yet.
I have to pass the valut of an HTML text box through POST method but for some reason i m unable to get that value through Response.Form of asp I have to get the value by response.querystring but for that i need to send that value through parameter in URL i dont know how to pass that value of textbox through parameter by post method.