• Member Avatar for rubberman
    rubberman

    Replied To a Post in PHP / MYSQL Connection Error

    The mysql api's in PHP have been deprecated in favor of the mysqli api's. You seriously need to change your code if you are running PHP 5.0 or later. If …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in a basketball club management ystem

    1. Design 2. Code 3. Debug 4. Re-design 5. Re-code 6. Debug 7. Goto #4 until stuff works as you wish and any idiot can understand the design.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in how i can import an excel file using php and print it in a html table

    Save it as a csv file and then do this: http://php.net/manual/en/function.fgetcsv.php There is also this: https://phpexcel.codeplex.com/
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in how i can import an excel file using php and print it in a html table

    Save it as a csv file and then do this: http://php.net/manual/en/function.fgetcsv.php
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Using backuppc

    Sounds like backuppc is a more friendly front-end to rsync. Sorry, but I have never used it and it doesn't appear in any of my CentOS 6.7 repositories (standard + …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Languages needed to create a wix wysiwyg

    There are a ton of javascript tools / api's out there to do just about anything you want. Use PHP on the server and HTML/JS on the client. Use PHP …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in C++ program (linked list)

    Quicksort (or qsort in C nomenclature) is an array-based sorting algorithm and a standard tool for every C/C++ compiler known. I used to use it for sorting linked lists, but …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in parsing integer related to char c++

    @ddanbe - Along with the number in the vector, I would associate it with the variable that follows in his case, such a A, B, C, D, etc. Looks like …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Is this bad time complexity?

    Are these sorted arrays? If so, can't you use bsearch to find the position needed? And if you need to insert a new element, then use a modified bsearch algorithm …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in hello ! i need help with my assembley assignment

    Also, don't ask us to do your homework for you. Make an effort, post your code and errors/problems you are having, and then we can help you much more effectively.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in function (method in java) for c/c++ programmer

    Sometimes we create a class that only has static methods for general procedural functions. Call it MyStaticClass with static methods such as myfunction(int,int), so in your startup class main() function, …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in function (method in java) for c/c++ programmer

    Also, in Java, all methods are part of a class, and may declared in an interface class which has to be implemented somewhere before you can use it. If this …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in function (method in java) for c/c++ programmer

    In Java you first have to import (similar to #include) the package that defines the method. So no, there is no function prototype AFAIK in Java.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in mysql processes still alive from processlist

    Just because a process is "sleeping" doesn't mean it isn't running. It is just waiting for a timer or wakeup event to happen.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Using backuppc

    1. Make the disc have a standard Linux file system such as ext3 or ext4. 2. Have the PI system mount the disc file system in a local directory such …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in FYP Selection

    What is this for? A senior project?
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Simple mail server localy

    Here is Microsoft's page on setting up their sendmail service - free and easy to use: https://msdn.microsoft.com/en-us/library/aa577662.aspx FWIW, we use that at Panasonic for our Windows MES servers.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Linux opens applications off-screen

    Some applications, such as Firefox, remember where they were last opened, and if at that time you had 2 displays, that might explain your experience. Go to the icon bar …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Accessing client database from master database

    Connect with and login to master, get the userids and passwords for beta and gamma (comma?), then connect with and login separately to each client database.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in PHPExcel gives error Cannot redeclare class PHPExcel

    Show the code that calls/includes this page.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in parsing integer related to char c++

    Forget strtok. It is useful for some stuff, but it DOES modify the input string. Write your own parser that walks through the string and extracts the numbers as needed. …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Does this App excit or something that can do it ?

    This is what internet search engines are for. There are plugins for excel that can "pretty print" your data, but I don't personally know what they are. Others here may …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Black Screen fade

    Since an external display works fine, it is not likely a driver or system problem, other than the fact that the display is probably failing. The controller also handles external …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in My Windows explorer keeps closing....pls help

    Given the missing system files, I think your system has been infected with some trojan/virus/malware. What is your normal A/V program? And is it active?
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in C++ projects

    Sorry, but according to the terms of usage for Daniweb (which you agreed to when you signed up) we don't do your homework for you. You need to get started …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in PHP enrollment system loading up subjects

    Posting links like that here is frowned upon as we have no way to know if it will infect our system with a trojan. Please post the requirements, code, and …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in c++

    First, map each grade to a number, such as F == 0 D == 3, D+ == 4, D- == 2 C == 6, C+ == 7, C- == 5 …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in how to send SMS??

    Here are a some links that may help: http://code.tutsplus.com/tutorials/how-to-send-text-messages-with-php--net-17693 https://www.clickatell.com/developers/scripts/php-library/ http://www.nowsms.com/doc/submitting-sms-messages/send-sms-text-message-with-php I found these with a simple DuckDuckGo (Google without the ads) search: Sending SMS messages from PHP There were …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Linux

    Please be more specific. Linux uses networks just like any operating system, to communicate with other computers, and even itself (localhost).
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Single Producer 10 consumer(Parallel consumption) Problem

    Show what you have done. This is a common CS problem and whether you want the consumers in the same process, other processes on the same host, or other processes …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Hosting

    There is a lot to do for that. Better start reading - plenty of resources on the Internet, including online classes that will help learn about this. Get your Googling …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in C++ function declaration help

    In this code, as tinstaafl mentions, you may be geting the -1 index of word in the else branch. You need a test for isMobile being less than 0. if(i …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Laptop battery full charged

    If the problem persists it could be a faulty battery cell. I've had old batteries do this and could not charge above 60-70%.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in c++ function deceleration error

    One last thing. If in your function you are iterating through the array, put a flag in the last position, such as -1 for int arrays, so when you hit …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in c++ function deceleration error

    try `int dir[]` in the function definition (the declaration is in the header - the definition is in the source file by standard convention). Another thing, you will be making …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in stack to array

    `vector<array<type> > mystack_of_arrays;`
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Verify if data sent by servers? How do bigger companies do that?

    Your private keys are typically kept in an encrypted file that uses a key that only YOU know. Yes, if someone has placed a trojan in your system, they can …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Laptop Screen Blanks Randomly

    My friend has an old HP desktop. Memory is going flakey (random bluescreens and memtest86 shows bad chips). Reconditioned HP memory (1 year warranty): $10. New Kingston (lifetime warranty): $16. …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Google is going to give Chrome a big visual makeover – here are the first i

    Seems that they are taking some visual clues from Mozilla / Firefox. :-)
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in C function triggers linker error when file renamed to cpp

    It seems your code has defined the function pointer that returns scal has no matching version that takes a `void*` argument. Post the function declarations that may be relevant.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in c

    Class pop-quiz question? What do YOU think is the difference? Tell us here, and we might decide to correct your misunderstanding.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Help

    What the others said. Describe the problem and its symptoms/errors.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in laptop will not start

    Can you boot from CD/DVD/USB drive?
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in browser tab

    It depends upon the browser. For example, Firefox will allow you to specify in the configuration pages that opening a shortcut or new link will open a new tab or …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in stack to array

    We don't do your homework for you. Try to solve the homework problem and if you are still having difficulties then post your code here.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Insert random number

    How are you generating your random numbers? Show your code please. Assuming you have assigned a random number (usually using the rand() function if C or C++) to randomnumber1 and …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Converting various video formats to mp4

    I also use ffmpeg for this stuff. I find that this works well for most all video formats: ffmpeg -i "input file" -target ntsc-dvd -q 0 -async 20 "output file …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in how to do sort in dynamic array.

    The thing about arrays that are dynamically updated (new or changed entries) is that to keep it sorted is expensive. Myself I have resorted usually to using an insertion sort …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in define an equation in c++

    So describe precisely what the equations are supposed to do - pseudo code helps - and make some effort to code the algorithms. Also, did you mean to output the …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in compare first file of 2nd column and second file of ist column and print th

    Sorry, but we don't do your work for you. Make an effort to code this in the language of your preference and then we can help.

The End.