-
Posts
4,362 -
Joined
-
Last visited
-
Days Won
11
Everything posted by Zane
-
you can't ...."set" a custom length on an INT...at least I don't think you can..but either way if you have a 8 bit ID (int)...that is autoincrementing.....it will...yes...throw an error after a while.. ONLY IF THE FIELD IS A PRIMARY KEY THOUGH There error will be a duplicate entry error. So when you get to ID 128...or what is supposed to be 128....you can't do it, because 127 is the max on an 8-bit INT ... unsigned. In short...there is no reason to set a length for Integer datatypes
-
http://www.google.com/search?hl=en&ei=_HGWSYOmNoH8tgexoZybCw&sa=X&oi=spell&resnum=1&ct=result&cd=1&q=AJAX+upload+progress+tutorial&spell=1
-
There is also str_word_count....which I just found out about. Which only really saves you the trouble of exploding by space....kinda redundant. foreach(str_word_count($words) as $word) echo $word . " \n";
-
You know all those times when you register to a place and don't want to put your real e-mail...so you put in jkdkdfjkl@gobbledygoop.pop Well, if the mail() function was able to check the validity of an e-mail instantaneous...we wouldn't be able to do such things. The only way around it is to set up a confirmation e-mail script.
-
[tex]2 ^{32-1} = 4294967295 = 11111111111111111111111111111111[/tex] in binary That's 32 ones just to keep you from counting them That is what is known as a 32 bit unsigned integer. [tex]2 ^{31-1} = 2147483647 = 01111111111111111111111111111111[/tex] in binary That's 31 ones just to keep you from counting them That is what is known as a 32 bit signed integer. *note the preceding zero The signed part of it means....that the zero is used to determine if the number is negative or positive.....I'm not too sure about which is positive or negative...0 or 1, but that's the idea of it. I maybe completely wrong about this part though...don't take my word on it......but I know there is a dedicated bit somewhere VARCHAR is different...if you give it a value of 255 characters....there is no binary aspect to that.....that straight up means.....255 characters. EDIT: More reading if you need it http://en.wikipedia.org/wiki/Integer_(computer_science)
-
http://www.phpfreaks.com/forums/index.php/topic,208965.0.html A Good Thread on this
-
install firebug addon
-
you have either mispelled the database name OR you are connecting to the wrong host. Those are the only two problems I can think of that can occur for a mysql_select_db.
-
just in case you didn't know and/or haven't done it already you have to enable null values to be used on a column. as rhodesa did.
-
I have a sort problem in my database, I could use some direction or help.
Zane replied to vetman's topic in MySQL Help
Show your table layout -
True that, but the OP said this game requires people to log on from as many IPs as they can. It's just worded so oddly. I mean, what's gonna happen if you log in from the same IP twice? Does it restrict you access until you find a new one? Do you get points for every new IP? Why would you make a game getting people to collaboratively collect IPs? It's as if you were making a pretend online computer census......which would explain the need for private IPs. The only way you'll get these private IPs is if you can get software installed behind the router of a user and then have it send the information back.
-
The page is so 1996. That's all I got to say about that.
-
What in the world kind of game is that? Log on from as many IPs as possible. It almost sounds to me like a hacking/cracking ploy. Could you please elaborate on the actual gameplay of this game.
-
I agree. Lazy jobs definitely suck. I was a computer lab assistant for my school almost 3 years ago. My job was to answer students' questions;if they ever had any to ask me, replace the paper in the printer when it was empty, and make sure the lab computers were working properly. In the entirety of that job, the printer went empty maybe once or twice a month, no one ever asked me a question unless it was directions to another room, and all the computers ran DeepFreeze, so the chances of them going out were pretty slim. I was paid $11 and hour for that job. I got an average of 25 hours a week and I got paid once a month with hardly any taxes taken out. I filled out my own timesheet. I was pretty much my own boss. But the job really made me feel empty inside. I slept most of the time when I wasn't doing homework. But, like the rest of you have said...I had to be there or else I'd risk loosing the job. I probably could have gotten away with skipping work completely and writing the hours down anyway, but I'm sure someone would have caught on. After the semester ended and summer began, I started a job with steel roofing. Having had no experience in it and only the carpentry instincts...I got $10/hr. Best job I ever had...if you take away the sunburns. I also did work cutting and laying tile. Again, it was much more fullfilling to know I completed a project rather than sit on my ass all day doing nothing at all and getting paid for it; as crazy retarded as that sounds.
-
You know, I didn't even add that at all..and I have no clue what I did I re-enabled the WEP key.... I scanned again....it still worked. and then miraculously my network monitor began to show the available networks I clicked the one I wanted and poof...it asks me for the WEP key. No clue what I did...I just waited....and it fixed itself. I'm flabbergasted. EDIT.. btw my /etc/network/interfaces looks like this now
-
Ok, I've found something important now I logged myself into the wireless router I'm getting signal from, turned off the WEP-64bit encryption and then when I run sudo iwlist wlan0 scan it actually shows results.....Now I have no clue how to connect to them. I don't a Network Manager that I know of....ideas? Of course once I figure this out, I still have to figure out how to connect using a WEP key since this router isn't mine....I have to put the key back. Hopefully I'll figure it out when I figure out how to connect
-
yeah I've added iface wlan0 inet dhcp wireless-essid NAME wireless-key 1111111111 wireless-channel 11 and still I get nothing
-
Ok, so I've done yet another clean re-install of Ubuntu....Hardy Heron Only this time, I did it at school with an ethernet cable hooked up to the internet. And low and behold....I come closer and closer to getting it to work. As of now. My wireless light is actually ON. This is the first time it's came on since I installed Ubuntu for the first time ever. So I have done something right. Now my problem is this I can't see any networks to connect to. The laptop is directly beside me, I'm using a desktop as I speak with wireless...so don't tell me there isn't a network to connect to. I'm on it....in windows Any ideas why sudo iwlist wlan0 scan would constantly tell me no scan results
-
Well I fixed the perl issue....just a matter of getting all the dependencies Now I'm really confused though At one point I was able to type ifconfig or iwconfig and it would actually show my wlan0 card It would even appear in the nm-applet as Wireless Connection. Now I have done a fresh install, installed all the dependencies, installed ndiswrapper (yes, I have to use it) and my wireless card fails to appear in nm-applet, ifconfig, or iwconfig. If I run ndiswrapper -l It tells me that the driver is installed and the device (14E4-4311) is present...with alternate driver: ssb. This is my card Broadcom BCM94311MCG WLAN MINI PCI Any idea why the card isn't showing up? It was before and I didn't do ANYTHING different from what this tutorial told me. http://ubuntuforums.org/archive/index.php/t-640890.html Besides the fact that I had to download everything manually, put it on a flash drive and use dpkg -i to install it all.
-
Jesus chirst... what does this mean They both depend on the same package, but if I try to install perl-base with apt-get it tells me the newest one is installed already.. If I use dpkg -i to install it, it runs it's course and I'm just back to square one.! Also it tells me that libperl and perl are installed with the newest version as well.
-
Well I can't copy and paste but what comes up for my wireless card on that is Network controller: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01)
-
So I'm assuming I have ndiswrapper installed...I hope I can type sudo ndiswrapper and it doesn't tell me that it's not installed so that's good What isn't good is that I've installed a driver with it and apparently it's not working I installed a driver called bcmwl5.inf using the command ndiswrapper -i bcmwl5.inf do I'm trying to delete it, but everytime I do I get the error Inappropriate ioctl for device I'm using the command ndiswrapper -e bcmwl5 What's goin on?!
-
I've decided to install Ubuntu..version 8.04.1 My problem, I have to get my wireless working in order for it to be online...duh I'm reading a tutorial on how to setup my wireless to work, but the only problem is that most of the functions they call for are things like apt-get, apt-update, etc, etc, a bunch of online repository functions. This would be fine and dandy if I have an ethernet cable going to the router, but unfortunately the router isn't mine...I'm currently a Wifi leech so I have a desktop and laptop(which I"m installing ubuntu) with wireless. Now I can download all these extractables they ask me to, but I have no clue how to update apt ...and update the linux header kernels and such while offline.....Anyone have a clue? This is the tutorial I'm reading. http://ubuntuforums.org/archive/index.php/t-516871.html
-
[SOLVED] onmouseover.... ok what is wrong here?
Zane replied to deadlyp99's topic in Javascript Help
yeah CDATA is mainly for XML http://en.wikipedia.org/wiki/CDATA -
[SOLVED] onmouseover.... ok what is wrong here?
Zane replied to deadlyp99's topic in Javascript Help
Well, when I take the function out of CDATA ...AND I uncomment the core of the whole function.....for some reason it works <br /> function over(oeo) {//alert(oeo);<br /> document.getElementById(oeo).style.backgroundColor="#487bb6";<br /> document.getElementById(oeo).style.border="2px inset #3e72ad";<br /> }<br /> it was this <br /> <![CDATA[<br /> function over(oeo) {//alert(oeo);<br /> //document.getElementById(oeo).style.backgroundColor="#487bb6";<br /> //document.getElementById(oeo).style.border="2px inset #3e72ad";<br /> }<br /> ]]><br />