Advice For Adding Languages
Ive done quite a few sites now that involve different languages using different strategies and I would like to hear some different opinions on which is the most efficient.
The previous sites with languages that I have done have not been majorly big or would involve vast amounts of traffic so using included language file have been ok. I am about to do a site in 4 - 6 different languages that will have quite a lot of traffic. I have also used application variables in some cases but not sure if that is the best way.
So if anyone has any ideas on a better way and also one that is easy on server resources I'd love to hear them (and maybe a link to some code would be koool)..
View Replies
ADVERTISEMENT
I want to create a form that has a image embedded in it. This photo needs to be edited inside the form (i.e. a picture of a car that needs lines added to show damage. The form will have data in it (like car make, model,). When the form is submitted, the data needs to be written to the database, the image needs to be saved and the name written to the database. When the data is retrieved, the data and the image need to appear.
View Replies
View Related
I'm looking to set up a contact directory where people can update there contact information. I was thinking of using the request.server NTLOGIN, this would cover ther security side. I've been looking at the pattern for creating logins and it seems they don't go any longer than 7 chars, but its based on the surname and the forename.
ie mine is first 6 digits of my surname and first intital of my first name, but then looked at another and the surname is only 4 chars so they use that and then first three of first name. Do you think it would be possible to do compares on this as the logins vary each time?
View Replies
View Related
I'm just after abit of advice and recommendation about processing a form. Would it be advisable to set the form action to the page were the form currently sits and insert an if statement into the beginning of the page to check to see if submit = Yes?
Then saving the user inputs into sessions?
if all inputs meet the validation requirements then redirect the user to the next step?
Also is there a better way of trapping if a user enters numerical values and special characters than this? Code:
View Replies
View Related
I'm displaying records from an Access db and would appreciate advice on the most efficient/easiest way of displaying a field.
The db holds a list of furniture products where there are a number of ranges. Each record has the range name against it but I've only put the range description against the first record in that range Code:
View Replies
View Related
my web host offers ASPMail - which works fine for sending individual emails, but I'm not too keen on using it to send out bulk emails because generally it times out, and then I am left with having to work out who has received their email, and who hasn't.
Anyway, just checking to see if anyone here has any advice about what options I could use to send out bulk emails. My idea of "bulk" is anywhere between 300 and 1400 at a time.
I know there are lots of free services on the web out there which offer free email newsletter services - do people have any recommendations for any of these, or any ASP based components or scripts which I could use on my site to get around this problem?
View Replies
View Related
I was reading up on ASP for a report and it talked about scripting languages. It also talked about using VBScript or Javascript as a scripting language? What exaclty is a scripting language and why do you have to use it?
View Replies
View Related
We have a few English websites running on a single server and are in the process of adding a Spanish website to the same server. I am trying to determine how one would set the language for a particular website. For example, instead of ASP generating a date like "Monday, July 19, 2004" .
View Replies
View Related
Can any one tell me how many programming languages are there in the world? I tried to google it but could not really get an exact or complete list of them all.cheers.
View Replies
View Related
Can C++/CLR be used for web development? Among C++/VB/C# does any language have an advantage over another for Web/ASP.NET development?
I use C++ for native devlopment and I am considering using VB for all .NET develpment whether it be Windows or Web. I like VB's syntax.
View Replies
View Related
I've been fighting this for a couple of weeks:
My ASP/Access app'n uses UTF-8 data in mixed languages/scripts successfully. That is, it takes input, stores and retrieves stuff OK browser-wise. The app also writes an RTF file and downloads that to the client (for display by Word) fine, but ONLY English; Cyrillic and the CJK group gets the trash display - and it's not a font pblm, cuz the browser display is good.
I've tried a number of charset directives in the RTF-writer, including CP-1251, UTF-8, Unicode, etc. None works. I don't know whether I need an explicit code-set translator or not, and am working with ChilKat's Charset product without any improvement so far.
View Replies
View Related
I am now creating a website which have 3 languages (English, Simplified Chinese and Traditional Chinese). The server has installed English version Window 2000 (Server Version, Default Codepage is Traditional Chinese) and MSSQL 2000 (English). I have created a database which use the codepage "chinese_PRC".
However, when I created an testing asp pages ( 1 textbox and it will insert the content into the table), it cannot store the chars in correct coding. I would like to know whether asp or MSSQL has something wrong in my setting?
View Replies
View Related
Just started learning ASP, seems like lots of people use VBScript to program with. Though, I have spent the last year learning Java. Just wondering if I can use this to program with? along with its API's ?
Also, is it worth while to learn VBScript ? Is it industry standard or needed? Im guessing it is from the way its the language used in most ASP books. Any insight would be great.
View Replies
View Related
This is a first for me...so all help much appreciated.
I am trying to create a survey form which retrieves all its questions form
an ACCESS database.. (I know ACCESS isn't the best option, it just not my
call).
This database is to be multi lingual and my current survey is to be in THAI...
So in creating the survey, I copy the thai text into the ACCESS table from a
WORD document and all looks good. ACCESS seems to understand the THAI.
When I retrieve these Questions from the Database, loading them into a
recordset however, I get '????'s' in the output instead of the thai text .
I have set the charset of the HTML document as charset=TIS-620..
Can anyone tell me what i am missing? What needs to be done to display thai text in my ASP App?
View Replies
View Related
I have an ASP page that I want to support multiple languages. If I set the
<%@ Language=VBScript CodePage=65001%>
and adds a
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
meta tag it seems to work OK. Now instead of setting the codepage in every
page I tried adding a global.asa (Session_onStart) file and add
session.codepage=65001 and also tried to add response.charset="utf-8" (I was
not allowed to set <%@ Language=VBScript CodePage=65001%> inside
global.asa). This does not seems to work though.
Is it possible to set a codepage in some event in a global.asa to make it
global for the entire application? Is it possible to add a directive in
global.asa that works like setting a <meta http-equiv="Content-Type"
content="text/html; charset=utf-8">. If this is possible I don't have to
recomplie my business logic that creates the html.
View Replies
View Related
how ASP (not ASP.Net) to do the following things:
1) Get real-time information from other web site such as tracking via
Fed-Ex;
2) Real-time credit card charging via a payment gateway such as WorldPay;
3) How to support multiple languages.
View Replies
View Related
I want to create some pages using .net, and have others using regular asp with vb. Just wondering? I know you can have Java within the same pages, but didn't know if using asp, and then wanted to do some .net things if the site would have problems.
View Replies
View Related
I have a form on my asp page that sends data to an emailing script. I am working with other peoples code which is causing a lot of hassle. Is there any way of sending a Bcc address command from the form rather than the emailing script?
View Replies
View Related
I wanted to know how I should go about doing this. I have this query:
SQLmax="SELECT Max(OrderNumber) AS intTotal FROM Status"
Which gives the Max(OrderNumber).Say in this case it is giving out put as 37.
Now i want the output to be displayed 38,which can be done by adding 1 to Max(OrderNumber).
Should i get this by doing this way?
var=RS(intTotal)
var=var+1
Response.WRite var
Is this right?
View Replies
View Related
Im using this code to pass a value to a variable:
<a href="Artists.asp?cat=<%=Server.URLEncode( rsuser( "art_Artist" ) )%>"> <%=rsuser( "art_Artist" )%></a>
How do I add another value to this link with the variable name catArt so that I can add:
?catArt=<%=Server.URLEncode( rsuser( "art_Artist" ) )%>
View Replies
View Related
what do you think is the best way to implement an "add new row to table" functionalilty?
am using asp(obviously )im currently using document.createElement with javascript, but im having a hard time retrieving the data.am also thinking if this is really the best way to do this.or if this would work with all other browsers other than IE...
View Replies
View Related
how to add a password to using this connection string
<%
set conn = server.createobject ("ADODB.connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open(Server.Mappath("dat48372.mdb"))
set rs = Server.CreateObject("ADODB.recordset")
SQL = "SELECT Price FROM DABRadios WHERE (ID LIKE 6)"
rs.Open SQL, conn
showall=true
%>
View Replies
View Related
i have a id1 field which has data like this 002,003,004 and i have to increment it by one when i add a new customer so this is what i do
Set rs1 = Server.CreateObject("ADODB.Recordset")
sql1="Select Max(id1) from table2"
rs1.Open sql1, Conn ,2,2
maxid=rs1(0)
so i get the maxid for example as 003. the next record will be added and it should be 004 and i do it in this way maxid= maxid+1
but when the record is added the id1 field has a value of 4 instead of 004
View Replies
View Related
Say I have to different recordsets that have the fields:
rsA.Fields.Item("A").Value ,rsB.Fields.Item("B").Value
How would I add those to fields? It may be my inexperience but when I
tried something like
rsA.Fields.Item("A").Value + rsB.Fields.Item("B").Value
didnt work because one of the fields was a empty value. I have about
6 fields i need to add together if a value exists in any of them.
Suggestions?
View Replies
View Related
I want to fix this problem, i dont no how. Bassicly there is blank data appearing in my database, for no apparant reason! Code:
View Replies
View Related
How can I add a new user on my server using ASP?
User example: myserver/user1
View Replies
View Related
I'm new to ASP and a few querys
I have created my database in Access with the following fields
StockCode (Text Box, Primary Key)
Item (Memo)
Price (currency)
Picture (memo)
OnOffer (Yes/No)
and I know that access table cannot have a picture in it, only a access
form using OLE, but how do I get my asp page to display a picture for
every record? The picture would be a picture of the product with the
Stockcode as the filename - m001110.jpg?
View Replies
View Related
I have an ASP page with a table that fills with records from a loop. Every
row gets a link to another ASP page with data from the row. The link is
written as <a href=newpage.asp?value1=xx&value2=yy .... and so on.
Now I try to let the user specify a number that should be sent to the other
page. But I do not want to clutter up every row with each an input field,
so I thought instead I would place it above all the data rows. When the user
clicks on the link, I want to include the input field to the querysting. The
problem here is that I cannot figure out how to refer to the name of the
input field.
View Replies
View Related
I have just finished building my first shopping cart in asp and MS Access. Originally the shopping cart was to be built for products with no size and colour, however as usual the goal posts have moved and I now need to incorporate a size and colour option for each product. Could anyone explain to me how I can go about doing this i.e. adding the different sizes and colours in the admin website and then linking them to a specific product when it is displayed on the products page? I know they both need to be in a dynamic drop down box when displayed on the products page within the shopping cart, but I am just wondering how to read the correct values out from the table depending on which product is being displayed. I have a normal products table at the moment with general fields i.e ID, name, description etc.
View Replies
View Related
I have a web page hosted by server1. I need to add a link to a web page hosted by server2. This part is simple. However, I also need to give the linked web page the user id for the user that was validated in server1 (it's in a session variable).
At first, I thought the following would work:
mywebpageonserver1.asp:
Response.AddHeader "MYUSERID", "whatever"
Response.Redirect "http://server2/mywebpageonserver2.asp"
On server2, mywebpageonserver2.asp:
View Replies
View Related
i have a page that enters numbers stored in different values e.g monday tuesday wednesday thursday friday into a database. is it possible in asp to add those values up and store the added up value in a seperate field in the database
bascially
total =monday+tuesday+wednesday+thursday+friday
How would i do that in asp.
View Replies
View Related
I am using Dreamweaver MX to create ASP and MS SQL Server for database. I got a few fields like Value1 - Value5. So i have create the recordset of the 5 fields and i am extracting the total count of each field. Now i got 5 recordsets showing the total of each field. So is it possible to add the value of the 5 recordset together into one value? And is it possible to use the value of the recordset to do some simple math addition, subtraction, multiplication and division?
View Replies
View Related
I need to add a ppicture to my Database.. The table is accessed through ASP Recordset but having troubles trying to insert an individual picture to each record?
View Replies
View Related