Search found 7921 matches

Actual Results

Post Posted: May 13th, 2014, 10:32 pm

You're right... none are necessarily the 'right' way, but I'm hoping to find the best way. One thing about being self-taught is that you miss a lot of stuff when starting to learn programming so when you get to developing programs, even though you know the general idea of how to accomplish something...

Post Posted: May 13th, 2014, 4:34 pm

The thing with PDO is, I'm using MySQLi. I'm guessing it's a bit faster then PDO. Never heard of strategy pattern, though I have thought about doing it that way, but for some reason I wanted to use an abstract class instead, rather then a wrapper (kind of) class that chooses the type of mailer/db to...

Post Posted: May 11th, 2014, 9:17 pm

One thing that made me consider doing a factory (and why I chose to use it) is using a class with drivers (so to speak). For instance, I have a database abstract class with drivers... class that extends it... mysqli (with possible add-on drivers like postgreSQL, SQLlite, and so on)... these drivers ...

Post Posted: May 7th, 2014, 12:46 pm

http://www8.hp.com/us/en/support-topics ... ivers.html

Post Posted: May 1st, 2014, 6:54 pm

Hehe didn't know you could do that. Thanks :D

Works great now, thanks.

Post Posted: May 1st, 2014, 11:20 am

To get a serial key for Cybersieve 3.0 you're supposed to purchase a license . If you are going through a router (have wifi) then most routers have parental controls built into them... you can block pages with certain terms in them, you can block specific URLs... every parental control system is dif...

Post Posted: May 1st, 2014, 11:14 am

I just tried that and it still blinks on and then off... I went to CMD and typed the following.

Quote:
cd C:\Sources

start hello.exe

It opened the program but immediately turned it off

Post Posted: April 30th, 2014, 5:39 pm

Now the problem is, I run hello.exe and it opens a command prompt with Hello World written in there, and immediately turns off... I guess that is normal behavior, but how does the other programs that run are not closed off immediately? The same with everything... once it gets to displaying something...

Post Posted: April 30th, 2014, 5:34 pm

Ok, so I've removed cygwin and installed MinGW, but... I don't have G++ or GCC? I run g++ hello.c -o hello.exe and I get that 'g++' is not recognized as a command, operable program or a batch file... I obviously run that in the folder where hello.c resides in... maybe I did something wrong... I don'...

Post Posted: April 28th, 2014, 5:06 pm

What would she need to edit? Colors? Organization? Or just add/remove pictures and edit their properties/details?

How big would it be?

Post Posted: April 28th, 2014, 4:34 pm

Touch devices are much different then desktops, laptops or anything that uses a mouse in a way that web browsing experience changes in touch devices. One reason why that is true is because touch devices don't have hover events (onmousehover, onmouseblur) or anything like that... a touch is equal to ...

Post Posted: April 27th, 2014, 9:42 pm

I want to strengthen my web designing skills as well as I really suffer in this area. I don't know on which topics to search to be able to start... mainly, I don't know where to start. I also want to study a bit more on how to create the navigational/GUI aspect of web sites... I seem to do/try diffe...

Post Posted: April 24th, 2014, 10:48 pm

Which fonts could I use (without the need of any license or anything) in my scripts if I plan on redistributing my code? I've Googled royalty free fonts but I didn't find any decent ones for the captcha scripts I've created... At the moment I'm using: ⋅ arial ⋅ arialbd ⋅&nbs...

Post Posted: April 24th, 2014, 10:33 pm

Did you fix the problem? Did you clear your dns cache? start > run > cmd > ipconfig /cleardns I have this problem where if I loose internet connection, my router redirects me to the router diagnostics page no matter what URL I type (usually happens to google.com since that is my home page)....

Post Posted: April 22nd, 2014, 7:24 pm

Image

Nice! Lol

Post Posted: April 22nd, 2014, 6:44 pm

Oh, that makes sense now... thanks. I did think about doing it without a loop, but at first I was doing with three numbers instead of two (2+3-4 instead of 2+3), so that is why I started off with a loop, but I think it would be faster without the loop (and better on bandwidth).

Post Posted: April 22nd, 2014, 12:31 pm

Thanks, that seems to work... the thing though, I still don't understand why my way didn't work originally.

Post Posted: April 22nd, 2014, 12:18 pm

None really, more of a learning experience for me. Create a system and then work on making it faster and better. It's not a project I'm working for someone, it's something I started myself for the sake of strengthening my PHP knowledge (while I learn C). Also I'm in more power of how things work if ...

Post Posted: April 22nd, 2014, 1:31 am

I'm having problems getting my PHP to do simple math... such as add and subtract. I'm pretty sure it has to do with the logic of my code, but for the life of me, I can't seem to figure it out!! Any help? [php]<?php function generate_math() { // Initiating some variables used in the $i = 0; $int =...

Post Posted: April 21st, 2014, 11:17 pm

Here is the correct code... [php]<?php class math { // The captcha answer session name public $captcha_session = 'captcha'; // Available fonts private $fonts = array('arial', 'arialbd', 'arialbi', 'ariali', 'ariblk', 'bnjinx', 'bobcat', 'candles_', 'micross', 'narrow', 'neon2' ); // The directory...

Post Posted: April 21st, 2014, 10:42 pm

Nevermind, I figured it out!! :D In generate_content(); I used $this->color['..'] where it should be $this->color s ['...']. And also, the following function helped me solve the problem where some of the fonts in the font array were written wrong (oops... I tried my best). [php] public functio...

Post Posted: April 21st, 2014, 9:50 pm

I'm in the process of creating some different CAPTCHAs for a system I'm creating (making them available in the admin control panel) and the script doesn't seem to want to work... I can't seem to pinpoint the problem too. Here is the current CAPTCHA code that I have at the moment... can't go on with ...

Post Posted: April 16th, 2014, 7:10 pm

I think so too... I just don't know how to do it command line and Eclipse is too much trouble than it's worth.

Post Posted: April 15th, 2014, 7:52 pm

Okay, I figured it out... Apparently when I add a new source file and name it, it doesn't add the .c extension automatically, and I'm supposed to do that myself. After adding the extension, it fixed my problem. Now I got the following notice in the Console: <terminated> Hello World Debug [C/C+...

Post Posted: April 15th, 2014, 7:33 pm

If I try to build I get the following notice:
Quote:
Nothing to build for project Hello World

For run, I have Auto Build set up.

Now it says (after I did clean)
Quote:
The selection cannot be launched, and there are no recent launches.


Edit2: Now it's back to the not found binary thing...

Post Posted: April 15th, 2014, 7:24 pm

It might be my PATHs variables, but I know nothing about paths, where they're at (environments maybe?), what they should be, how many of them there should be...

Post Posted: April 15th, 2014, 7:08 pm

I'm trying to run the following code in C:
C Code: [ Select ]
//C hello world example #include <stdio&#46;h> int main() { printf("Hello world\n"); return 0; }
I found that code here . It is probably because I'm including stdio.h which is the binary that is not found (or something else entirely)....

Post Posted: April 12th, 2014, 11:05 pm

Well, I did shove it into the second alternative... found out that the first alternative is for direct links (http://www.google.com) and second alternative is for relative links (./path/to/file.php). [code]((^(http[s]?:\/\/)?([w]{3}[.])?(([a-z0-9\.]+)+(com...

Post Posted: April 12th, 2014, 10:56 pm

I got the following REGEX to work... [code]((^(http[s]?:\/\/)?([w]{3}[.])?(([a-z0-9\.]+)+(com|php))(((\/[a-z0-9]+)*(\/[a-z0-9]+\/?))*([a-z0-9]+[.](html|php|gif|png|jpg))?)(((\&|\?)\w+\=\w*)*)$)|((^([.]\/)...
  • Sort by
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.