535 Posted Topics
Re: Not sure I'm following. Do you want to remove all the attributes in the anchor tag (<a>), except the href attribute/value? Or do you want to remove whatever is inside the anchor tag (tags, text, etc.)? Confused a bit, but when I see consecutive REMatches/REReplaces, I can usually reduce it … | |
Re: Try [url="http://sourceforge.net/"]http://sourceforge.net/[/url] | |
Re: I think certifications are helpful, but only as a supplement to experience. How many years of SQL Server do you have? A good SQL Server administrator needs a lot of hands-on experience. That being said, the exams are tricky. Many claim that it's not even fair, but they make them … | |
Re: Welcome to TTF! :cool: The easiest way is to submit the form to target="_blank" - here's some sample code in HTML/PHP. The PHP code is just so the form doesn't get displayed: [PHP]<? if(isset($_POST['something'])) { echo $_POST['something']; } else { echo ' <form action="'.$_POST['SCRIPT_NAME'].'" method="post" target="_blank" > Input Something: <input … | |
Re: What will trigger the validate() function? When you tab or switch the cursor to another textbox? This is what this does. [code] <html> <head> <title></title> <script language="javascript"> function validate() { // Verify that both passwords put in match. if ( ( document.getElementById("password").value != document.getElementById("passwordverify").value ) || document.getElementById("password").value.length == 0 ) … | |
Re: Nice resouce, but I'd have more faith in it if it was someone other than Novell itself that provided it. It reminds of the positive statistics private companies and groups make about Microsoft (how good their software is, reliable, etc.) You think that because on the outside they're not related … | |
Re: This is more of an ASP.NET question. A mod should move it. | |
Re: Yup. Most host providers that you go with have an administrative page that you go to for settings. The bandwidth stats are usually on the home page so you know how much you're getting. They also include more advanced stats that you can check out like how many people you're … | |
If you're doing programs for academic reasons, this is a good site to go for C++ information. Good for snippets. Used it a lot through classes. http://www.mvhs.net/~rkrane/clecs/ | |
Re: This is a tough question I've thought about a long time. I have no answer, just views. Here they are from an old post on a different forum. First of all, let me just say that the quote dates back since the time of the Bible. Throughout history, famous philosopers … ![]() | |
Re: The String tokenizer doesn't have a method to remove tokens. If you have a string like "the fish was eaten by the cat" rather than going through the overhead of creating more objects, just use the native method "replace" or "replaceall" that comes with the String object. You can replace … | |
Re: [QUOTE=ttboy04;1255918]1) What is the difference in handling data, between arrays and SQL. [/QUOTE] First of all, there is no concept of arrays in SQL (Server). The closest thing I know of that can simulate an array in SQL is a varchar string that's been tokenized and delimited by a character(s). … | |
Re: You create a full-text catalog for the pool of data you want to search in. | |
Re: Why are you getting "Procedure trClient_IOIns"? Looks like you might have a trigger in place that may be adding to the fire. | |
Re: I'm afraid there isn't a way. I've seen this question asked time after time in various forums and blogs and the answer is no. SQL Server completely wipes your data and replaces it with the recovered backup file. Cannot be recovered via transaction logs either. On Windows, do you have … | |
Re: Not sure what you're expecting. That layout would require not only a great deal of CSS, but HTML, and JavaScript (the Windows seem to be draggable) that most likely makes AJAX calls. I don't think anyone's going to do that for you. I suggest you search Google for Admin HTML … | |
Re: [QUOTE=tech.b;1243615]hey buddy i read this code of urs on one of the threads my concern is tht i need to to atore the data form each row in the table into an array..... or a srting..... could u please help me with this??? <script type="text/javascript"> # function showContent() { # … | |
Re: It really depends what you mean "efficient." XML has been around for a hell of a lot longer than JSON and its syntax has grown. The primary goal was two-fold when XML came out: 1. Way to standardize the description of data. 2. Be human readable enough so that it … | |
Re: [QUOTE=Ranap Manalu;1244706]just simple, select Replace('01/Mar/2010,02/Mar/2010,03/Mar/2010,04/Mar/2010,05/Mar/2010', ',','<br />')[/QUOTE] I believe he said a <br/> every 2 tokens. The code you posted places it after every token. He's something I quickly whipped up. [CODE] DECLARE @dateList AS VARCHAR(1000) DECLARE @dataItem AS VARCHAR(255) DECLARE @newList AS VARCHAR(1000) DECLARE @token AS INT DECLARE @count … | |
Re: Do you want to schedule jobs that make backups? What operating system do you use? | |
Re: When a man talks dirty to a woman: sexually harassment. When a woman talks dirty to a man: $8.99 a minute. | |
Re: [quote="laoli"]i like shareware, especially someone can crack it for free.[/quote] I don't know why you'd talk about doing illegal stuff in public. | |
Re: If you weren't a super mod, I'd ban you. =) Cool that it works. | |
Re: Yeah, hope you feel better. Just because you're sick, I'll let you sing "Peter the Meter Reader" all you want without screaming in pain. :roll: | |
Re: When someone mentions ColdFusion architecture, I don't think about the browser. The browser is just the recipient of the information. When I think of architecture, I think of layers, starting with a solid foundation. In this case, it's Java. At its core, ColdFusion relies on the JVM and the Java … | |
Re: Let me try to understand you. You try to connect other machines to a Windows 7 computer that has SQL Server 2005? Are they all the same version of SQL Server? Have you checked your firewall / DNS settings? | |
Re: Yeap, I think one recently came out. Just search for "coldfusion reference" and you'll find the only one. It rocks. Has tags, functions, and other stuff. | |
Re: Yeah, QoQ is very limited. If it had functions to do what you're doing, it would probably have different function names, since those are TSQL-specific. Check out Adobe's CF docs for QoQ usage: [url]http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=using_recordsets_7.html[/url] | |
Re: This looks like a composite key setup: [code] CREATE TABLE Dpt_tbl ( Name varchar(50) NOT NULL, Location varchar(50) NOT NULL ) GO ALTER TABLE Dpt_tbl ADD CONSTRAINT PK_Dpt_tbl PRIMARY KEY CLUSTERED ( Name, Location ) GO [/code] | |
Re: I'm not quiet sure what your problem is. Maybe what do you mean by "drags down 60,000 odd lines." Well, another way to get the max date would be: [code] select top 1 stk_trans_date from [YOUR TABLE NAME] order by stk_trans_date desc [/code] Asuming stk_trans_date is of date type. Is … | |
Re: Is this the first time you try to access a link server remotely? Are you running it with admin privileges? | |
Re: May I ask why you find "antiquated"? ColdFusion just released a kick-ass 9.0 version. Maybe you mean as popular? As much as I like CF, it's nowhere as popular as Ruby, Python, and all the other web languages nowadays. If you have decent programming knowledge, even if you have zero, … | |
Re: ColdFusion also has access to its Java layer, so I would look into Java encryption and calling it from ColdFusion. | |
Re: Yeah you could use TSQL, but it could get nasty if you have dependencies like referential integrity (you'd have to consider the order of the synchronization of tables). Look into the EXCEPT clause if you have SQL Server 2005 and above. If you got the cash, I would recommend RedGate's … | |
Re: That is a strange one. It's a client side error (4xx HTTP), so your request is failing due to an unauthorized HTTP request. As mentioned, CFCACHing on the client side would be my first guess. 1. Have you tried looking for the word "cache" to see if there's anything used … | |
Re: [QUOTE=utdream;1171829]CFDirectory returns a structure. From there, you can convert the structure to XML using a CFC that was written by Ray Camden: [url]http://www.coldfusionjedi.com/projects/toxml/[/url] Hope this helps![/QUOTE] CFDirectory actually returns a query, not a structure. Camden's toXML CFC is still applicable though. | |
Re: Remember to have complicated passwords. The more private the account, the more cryptic your passwords. For example, an old yahoo password of mine was: jufh80h4unfvnxjk45ha Brute force cracking that would take a heck of a long time. Not worth it. If it was cracked in one day, or even a … | |
Re: JavaScript reaches out to more platform than JSP. It can run on the browser, on the Server ([url]http://www.jaxer.org/[/url]), and on the desktop via console ([url]http://www.jsdb.org/[/url]). From my experience JSP is solely for web development on the server. Also JavaScript is a language. JSP is a web framework based of the … | |
Re: What version of CF? Clustered? What 64 or 32 bit of JRE? What DB Driver are you using? Microsoft's JDBC? jtDBS? | |
Re: Great review Ken. However, I see it a little different. I would give it an 8.0 for computer beginners, like the grandmas of the world. It's gets a 2.0 for techies. Why? Two reasons. [LIST] [*]Needs too many resources for what it delivers. [*]Cannot run executables, not even virtually/sandboxed. [*]Needs … | |
Re: I would probably be the 2nd person (2nd to Dani) to post on the Dani's forum when it was Techtalkforums (about 9 years ago) and she tried just about every type of software before settling down for vBulletin. Fun times. ^_^! On Daniweb, I suppose my post is: [url]http://www.daniweb.com/forums/thread72.html[/url] in … | |
Re: The syntax [code] SELECT * FROM [DATABASENAME].[SCHEMA].[TABLE] [/code] So let's say you're in the Northwind database and you wanted to query a table in the Pubs database, you would do the following: [code] SELECT * FROM Pubs.dbo.Authors [/code] | |
Re: For SQL Server 2005 and above: Backup: [url]http://www.tech-recipes.com/rx/2081/sql_server_2005_how_to_restore_database_backup/[/url] Restore (a little tricker): [url]http://blogs.techrepublic.com.com/window-on-windows/?p=454[/url] | |
Re: [QUOTE=gunnarflax;1140967]Hi, I am trying to create a website where the visitor can choose one of two languages when first arriving at the website. Then I want that choice to be saved throughout the whole visit without the visitor having to log in. I've always felt that cookies are a lame … | |
Re: [QUOTE=SaravKumar;1138428]Using AJAX how can I get web server time..[/QUOTE] Make an asynchronous call. Here's the HTML with JS. [code] <html> <head> <script language="JavaScript"> ajax = new XMLHttpRequest(); function ShowData() { ajax.open( "GET", "servertime.php", true ); ajax.onreadystatechange = function() { if ( ajax.readyState == 4 ) { document.getElementById("DataPanel").innerHTML = ajax.responseText; } … | |
Re: [QUOTE=PatMcC;1139407]Server-side JS on the client side[/QUOTE] What do you mean Server-side client-side JS? Isn't that like an oxymoron? Or do you mean be able to write a web application that uses JavaScript that has access to system facilities that would be exist on a server-side language? You could write plugins … | |
Re: Is your question how to get the AdventureWorks db on your SQL Server instance? Your installation might not've installed this sample DB. Get it here: [url]http://msftdbprodsamples.codeplex.com/releases/view/24854[/url] | |
Re: > Hi all,I am trying for validation using regular expression for Indian mobile number. > Simply i have tried for"^[8,9]{1}[0-9]{9}$" and some others also > but it is not working. > I want regular expression for: > 10 digit mobile number > starts with 8 or 9 Based on that … | |
Re: At its core, AJAX is just making a part of the page do something else while not refreshing the entire page. So for example, you can press a button, and just the button alone would load data from the server and display it on another part of the page (maybe … | |
Re: [QUOTE=albertkao;1139918]This does not work because clicking one checkbox will[B] send the whole page[/B][/QUOTE] If you just want to submit a part of the page (not the entire whole page), then you have to use an XmlHttpRequest object (AJAX). |
The End.