Jump to content

Computer Science

  1. Anyone knows how I can make sure a record is actually inserted properly into the mySQL database through PHP ? I remember there's something like "Records Affected" in ASP but I have no idea what it is in PHP, so far i'm doing it in the long and idiotic way of extracting them from the DB again to make sure its inserted properly ... anyone ? ~moo

    • 0

      Reputation Points

    • 4 replies
    • 1.8k views
  2. Started by Dave,

    Was wondering whether anyone had actually installed this on a test system yet, because I'm quite tempted to just to see how well the new MySQLi interface works, since they've now made it object oriented. If anyone has any comments etc on it, it'd be nice to find out since I've not got around to testing it on my test box yet. Cheers.

    • 0

      Reputation Points

    • 1 reply
    • 1.2k views
  3. Started by mooeypoo,

    Hi, question: in order to connect to a mySQL db through PHP i need to supply username and password. Is there *any* way you could think of to prevent people from downloading those php pages? 'cause i know that if they click "view source" they only get the HTML without php but I am not 100% sure that those php files CANNOT be downloaded. Which actually means that if anyone downloads my php source page - i'm screwed and my DB is open to hacks. Anyone has any ideas how to prevent that? ~moo

    • 0

      Reputation Points

    • 19 replies
    • 3.1k views
  4. Started by apollo2011,

    Mines Visual Basic and HTML

    • 0

      Reputation Points

    • 36 replies
    • 5.7k views
  5. Started by Moren,

    Anybody know how to display a desktop computer on a laptop LCD?or maybe a step further to use the keyboard on the laptop for inputing.

    • 0

      Reputation Points

    • 7 replies
    • 2.6k views
  6. do you think that this will EVER happen? about a month ago on TechTV, they were explaining that quantum computers could crack ANY code within seconds/minutes. one example that they gave was the CIA's code...it would take months to years to crack it using todays computers, but only a matter of seconds with quantum computing... for the past months, ive been tempted to write an encryption algorithms that cannot be cracked, but by todays standards, it would be semi-impossible... what are your views on this?

    • 0

      Reputation Points

    • 40 replies
    • 7.1k views
  7. Started by m@,

    I simply want to make 2 circuits one to transmit a radio signal on whatever frequency, another that will output it's strength. It can be analog, I know how to read it with a pic microcontroller (they have analog to digital converters). I want to be able to distinguish very precise distances but they don't have to be any farther than the average room. Thanks, I'm trying to be able to locate a position within a room by using 3 sensors for the 3 dimensions, if i can do this, and output the position threw serial to a computer, add a video headset, 3 gyroscopes to distinguish the 3 other dimensions of position (head tilt side ways, forward/backward, and left right). I can then…

    • 0

      Reputation Points

    • 2 replies
    • 1.6k views
  8. Started by ed84c,

    Does anybody know where you can get a computer link cable for a Casio FX7700 GB??

    • 0

      Reputation Points

    • 8 replies
    • 2.7k views
  9. Started by YT2095,

    I`m asking this on behalf of someone else, she`s using win XP and has DL`d the google toolbar for her browser IE. the toolbar`s there no problem, but is there anyway to get rid of the instructions that fill the window? Thnx

    • 0

      Reputation Points

    • 20 replies
    • 4.5k views
  10. Hi. I have been using something similar to the following code, and it works fine. $file = $HTTP_GET_VARS['file']; header("Content-type: audio/x-mp3"); header("Content-Disposition: attachment; filename=$file.mp3"); readfile("$file.mp3"); But when I change it to this it doesn't work, because there is other output before header() is called. (The reason I want to remove the "\"s from $file is because strings with apostrophes inherit them for some reason, and the files I'm trying to read aren't found as a consequence.) $file = $HTTP_GET_VARS['file']; //This part causes the problem because it's before header() is called $parts=explode("\",$file); $first=$pa…

    • 0

      Reputation Points

    • 3 replies
    • 1.7k views
  11. Started by wolfson,

    I was wondering if anyone could tell me how to create a animation, where i can have "blood" trickling down one of my slides. Any help would of course be much appreciated. Thank you

    • 0

      Reputation Points

    • 4 replies
    • 1.7k views
  12. Started by Squintz,

    I got this software which came with a Digital Spy Pen and i want to look at the code and see how it works. The pen product number is HE509 and the software is very simple. It just has a few buttons to press and a display area which diplays the downloaded images. It almost looks like it could be some for of VB because of how simple the software enviroment looks. I have read that there are no such things as decompilers for VB5 and 6 executables Any ideas of how to crack this exe. It also comes with a dll which i will have to look at in a second

    • 0

      Reputation Points

    • 3 replies
    • 2.6k views
  13. Started by m@,

    Ok, If i have a parent window running my source code, and a sibling window launched by that window running my code, how can i get the parent window to check if the sibling window is open. I need an answer real fast i have to have it by tomarrow, thanks.

    • 0

      Reputation Points

    • 6 replies
    • 3k views
  14. Started by m@,

    Yeah, so im running a flash movie inside of an html page. I don't want the tool bars because its being put on a cd and run off of auto run. Currently I have an autorun.inf file that simply starts the html page, but the only thing is is that i want it as a large pop up so it doesn't look like internet explorer. Does anybody know how I could do this?

    • 0

      Reputation Points

    • 12 replies
    • 3.3k views
  15. Started by Sayonara,

    http://msnbc.msn.com/id/4217665/ MSN reported recently on the ease with which private, personal and sensitive information can be dug up - either at random or through targeted searches - using public and legal tools such as Google. The issue of information rights online is a contentious one, but my question is simple. If people make their details available to one public service online (be it "Friends Reunited" style sites, WHOIS records etc), do they still have a right to privacy? If so, at what point does use f that information become abuse?

    • 0

      Reputation Points

    • 23 replies
    • 3.8k views
  16. Started by kitkitkit,

    See, im no programmer, but i would like to start. I would like to start to learn to edit other programs (especially games). Does anybody have a good program that i can use to teach me or for me to use in the editing bit.

    • 0

      Reputation Points

    • 6 replies
    • 1.9k views
  17. Started by mooeypoo,

    I have an ANNOYING problem in PHP - I'm SURE it's something I'm missing, but if anyone can help, PLEASE. I'm dying here. I've done a DB (it's odbc TEMPORARILY.. when i get my mysql server it'll change, but since that's not the problem it doesnt really matter) that contain the Menu items on the left-hand side. The thing I wanna do is that the code will read the db and compile the Menu with its submenu items. Why? 'cause i want the company to be able to add menu items and submenu items without bothering me, that's why In anycase -- it's only HALF working, and I don't know WHY. here's my code: <?php //get the menu: //------------- //connec…

    • 0

      Reputation Points

    • 1 reply
    • 3.9k views
  18. Guest Syntax
    Started by Guest Syntax,

    As people struggle day to day to keep their computers cool, there is always someone coming up with a very creative way to bring the temperature of your processor, and the inner case down to an acceptable temperature. Let's discuss some of them ways, and argue about this for awhile. One way to cool it down, is to make a cheap vent that goes from your air conditioner to your case. But dont run the air conditioner into the case until after it's been turned on, which can cause the case to be overcooled, and when it gets turned on, it could be under danger of being cracked. There are pros and cons of this method. Pro: This can keep that case real cool. Con: Only works…

    • 0

      Reputation Points

    • 19 replies
    • 3.5k views
  19. Guest WatchTheRoad
    Started by Guest WatchTheRoad,

    hi, im new here and to VB.net. I am trying to make a phone book program that calls in names and numbers from an access(.mdb) file. if you could just give me the piece of code(if there is a way) that lets you get data from a seperate file instead of hard coding phone numbers. thanks

    • 0

      Reputation Points

    • 2 replies
    • 1.4k views
  20. Guest CPU
    Started by Guest CPU,

    hi,every body can u guide me how i can do modem programming using computer ports? tnx for ur time,bye

    • 0

      Reputation Points

    • 4 replies
    • 1.5k views
  21. Started by helixrenovator,

    I want to learn some type of computer programming language, but have absolutely no clue as to where to begin my learning, or what is the least complicated, (though I suppose thats a silly thing to say, since anything having to do with computers has to be at a certain level of complexity, and if its below that, then, well, it shouldn't exist in the computer programming collective). I'm only in my freshmen year of high school, but I feel the earlier the better. I have attempted doing research on various computer languages, but without much direction, I do a belly flop on cement, breaking a few ribs. So do you, who I gather are much more experienced, have any advise as to wh…

    • 0

      Reputation Points

    • 6 replies
    • 2.4k views
  22. Started by SmokingSkillz,

    I bumped into an old mate in a pub, and he works in the field of micro-gravity geophysics. He was telling me about a super computer at his uni (keele), made using 64 standard motherboards and athlons with tons of bizare cables. He claimed that the result of this configuration gives a processing power of each cpu to the power of 64! I said surely it it will just run a program in at most a 64th of the time one processor will. But he seemed sure of his claim. Anyway has anyone a clue as to how the units would be wired together? He said the code that distributes the load is only a few lines long and the parallel nature of the system is transparent to the user, I guess it is h…

    • 0

      Reputation Points

    • 17 replies
    • 3.1k views
  23. Started by blike,

    So i'm working on a project which involves tinkering with a chipset, something I'm not very familiar with. Unfortunately, I removed a switch which was required for a function I need. The terminals (don't know if thats the right word) are still on the board, and I can still make it function like I want if I complete the circuit by taking some tiny tiny wire and touching the two terminals. However, I need this connection to be rock solid, and they are too small to try and solder the wire in place (the actual wire is much bigger than the terminal!).... ...so what are my options? Does soldering itself carry a current? Could I just put blobs of soldering connecting the…

    • 0

      Reputation Points

    • 22 replies
    • 3.6k views
  24. Started by KHinfcube22,

    hey I was arguing over what was the best graphics card out today I heard from an uncle of mine who has a twenty thousand dollar pc and such that there is a card out that costs over $2000 it is very hard to find, and not sold in stores you need connections to find it anyone of you ever heard of it? I was thinking of getting it if I could oh well

    • 0

      Reputation Points

    • 8 replies
    • 2.2k views
  25. Started by wolfson,

    Im looking for a program that will auto-update the files on my home network, i.e. on computer 1, i create a txt file, i would like computer 2 to auto-update its files and "take this one in" any help would be much appreciated. thank you.

    • 0

      Reputation Points

    • 11 replies
    • 2.3k views

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.