- Strength to Increase Rep
- +8
- Strength to Decrease Rep
- -2
- Upvotes Received
- 35
- Posts with Upvotes
- 32
- Upvoting Members
- 27
- Downvotes Received
- 8
- Posts with Downvotes
- 5
- Downvoting Members
- 7
- Interests
- Programming.
- PC Specs
- AMD Phenom II 2.6GHz x4 Corsair 6GB RAM Nvidia GeForce 9800 GTX + Preferably using Ubuntu, but using…
181 Posted Topics
Re: [QUOTE=nimeshghelani;1270119]hello, i recently joined the USACO's training gateway [url]http://ace.delos.com/usacogate[/url] I made the first problem([URL="http://ace.delos.com/usacoprob2?a=n4y3olVXOJ9&S=ride"]http://ace.delos.com/usacoprob2?a=n4y3olVXOJ9&S=ride[/URL]) and it ran successfully in my dev-cpp compiler. but the online grader threw some runtime error. it was like [COLOR="Red"]Compiling... Compile: OK Executing... > Run 1: Execution error: Your program (`ride') exited with signal #6 (abort()). … | |
Re: I'm using Linux daily and I am [I]very[/I] annoyed that my games will not run and I can not use Photoshop. GIMP is great and all, but misses speed, strength and pen tablet support. Also, I returned my new ATI Eyefinity card worth $550 because the ATI drivers are shit … | |
Re: I actually went a head to try compile your code. You are using two headers which prevents me from compiling this code, as I don't have them. | |
Re: Hi there, When you are updating the text hint with Ajax, your Javascript code looks for the first element with `ID="txtHint"`. But you are creating multiple elements with `ID="txtHint"` and so your hint will always be shown in the first row. To resolve this you need to correlate the Ajax … | |
Re: Check the Apache logs.. Post them here if they don't make it clear, and you find nothing by googling the messages. | |
Re: > I can find it in 10 seconds with Google, it doesn't need a discussion! I think I beat your time. Took me 6 seconds. http://stackoverflow.com/questions/5963182/how-to-remove-spaces-from-a-string-using-javascript | |
Re: Come on. What are you asking? Do you need to be professional to earn money? It's in the word. Do you need to be the best? No, many mediocre developers get paid just fine. ![]() | |
Re: You should load in all the words in a PHP array. As milil suggests, this will take up a lot of memory. Basically consider the size of your text file, and expect to need this much memory (RAM) on the machine that will run this script. In addition you will … | |
Re: It makes perfectly sense. Your delete function loops through your array, when it finds the element you want to delete it REPLACES this element with the previous element. If you want your strategy to work, I suggest creating a temporary array by looping through all the elements, like you do … | |
Hello, I hope someone is more knowledgeable in Java than me while still knowing PHP! The following Java code makes a hash from a string, and I need a PHP equivalent that makes the exact same hashes. Simply md5() does not do the trick, and I looked at some PHP … | |
Hello Daniweb, I'm rebuilding a Flash-based website in PHP/HTML maintaining the same MySQL database. My problem now is, the user passwords are hashed of course - I need to use the same hash in the new application for old users to be able to still log in. But since the … | |
Re: I too think you need to use the OR operator. You can still use the and operator, like this SELECT * FROM table WHERE field1 = 'something' AND field2 = 'somethingelse' AND (field3 LIKE '%word1%' OR field3 LIKE '%word2%') | |
Re: Are you simply asking for something like SELECT * FROM table WHERE word = 'Example' OR word = 'Another example' If not, I don't understand what you are asking for. | |
Re: In short, this would be a bug. Too harmless for anyone to care go through the incredibly backtrace of debugging it. Thing is, graphics software and drivers are extremely complex and much can and will go wrong. Maybe your computer is set up to use a given color profile, and … | |
Re: You are not even mentioning what database type you would like to access. If you just need any, then have a look at [LiteSQL](http://lmgtfy.com/?q=litesql) - easy to use and first few results already talks about C++. However this one is typically locally stored. Maybe you want a more typical network-accessed … | |
Re: Your example makes little sense. You want to unset `$dates` but I don't see it's definition. If you are trying to unset the array you are currently looping through, then you are asking for trouble. Please be more specific in your code snippet with what and where you want to … ![]() | |
Re: Your post is a bit confusing, also 'dfml' has 32 values, not 15. If you want to reference a specific key in an array you simply write `$arrayName['dfml']`. If you want to loop through all the values of an array, use foreach. foreach($arrayName['dfml'] as $itemNumber => $oneItem) { echo "Item … | |
Re: Hi there, I think you are trying to import your SQL data into the database 'world', which is highly unlikely yours. With your web host you will have both MySQL username, MySQL password and MySQL database name. Your database name will probably something generic like your username is (a1581119_ts1). If … | |
Re: Hi there. I assume you are using PHP as your programming language. You must use PHP to develop the logic of finding out whether or not something has been clicked on the HTML end. When your PHP program knows this, fx by the POST-variable you mentioned if(isset($_POST['like'])) { // So … | |
Re: To be honest, your question is a piece of ****. You should read the posts on how to write posts. Your post exclaims that you are getting stressed about your website not letting users register with it - and so what? Do you want us to care? If you have … ![]() | |
Re: Your code is very messy in my opinion, so a quick glance does not find me your unexpected end of file. Note it could be a problem if your file was not saved right or uploaded correctly. But I can tell you your closing bracket on line 538-542 is NOT … | |
Re: Welcome to Daniweb. Your post is very lacking - please read: http://www.daniweb.com/web-development/php/threads/435023/read-this-before-posting-a-question I assume you are referring to something like Apache mod_rewrite (nicknamed prettyurls), but am not going to try and help you until you edit your post to be more specific. | |
Re: Please improve your post and I will gladly help. You should always make it as easy for someone to help you, if you want them to answer your question - for free after all. Important things we want to know: - What are you expecting to happen (how should it … | |
Re: To be honest, your question is a piece of ****. You should read the posts on how to write posts. First of all you are referring to a report. Which is many things: http://en.wikipedia.org/wiki/Report Then you are comparing Visual Studio to PHP - two different things. Visual Studio is an … | |
Re: Unserealizing the BLOB byte data would be done in a program, probably just like you turned it into bytes in the first place. I don't think there is a way of doing this directly in the database, and if so, we would like to know what type of database you … | |
Re: Looks like a school assignment... Can't believe you go to school if you don't want to learn anything, which is what comes out of this kinda stuff.. No learning. | |
Re: [QUOTE=bsewell;1266404]Hi all, I have some content which I would like to limit to 9 per page in a table. I haven't done the table code yet, and rather concentrate on trying to get the filter working. When I try to enter the URL of index.php, where page=2 or without a … ![]() | |
Hello Daniweb, I want to make a custom visitor tracking tool and like Google Analytics it must be able to track how long time visitors spend on each page. How do you recommend doing this? I thought of using the Javascript onload event to start counting time serverside and then … | |
Hello, We are two geeks doing a lot of coding, documentation and designing (PhotoShop, Illustrator, InDesign and FireWorks). We both carry a laptop, have our personal stationary PC's and then we have a couple o' iMac's that we dedicate to working with these stuff together. It is important that we … | |
Re: This is not strange at all. Those are two different domains, and sessions stick to one domain for security. With cookies you can choose domains they will work on, so I'm sure you can look up in the PHP manual for sessions on how to get around having sessions for … | |
Re: [QUOTE=dilsunlife;1228960]i want to print the report on printer. which function plz tell me[/QUOTE] Lol? They just told above. And what report? Elaborate if you want any kind of help, and please include why you think the two previous suggestions are useless :) | |
Re: You would want a KVM switch. There is no serious software to do this. | |
Re: Well you have some serious issues there. On line 20 you try to cout a function. Uh-oh, that does not work at all. You would write [CODE]cout << FahrenheitToCelsius(fahrenheit) << " Degrees Celsius";[/CODE] Also, on line 32 your function [I]definition[/I] mismatches the [I]declaration[/I] up on line 6. Make sure both … | |
Hello, I have a server that I have decided to divide into VM's using HyperVM with OpenVZ, so that some friends can play around on the server and that I can have several Linux distros on one server. I am wondering if I should install nothing on the host other … | |
Re: It doesn't seem hard to gain information about this on Google. You need to download an exporter plugin for Blender, that will allow exporting to something called "Cal3D". It seemed on me, that you would download that from the official Soya3D site or get it bundled. Good luck. | |
Re: Here is a relevant example of serialization, meaning writing the data binary. [CODE]class Matrix { public: Matrix() { x1 = x2 = x3 = y1 = y2 = y3 = z1 = z2 = z3 = 0.f; } float x1, x2, x3, y1, y2, y3, z1, z2, z3; }; int … | |
Hello Daniweb, In 3D space I have generated a path which jumps between points in a grid of 100x100x100. When simulating movement through this path, I tried making a bezier curve of the points in the path, but the results were not good enough. I googled a lot, and the … | |
Re: Well obviously your client has given you the wrong details somehow. It can not be your problem, that your clients webhost is unreliable. You could tell him to get it fixed with his hosting provider, or ask him to look for a new webhost like [url]www.webhosting.blanye.pro[/url] | |
Re: No, Ruby on Rails does not do all this for you. You have to work with the Javascript yourself. | |
Re: Initially store the descr of the selected one (get it from mysql). Then in your while loop, you check if $r['descr'] == $your_new_variable; If it is, then you echo "selected" in your <option> tag. | |
Re: Omg use google, this is a broadly discussed topic. [CODE]if (mysql_query("SOURCE file.sql")) { echo "success"; } [/CODE] | |
Re: What about SDL? Never used it, but I've seen source code of fun games being just a few hundred lines using SDL :) [I](that means simplicity)[/I] | |
![]() | Re: Guns are banned in Danmark. We still hear, almost regularily I would say, about gunshooting in the news. I don't really have an opinion on whether it is a good thing or not. I have neither been threatened by a gun or felt I would like to have a gun. |
Re: I started out a larger game development project being on Windows. Due to licensing and budget issues related to this commercial project, I decided to give Linux a try. I have never regret trying it out, development and productivity is for my sake up to four times faster on Linux. … | |
Re: I agree, that there should be no need to switch to 32 bits. If you wanted to so anyway, you will have to obtain a 32 bits version of Windows and install it instead of your current installation. I've seen it is possible to convert a 32 bit license to … | |
Hello people, I would like to add an extra monitor to my productivity box. But back then I chose a motherboard without built-in graphics, so I only got the two ports provided by my graphics card. I hope you could advice me how I could upgrade my PC to support … | |
Re: I started learning PHP 6 years ago and found myself perfect at PHP after just two years. I used no books, but just gave myself tasks :) "Would be awesome with a single line of code writing 10 lines of text huh?" - Much time of googling and bugging around … | |
Re: Show some effort please. And whats wrong with not knowing the C++ functions, you are basically asking for C functions? |
The End.