cwarn23 387 Occupation: Genius Team Colleague Featured Poster

From what I've read on the web, Australia is one of about 2 countries using smart chips like visa pay wave causing criminal problems which were descovered in trials within the uk. To this day the uk is phasing them out while australia is phasing them even thoe these new debit/credit cards can broadcast your pin number and other personal information from a range of 3 inches to 4 yards depending on age of card and generosity of supplier.

So in conclusion some banks in Australia seem to not value the privacy protection of their customers in echange of currency and more customers.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

This kind of behaviour suggests your modem every so often cannot ping the ISP (Internet Service Provider) hence the temporary disconnection of service until it is immediately available again upon connection retry of connecting to the ISP. The solution to this usually is to get a better modem or if the signal is too bad then a new internet service provider which can replace some of the street cables to the house. If on satalite then perhaps the dish may need tuning or if too old then may be worth replacing.

In short a poor quality data signal strength on the modem has refused the internet connection and either a swap of modems or swap of ISP's should do it with some cabling along the street to the exchange. Note: Copper data cables last 30 years before quality degrade.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

The reason why you can't open a socket on port 80 while executing the page on port 80 is that there will be multiple instances of port 80 and this will conflict. Try executing the sockets on a port that your browser does not use although it would be very difficult.

In addition if this is not the case and you did not have a straight forward php installation then you could have php installed twice on the same computer like I've done myself then had to fix up. To check this make a script with <?php phpinfo(); ?> then compare it with the command line which I believe is php -version or php -v but may or may not have 2 dashes. If they are the same then you should be right on that aspect.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

If your installing apache, php, mysql, tomcat or any desired linux http web server software then I would recommend installing xampp for windows, mac and android. However on linux since the software is native to linux I would recommend installing from the yum or dpkg repository.
When installing xampp remember to keep its default path as forcing it into system locations such as Program Files, Program Files(x86), Windows and all sub-directories/folders will make it malfunction particularly on windows 7/8 due to a new security policy.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

At the moment I'm sick with a minor code and have been coughing all week. The most common thing I can think of when your sick is to do the dodo instant broadband in the loo at fast speeds and hope theres no rebound. I got rebound once.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Looking at the code above I can spot two notable errors in post #post They are one to change the window.location upon clicking a button or link you need it to note only be in the onclick event but also have the prefix "JavaScript:". In addition setting the value of a field you need to surround it with double quotes. Note that HTML will only accept double quotes and not single quotes.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Some padding helps identify the errors.
Try something along the lines of the following:

import java.Math.*;
import java.swing.JOptionPane;
public class EqTri {
    private double sideLength;
    private String identifier;
    public EqTri(double x,String s) {
        sideLength = x;
        identifier = s;
        //note here "s" is not global to the class nor static to the project.
        }
    public setsideLength(double x) {
        x = sideLength;
        }
    public setIdentifier(String s) {
        s = identifier;
        }
    public double getsideLength() {
        //x is undefined. Null Pointer Exception
        return x;
    }
    public String getIdentifier() {
        //s is undefined. Null Pointer Exception
        return s;
    }
    public double getPerimeter() {
        //s is undefined. Null Pointer Exception
        return 3*s;
    }
    public double getArea() {
        //a is undefined. Null Pointer Exception
        return (Math.sqrt(3)/4)*a*a;
    }
}
cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I'll simplify this down to terms that some people might be able to understand if I'm not mistaken. when you put i++ in to a for loop it will add the value of "i" after the compiler has checked the middle comparison statement but will add 1 to "i" before the compiler proceeds to the bracket. If on the other hand you do ++i it does a similar thing except it adds 1 to i as if though it were the first line of code in the for loop. May not make much of a difference in this circumstance but in other circumstances can make a difference.

For example if you were to print i++ and ++i one would print the value of i then add and the other would add then print the value. Makes a difference.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

veedeoo is correct. A mysql statement my only contain one line even when it is conjoint like veedeoo did in his example. So in short mysql under the php api will not accept multiple line query's and will only accept single line query's. Fix that part of your code and you should be done.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

In general practise, arrays with mass insertation is a bad idea like you have done in line 3 where as the better idea is to fetch from the database as you need them.

Let's take for example your deploying a website like facebook and your using the above code for the contacts list. You will need to not only loop though but also to store in memory millions possibly even billions of users in memory causing the server to use terrabytes of memory just on the one little section of script. Not a good thing.

My recommendation is fetching directly from the database upon use and only store it inan array if your going to use every piece of information in that array later on. By saying every piece I don't mean just for filters but I mean for things like displaying on pages and such.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Finally I managed to solve this one. It was not only the image to byte decoder that was messing up the result but it was the byte to image to file encoder that also needed a total rewrite. Unfortunately there are very few references on the web about doing what I wanted to do but there was just enough to find a resolution. I guess my new years resolution. Below is a code snippet for those who want to be able to modify images with Java using the code I have fixed from the first post.

package org.test.proc;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;
public class Main {
    public static void main(String[] args) {
        System.out.println(args[0]);
        BufferedImage img = null;
        try {
            img = ImageIO.read(new File(args[0]));
        } catch (IOException e) {
            e.printStackTrace();
        }
        int w=img.getWidth();
        int h=img.getHeight();
        byte[][] data_a = Main.getByteArray(img);
        //////////////////////////////////
        ///    ALGORITHM PHASE START   ///
        //////////////////////////////////






        /////////////////////////////////
        ///    ALGORITHM PHASE END    ///
        /////////////////////////////////
        int pxall=w*h;
        int[] px = new int[pxall];
        for (int i=0,x=0,y=0;i<pxall;i++) {
            px[i] = ((data_a[x][y]+128)<<16) | ((data_a[x][y]+128)<<8) | (data_a[x][y]+128);
            x++;
            if (x==w) {
                x=0;
                y++;
            }
        }
        BufferedImage resimg = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);
        resimg.setRGB(0, 0, w, h, px, 0, w);
        try {
            ImageIO.write(resimg, "png", new File("test.png"));
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
    private static byte[][] getByteArray(BufferedImage image) {
//http://stackoverflow.com/questions/6524196/java-get-pixel-array-from-image
          final int width = image.getWidth();
          final int height = image.getHeight();
          int[] pixels = new int[width*height];
          byte[][] result = new byte[width][height];
          for (int index = 0, row = 0, col = …
cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I've for a long time I've been studying and experimented with just about every language that I could get my hands on so I have a fair idea about little things like this. The best platform for a web chat system is dependent on the amount of operations along with performance you require from the client side computer. The two basic options are Java Applets and JavaScript. Java allows you to add a wide range of features that JavaScript will never provide however it requires more experience to program in Java than JavaScript. As a comparison of compatibility, only 1% of the internet has JavaScript disabled and aproxamately 0.5% of computers do not have Java installed (half of JavaScript). So really if your after simplicity and availability then choose JavaScript or if your after features and customer experience then choose Java.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Alternatively I think what the op was trying to accomplish but does the exact same thing is as follows:

<td><input type="text" name="c1" value="<?php echo ($p_id!="")?$a:$p_name; ?>"></td>
cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Try the following:

 $go=true
 while($row = mysqli_fetch_array($posts)) {
    $channel_name2 = $row['content'];
    $channel_name3 = $row['Posted_By'];
    $channel_name4 = $row['Date'];
    $channel_name5 = $row['id'];
    $channel_name6 = $row['type'];
    if ($go==true) {
      if ($channel_name6 = 'post') {
          $channel_name2 = $channel_name2;
        } else {
          $channel_name2 =  "<img src='/videobox/data/uploads/images/$channel_name2' height='200px' width='100px'>";
        }
    $go=false;
    } else {
    echo $channel_name2;
    }
 }
Jibran12345 commented: thanks for your help, but I fixed it differently :D +0
cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I saw that this thread was still open so I thought I would enter in my opinions on this topic.
Tip 1:
When designing an authentication system you will want to keep all passwords and their associated hashes out of shared memory and away from public access. So for instance, lets say you were doing an object oriented design, the hashes may not be assigned to a global variable as that is what is called shared memory. Just a side know, recently there have been a few exploits with accessing shared memory so assume all shared memory is public.

Tip 2:
Hash a portion of the hashes as the salt and a hash of the hash as the string to be hashed
eg $hash=substr(sha2(sha1($password),0,8).substr(sha1(sha1($password)),18));
This will ensure that nobody can reverse the hash using a brute force database even with technology that exists in the next century which may be something like 256GHz 65,000 core and still they won't be able to crack your passwords because you used a custom hashing algorithm. On the other hand if you just do sha2('salt'.$pass) then in the next 10 years when quantum computers are due a simple loop though the first 2^256 combinations will result in finding your password and even with a sault a fast internet connection can do it on the live with the new network technology due in 10 years faster than fibreoptic by 1000 or so times the speed but is currently still under …

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I've simplified the method that converts the pixels from the image to byte values however I'm still getting a diagonal static like when you have no reception on an analog tv. I'm not sure what could be causing such a problem. Can anybody else spot what errors would be causing this. It would be most generous to post some corrected code as I've been struggling for over a week now on the above snippet of code.

private static byte[][] getByteArray(BufferedImage image) {
          final int width = image.getWidth(null);
          final int height = image.getHeight(null);
          int[] pixels = new int[width*height];
          byte[][] result = new byte[width][height];
          for (int index = 0, row = 0, col = 0; index < pixels.length; index++) {
             Color c = new Color(image.getRGB(col,row));
             int argb=c.getRed();
             argb+=c.getBlue();
             argb+=c.getGreen();
             argb/=3;
             result[col][row] = (byte)(Math.floor(argb+0.5)-128);
             col++;
             if (col == width) {
                col = 0;
                row++;
             }
          }
          return result;
       }

The above method posted is the new version of the BufferedImage to 2d Byte array method however problems still occure somewhere within the overall script as the generated image is not recognizable as the original image when in fact it should be a copy of it. Later on I will alter the image with the 2d array when I get this working by changing grayscale values so that a different image will be generated but for that I need at least a working image to be generated in the first place.

Any Ideas?
cwarn23

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I just tried subtracting 128 from argb in the getbyteArray() method however I'm getting an out of bounds error. I suspect I've done something wrong with the if statement that contains the variable (hasAlphaChannel) in the getbyteArray() method. Does anybody know a better way to check the number of bytes per color in the byte[] pixels array and decypher which index is which color.

Much appreaciated
cwarn23

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I have been trying to create a script that will fetch an image file, store it in a 2d grayscale non-alpha byte array based on the x and y axis so I can perform math operations then save that array back to a new image file. I have come close to doing so but something is not doing its job in the process. The resulting image has a lot of dark horizontal static and I upon the many pages I have searched and searched. Still no answer. Could somebody please explain what I am doing wrong here? Below is the basics of what I am doing and between the two big comment boxes is where I will be modifing "byte data[x][y]".

package org.test.proc;

import java.awt.image.BufferedImage;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.IOException;
import java.awt.image.DataBufferByte;

import javax.imageio.ImageIO;

public class Main {

    public static void main(String[] args) {
        System.out.println(args[0]);
        BufferedImage img = null;
        try {
            img = ImageIO.read(new File(args[0]));
        } catch (IOException e) {
            e.printStackTrace();
        }


        int w=img.getWidth();
        int h=img.getHeight();
        byte[][] data_a = Main.getByteArray(img);
        //////////////////////////////////
        ///    ALGORITHM PHASE START   ///
        //////////////////////////////////




        /////////////////////////////////
        ///    ALGORITHM PHASE END    ///
        /////////////////////////////////

        byte[] data_l = new byte[w*h*3];
        int i=0;
        for (int x=0;x<w;x++) {
            for (int y=0;y<h;y++) {
                data_l[i]=data_a[x][y];
                i++;
                data_l[i]=data_a[x][y];
                i++;
                data_l[i]=data_a[x][y];
                i++;
                //data_l[i]=127;
                //i++;
            }
        }

        try {
            //BufferedImage image=null;
            //image = ImageIO.read(new ByteArrayInputStream(data_l));
            //System.out.println(image.toString());
            //ImageIO.write(image, "JPG", new File("test.jpg"));
            BufferedImage image = new BufferedImage(w, h, BufferedImage.TYPE_3BYTE_BGR);
            image.getWritableTile(0, 0).setDataElements(0, 0, w, h, data_l);
            ImageIO.write(image, "PNG", new File("test.png"));
        } catch (IOException e) {
            // TODO Auto-generated catch …
cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Does anybody know where I can find a c++ object oriented library for my c++ project where in short I can set each pixel on each frame to a specified color and saving the result to a .avi file preferably compressed.

I know this sounds simple in theory but I have googled not just for avi but for many codecs and found nothing. Anybody with greater knowledge know where I can find such a library?

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Hi, recently I have wanted to learn how to write Windows native binary code to make a binary script which in one form or another will display hello world. I am hoping to eventually create a more efficient compiler using this method but as you should understand already, this is a rather undocumented section of programming. So basically I need to know for the gcc compiler, how did they manually set the ones and zeros in accordance to the execution environment when you need to know how the execution envirment executes binary. Like is there any docs for how windows executes an executable in binary terms? I am hoping I don't get the odd person who says this isn't possible as people used to do this with pounch cards and now I'm doing the modern equivelant which is writing to the harddrive each one and zero. So please provide details on the Windows binary execution environment.

Thank you

cwarn23

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Personally the tools I like to use are a pen, some paper, stapler and a piece of software called open project. If however your talking about web development tools then it would be Notepad++, Putty, Eclipse and Maven.
If your wondering why my web designing tools are so odd it's because I plot the initial design on paper which is then proceed with the main design and analysis in open project. The good thing about ploting the initial design on paper is that you can be talking to a client while away from your computer (eg on the phone) while plotting the requirements and initial design on paper. In most cases a case sanario would be done at this stage but I prefer to do an initial design along with the case sanario so there aren't any communication errors.

pritaeas commented: Pen and paper indeed. +14
cwarn23 387 Occupation: Genius Team Colleague Featured Poster

There is a neat little function called sscanf() which will do all of that. Perhaps you should google all about it.
http://www.tutorialspoint.com/c_standard_library/c_function_sscanf.htm

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I may be no expert on the Microsoft sql server but a few things do appear obvious. One is that if you want the version 2008 to read the file then you will need to convert the file to a 2008 file aka the 655 or earlier datatype indicated in the error message. To do so I would emajine you would get both database engines accisible from the same system and retrieve records from one database while inserting into the older version. Note that this will most likely require a script weather it's php or some other language to process the results. But if it's possible to just upgrade the problem program it would probably be easier to do so.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

It is also possible to use strvariable.equalsIgnoreCase(input) and it will compare the two strings while ignoring the difference between upper case and lower case letters. So in this method A==a and B==b etc. But besides that there isn't any other method that I am aware of.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

http:////server01/ is not a valid host name. Editing the hosts.cfg file I belive it's called will not publish your localhost site on the internet. You will need to purchase what is called a "domain name" and in addition to that if you wish to run it off your computer you will need to "port foward". Also after purchasing the domain name you will need to configure the "dns" with a program such as "bind" but in general it is a lot easier to pay monthly for a "web host". Some web hosts are free with certain limitations. So I would strongly recommend purchasing a webhost rather than trying to run it off your own computer.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

The file:// protocal only works in localhost and instead you need to use the http:// address to your file. For example: If you were to type into the url bar to download the file www.example.com/peg/ then the code would be as follows.

<a href="http://www.example.com/peg/">click me</a>

Also the url demonstrated will open the directory the file is in rather the download it. To download it you will need something like the following.

<a href="http://www.example.com/peg/download.zip">click me</a>
cwarn23 387 Occupation: Genius Team Colleague Featured Poster

The rewrite rule does not allow for rewriting to the port inclusive. It would be something along the lines of the below:
RewriteRule ^([^/])/([^/]).html$ /skolski_portfolio/index.php?id=$1&page=$2 [L]
Also note that if that fails you can also try the below

RewriteRule ^([^/]+)/([^/]+).html$ /skolski_portfolio/index.php?id=$1&page=$2 [L]

Just remember that if you need to redirect the user to another port then there is a special parameter you place before the rewrite rule which will redirect the user to another port which I suspect is not required under these circumstances.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Also I know this isn't important but perhaps you should remove the quotations from the integers/numbers to improve efficency. Comparing two numbers is a lot faster than comparing a number and a string because of the amount of bits stored and the conversion required by php. For example:

<?php
$differenceInSeconds = 448005;
if($differenceInSeconds >= 86400){
    $calcDays = floor($differenceInSeconds / 86400);
    //echo $calcDays;
    if($calcDays === 1){
        $daysPlural = "day";
      //echo   $lastupdate = $calcDays." ".$daysPlural." ago";
    }else{
        $daysPlural = "days";
      //  echo $lastupdate = $calcDays." ".$daysPlural." ago";
    }
   $lastupdate = $calcDays." ".$daysPlural." ago";
}
echo $lastupdate;

And note that the final php deliminator isn't required when dealing with a pure php page and will take off a few milliseconds off the page loading time.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I think the name says it all. When I first saw this topic I thought 5 cents or 5 seconds. Does that reviel anything to you. Means it's worth 5c and get's tossed out in 5s.

Just joking here so don't be offended. But I was confused with the topic name until I opened it. I admit I am a fan of certain features of the iPhone and think every prisoner should have one so the government can keep track of where our prisoners are just like they do with us. Ever seen that news story for the data stored on the current iPhone containing gps data in raw format meaning any app can tell where you've been and what you've been doing. Just seems like a bit of a privacy concern to me.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Hi and thanks for posting. As per for fetching to appropriate entry within a range I would suggest storing the two numbers on each row in a seperate column which is the type double rather than a string as you have presented.After 4.21 and 5.0 are in two different columns, all you need to do is a sql query like the following:

SELECT * FROM `table` WHERE $value>=`min` AND $value<=`max`

After inserting that query and replacing $value with the intended value you are searching for you should get the resulting row you are looking for.

If there are any other questions just ask.

Thanks

cwarn23

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I believe the IBM guess and go algorithm which was invented in either the 1980's or the 1990's was a successful square root algorithm which is quote simple actually. As simple as the logic is it can be a pain to code so I shall explain.

Basically you get the number which needs to be rooted and devide by 2. We will call this x. Then check if xx=original number. If fails then check if bigger or smaller than original number. If bigger than x=0.5 and check again or if smaller than x*=1.5

This process of checking and multiplying is repeated until the correct answer is found. It may not be efficient for large numbers but it sure is efficient for 32-bit which is what IBM was dealing with at the time. So if you're planning to make a square root function/method you may wont to take this sort of algorithm into consideration.

mKorbel commented: interesting +10
cwarn23 387 Occupation: Genius Team Colleague Featured Poster

To elaborate more line 20-29 is the error lines because the white spacing before those methods are what is causing the error. If you need whitespacing before the header function then place the html in a variable and display it after the all the header() functions have been called. Note that new lines can be stored as "\n" in double quoted strings if you plan to store them in variables too.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Could you please present what problems you have ran into upon implementing the OAuth2 code. It is difficult to know how to advice when you have presented no examples to debug. Personally I would suggest removing simple_rest_client and following the docs for how to integrate the code as per the documentation standards in the link pritaess has posted.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Hi,
I was thinking of making a big website with an algorithm in place to decipher the multiple match pair chance of same hash occurance for long strings but the only problem is I need a database of hashes. A really big one at that. So does anybody know of any free api's that are provided for sha1 brute force combinations so for example I could send to a websites api a hash and have a chance of getting a decoded result or no result from that website at all. I am hoping of having quite a few api's embedded for this multiple match pair algorithm to work.

Please send the links.

Thank you

cwarn23

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I think I solved it by using the following:

#!/bin/bash/
cd /home/minecraft
screen -dmS minecraft java -Xincgc -Xmx2250M -jar craftbukkit-1.0.1-R1.jar

hope that helps future generations.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Hi, I am trying to set up a cron job to load up an application on my server every two hours. I have the following code which works successfully from the terminal but does not run from cron even though it is running as the same user and I have even tried giving the user root privalages on the cron job. Below is my bash file "minecraft.sh"

#!/bin/bash/
cd /home/minecraft
java -Xincgc -Xmx2250M -jar craftbukkit-1.0.1-R1.jar

Then in the cron job just like in the terminal I use the following command.

bash /home/minecraft/minecraft.sh

Can somebody please help me solve this as it is annoying the hell out of me as this is a really big problem for me. Anybody know what might be happening? Thanks.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Could somebody please review my previous comment and perhaps put it forward as a part of the system?

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

> Mind you that when there are too many questions to be answered before a signup, it may force the innocent human to discontinue the registration process.

The registration process hasn't changed in about a year. We've had Q&A verification since reCAPTCHA was compromised quite a long while ago now.

> Doesn't sound like a good system if you ask me when there are only about 10 questions to loop through.

I'm not going to say how many in potentially mixed company, but there are quite a handful more than 10 questions ;) However, the main point is that just the fact that the questions ARE unique to DaniWeb means that someone needs to go out of their way to program a bot to answer any of our questions. The majority of our spam attacks are targeting vBulletin forums en masse.

Then dani, could you try a random question 3 times below each other with three answers where all three questions must be correct. Two of the questions can be random questions from the existing random question system and the third can be a math question. That means to write a bot to crack the system you get 3 to power of X probability of being cracked instead of 1^X probability where X is the number of questions. I believe that will stop any bot. In case you want an example, here it is.

What is the first letter in the word daniweb?
Answer [ insert here ]

What does …
cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I thought I would start this topic to see what everybody is working on. So post what is project of the day and many posts to come.

As for me.
I am working on making it to the refrigerator after a few lines of code.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

No resemblance to me, there's no need trying to get any similarity between Bill and Jordan. There's something close when you compare Abraham Lincoln with John kennedy
http://jepoy.info/2009/05/abraham-lincoln-and-john-f-kennedy-mysterious-similarities/

John kennedy must be Abraham Lincoln. It looks like the same person. It must be the same person!

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

and the less standard ones are what you see first.....thats what makes the search even more lengthy

indeed but sometimes the less standard ones can be better.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Mind you that when there are too many questions to be answered before a signup, it may force the innocent human to discontinue the registration process.

That is why there should be one or two *good* questions that bots can't answer but innocent humans can easily answer. Currently there are just a couple of questions that repeatedly get asked so all a bot has to do is keep on refreshing the page until it gets the question it wants. Doesn't sound like a good system if you ask me when there are only about 10 questions to loop through.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

You cannot go wrong with vBulletin

I would have to agree with you but it costs money and money is a thing I often don't want to spend. That is why I often reinvent the wheel and write my own forum or if I'm too lazy then I seek a free cms that is up to the standards although finding a free cms is a lengthy process as there are so many.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

A minecraft quote

We built this city, in rock and roll.
We build this city.
We built this city till it's spamed down around ow wow.
cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Hi,

Try this,

<?php
## define your url
## change comments tags to the proper syntax as recommended by php.net.
## unless you are a developer, you can give reason why these ## are valid.
## even if the rest of the world would argue that it is wrong, 
## it does not mean it is not valid. 

$url = "http://www.daniweb.com/web-development/php/threads/256243";
echo '<img src="http://open.thumbshots.org/image.aspx?url='.$url.'" width = "150" height = "150" />';
	
?>

That's exactly what I proposed and took this many posts to work that out.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Nope, nothing.

it looks like in that picture that if it was bill gates he shaved his head for the bill gates foundation charity. There is some resemblance in that photo but not much due to the baldness of the body and so forth.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Great video AD, except for those comments made by those who have never used a Mac before.

@jwenting
Most of those replies to the youtube video have been removed or flaged as spam now so that is why you probably can't see my point. So in otherwords nvm as youtube has screwed me over double time.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I just got a new pet. Found this cat wondering the neighbourhood so I named her "soft kitty" and am going to keep her until I find her a home. (or at least the old home she is from) Nice cat it is.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

hi <?PHP

$image = "http://images.websnapr.com/?size=s&url=$url";

echo "<img src=\"$image\" width=\"202\" height=\"152\" alt=\"Screen Shot.\">";

?>

this is not working now any idea about new code..??????????

hi, please use lower case <?php and that should solve your problem. :)

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

floor(pow(2,4.4));