943,625 Members | Top Members by Rank

Ad:
  • Perl Discussion Thread
  • Unsolved
  • Views: 745
  • Perl RSS
Dec 10th, 2008
0

How To Save in our Computer

Expand Post »
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.
Similar Threads
Reputation Points: 8
Solved Threads: 0
Junior Poster in Training
santhanalakshmi is offline Offline
51 posts
since May 2008
Dec 10th, 2008
0

Re: How To Save in our Computer

Save the html page or the data only?
Reputation Points: 246
Solved Threads: 67
Practically a Posting Shark
KevinADC is offline Offline
898 posts
since Mar 2006
Dec 12th, 2008
0

Re: How To Save in our Computer

Click to Expand / Collapse  Quote originally posted by KevinADC ...
Save the html page or the data only?
I want to save the data only on my system as a text file..........
Reputation Points: 8
Solved Threads: 0
Junior Poster in Training
santhanalakshmi is offline Offline
51 posts
since May 2008
Dec 12th, 2008
0

Re: How To Save in our Computer

generic example:

Perl Syntax (Toggle Plain Text)
  1. open(my $FH, ">", 'path/to/file.txt') or die "$!";
  2. print $FH "your data\n";
  3. close $FH;
Reputation Points: 246
Solved Threads: 67
Practically a Posting Shark
KevinADC is offline Offline
898 posts
since Mar 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Perl Forum Timeline: Regex to find path+file name
Next Thread in Perl Forum Timeline: Popen3 Problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC