No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
23 year old Web Programmer. I work primarily in Coldfusion, but I have been dabbling on Flex and Adobe AIR lately.
- Interests
- video games, programming, gadgets, books, biking
- PC Specs
- Dell XPS 720 Windows XP Pro Intel Core 2 Duo @3.0 ghz 3 gigabyes ram 500 gigabyte hard drive (soon to…
49 Posted Topics
Re: I had to do this as well for my Operating Systems class. It wasn't the best code I have ever written. Well I usually work with the nuts and bolts first when I write code, so that is probably the best way to explain my chain of thought. First I … | |
Re: Sorry, but what you have there is not going to work. Trying to have dynamic content inside text stored in a database table is usually done with percent-sign delimited placeholders (or whatever your delimiter of choice happens to be). Here is an example: First of all replace the text "#qry_2.subtext#" … | |
Re: [QUOTE=Lerner;267786]Just look at one function at a time. Write, compile, and debug your code until it works. Then go on to the next function, etc. Don't look at the whole thing at once and panic.[/QUOTE] I would personally take this advice one step further and break functions down into little … | |
Its gotten to the point were its so slow that I can't do much of anything on the internet. I keep telling him that the connection is not his exclusive province and that me and my other roommate need to use it too, but my dismal latency remains (3k ms). … | |
I need a tag that doesn't go anywhere when I click on it but will show the little hand with index finger outstretched like I am hovering over the text teh tag applies to. I googled for a while, but could not find anything related to what I am looking … | |
Re: You are checking for event ips that have a udate of EXACTLY 6 days ago, not all events that have occurred since 6 days ago (use > instead of =). You also seem to be querying udate as if its an varchar. Hopefully this isn't the case because I am … | |
Re: Your answer for the first question is right. The second question for a recursive function is pretty easy, assuming it only is supposed to handle odd length arrays of the language that grammar implements. Seems to be a simple recursive function that checks through a heirarchy of ifs. Pseudocode: [code] … | |
Re: Can you set up a website as your project? If so, come up with an idea for a website (try to keep it tasteful), cobble together a server, and then put it up on the internet for the world to see. | |
Re: I have three suggestions that you can go with. I can provide further info on each depending on what direction you want to go. 1. Set up a ftp server on the php box that will allow you to do a directory listing of the folder on the php box … | |
Re: Are you having trouble writing the database query, the pagination code, or both? | |
Re: Off-topic but why are you using coldfusion 5? I can't think of one good reason to use that version over cf8/railo express (excluding legacy maintenance/updates of course). | |
Re: Checkboxes are a funny thing in form posts. If they aren't checked then they don't exist in the form scope that the page posts to. Also, if you don't specify a value for the checkbox, and the user clicks it, then the value of the checkbox in the form scope … | |
Re: Manual manipulation of cookies isn't the best way to go to have a log in session. Like many things, Coldfusion abstracts out most of the trivial code and provides you with a few cfml tags that mean the same thing. I suggest you look into the use of a cfapplication … | |
Re: I am a bit confused by your original description. You say that all of the forms action attributes use relative urls. The action below is most definitely not a relative url. [QUOTE]<form action="/sales/indexreport.cfm?fuseaction=demoreport" etc. etc.[/QUOTE] When you put a leading slashie (ie /sales/indexreport.cfm? as opposed to sales/indexreport.cfm) the browser interprets … | |
Re: You need to use a html ordered list tag. Just search for html and "ol" for the syntax you need. | |
Re: An off the cuff solution that I think might work is to have something like the following javascript code: [CODE] function sessionTimeout() { window.location='logout.cfm'; } setTimeout(sessionTimeout,3600000); [/CODE] | |
Re: I am not giving you all of the code to do exactly what you need, but if you read this code below closely you should be able to get out of your rut with this assignment. [CODE] <cfset strLastCatName = ""> <cfoutput query="LINKS"> <cfif LINKS.Category NEQ strLastCatName> <cfset strLastCatName = … | |
Re: One of the nice things that you can do with coldfusion is utilize java objects. BufferedReader is one of my favorite ones. It allows you to read extremely large files a bit at a time instead of reading in an entire file all at once. Coldfusion servers tend to choke … | |
Re: Here is the way I deprecate a standard datetime (5/7/2008 23:28) to a smalldate (5/7/2008) in my sql statements: Cast(Floor(Cast(myDateTimeField as float)) as datetime) This first converts the datetime field myDateTimeField to a float. The float is an accurate representation of time. I beleive that the computation is based on … | |
Re: Please post what you have so far, and I will take a look at it. Regardless, I have some tips for you. From what I gather from your original post, you are trying to retrieve and present a variable number of records in forms that allow for a user to … | |
Re: What type of issue are you experiencing? Are you getting a coldfusion error? If so post a cfdump of the error with a stacktrace (can be deprecated if you want, but leave the line numbers). | |
Re: You didn't close your table tag in the listing area. Add a </table> tag immediately after your </cfoutput> tag. Regardless, you seem a little div happy. Divs are wonderful things when used correctly, but I almost always favor a simple table format to fulfill my layout. Here is an example … | |
Re: Well if I recall typical sysadmin settings for coldfusion, cfmail messages will be sent when the coldfusion feels like it (this annoys me to no end). You can override this by adding an extra attribute to your cfmail tag. Here is an example of its use: [CODE] <cfmail from="info@test.com" to="someguy@wherever.com" … | |
Re: From what I can gleam from your sql, I am not even sure that you know that you want this code to work. The name reserveid screams primary key to me, and you shouldn't have to loop over the results of a query that should only give you one record … | |
Re: First thing I check when I get something like this is to do a cfdump of the form scope at the top of the action page followed by a cfabort. Will show you exactly what is in the FORM scope (and most importantly in this case, what is not). I … | |
Re: I personally would not go for this particular way of storing times. If I was faced with this paritcular problem from a site that I was asked to maintain, I would write a one-shot script that would: 1. Alter the table to have an odbc datetime. 2. Read in all … | |
Re: I am going under the assumption that you will have access to the code set as the src. If that is not the case disregard this message as it can't help you. I don't got the time to fire up your code in any meaningful way, but when I write … | |
Re: I think you want to use the IN operator. The IN operator will take the left variable and check it against a comma delimited list (each item enclosed in single quotes if its a character string, without them otherwise) and return true if its in there. Is this what your … | |
Re: [QUOTE=HelpAUniStudent;291697]This is a skeleton of my full assignment attached. Can anyone please help me out and provide me with guidelines or comments to the assignment???[/QUOTE] Probably should repost this in the c# forum. | |
A little while ago my dad mentioned a person in their car parked in our neighborhood. I figured that the guy was wardriving, and what with all the unsecure wireless networks around here I decided to enable wpa with a pre-shared key. Ever since I have been experiencing network problems. … | |
Re: Don't mean to be a dick, but I don't like people asking me for all the code I have written for a particular assignment, when they have not shown any effort thus far. Whenever you have to do a programming assignment, start it way ahead of time and work on … | |
My grandma has been having problems with my grandfather's computer. I went up there and it would boot to a screen saying Boot Failure: System Halted. I immediately go for the CMOS battery and get a replacement. Teh next time I booted the computer it worked fine, but a few … | |
I graduated last May with a BS in Computer Science. After taking the summer off, I started looking for a job. So far I have been unsuccessful. My only prior work experience was a project for a company in Georgia. While my database work was pretty good in my opinion, … | |
My brother was looking for a card for his laptop so he can watch tv in his dorm room and not have to use the big tv. Anyway he asked me for my opinion on one and I said it looked to be the best buy. I neglected to see … | |
I am writing a feature for this company, and they want the pages to use AJAX. My question is this: Can I write the pages in php as usual, then enhance the page using AJAX techniques, or is the use of AJAX something I have to keep in mind from … | |
I am new to CSS and my html is rusty as hell, and I want to have links arranged horizontally on the top of my page. They are block links. [code] CSS script: a.blue_top_tab { text-align: center; display: block; background: blue; color: black; text-decoration: none; width: 120px; font-size: 140%; padding-top: … | |
Re: I think you would have better luck getting information by describing Big-Theta notation as Big-O notation. Anyway, I cannot be of much help, since I never bothered to learn the theory behind Big-O notation. All I know is the notation for some sorting functions I have written. However, here is … | |
I have to write an include file for this independent study thing I am doing, since my boss doesn't feel that mysql stored procedures are enterprise-ready yet. This include file will, among other things, interface with the database that I designed. Is there anything I should know before doing this? … | |
Re: Please explain what you want out of this "task management" diagram more thoroughly and give an idea of how experienced with e-r diagrams you are. | |
Re: This should work (I think. I have been really ditzy when it comes to writing code lately) [code] for (int across = 0; across < rows; across++) { if (across == 0 || accross == rows) { for (int down = 0; down < cols; down++) cout << "*"; cout … | |
Re: First update your virus definitions then do a virus scan. If it still comes up then get the programs Ad-Aware and Spybot Search and Destroy (google them or off of download.com). Run them and scan your computer. I had this problem a while back and this fixed it. I think … | |
Re: First find out the name of the executable that whatever shortcut you are using is pointing to. Do this by right-clicking the shortcut and looking at the name of the file its pointing at. Next press Ctrl-Alt-Delete. Click on the processes tab in the task manager that pops up. Look … | |
[code] CREATE TABLE my_feature ( pk_id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, member_id INT(8) UNSIGNED NOT NULL, time_added DATETIME NOT NULL, personal_questions BOOL NULL, hits INTEGER UNSIGNED NULL, PRIMARY KEY (pk_id)); [/code] When I put this into the MySQL Query Browser I get this error: You have an error in your … | |
Re: I think that your friend in the police department would be a better source of information, although I would be surprised if he or she knew much about the data model that they store info in. At best this person would be able to tell you about the types of … | |
I am writing from the ground up a feature for this one company in Georgia while I am in school. It is running on mysql, but I have encountered a problem (actually a few problems, which led to this problem). I use auto increment for the unique identifiers for each … | |
My background is primarily C++, but I am working on an independent study project to get some experience in web design. Anyway, my project involves my own little area in the Database, but for some reason my employer doesn't want me using stored procedures. I am going to write a … | |
I am doing an independent study this semester for this startup website. They want me to do the code to run this quasi-blogging feature and they want parts of it to use AJAX (technology that gmail uses to be so cool). Anyway, I know little about the technology, much less … | |
Re: Hello. I had a program I needed help with, and my usual forum for asking programming questions was caput, so I googled a programming forum site and ended up here. I might actively post, I might lurk. Anyway I am working on a Comp Sci major math minor here at … | |
I am pretty much done a shell program I have to write for my operating systems class. The only problem is that I can't seem to figure out how to make this function work. It is supposed to separate out a list of tryable paths that is from the getenv("PATH") … |