Hey everyone. I'm new here just looking for some guidance / pointers. I'm working on a program to figure out what kinda data is contained with in unknown file types which belong to a game I'm modding. There are a few programs that all ready extract data from the main archiv files but it out puts files that are labeled with unknown extensions so I'm trying to figure out what these files Are... so is there any simple way to do this? Maybe certain headers i can look for?

Member Avatar
Member Avatar
+0 forum 1

Hi All, I have created an application that allows a user to select a diectory, where we parse the photos, and upload to a database. The issue that I am having is that I have a button on the form found in the newJFrame.java class called upload that when pressed will call a method from a class that has be initalized in the photouploader.java class. This class has the main function for the application. It is being used to initalize and instatiate all of my classes, such as: fileParser fp = new fileParser(); //create new fileparser fp.setFiles(matches); //send in all …

Member Avatar
Member Avatar
+0 forum 2

Im getting a "Unknown database 'user_admin'" error and i dont see it here is my code $username = mysql_real_escape_string($_POST["Username"]); $query = "SELECT * FROM user WHERE UserName='$username'"; $result = mysql_query($query); if(mysql_affected_rows() == 0) { //All Checks Out: Create Databases $dbase = "user_" . $_POST["Username"]; mysql_query("CREATE DATABASE $dbase",$con) or die(mysql_error()); mysql_select_db($dbase, $con) or die(mysql_error()); $sql = "CREATE TABLE profile ( intro varchar(180), WhoAMI TEXT, gender int, Location varchar(50), edited TIMESTAMP DEFAULT NOW() )";

Member Avatar
Member Avatar
+0 forum 1

Hello Guys! I have just inherited a huge mammoth php project, which is not quite organised. Few of the files are of 25K+ php lines of code. Several sections of code are redundant across the project. Several files are imported into several files... My job is to strip many of the unwanted features of this project. I am not a php guy, but I am comfortable with programming, so that should not be a problem. Can you folks please tell me what should be my strategy to work with project? I have the following in my mind. (1) Use eclipse, …

Member Avatar
Member Avatar
+0 forum 1

I am trying to write a few very dynamic procedures and functions and wonder about transferring parameters to a procedure as an Array. This is actually easy enough done.... just that I would like to pass something like [CODE] VAR a,b,c : INTEGER; Name, Text1,Text2 : STRING; todaysDate : TDate; PROCEDURE HandleValues(Const Values:ARRAY OF ???) BEGIN // Code to handle fetching the values. END; BEGIN HandleValues([a,b,c,Name,Text1,TodaysDate]); HandleValues([Name,Text1,Text2,a,c]); END. [/CODE] The whole point is that I do not know in which order the parameters occur in the array. I do not know what type comes where. If it only was a …

Member Avatar
Member Avatar
+0 forum 4

Hi, i've been looking around the web but could not find anything about the filestructure of the following file: [CODE]{"tickets":[{"name":"Test", "id":"906935000", "description":"gültig", "userID":"310000", "price":"Preis: 1,90€", "productID":"119", "checksum":"6017", "dailyCode":"u", "hourlyCode":"y", "barcode":"", "rebuyLink":"191000", "buydate":"52744", "buydateString":"17.08.2011", "legalNote":".", "validString":"gültig bis 17.08.2011", "demo":true, "validDescription":"gültig in 210"}], "currentMonthExpenses":"1,90€", "getMoreTicketsAvailable":false, "monthlyTurnover":170};[/CODE] This .dat-File is generated in javacode. (no source public) I'm just lazy and dont want to write my own parser in java. ^^ There are methods like ObjectOutputStream and XMLEncoder/XMLDecoder but thats not XML and not binary as we can see. Does anyone know what type of structure this is? Or better: does anyone know a …

Member Avatar
Member Avatar
+0 forum 4

Here is a snippet of the code that I have thus far (Which I wish worked): [CODE] Dim PlayedSound as string If ComboBox1.SelectedItem = "Sound 1" Then PlayedSound = "Sound1" My.Computer.Audio.Play(My.Resources.(PlayedSound, AudioPlayMode.Background) [/CODE] So basically the combobox1 item which is selected is sent to a string and is then supposed to be played from my resources. The .wav file which is in my resources is named "Sound1" however I have no idea how to reference it. Any ideas? Thanks! :)

Member Avatar
Member Avatar
+0 forum 1

Ok so I'm transferring a website for my mom and i got an error in the main page's coding, but I can't figure it out. It said it was in line 3. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" > <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="robots" content="index, follow" /> <meta name="google-site-verification" content="sUCQrBDUF8qQkw6W-s5JtScPCRs60osgz82j61S6Htg" /> <meta name="y_key" content="95c71c6f6f618751" /> <meta name="keywords" content="" /> <meta name="description" content="Brenda Lovell for District 15, Ada county Idaho" /> <meta name="generator" content="Joomla! 1.5 - Open Source Content Management" /> <title>Lovell for Idaho</title> <link href="/templates/rt_kinetic_j15/favicon.ico" rel="shortcut icon" type="image/x-icon" /> <link …

Member Avatar
Member Avatar
+0 forum 22

The End.