Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Reply
 
LinkBack Thread Tools Display Modes
Old 10-11-2010, 06:07 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Nov 2010
Posts: 3
Default How to redirect webpage in my pc?


Hello friends,
i am new to forums and it my first post.
i am a Btech student and recently my results came,i got 5 arrears.
so i used following javascript commands to edit the result.

javascript:document.body.contentEditable%20=%20'tr ue';%20document.designMode='on';%20void%200

after editing(now i have 2 arrears), i saved the page to my computer.
now i want to do the following

when ever i enter my register number to the website,i want my browser to redirect to the webpage i saved in my computer..
please help me.i cant tell my parents i have 5 arrears(please understand).
Helloworld is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 10-11-2010, 06:36 PM   #2 (permalink)
Don Draper is coming back
 
vamsi_krishna's Avatar
 
Join Date: Sep 2007
Location: Tirupati, Andhra Pradesh
Posts: 3,390
Default Re: How to redirect webpage in my pc?

err.. *ahem*.. isn't that cheating?
__________________
I am MaxPayne. My Wife and Daughter were murdered.
vamsi_krishna is offline   Reply With Quote
Old 10-11-2010, 06:39 PM   #3 (permalink)
Right Off the Assembly Line
 
Join Date: Nov 2010
Posts: 3
Default Re: How to redirect webpage in my pc?

doessnt matter man plz help

actualy i do this so that i get money for re-valuation of my gone papers

please help,is it technically impossible?

Last edited by Helloworld; 10-11-2010 at 09:02 PM. Reason: Automerged Doublepost
Helloworld is offline   Reply With Quote
Old 11-11-2010, 07:06 AM   #4 (permalink)
Don Draper is coming back
 
vamsi_krishna's Avatar
 
Join Date: Sep 2007
Location: Tirupati, Andhra Pradesh
Posts: 3,390
Default Re: How to redirect webpage in my pc?

Its technically impossible. Because, you can't redirect to your edited page. They have to do it in their servers.

All you can do is... take a print out of the thing you have made and show it. or open it as a HTML file and show it after it has opened.
__________________
I am MaxPayne. My Wife and Daughter were murdered.
vamsi_krishna is offline   Reply With Quote
Old 12-11-2010, 01:45 AM   #5 (permalink)
XLr8
 
arpanmukherjee1's Avatar
 
Join Date: Sep 2008
Posts: 637
Default Re: How to redirect webpage in my pc?

Quote:
Originally Posted by Helloworld View Post
doessnt matter man plz help

actualy i do this so that i get money for re-valuation of my gone papers

please help,is it technically impossible?

first of all what u r *trying* to do is wrong. i know it sounds hard but dont do it.

and yes it is "technically impossible".

pages are generated as html when u request the server. the database is on server and u cannot change it.
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.
arpanmukherjee1 is offline   Reply With Quote
Old 12-11-2010, 03:14 PM   #6 (permalink)
Right Off the Assembly Line
 
Join Date: Nov 2010
Posts: 3
Default Re: How to redirect webpage in my pc?

ok thank you

how to mark solved??

Last edited by Helloworld; 12-11-2010 at 03:15 PM. Reason: Automerged Doublepost
Helloworld is offline   Reply With Quote
Old 13-11-2010, 06:49 PM   #7 (permalink)
Don Draper is coming back
 
vamsi_krishna's Avatar
 
Join Date: Sep 2007
Location: Tirupati, Andhra Pradesh
Posts: 3,390
Default Re: How to redirect webpage in my pc?

Quote:
Originally Posted by Helloworld View Post
ok thank you

how to mark solved??
Well, you can always contact Moderates to close the thread.

And, what happened? Did you tell that you have backs?
__________________
I am MaxPayne. My Wife and Daughter were murdered.
vamsi_krishna is offline   Reply With Quote
Old 13-11-2010, 06:53 PM   #8 (permalink)
Sami Hyypiä, LFC legend
 
Liverpool_fan's Avatar
 
Join Date: Jun 2007
Location: Нью-Дели
Posts: 2,138
Default Re: How to redirect webpage in my pc?

It's not exactly technically impossible, because you can use the hosts file to redirect to your own local PC running a webserver which can load the form and thereafter the result document.
Tread carefully though, it's better to make parents understand. However if you feel they won't understand and if you feel you can clear all of them later without them knowing, then you may go ahead
__________________
Experience true education in Computer Science - http://www.udacity.com | http://www.coursera.org

Spoiler:
Read before asking / messaging any moderator for any query: FAQ + answers for new members

Read all the sticky threads before asking any type of query. Most basic questions are answered in those.
Don't use forum for chatting. Visit http://webchat.freenode.net/?channels=krow, enter nick and connect.
Liverpool_fan is offline   Reply With Quote
Old 14-11-2010, 07:08 PM   #9 (permalink)
Right Off the Assembly Line
 
Join Date: Nov 2010
Posts: 13
Default Re: How to redirect webpage in my pc?

ahem..
a)How much do your parents know about Computer and Technology on a Scale of 5?
b)How fast are you in using the keyboard on a scale of 5?
if(a<=2&&b>=4)
cout<<"You can do it but will be sc****d for the rest of your life"<<endl;
else
cout<<"You are sc****d and will mend your ways"<<endl;
busymaverick is offline   Reply With Quote
Old 19-11-2010, 10:15 PM   #10 (permalink)
Right Off the Assembly Line
 
Join Date: Nov 2010
Location: Chennai
Posts: 7
Default Re: How to redirect webpage in my pc?

Ok I'll help you out. I'm sure you're aware of WAMP server. Download and install it. Now you'll access your apache web server by typing http://localhost
Go to C:\Windows\System32\drivers\etc and open hosts file with notepad and add the following line after everything
127.0.0.1 yourcollegewebsite.com
127.0.0.1 www.yourcollegewebsite.com
Save the file now typing it in your browser will fire up files from C:\wamp\www go to that place, copy your original file from the college website and edit all that you want place the form code in a file named index.html edit the <form> tag action attribute and just include your results page file name. Now no matter what number you enter in the form you'll see your results only
A.Jesin is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Charan
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 03:23 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2