Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 07-20-2002, 10:39 AM   #1
Member (5 bit)
 
Join Date: Jan 2001
Location: Selinsburg Pa
Posts: 24
Send a message via Yahoo to Tobias_kind
smokin can some one tell me what script i need

Ok Have you ever got stuck in one of the porn loops and magicly your start page was changed to there site ?

How do they do that? Dose any one know the script for that ?

I do not want the script for evil just for a prank on some friends of mine... Ok yea thats kind of evil I guess but at least I'm not getting some poor guy in trouble by setting there home page to porn.... And I'm not a script kiddy I just starting to learn HTML, I plan to learn Java soon and then mabey C++ but I was told that if I wanted to learn to programe I should start slow and simple with HTML... I just want to have some fun learning don't we all want that ?
Thanks in advance

I posted this before but with a diffrent title I'm hoping that the new title will get the right people looking sory for the double post
Tobias_kind is offline   Reply With Quote
Old 07-20-2002, 02:33 PM   #2
Member (9 bit)
 
Join Date: Jan 2001
Location: East Coast, USA
Posts: 320
Send a message via AIM to TMAN
My reply got lost in the void. In summary I wrote:
1.) JAVA is worthless crap. C++ 4evR!
2.) HTML is not a language, its a format specification
3.) To learn the ancient fine black art of programming, get your hands on BASIC, Visual BASIC, perl, or (if you have a TI-Calculator) TI-BASIC..
4.) This job could be done with PHP, JScript, VBScript, or perl- it was most likely done with JS
4.) To commit this breech of programming ethics you need to learn JS
TMAN is offline   Reply With Quote
Old 07-20-2002, 05:14 PM   #3
aym
Registered User
 
aym's Avatar
 
Join Date: Nov 2001
Posts: 1,965
I don't think that changing the user's home page can be done in PHP or Perl, it's done using JS (maybe VBS, I'm not sure).
To learn programming, beginning with BASIC isn't a good idea, as everyone says, BASIC and VB teach bad programming habits, avoid them, I recommend beginning with Java or C++.
If you are only interested in web design, then learn HTML, then move to a programming language for the web like PHP.
aym is offline   Reply With Quote
Old 07-20-2002, 08:04 PM   #4
Member (10 bit)
 
Join Date: Apr 2001
Location: Michigan
Posts: 850
Send a message via ICQ to HackinCowboy
You can do that in JavaScript. The method is setHomePage(). MSDN has some more info on it if you'd like.
HTML IS a language. Hence the name Hypertext Markup Language. You might be thinking of DHTML which is not a language.
Java is NOT "worthless crap" it's actually a very powerful and popular language. I find it very useful.
If you're into BASIC style of programming then learn Visual Basic. As I've said before it's a very good language, but it does have some bad parts.
I suggest learning Java, VB, and HTML concurrently. PHP is also good. It's a lot similiar to ASP (which is merely VBScript).
HackinCowboy is offline   Reply With Quote
Old 07-20-2002, 08:35 PM   #5
Member (5 bit)
 
Join Date: Jan 2001
Location: Selinsburg Pa
Posts: 24
Send a message via Yahoo to Tobias_kind
smokin Thanks for the info

Well I was getting tired of HTML theres not mutch you can do with it other than build a web site...

What do you think Java, C++, Visual Basic, or PERL
I need a semi easy to learn language with a good support community

Whats the diff TI-BASIC or BASIC

Thanks again,
Tobias Kind
Tobias_kind is offline   Reply With Quote
Old 07-20-2002, 10:41 PM   #6
Member (9 bit)
 
Join Date: Jan 2001
Location: East Coast, USA
Posts: 320
Send a message via AIM to TMAN
The only reason I recommended BASIC was because it was among the easiest to learn. It's also the best one to get out of as quickly as possible. I called JAVA "worthless crap" because I was looking at some of my old JAVA code with a little dissapointment before reading this forum. In my opinon JAVA is a waste of computing power (though yes it is powerful). It too does encourage bad programming habits (thinks garbage collection). It will never come close to C++ in speed and raw power though it is perfect for small projects. If JAVA could be compiled into native code instead of VM code.... Its greatest power is its cross-platformability and its ease of use in small projects. TI-BASIC is just a BASIC implementation for the TI-CALC obviously, you probably won't get the same experience on the calculator as you would on the computer. I suggested this because, again, it's easy to learn and it is a taste of programming. Another option would be Delphi or pascal but these aren't my first choces. I'd go with C++ any day.
TMAN is offline   Reply With Quote
Old 07-21-2002, 08:09 AM   #7
aym
Registered User
 
aym's Avatar
 
Join Date: Nov 2001
Posts: 1,965
I don't want to start a C++ vs. Java war here, but Java doesn't encourage bad programming habits, Garbage Collection was invented to make it easier for the programmer to make bug-free code, and I can't see why Java is good only for small projects.
Java reduces learning time, and reduces developing time.
C++ is faster, but on modern systems, difference isn't that big.
aym is offline   Reply With Quote
Old 07-21-2002, 10:10 AM   #8
Member (10 bit)
 
Join Date: Apr 2001
Location: Michigan
Posts: 850
Send a message via ICQ to HackinCowboy
Quote:
Originally posted by TMAN
If JAVA could be compiled into native code instead of VM code.... Its greatest power is its cross-platformability and its ease of use in small projects.
If Java were compiled into native code then you would lose it's cross-platform ability. Java is a very good and powerful language. Maybe you just haven't gone far enough into programming it to understand its true potential.
HackinCowboy is offline   Reply With Quote
Old 07-21-2002, 02:01 PM   #9
Member (5 bit)
 
Join Date: Jan 2001
Location: Selinsburg Pa
Posts: 24
Send a message via Yahoo to Tobias_kind
Smile

Thanks all

"I don't want to start a C++ vs. Java war here" yes aym_7 I dont want to see that eather... It's like the AMD or Intell prosser wars this could go on for ever...

Could any one piont me to some examples of simple programs and more advanced ones... that are written in c++ and BASIC
Tobias_kind is offline   Reply With Quote
Old 07-21-2002, 04:41 PM   #10
Member (10 bit)
 
Join Date: Apr 2001
Location: Michigan
Posts: 850
Send a message via ICQ to HackinCowboy
Every time you learn a new language it's an industry standard that the first program you write is the good 'ole "Hello World" program. Simply create a program that when a button is clicked the message "Hello World" is displayed.
HackinCowboy is offline   Reply With Quote
Old 07-21-2002, 06:00 PM   #11
Member (5 bit)
 
Join Date: Jan 2001
Location: Selinsburg Pa
Posts: 24
Send a message via Yahoo to Tobias_kind
"Every time you learn a new language it's an industry standard that the first program you write is the good 'ole "Hello World" program. Simply create a program that when a button is clicked the message "Hello World" is displayed"

I know that hello world is usualy the start... What I wanted to know is what type of programs can be written in the diffrent languages... Basicly I want to know the power of the languages I know I'm a pain in the beep I just want to know what there good for... I'm sory HackinCowboy that last post was poorly worded...

Thanks,
Tobias Kind
Tobias_kind is offline   Reply With Quote
Old 07-22-2002, 12:07 PM   #12
Member (9 bit)
 
Join Date: Jan 2001
Location: East Coast, USA
Posts: 320
Send a message via AIM to TMAN
There are a good deal of people (that I know of at least) running on less than 450mhz and 64MB and doing fine until they hit a JAVA applet or application. JAVA seriously lags the system. The difference is fairly noticeable but (yeah, somewhat shruggable) even on my 1gig athlon. JAVA is an interpreted language which means the speed of the languages implementation depends on system speed first, the interpreter second and the, actual original code last. with natively compiled languages there is no middle man meaning a lesser strain on memory and processor. You would NOT necessarily lose the crossplatformability if native code were compiled. That's like saing C++ is not crossplatform. The code obviously would have to be recompiled just like a different interpreter had to be compiled and new import libraries conforming to the system instead of the VM would have to be made. You may be right about me not going into JAVA long enough but I still found so many things that were just annoying (from a C++ programmers perspecttive). Oh well. I didn't quit JAVA yet just doing more C-Code. To start a JAVA vs C++ war would be petty. I wont do it by listing any more complaints here- I hope.

for tutorials:
www.programmersheaven.com
www.programmingtutorials.com

VB seems to be best taught in books. But I never seriously looked for VB or Basic websites.

A quick breakdown of BASIC, Visual Basic, and C++ might go like this:

I've seen BASIC used for DOS games but not anythin else. I'm sure it could be used for other things but I never seen it.

I've see VB used for windows games, wizards, and a wide range of speed unintensive business applications. It probably could be used for other things, but not sure I've ever seen it.

I've seen C++ used for everything from OS's to compilers for other languages. I'm sure it could do more but I haven't seen it.
TMAN is offline   Reply With Quote
Old 07-22-2002, 12:13 PM   #13
aym
Registered User
 
aym's Avatar
 
Join Date: Nov 2001
Posts: 1,965
OK, everyone has a point of view, let's stop this discussion now.
aym is offline   Reply With Quote
Old 07-23-2002, 09:35 AM   #14
Member (5 bit)
 
Join Date: Jan 2001
Location: Selinsburg Pa
Posts: 24
Send a message via Yahoo to Tobias_kind
Thanks TMAN for the tutorials...
Tobias_kind is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:20 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2