mike_savoie
Members-
Content Count
20 -
Joined
-
Last visited
Everything posted by mike_savoie
-
Somtimes I Just Feel Like Crying How my computer drives to make me mad
mike_savoie replied to AMWGeek's topic in The Vent
There are a lot of things you can do. Quite a few programs you can get to figure out what the issue is.Anti-Virus, Adware removal, spyware removal, registry cleaner, user education.First on the list is anti-virus...go to housecall.trendmicro.com and scan you pc free online. This is better than most installed AV's because it's garanteed to be updated with the latest definitions. As opposed to an installed app, where you have to update it which is easy to overlook.Secondly, adware and spyware removal. Just go to download.com and search both of those terms and you'll find tons of programs...I suggest lavasofts ad-awareSE and spybot-search-and-destroy. Both work well. Like someone else pointed out make sure you update these programs before running them, then disconnect from the net, close all open applications and run them. They will take a while but that's life.Thirdly, registry cleaning...this can get dangerous in the wrong hands but is well worth it on any windows machine. I won't explain what or how the registry works, but it's a messy way of doing things, and gets bloated very quickly. download.com and search registry cleaner. Works wonders.Fourth on the list user education. What is possibly THE BIGGEST issue with computers. 99% of computer users know just enough to be dangerous, they think they know what they're doing but are clueless and generally have systems that don't work. I would suggest a book. Yes most books will cover basics, you may already know the basics...move on and learn new skills, take a class. STOP playing with settings you don't understand. STAY OFF questionable web sites. STOP downloading questionable material, DO NOT install applications made by companies you don't know. STAY AWAY from applications that have known spyware and adware. DON'T LISTEN to your friends that do this or that...ask them why they do it, if their only answer is because it's cool, or it makes your computer faster, but can't explain WHY it is DO NOT DO IT! They are idiots and you will have problems.Fifth if all else fails, please put the computer back in the box it came in, return it to the store for a refund. Take that money and buy yourself an etch-a-sketch and some coloring books. -
Run ifconfig and post your results.
-
Slow down. Do a little research, https://www.google.ca/?gws_rd=ssl... First thing, a wysyg for php? It doesn't work like that. As far as editors go, any text editor will work. But a good free editor is bluefish. http://bluefish.openoffice.nl/index.html If by php you mean html, well search google for a free wysyg. I doubt you're doing this as a means to make money or keep your job, so there really is no rush except your own impatience. I strongly suggest you take the time to learn php properly. If you need some debugging done, post your error message and appropriate code snippets and I'll gladly help you fix it.
-
hmm, what keeps me going?You're damned if you do, you're damned if you don't.My thoughts every morning is this could be my last day here. I'd better go piss off as many people as I can. Life's too short to spend it being lazy. Work hard and play harder. Do nothing half assed.
-
Having Trouble Getting Program To Print Out Multip
mike_savoie replied to kvarnerexpress's topic in Programming
I haven't coded Java in a while. But programming logic tells me your error is in here: for (int i=0; i<10; i++) { n = generator.nextInt(10); number += n * times; } Why are you doing "n*times"? What you'll want to do is use variable times in your for loop... for (int i=0; i< times; i++)I seem to recall not being able to use a variable as the control counter in the loop, so you may be better off using a different loop. do{ //your code goes here value++;} while(value < times);Then simply concatenate the 10 digits with a newline. Similar to this: number += '\n' + n; This code probably won't work as written, I'm at work and do not have a compiler here...but it should give you enough to get started. -
That's high school for ya. Here's a hint, it doesn't get much better...posers are everywhere. I hope you're not taking a shot at AC/DC...they are some of the greatest rockers ever....and I'm from that generation. Someday you'll understand. I really have no reply to this part, except the Nike slogan...'just do it'.
-
Mysql Sub-queries does the hosted version support them?
mike_savoie replied to mike_savoie's topic in Web Hosting Support
thanks sandbox. I thought about looking it up, but am feeling lazy today. I was pretty sure it didn't, figured it might be good to check before I uploaded too much code. guess simple scripts and tutorial site it is for here. -
I'm just wondering if the hosted version of MySQL 4.0.xx supports sub-queries? I'm building an application that essentially relies on them. I could work around it, but that means re-working too much.If you don't know what sub-queries are, please don't bother replying. I may write up a good SQL tutorial someday.
-
How Do You Start Making Your Site?
mike_savoie replied to newjerseyd3vil's topic in Websites and Web Designing
To start your site, first thing to do is figure out is what your site is about, is it about you, flying kites, pets, just to show pictures...you get the idea. Next step is design your layout. Use pencil and paper, draw out how you want it to look. Don't worry about all the little detail as that will bog you down and discourage you.Next if you don't know HTML or how it works learn it. There are tons of tutorials out there that are great, and tons that suck...I suggest buying a book. Easy to reference that way. Focus on tags, how they work, their properties and proper syntax.Then start building the HTML...if you have any questions feel free to email me, or contact me through msn I will help you get started. As far as hosting goes, don't worry about it just yet. You can code and view HTML pages from your computer. Learn how to upload your files when your site is complete. Or until you have enough content worth showing off. -
Your error message explains all you need to know. You should try googling errors to find the fix. With this code header( "Location: $location" ); you are sending new header information, which cannot happen after there has already been headers sent, ie output to the screen. To send a custom header, or using your code; the header function MUST be the very first line of code within the page. Just try putting your error in google to find a better explanation.
-
Bandwidth For all the idiots out there xD
mike_savoie replied to Evil_Amuter_WebsiteCoder's topic in General Discussion
Their network speed was showing their NIC card not their dialup connection. The 100mb connection is for their internal network. -
To expand a little on the ping tool. Think of ping like sonar, it was actually named after the ping sonar makes, but I digress. Your ping time is the amount of time your request takes to make a round trip to the server. Meaning, your packets leave your computer, travel across the net, hit the server, the server responds by sending packets back. Ping will not determine a slow server. Ping determines connection speed to the server. Speed is determined by the slowest connection in the loop, referred to as a 'bottleneck', the bottle neck could be caused by too many things to list here. Just think of it as the slowest part between you and the server. Slow loading sites could be caused by quite a few factors as well. That is material for another thread. -t is an option with ping To answer this question, if at the command prompt you type ping /help you will notice a slew of options as well as the correct syntax for using the ping command. Here is a list of options, what they do and how to use them. Options -w timeout Timeout in milliseconds to wait for each reply. -i TTL Time To Live. -a Resolve addresses to hostnames. -n count Number of echo requests to send. -t Ping the destination host until interrupted. -l size Send buffer size. -f Set Don't Fragment flag in packet. -v TOS Type Of Service. -r count Record route for count hops. -s count Timestamp for count hops. -j host_list Loose source route along host_list. -k host_list Strict source route along host_list. destination_host The name of the remote host ( server ) I'll use https://www.google.de/?gfe_rd=cr&ei=BwkjVKfAD8uH8QfckIGgCQ&gws_rd=ssl as the destination host. ping https://www.google.de/?gfe_rd=cr&ei=BwkjVKfAD8uH8QfckIGgCQ&gws_rd=ssl, will simply ping google with 4 packets and return the results. ping -t https://www.google.de/?gfe_rd=cr&ei=BwkjVKfAD8uH8QfckIGgCQ&gws_rd=ssl, will send infinite pings to google until you hit ctrl+c or close the window. ping -w 5000 https://www.google.de/?gfe_rd=cr&ei=BwkjVKfAD8uH8QfckIGgCQ&gws_rd=ssl, will tell ping to wait up to 5000 miliseconds before timing out ping -i 12 https://www.google.de/?gfe_rd=cr&ei=BwkjVKfAD8uH8QfckIGgCQ&gws_rd=ssl, will kill the packet in 12 miliseconds if it doesn't complete the ping ping -n 12 https://www.google.de/?gfe_rd=cr&ei=BwkjVKfAD8uH8QfckIGgCQ&gws_rd=ssl, will send 12 pings to google ping -l 64 https://www.google.de/?gfe_rd=cr&ei=BwkjVKfAD8uH8QfckIGgCQ&gws_rd=ssl, will send packets with 64 bytes of data The options in red are ones I haven't experimented with. To find out what they do simply add a dash then the option to find out for yourself. Hope this clears up ping. Now try traceroute https://www.google.comnow/ that's a neat little tool.
-
Bandwidth For all the idiots out there xD
mike_savoie replied to Evil_Amuter_WebsiteCoder's topic in General Discussion
I know what you mean, I just feel like stating the obvious. wouldn't the information carrying capacity of a network be unlimited as it can have many servers with many hard drives? -
Review My Website; Pls help me with some advices..
mike_savoie replied to kitty's topic in Websites and Web Designing
Kitty,A few things, you should have a link to skip the intro. 90% of internet users are still on dialup and splash screens take a while to load. Nice graphics on the site. But the main area is very busy, almost distracting. All in all I would say a fair site, lots of beginner design mistakes but clean just the same. PS. I had no idea what any of the links did as it is not in english or french, what language do you speak? -
Being a linux user for a few months and having tried both KDE and Gnome I would say use gnome. IMO it has a much nicer look and feel to it. I personally use iceWM as it is much faster than either of the other 2. I will also throw in a shameless Debian plug in here for you. It is the distro I suggest going with, you can easily download the minimal install cd over dialup as it is much smaller than a full cd. From there during the install you will be asked what packages ie programs you would like to install, choose the ones that sound like things you would use, then debian does the remainder of the install via the internet. I did this for my parents and it took a few hours to get everything but their system has been up and running for a few months with no major issues.
-
Php And Asp.net Form server control html component
mike_savoie replied to badinfluence's topic in Programming
That link you provided simply describes forms in .net. You can certainly build forms in php. All you really need for a from is html. It all depends what you are trying to do.The server controls in .net are not what they apear to be. Explaining how .net works is a little complicated, if you're interested in learning it I suggest taking a course. -
Reading Site's Source Code With Php is this possible?
mike_savoie replied to snlildude87's topic in Programming
There's a great php class called snoopy from sourceforge. Find it here: https://sourceforge.net/projects/snoopy/ Here's an example of how to use it. <?php $snoopy = new Snoopy; $snoopy->submit($submit_url,$submit_vars); $snoopy->fetch("https://www.google.de/?gfe_rd=cr&ei=BwkjVKfAD8uH8QfckIGgCQ&gws_rd=ssl;:); print $snoopy->results; ?> -
Designing Index Page With Target - the table instead of using frame
mike_savoie replied to BuffaloHelp's topic in Programming
Your best bet would be to use <div> tags, and dynamically load the innerHTML. You could hold the html in a database, then when the main page loads, grab all your code from the database, throw it into javascript variables and use the links to call a load function. Or you could use an iframe to throw the other pages in. Keep in mind the following example probably doesn't work. If you want a working example I'll try to finish the script this afternoon... ?> <html> <script> //these variables have been echo'd with php, filled using a php query from the //database. var page1 = "some html"; var page2 = "other html"; function loadContent(pagename){ if( pagename == "page1.html") document.getElementById('content').innerHTML = page1; //and so on, you could use a switch statement here as well. } </script> <body> <div name='content'></div> </body> </html> linenums:0'><?php//Your query would go here, and you would simply echo the results to javascript variables. I won't do all the coding in this example.?><html><script>//these variables have been echo'd with php, filled using a php query from the //database.var page1 = "some html";var page2 = "other html";function loadContent(pagename){if( pagename == "page1.html")document.getElementById('content').innerHTML = page1;//and so on, you could use a switch statement here as well.}</script><body><div name='content'></div></body></html> Notice from cmatcmextra: Use code tags for code