submit posting through via website

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   submit posting through via website
lahssoccer
CZ Newbie
lahssoccer has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Feb 02, 2005
0.00 posts per day
Posts: 1
Points: 60
   
I'm looking for a script or anything that would do the following................................

Comes up with a page asking for things like: Team, scorer, record, MVP, date it was played and where at... After they submit all of this information, I would like it to post on it on the website in a certain format so it preferable in a table format... If you have any clue or question of what im talking about i'll try to explain it further... any help you can give of where or even the code, (i think its javascript), would be greatly apperiated. It's basically in a message board format....



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
You would need either a mysql database and php installed on your host server or you have it email to you and you enter it in by hand. The first way isnt the easiest but is most practicle. Try searching for a email form.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
Here's a pretty nice form generator that I use.
[ Register or login to view links on this board. ]

I am still looking for a good script to display the information once its submitted.

I found one here that works great but once you install it to your server the code for any of the tables it displays cannot be edited or removed. If there was a way to find a fix for that this one would be perfect.
[ Register or login to view links on this board. ]




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#4   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
You could use a php form to get the info then write it into an html page. Make sure the $filename = "thedirectory/yourfile.html"; is writeable (0777).


   //Your form contents can be html anything
   $submitted_info = "Hi There just a test";

   //The file to write to.
   $filename = "thedirectory/yourfile.html";

   if (is_writable($filename)) {
     if (!$handle = fopen($filename, 'a')) {
         echo "Cannot open file ($filename)";
         exit;
     }
     if (fwrite($handle, $submitted_info) === FALSE) {
       echo "Cannot write to file ($filename)";
       exit;
     } 
      fclose($handle);
   } else {
      echo "The file $filename is not writable";
   }




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum