Real Quick
Im looking since the begining of the week about saving the enter(vbcrlf) from the html <textareato my MySql database, it save everything but it just loose everything when saving ot the database, do i need a special component to be able to save the enter and tabs etc. Im sure i was able to do it before and it was easy.
View Replies
ADVERTISEMENT
I am new to ASP.I am retriving one table values from mysql database.
displying the values on the browser in XML Format.
now my problem is I want to read this XML Values but i Don't want to save
to.xml.
View Replies
View Related
ow do i show real time on my page?
for example i have
Code:
dtTime=time()
View Replies
View Related
I'm using the function copied below to authenticate users in LDAP before allowing them onto our intranet site. This works great! But what I'd like to do now is use the LDAP connection it creates to retreieve the users actual name.
I dont know how to do this so I've been looking for examples I can learn from on the net. I have found snipits of other people code but I've been tying myself in knots trying to fit them into my function and failing miserably.
Could anyone tell me what I need in the function below to get this information. From what I've seen I think I need to use some kind of filter on the LDAP object, but I dont know how to implement it. Code:
View Replies
View Related
I am doing a RE site, and need a variety of RE calculators? Anyone know of a gud resoure free if possible.
View Replies
View Related
im using cdosys to send an email from an asp page. is there a way i can insert the current page as the body of the email? i know i can send an HTMLBODY and specify a url.... but that wont work because the page is dynamically generated... so i need to be looking at a page, click a button and have the html of that page inserted as the body.
View Replies
View Related
i want to run some code is a certain condition is met and i can't figure this part out
i want if the button is pressed then will run my code else will run my other code
but how do i specify this button. if "button" is pressed?
View Replies
View Related
I want to know what authentication type the IIS uses to authenticate
users, when i query the AUTH_TYPE i get "Negotiate"...
Is there a way to know for sure if it is Kerberos or NTLM?
View Replies
View Related
A client of us asked to write a script to View live visitors as they browse her website and to get the information such as, what page they are viewing, what browser type they are using, IP address/host name, visitor time on site and screen resolution.
Is this possible in ASP scripting without a server side or client side application? How to get the realtime stats of a visitor?
View Replies
View Related
I want to be able to make a script which runs in real time. This is what it needs to do:
When a user clicks on a box, it starts the countdown, and changes a variable in the database (ie taking away 1000 from the 'money' column). The countdown is 20 minutes, and the user can see how long they have left to wait by refreshing the page. Once the 20 minutes is up, it changes another variable in the database (ie add 1 to the 'no of buildings' column).
I know this is possible, as i've seen it done before. I think you may have to use AJAX, but have no experience of that so could use some help.
View Replies
View Related
what I am trying to do is the following, its causing some probs though:
I have the following in a database:
[[imagediv 100.jpg This is the description text]]
This is just some dummy text. It doesn't mean anything and is for placeholding use only.
And want to change it to:
<div class="imagediv"><img src="/images/100.jpg" alt="100.jpg" width="200"
height="200" /><br />
This is the description text</div>
This is just some dummy text. It doesn't mean anything and is for placeholding use only. In the future I might want to use different codes ie [[imagediv 100.jpg This is the description text]] to reference a different DIV.
View Replies
View Related
how can I count specific charaters in a string?
like the amount of backslashes in-
"D:Inetpubsite hisstring"
View Replies
View Related
How do I force the order of a SQL query?
My table has a field called ModelName which could contain 1 of 5 vehicle
models. I want to force the query to order these in a particular order (not
alphabetical, but an order that I have determined ('Range Rover',
'Discovery', Land Rover', 'Jeep', 'Others')
Let's say my current query is:
"SELECT DISTINCT ModelName FROM tblVehicles"
What do I need to tag on the end to order the result as stated?
View Replies
View Related
1)How can i work out if a certain user is still online? All the pages the user will be able to view has a "check this password etc etc" so i could work it out that way, but would prefer to try and use sessions
2)Work out when a visitor last visited the site. I would like it so that this is only updated when the user LEAVE the site or CLOSES the browser - so it cant be updated on every page
3)Work out what users are on what pages. Again will probably mean sessions but how?!
4)Work out what pages (threads) the user has looked at. I know both vbulletin and snitz do something with the users last visit (question 2) and the last post...but how does it work
View Replies
View Related
On the DATE function, if I want to delete everything that is more than 30 days old,
would I check for DATE-30?
View Replies
View Related
I building a page showing the different times in different parts of the world but if the local time is 08:15:25 and I subtract 10 hours, it displays 0-2:15:25. How can I show it as 22:15:25.
View Replies
View Related
I'm looking for a solution for the following problem:
I created ASP code to convert an URL such as:
http://localhost/mypage/category_20/article_15/
into the following URL:
http://localhost/index.asp?page=myp...20&articleid=15
Now, the first URL is submitted by the user. The second one is the real URL,
but not visible for the user. This one should be handled by the web server
internally.
I thought I could accomplish this task with server.execute or
server.transfer, but none of them can handle querystrings. Is there another
way to do this?
Are there perhaps any COM objects? (This will be my last choice, because the
whole system should go running on an iASP (instant ASP) server too if
possible)
View Replies
View Related
I've searched over 1 hour on Google and elsewhere and haven't found
anything.
I'd like to find a way to get the real active user count on our website.
THe main problem I have is when a user quit with the "X" the counter will be
decremented of 1 only when the Session.Timeout will be expired.
View Replies
View Related
I need a pattern to do this:
"?caid=[0-9]+&pgid=oRS("pgId")"
Where [0-9]+ means you need atleast 1 number there, the rest is just a string plus my recordset's variable. I know this syntax would work with the regex I learned at school but I'm not sure how to make it work in ASP.
View Replies
View Related
Does anyone have a snippet to hand where i can create a dynamic dropdown for a credit card page, basically i need to dynamically create a drop-down populated with this year as 2006 and go back 4 years?
View Replies
View Related
if you have a function in an include file, and you copy that function and give it a different name.... and then you change the name in your call.. shouldn't it work just like the old function did?
View Replies
View Related
I m using MSQL and I m trying to create table where the first column is autoincremented, this, however, generates a syntax error. I can t figure out the problem:
Create Table tblAuthor (ID int(11) auto_increment,AuthorName varchar(200), primary key(ID));
Error Message: Line 1: Incorrect syntax near 'auto_increment'.
View Replies
View Related
can anyone tell me where i can get a good tutorial for a quick search.
View Replies
View Related
How can I add a quick drop down menu to an asp page? I've tried to incorporate javascript and I can't seem to make it work. I want it to replace the current navigation on this page.
http://www.compsports.com/poll.asp?No=1
View Replies
View Related
I've just launched a web site that sells collectibles. To do this I've got a ASP shopping cart with a checkout process.
As all the prices on my site are in Australian Dollars, I' trying my very best to find a way to display the total price in USD as well....
Eg:
Total Price : $ AUD 100.00
Total Price : $ USD 79.00 (real time rates)
I need to do this because I also want to Accept PAYPAL account payments which cannot be made in AUD.
View Replies
View Related
I want to add a "quick search" functionality in ASP or ASP.NET page. I heard
we can use Microsoft Indexing Service to accomplish the task, but not sure
how to do it. Is this the correct approach? Code:
View Replies
View Related
i am using the following code to generate a xls file using the content type now when the user opnes the file at his pc it takes long time to open..if the no of records in file is large does the use of html tags has slow down the process of opening in excel. Code:
View Replies
View Related
I need to insert some number into database as text. My problem is if I insert the number (ie. 4.0), the value in the database only show (4). So, is it possible to convert a real number into text number using ASP?
View Replies
View Related