- 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…
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 … |