Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
7
Posts with Upvotes
7
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~10.7K People Reached
About Me

100% Geek not from concentrate.

I tend to do a lot of website making, but I also do heavy development of essentially useless things in Java, C++, and Python.

For example, I made a web-based inventory manager, that doesn't even look pretty.

Interests
Computer Programing, Making webpages. Making useless applications
PC Specs
OS: Windows Massive gaming PC, Google Nexus One, Acer Aspire 76552G-5488 Multimedia Laptop, and a useless…
Favorite Tags
Member Avatar for turt2live

Hi there! What I'm trying to do is have multiple lists have the same length (size) so I can iterate easily over them later. I want to "extend" the size of the smaller lists to match that of the largest list without just tacking on entries, I want to distribute …

Member Avatar for JamesCherrill
0
176
Member Avatar for turt2live

Hello, I currently have this setup for a "download a mp3" php page: [CODE] <?php include "class.php"; $account = new account(0); $id = $_GET['id']; $u = $_COOKIE['username']; $a = mysql_fetch_array(mysql_query("SELECT * FROM items WHERE id='$id'")); $file = $a['actualPath']; header("Cache-Control: public"); header("Content-Description: File Transfer"); header("Content-Disposition: attachment; filename=$file"); header("Content-Type: audio/mpeg"); header("Content-Transfer-Encoding: binary"); …

Member Avatar for vibhaJ
0
1K
Member Avatar for turt2live

Simply enough: Call the function, get the returned filename. Function Variables: $file : The input file (source/background) $destination : Where you want the new watermarked image to go $overlay : The overlay image (foreground), this is default set (if not passed in) to "images/watermark.png" $X : X-Position of overlay (default …

Member Avatar for webatz
1
521
Member Avatar for turt2live

Hello, I'm working on an application that uses a ServerSocket, but it (at points) stops the server thread and restarts it, throwing a java.net.BindException: address already in use exception. How can I unbind the ServerSocket (.close() is not working to unbind) so I can re-use the same port seconds later? …

Member Avatar for richieking
0
633
Member Avatar for raym.mart

can anyone help me out with the errors .. please [CODE]import java.io.*; import java.util.*; class Directory implements Comparable { int id; String name; String address; int phoneNo; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getName() { return name; } …

Member Avatar for raym.mart
-1
249
Member Avatar for munna_90

Hi , My requirement is user entered data needs to pass in to url Ex : user entered : Munna_90 The entered value has to be pass in to link http://details.orgnaistion/emp?function=directAccess&action=displayname="Munna_90" (user entered details) After clicked on submit button it has to redirect me to the full deials page of …

Member Avatar for munna_90
0
153
Member Avatar for xtra333

Hello Daniweb posters. I have a code that is supposed to make a sign up sheet for a web page. Problem is, the code does not work. When I run the code it gives me: syntax error, unexpected T_PRINT in line 15. I know there is something wrong with the …

Member Avatar for xtra333
0
207
Member Avatar for turt2live

Hello, [[All sample links may not work after the thread is solved, I will keep them up as long as I can though]] I'm trying to make a graph work, which it does, not when CSS is present on a page though... In my setup I use graph.php to create …

Member Avatar for turt2live
0
351
Member Avatar for philipghu

Hi, it is kind of a beginner's question... I'm trying to read user's input from keyboard. The user types in: a1 a2 a3 b1 b2 b3 c1 c2 c3 ... in which each line has three integers separated by a space. Every three integers are on the same line. [CODE]Scanner …

Member Avatar for turt2live
0
114
Member Avatar for turt2live

What this script does is take in an image and export a thumbnailed version. Function Arguments: $file : Desired image to create a thumbnail of $destination : End location for the thumbnail $zoom : Setting type, explained later (default: false) $t_width : Thumbnail width (default: 150) $t_height : Thumbnail height …

Member Avatar for turt2live
0
538
Member Avatar for turt2live

Hello, I've been trying to create a script that will take defined pages of a PDF and display them to a webpage using PHP. I've looked through the PHP Manual and only came up with ways to create a PDF, but no read options. --Detailed Scenario-- My school wanted me …

Member Avatar for turt2live
0
288
Member Avatar for dr.4030

hi i created this page for displaying my products that it works with select query from data base but after all try i could show the 3 of them in pages but all i want is displaying 6 of them in different tables after each other please help me with …

Member Avatar for turt2live
0
116
Member Avatar for mrhankey

hi, is it possible for me to embed part of my site into another? i want to give someone a piece of php code maybe a page of code which will embed my whole intranet site into theirs so it looks like they are still on the other persons site …

Member Avatar for diafol
0
172
Member Avatar for thepriceisright

I want to write a program that determines the bill for car parking. I asked my friend to put together a description of what I want to do. Can someone look at this and give me a good code to do this? This program requires you to input information about …

Member Avatar for turt2live
-1
1K
Member Avatar for turt2live

Hello, I am making an online gallery for a friend and have this (partially listed) folder structure. root/index.php root/inc/gallery.inc.php root/inc/setup.inc.php root/inc/includes.inc.php Gallery.inc.php has various functions in it (Get image, album, etc), setup.inc.php has config variables (for my friend's ease of access, contains SQL stuff and date formats), here is what …

Member Avatar for turt2live
0
288
Member Avatar for selma_aktra

Hello! I write a command line program with java on eclipse. I use this code to get a sound from the beep.wav file. But i can not hear anything from the eclipse. [CODE]try { File curdir = new File ("."); File soundFile=new File(curdir.getCanonicalPath() + "\\beep.wav"); Clip clip = AudioSystem.getClip(); AudioInputStream …

Member Avatar for selma_aktra
0
231
Member Avatar for turt2live

Hello, What I am trying to do is use the following query: [CODE] SELECT * FROM players WHERE NOT EXISTS (SELECT * FROM raidgroups WHERE players.name=raidgroups.player) AND itemlevel>=346 AND level=85 AND NOT EXISTS (SELECT * FROM verification WHERE players.name=verification.username AND verification.organizer=1) AND suspended=0 ORDER BY RAND(); [/CODE] What the above …

Member Avatar for mwasif
0
75
Member Avatar for turt2live

Hello, I have a table that looks like this: [CODE] +----+-------------+-------+-------+-----+ | ID | Player Name | Col 1 | Col 2 | ... | +----+-------------+-------+-------+-----+ | 01 | Some Guy | 2 | 3 | ... | +----+-------------+-------+-------+-----+ [/CODE] the ... represents a (technically) unknown amount of columns. What …

Member Avatar for turt2live
0
141
Member Avatar for vernz

Hi everyone New to the site (as you can tell) I've searched the web and your site and still struggle to find an answer to my question. I'm creating a profile website in PHP, I have my sign up and login forms, which registers the details on my sql database, …

Member Avatar for vernz
0
103
Member Avatar for turt2live

Hello, What I am trying to do is restrict access to something if 48 hours hasn't passed since the last access. I have a MySQL table with the last access time (col name: lastAccess). If they are within the 48hours, deny access and tell them how many hours and minutes …

Member Avatar for burgercho
0
168
Member Avatar for jl.lakhnai
Member Avatar for sagngh8

have implemented robot to take the screenshot of the desktop. [code]Robot objRobot = null; try { objRobot = new Robot(); } catch(Exception ex) { } BufferedImage objBufferedImage = objRobot.createScreenCapture(objRectArea); [/code] The problem with robot is when my computer is locked the image comes as black.That is what is displayed in …

Member Avatar for turt2live
-1
416
Member Avatar for turt2live

Hello, I am trying to create a update section of a game but running into a problem of JFrames. What I want to do is have a single JFrame that will have the update script, then after the update it will start a jar file in the JFrame (With the …

Member Avatar for turt2live
0
184
Member Avatar for turt2live

Ok, So I'm amking a game and need walls so you can't walk through walls (This is a top down view game, screenshot [URL="http://turt2live.servebeer.com/game_stuff/walls.png"]here[/URL]), although, my calculation for seeing if you are going to hit a wall slows down the game with the 3 walls I have (I stopped making …

Member Avatar for turt2live
0
190
Member Avatar for turt2live

Hello, I currently have 2 JFrames for my "game" (Not really a good one), one for the actual game and one for a minimap. What I can't figure out is that when you click off the game (for example to a browser or something) the game and minimap loose focus, …

Member Avatar for turt2live
0
205
Member Avatar for turt2live

Hello, I currently have this code to buffer an image: [CODE] public void paintComponent(Graphics g){ Graphics2D g2 = (Graphics2D) g; ImageIcon icon = new ImageIcon("back.gif"); Image image = icon.getImage(); BufferedImage buff = new BufferedImage(image.getWidth(this), image.getHeight(this), BufferedImage.TYPE_INT_ARGB); Graphics2D b = (Graphics2D) buff.createGraphics(); b.drawImage(image,imgX,imgY,this); b.setColor(Color.BLUE); b.fillRect((window.getWidth()/2)-13, (window.getHeight()/2)-13, 26, 26); g2.drawImage(buff, 0, 0, …

Member Avatar for turt2live
0
263
Member Avatar for turt2live

Hello, I have a query that needs to perform the following: where verified=1 AND where name is like '%$term%' AND/OR owner is like '%$term%' I have a basic knowledge of SQL and was wondering if the above is possible. I need the and/or because i would like it to return …

Member Avatar for hielo
0
116
Member Avatar for Flynox

Hey, I know I havn't been very active on this forum... Well, I have been lurking them, but not posting. Lol. But anywho, I have a question. Look on this website: [url]http://hexagen.webs.com/[/url] Notice the border size. It's less than a pixel. How would I do that? I know that using …

Member Avatar for Flynox
0
194
Member Avatar for wingmark

Hi All; I have a MySql database set up called users. The only things required to register to my website are a username and password. When this is completed, the database populates with the users info as requested. How does MySql make this new users permissions to have it where …

Member Avatar for Ezzaral
0
202
Member Avatar for mdminternet

Hi guys, I've got a little bit of an internet explorer problem. If you visit the website at [url]http://www.removals-edinburgh.com[/url] you will see that I have customised a version of the menu which is available at [url]http://www.impressivewebs.com/mega-menus-ajax-jquery/[/url] to suit the style of the site. The menu appears just fine in both …

Member Avatar for floatingDivs
0
121