Search found 20 matches

by Martyj
Mon Jun 08, 2009 1:33 am
Forum: Programming Discussion
Topic: Dynamic signature secirity risk??
Replies: 8
Views: 642

Fuck this forum.

I'm not worrying about myself. I'm worrying about the website. I know php is server side scripting. Also who cares if it is for runescape. What's so bad about runescape. How many 3d games do you see written in java? Btw GyroVorbis clearly I know about php seeing as how I coded that image myself. If ...
by Martyj
Sun Jun 07, 2009 3:33 pm
Forum: Programming Discussion
Topic: Dynamic signature secirity risk??
Replies: 8
Views: 642

Dynamic signature secirity risk??

I was wondering the security risk in allowing a forum to have dynamic signatures such as
Image

Only thing I see with php is allowing people to view your isp, ip, version of windows, web browser.

What's the risk with CGI scripts?
by Martyj
Sun Jun 07, 2009 2:16 am
Forum: General/Off-Topic
Topic: Official "Hello, World! (I'm new!)" thread
Replies: 821
Views: 629671

Re: Official "Hello, World! (I'm new!)" thread

#include <iostream> using namespace std; int main(){ cout << "Hello World" << endl; } public class Main{ public static void main(String[] args){ System.out.println("Hello World"); } } <?php echo "Hello World"; ?> Now that that is out of the way, guess I better introduc...
by Martyj
Mon Jun 01, 2009 1:03 am
Forum: Programming Discussion
Topic: destructor for file i/o, correct way to use?
Replies: 5
Views: 613

Re: destructor for file i/o, correct way to use?

I believe you only have to close files when you are witting to files. Otherwise it closes when the program closes. The way that I've seen it used is filename.close(); example: #include <iostream> #include <fstream> using namespace std; int main () { ofstream myfile; myfile.open ("example.txt&qu...
by Martyj
Thu May 28, 2009 3:00 am
Forum: Programming Discussion
Topic: [solved]C++ Structures
Replies: 14
Views: 1531

[solved]C++ Structures

In my online class of `oop with c++` we are learning about structures. What's the purpose of structures?

well this has been answered several times. You can continue to argue over the usefulness or lack of if you want.
by Martyj
Sat May 16, 2009 2:58 am
Forum: Programming Discussion
Topic: [SDL] Shooting and Hello World!
Replies: 25
Views: 2529

Re: [SDL] Shooting and Hello World!

Wouldn't you want your object's attributes to be private. That way you don't have someone setting a value that they cannot store into it. Like trying to get a long type (don't know if c++ has longs for data types) into an int. Then again, you probably won't be storing a long into a data type for pos...
by Martyj
Wed May 13, 2009 10:10 pm
Forum: Programming Discussion
Topic: Haha teacher gets OWNED
Replies: 24
Views: 2953

Re: Haha teacher gets OWNED

MS Excel is not a data base it's a spread sheet. You can import spread sheets into a data base, but you cannot do query's on Microsoft Excel. When I first learned data bases we used Microsoft Access. Excel is a joke imo. Another thing, Excel doesn't have column or row names other than "A" ...
by Martyj
Sat May 09, 2009 11:02 pm
Forum: Programming Discussion
Topic: [Solved]Java GUI Problems.
Replies: 2
Views: 340

Re: Java GUI Problems.

Ok I see. You have to add the panel to the frame then set the frame as visible. Btw what does the pack() method do? Edit. nvm I'll just look in the documentation or just google it. Edit. For anyone that sees this and wonders what the pack method does here is what is written from sun. Causes this Win...
by Martyj
Sat May 09, 2009 8:07 pm
Forum: Programming Discussion
Topic: [Solved]Java GUI Problems.
Replies: 2
Views: 340

[Solved]Java GUI Problems.

I'm having a hard time with java. Mostly the Layouts. My problem is currently that I'm not getting my gui to show. Here is my source code package test2; /** * * @author MartyJ */ import javax.swing.*; public class Main { public JFrame frame; public JTextField userName; public JTextField xp; public J...
by Martyj
Tue May 05, 2009 8:53 pm
Forum: Programming Discussion
Topic: [SOLVED]php Cookies and Sessions.
Replies: 7
Views: 830

Re: php Cookies and Sessions.

Ok I switched over to cookies. You can close this topic or whatever.
by Martyj
Sun May 03, 2009 8:49 pm
Forum: Programming Discussion
Topic: [SOLVED]php Cookies and Sessions.
Replies: 7
Views: 830

Re: php Cookies and Sessions.

Ok so how you would use this would be like

session_set_cookie_params (time() - 3600 ," /" ,"http://www.evilchicken.net", false , false )
session_start();

like that?
by Martyj
Sun May 03, 2009 6:27 pm
Forum: Programming Discussion
Topic: [SOLVED]php Cookies and Sessions.
Replies: 7
Views: 830

[SOLVED]php Cookies and Sessions.

I have a question about cookies and sessions, as given by the title. I am currently working on a part of a website that allows people with the right access change information on the website. Currently the website uses sessions to pass information to other pages and to verify the user. My question is...
by Martyj
Tue Apr 28, 2009 11:33 pm
Forum: Current Events and Science/Technology
Topic: Conficker C Worm?
Replies: 19
Views: 3955

Re: Conficker C Worm?

Anyone who doesn't have a computer without good anti virus is asking for some serious pain imo.
by Martyj
Tue Apr 28, 2009 11:30 pm
Forum: Programming Discussion
Topic: Math++
Replies: 9
Views: 981

Re: Math++

Nice, can it handle quadratics where the leading coefficient isn't 1? Like 3x^2 + 6x + 24
by Martyj
Tue Apr 28, 2009 12:50 am
Forum: Programming Discussion
Topic: networking help
Replies: 9
Views: 994

Re: networking help

The sad thing is people don't know how well google is. Google is my best friend.