The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Special Forums > Web Programming, Web 2.0 and Mashups
.
google unix.com



Web Programming, Web 2.0 and Mashups Discuss Web Programming and Web Server Administration, including LAMP, Apache, MySQL, Flash, HTML, SEO, Mashups and other Web APIs and topics.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Moving files which are generating time to time Renjesh Shell Programming and Scripting 4 02-18-2009 06:41 PM
Convert Epoch Time to Standard Date and Time & Vice Versa DrivesMeCrazy Shell Programming and Scripting 5 02-07-2009 01:40 AM
Need to get 4 Hrs back time and compare with successive time maanik85 UNIX for Dummies Questions & Answers 2 07-15-2008 09:48 AM
Linux Going Big Time and Prime Time Against Windows, UNIX (WSJ) (Addict 3D) iBot UNIX and Linux RSS News 0 06-21-2007 05:10 PM
How To Provide Time Sync Using Nts-150 Time Server On Unix Network? pesty UNIX for Advanced & Expert Users 2 03-22-2007 02:20 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-09-2009
Sandia_man Sandia_man is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 17
[PHP] Post and get (at the same time (?))

Hi, i'm programming a very tiny website for a friend. But i have some doubts...
I have a page called form.php, it receives a variable using the get method... (form.php?variable_importante=datos)...
In form.php i have a form, and it sends data to form_manager.php using POST method... But the problem is that i need to pass the first variable (the one called variable_importante that was pased to form.php by GET) to form_manager.php... how can i do that??? I've been reading a lot but i could't find the answer....

thanks in advance!!!
bye!
  #2 (permalink)  
Old 03-09-2009
Sandia_man Sandia_man is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 17
I keep on reading and i found the answer!!!
It's really easy to do what i wanted to do...

<form methond='post' action='web_page.php?variable=valor'>

in my specific case

<form methond='post' action='web_page.php?variable= <?php echo $_GET['variable'] ?>' enctype='text'>

bye!
  #3 (permalink)  
Old 03-10-2009
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,781
Hi Sandia_man,

Thanks for the update on the solution!
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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




All times are GMT -4. The time now is 06:43 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0