only root.gif
- Interests
- watching football,coding paticularly for development purposes, solving tough algorithmic problems
- PC Specs
- compaq 512MB,997MHz,40GB
120 Posted Topics
Re: [QUOTE=ddanbe;890831]An expert is someone who has made all the possible mistakes.[/QUOTE] Looks very true but in some fields you will have to be an expert without making a mistake, an example is a nuclear firm. So I think we can rewrite it a little bit mathematically [B]An expert is someone … | |
Re: As a hardware manufacturer Dell wants the best for it's products and the best here is to comply with Microsoft's demands at the expense of Ubuntu | |
| |
Re: [code=php] <?php $users=array("sure","ronald","us"); $foundRows=array(); $query="SELECT * FROM users WHERE "; foreach($users as $name) { $query="SELECT * FROM users WHERE name='$name'"; $res=mysql_query($query,$link); while($row=mysql_fetch_assoc($res)) { //Push the rows you have found to the foundRows array declared above array_push($foundRows,$row); } } print_r($foundRows); ?> [/code] Hope it gives you an idea. But I think … | |
Re: I agree with you Ken Hess on these 10 points you have raised. Some of the things that make me hate GNU/linux completely is dependencies when compiling software from source. Another thing is the [B]linus worship[/B]. Most people I have seen tend to believe that linus is everything and is … | |
Hi all, So here's some background information on what we are trying to setup. We have two data centers over 40km apart and one of them runs the webserver (over 80 websites) and we use another machine on the other side to keep backups (typical cpanel backups). So I have … | |
An image resize script that I have written to scale images from a digital camera. I couldn't used the gimp (my favourite image editor) to scale each of them one by one. This script takes two arguments which are both directory names. The first one is the directory containing images … ![]() | |
Re: In campus we use GNU/Linux as our internal web server (only one). The other servers that link to the outside world run windows 2003 server edition. I wonder if the server machines come with pre-installed windows operating systems. I am in Kenya and I realize that only companies which care … | |
Re: Please visit the daniweb javascript/dhtml/ajax forum | |
Re: C language back in 2008 around the same time I joined Dani ![]() | |
Re: Check out that page [url]www.webwinnerdesigns.com/js-show-hide-form.html[/url] It may be what you want! | |
![]() | Re: > I really can't believe I saw a soccer game with snow. Really? You should have a look at cycling! 5-7 hours on snowy days and the fans love it! |
![]() | Re: **Bob Marley**, **Eric Donaldson**, **Gregory Isaacs** and classic roots from back in time does it for me |
Re: Check out [URL="http://www.sencha.com/products/extjs/examples/"]extJS[/URL]. There's an editable grid that works just like an excel spreadsheet | |
![]() | |
Re: "I've been marked SOLVED, find someone else!" "A moderator has just approved this T-shirt" | |
Re: [QUOTE]Language comparisons without context are pointless.[/QUOTE] Spot on Narue! | |
Re: [QUOTE=pyTony;1639867]Dig up this for discussion thread request and some Googling. By little experiment found the different forms for sending message commands. Could no send in Python3 the code of program itself so only simple test "Hello". Sorry that subject is left incorrectly refering program name.[/QUOTE] Nice script! I will use … | |
Re: Try asking here [URL="http://codeigniter.com/forums/"]http://codeigniter.com/forums/[/URL]. | |
Re: Looping is the way to go as Menster has just shown you here. in your html add as many file input fields as you want but name them all as upload[] so that PHP will take the name upload as an array when it is posted. You can then loop … | |
Re: It seems Go will be used so much on server applications that's why windows has not been considered. | |
Re: If the auto incremented value must match whats in the database then you will need to insert a row and then get the NEW ID (via ajax probably) using PHP's [code=php] echo mysql_insert_id(); [/code] You will therefore use UPDATE statements to modify the newly created row ![]() | |
Re: How about storing the values in session variables so they you can access them after the redirect. | |
Re: internet radios, free downloads and forums (can't do without forums, they make me work harder) | |
Hi everyone. I have an application where users submit text files and then based on some rules, the application gives instant responses of whether the submitted text file is right or wrong. What actually happens behind the scenes is that I have the correct text file on the server and … | |
Re: I expected such talk from a newbie whose only knowledge is most likely windows packages. From an expereinced poster like you and more so a very good programmer who understands the computer inside out using Linux should be relatively easy!!! | |
Re: You can as well do it without the onclick event by simply placing the desired javascript code in the href attribute or a the function name containing your code. /*Example*/ [CODE=HTML] <script type="text/javascript"> function Confirmation() { if(confirm('Really delete this document?')) window.location.href='../../admin/comment-delete.php?id=$id2'; } </script> <a href="javascript: Confirmation()">Delete?</a> [/CODE] Hope it helps | |
Re: Just to make it better add this lines to the calculate function above to be sure you are multiplying numbers only! [code=javascript] function calculate() { if(isNan(document.form1.elements.productvalue.value) || isNan( document.form1.elements.NoOfProducts.value)){ alert('Supply some numbers please'); return; } document.form1.elements.totalbox.value = (document.form1.elements.productvalue.value * document.form1.elements.NoOfProducts.value); } [/code] and then in the body of the form … | |
Re: I have no solution for this at the moment but you may want to try and post problems related to django to the [URL="http://groups.google.com/group/django-users"]django-users[/URL] google group. | |
Re: around 8 to 10 hours during weekdays and maybe only an hour a day over the weekend:) | |
Re: How do you want the variable to be passed? Without reloading the page? | |
Hi everyone, I am working on a website and I need to add a fanbox to the website (it runs on Joomla). Putting the fanbox in place is not the problem. My client already has a facebook group which I want to connect to. I have been given the account … | |
Re: There's a hill in my country that if you make one complete run around it your sex changes to the opposite. People only go to look at the hill, no one dares make the run | |
Re: Hey! this script i'm sure is meant for beginners. If you know about SQL injection then I guess you are not a beginner and you can even do this community a favour by posting another version of the script with SQL injection holes well taken care of. Happy times! | |
Re: I read lots of Dave's posts. The community will surely miss him. R.I.P | |
Re: @guest10000 [QUOTE]Recommending a distro just because Mr. Stallmann gave it his blessings of political correctness is poor grounds for a recommendation. [/QUOTE] If you have ever listened to one of RMS's speeches or read his essays, then you will agree with Ken Hess that gNewSense deserves that spot at least … | |
Re: The site [URL="http://extensions.joomla.org/extensions"]http://extensions.joomla.org/extensions[/URL] contains [B]a listing of all[/B] the extensions contributed by developers to the Joomla project. Most of the websites that give free/proprietary joomla extensions in most cases are owned by the developers of the respective extensions (Note that their extensions are also listed on the extensions directory website … | |
I wrote a python program that gets input from an input file. It works fine for small input files since after opening the file I did this to get the data [code=python] data=fPtr.readlines() [/code] Since readlines only takes the input data and packs it into a list, it is clear … | |
Re: Try below to remove comma at the end [code=php] $str="rolling,"; echo substr($str,0,strlen($str)-1); [/code] | |
Re: Try this link [URL="http://colorpowered.com/colorbox/"]http://colorpowered.com/colorbox/[/URL] | |
Re: Is this real? If so, is Linux Torvalds quitting the community and trying to equal the wealth of Steve Jobs and others with super linux? | |
Re: Is this time relative to each user or it is the server time? | |
Re: I would advise you to create a session variable that stores the user type and then only test for the user type at any given time and redirect to the appropriate page. [code=php] $_SESSION['USER_TYPE']='value from database'; //Example redirect if($_SESSION['USER_TYPE']=='admin') header('Location: admin_page'); [/code] | |
Re: Try this to see if the $_POST array contains anything [code=php] print_r($_POST); [/code] | |
Re: [QUOTE]Do you agree that the solution to malware, at least from a user point of view, is to use Linux?[/QUOTE] Absolutely yes. I have personally convinced so many computer users who don't have technical knowledge in computers to switch to GNU/Linux and they are very appreciative of a new life … | |
Hi to you all. I am working on an application that accepts various source files from the users and stores them on the server with the appropriate extension e.g (.cpp, .py). This has been working fine as php allows a programmer to check the type of the uploaded file type … | |
Re: It depends on what kind of user is going to run the software. If the software is intended for developers who know PHP then I suggest you take the Joomla, phpBB approach whereby the user will just copy the software folder to the server. What I have seen some developers … |
The End.