Current location: Hot Scripts Forums » Programming Languages » PHP » PHP pages - form submitting


PHP pages - form submitting

Reply
  #1 (permalink)  
Old 11-04-04, 10:13 PM
1jetsam 1jetsam is offline
Wannabe Coder
 
Join Date: Apr 2004
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
PHP pages - form submitting

I am a php programmmer, and I have even written a tutorial for learning to use mysql with php. Oddly enough I never figured out how to submit information from a form and to another page that does not have action2.php?name=thename&message=themessageishere in the url. The reason I need this is because if you have it too long it causes problems, and well I need it for my bulletin board I've been programming. So how would you go about making a page such as form.php and the action page to be action2.php with out any extra long stuff...?

By the way, the tutorial is located here, and it so be remain at that forum.
__________________
Quate CMS 0.3.3 Released - A simple, fast Content Management System.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 11-04-04, 10:20 PM
1jetsam 1jetsam is offline
Wannabe Coder
 
Join Date: Apr 2004
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
I got it nevermind. I had totally forgotten about the:
Code:
<form action="process.php" method="POST">
The method POST part.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 11-05-04, 12:33 AM
snaip's Avatar
snaip snaip is offline
iNET Interactive
 
Join Date: Nov 2003
Posts: 998
Thanks: 2
Thanked 7 Times in 6 Posts
Nice tutorial! Can I reproduce it at DEVpapers.com?
__________________
Regards,
Ahmad Permessur
Team HotScripts
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 11-08-04, 09:47 PM
1jetsam 1jetsam is offline
Wannabe Coder
 
Join Date: Apr 2004
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by snaip
Nice tutorial! Can I reproduce it at DEVpapers.com?
Sorry, but no. I give permissions to websites other than my own and MyCUBIX.com later. Thank you for asking though, I apreciate it.
I will give anyone permission to give a link from their site to the url address of the current located to anyone. You might want to "frame it", so the user can get back even easier.

The tutorial has inspired me to write a book about it... I'm not sure if I will.
__________________
Quate CMS 0.3.3 Released - A simple, fast Content Management System.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 11-08-04, 10:28 PM
4n7hr4x 4n7hr4x is offline
Banned
 
Join Date: Jun 2004
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by 1jetsam
I am a php programmmer, and I have even written a tutorial for learning to use mysql with php. Oddly enough I never figured out how to submit information from a form and to another page that does not have action2.php?name=thename&message=themessageishere in the url. The reason I need this is because if you have it too long it causes problems, and well I need it for my bulletin board I've been programming. So how would you go about making a page such as form.php and the action page to be action2.php with out any extra long stuff...?

By the way, the tutorial is located here, and it so be remain at that forum.
the way is also to use post method in the form
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Php form validation script blessedrub PHP 4 10-16-04 08:15 PM
Php Form + mysql + display data sent needed TheRaider Script Requests 3 10-07-04 02:30 AM
Designing search engine friendly PHP pages snaip PHP 0 07-23-04 08:21 AM
How to convert php generated pages to SE friendly HTML or PHP(SE friendly) -CLASS 101 crippled PHP 1 11-16-03 07:37 AM
PHP Triad/Upload form eddyvlad PHP 6 10-07-03 12:17 AM


All times are GMT -5. The time now is 06:42 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.