How To Save in our Computer

Reply

Join Date: May 2008
Posts: 51
Reputation: santhanalakshmi is an unknown quantity at this point 
Solved Threads: 0
santhanalakshmi santhanalakshmi is offline Offline
Junior Poster in Training

How To Save in our Computer

 
0
  #1
Dec 10th, 2008
Hi,
I want to add one "Save Button" on web page.I am working on ".cgi" program and using "sql server 2000" database.Datas are retrieving from the database and displayed as on html page(datas are student records (i.e) marks,grade etc).In that displayed page,i want to add "save button".By clicking save,it should automatically saved as "text file(nodepad)" in our local system.Please help me

regards,
santhanalakshmi.
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 898
Reputation: KevinADC has a spectacular aura about KevinADC has a spectacular aura about 
Solved Threads: 67
KevinADC's Avatar
KevinADC KevinADC is offline Offline
Practically a Posting Shark

Re: How To Save in our Computer

 
0
  #2
Dec 10th, 2008
Save the html page or the data only?
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 51
Reputation: santhanalakshmi is an unknown quantity at this point 
Solved Threads: 0
santhanalakshmi santhanalakshmi is offline Offline
Junior Poster in Training

Re: How To Save in our Computer

 
0
  #3
Dec 12th, 2008
Originally Posted by KevinADC View Post
Save the html page or the data only?
I want to save the data only on my system as a text file..........
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 898
Reputation: KevinADC has a spectacular aura about KevinADC has a spectacular aura about 
Solved Threads: 67
KevinADC's Avatar
KevinADC KevinADC is offline Offline
Practically a Posting Shark

Re: How To Save in our Computer

 
0
  #4
Dec 12th, 2008
generic example:

  1. open(my $FH, ">", 'path/to/file.txt') or die "$!";
  2. print $FH "your data\n";
  3. close $FH;
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Perl Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC