Search found 1867 matches

Actual Results

Post Posted: September 14th, 2014, 1:16 pm

If you wanted to make it web based, you could use php and the GD library. Assuming your rom pic is aligned into a grid of rows and columns, you can just come up with a grid system for the "center" of each bit you want to sample, write a for loop to traverse that grid, and use something lik...

Post Posted: July 2nd, 2013, 3:18 pm

Unfortunately, it's in development and on an internal server, so I can't provide a link right now. I have been experimenting, and what I have found so far is that the best way to display on Android (so far) is to NOT specify any viewport attributes at all. I was using some javascript alerts to test ...

Post Posted: July 2nd, 2013, 10:25 am

Howdy yall, I have a web site that is a horizontal scrolling site, rather than vertical. Before anyone starts pointing out that horizontal is a bad design for the web, know that I did not design the site, our creative department did and I had no say in the matter, I was just told to build it. The si...

Post Posted: February 1st, 2011, 3:58 pm

There are two blatant issues with your script that I can see. First, $file will only contain the filename, not the path. In your case, you are reading the cache/ directory relative to the current script, but you are trying to delete $file, rather than cache/$file. Change:
PHP Code: [ Select ]
unlink($file);
t...

Post Posted: August 27th, 2010, 12:07 am

fsockopen supports a timeout argument, in seconds.
Code: [ Select ]
fsockopen ( string $hostname [, int $port = -1 [, int &$errno [, string &$errstr [, float $timeout = ini_get("default_socket_timeout") ]]]] )

Post Posted: December 10th, 2009, 11:15 pm

Actually, I solved it like an hour after I posted this. I used an mx:grid and adjusted the script a bit.

Post Posted: November 27th, 2009, 5:39 pm

I'm building a jukebox app in Adobe Air, and I have run into a small problem. The jukebox is for use with a touchscreen system, and as such, I want to use a kinetic scroller on any lists (current playlist, album tracklist etc). I have found a really nice kinetic scroller written in Flex, and I can c...

Post Posted: June 16th, 2009, 4:11 pm

You might look at Google's O3D. It's in alpha, and requires a browser plugin, but it's very robust, and there are even a few games in the samples.

Post Posted: June 10th, 2009, 10:41 am

you mean Sitepal?

Post Posted: May 4th, 2009, 11:10 am

I believe Opera will allow you to specify per-site rules, but I don't know if any of the browsers allow per-page rules.

Post Posted: May 4th, 2009, 4:05 am

Another thing that bugs me about the whole CAPTCHA thing: Fearmongering. For instance, many sites reported on this incident as "Recaptcha Hacked". Recaptcha was not hacked, not in the least. What 4Chan did was wrote a script that loaded thousands and thousands of instances of the form so t...

Post Posted: May 4th, 2009, 3:31 am

I don't care about spam. I have gmail, and I have gotten 4 spam mails in my inbox ever. I have been using gmail since 11/05. Sure I get TONS of stuff in my spam box, but that's why it's there.

Post Posted: May 4th, 2009, 3:28 am

I find this highly unlikely until after verizon switches to the LTE network. Apple is historically very unwilling to support older technology like CDMA since they want to bring a bleeding edge experience. Well, other than the touchscreen, I wouldn't exactly call the iPhone "Bleeding Edge"...

Post Posted: May 4th, 2009, 3:11 am

Most browsers allow you to create your own style-sheets: http://www.squarefree.com/userstyles/user-style-sheets.html

Post Posted: May 4th, 2009, 2:45 am

Here's my take on the CAPTCHA issue, and this is something that I have spent a LOT of time thinking about. All over the web, there are people proclaiming the death of CAPTCHA, that the bots have won, and that there needs to be a better way to determine bot from human. Most of them are well-intention...

Post Posted: May 4th, 2009, 12:32 am

You can use the following:
Code: [ Select ]
<a href="javascript&#058;window.close();">Close Window</a>  
Note the : above is a colon (:), but the code paste here converts it. or: [code]<input type="button" onclick="window.close();" value="Cl...

Post Posted: April 15th, 2009, 3:03 pm

Heyyyy Spock, I was just thinkin bout you the other day wondering where ya were when someone brought up Captcha. I've been very busy lately, and didn't have time to visit Ozzu but once every week or two. Was working for Filefront.com but the job disappeared at the end of March when Ziff Davis decid...

Post Posted: April 14th, 2009, 10:39 am

I was just asking about the structure for both the flat file and the database table, not the code yet. For example, your flatfile might look like this:
Code: [ Select ]
AAA,ABC,100 AAA,ABC,101 AAA,ABC,102 AAA,DEF,200 AAA,DEF,201 etc...  
and your database table might look like this: [code]CREATE TABLE  ...

Post Posted: April 14th, 2009, 1:35 am

Change this:
Code: [ Select ]
$query = "SELECT *FROM que WHERE que LIKE \'%$trimmed%\'   ORDERD BY id"; // EDIT HERE and specify your table and field names for the SQL query
to this: [code]$query = "SELECT * FROM que WHERE que LIKE \'%$trimmed%\' ORDER BY id ASC"; // EDIT HERE and sp...

Post Posted: April 14th, 2009, 12:46 am

Is this what you're looking for? [code]<select name="campus" id="campus" size="4" onchange="hideCampus(this.value)"> <!-- When the user changes the selection, call the hideCampus() function and pass the current value to it --> <!--<option>...

Post Posted: April 14th, 2009, 12:26 am

Can you give us the flatfile structure and the DB schema you're trying to use? That might help in figuring out a solution.

Post Posted: March 11th, 2009, 2:23 pm

Have you thought about using ajax to reload the random content instead of reloading the entire page? Seems like reloading the page would get annoying to the users after a while.

Post Posted: January 7th, 2009, 10:42 am

Wait, so this is a photography contest, not a digital art contest?

Post Posted: November 30th, 2008, 1:53 pm

For the record, php has several built in functions that check if a variable is numeric: is_numeric() Checks if a var is numeric (1234, or +1234.56 etc) is_int() Checks if a var is an integer is_float() Checks if a var is a float and several others. They tend to run much faster than regular expressio...

Post Posted: November 24th, 2008, 2:39 pm

well, the clean() function you listed will use mysql_real_escape_string if a connection to the database is already present, so I would use that one.

Post Posted: November 20th, 2008, 11:16 am

Well, you could try using the CSS print media type with an @page rule:
Code: [ Select ]
<style type="text/css" media="print"> @page land {size: landscape;} body {page: land;} </style>
Unfortunately, this only works in Opera. Last time I checked, IE and Firefox didn't even...

Post Posted: November 11th, 2008, 12:48 am

Well, if you're talking about the "GO" search box, it's quite simple. They're using a background image: http://www.revolutiontwo.com/demo/chrome/wp-content/themes/chrome_10/images/headrightbg.jpg A transparent gif as a submit button: [code]<input id="searchsubmit" type="i...

Post Posted: November 11th, 2008, 12:22 am

I've got to get my 2 cents in on this one. First off, there is no hard and fast rule that dictates when and where tables can and cannot not be used. With the current state of web design though, tables *should* only be used for tabular data (as digitalMedia pointed out) and *should not* be used for l...

Post Posted: November 10th, 2008, 12:22 pm

Database names in mysql correspond to directory names on the disk. Since windows filesystems are not case sensitive, neither are the database names in mysql.

Here's a better description: http://dev.mysql.com/doc/refman/5.0/en/ ... ivity.html

Post Posted: November 10th, 2008, 12:16 pm

The easiest way is to use a basepath var at the top of each script:
Code: [ Select ]
$basepath = "/home/mysite/mypath/";   require_once ( $basepath . "header.php" );   // page content here   require_once ( $basepath . "footer.php" );  
Using that code, it doesn't matte...
  • Sort by
 
cron
 

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