03-09-2009
[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!
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am moving from a shared hosting environment to a dedicated box. The migration also involves a mySQL database managed using a web-based PHP interface.
I can read the contents of the db (connection is good) but when I try to administer, the form variables aren't going from step 1 (add) to step 2... (0 Replies)
Discussion started by: adrious
0 Replies
2. Shell Programming and Scripting
I have a very large database and once in awhile the database auto loading scripts that update the database for the daily updates fails and I have to go in and manually fix it but when that happens I usually have to start from scratch on sundays I have access to a weekly database rebuild. Then I... (3 Replies)
Discussion started by: chadrt
3 Replies
3. Web Development
Here is a simple PHP script I wrote that times getting a link using mtime with curl and emails if it does not meet my objective. I use it in production for checking the performance of a Content Delivery Network (CDN), but you can use it for any web server.
<?php
$heartbeat =... (1 Reply)
Discussion started by: Neo
1 Replies
4. Web Development
Lets say that I have a URL that consists of: myserver/something1.php
My second URL is myserver/something2.php
I have a variable called $var inside something1.php and once I submit the website the $var changes. Now when I do this I want to send this value using POST to something2.php and echo... (1 Reply)
Discussion started by: puttster
1 Replies
5. Programming
Ok so I'm new on here and new to php scripting.. I'm taking over a script that was managed by someone else and I'm trying to figure out how I can add code that looks for two conditions that would be an exception to the code below..
$colred = 0;
if(stristr($result, "containsthis")) { $colred =... (2 Replies)
Discussion started by: gmcpheden
2 Replies
6. Programming
I have date time records in a PHP mysql table, I need a PHP travel clock which obviously counts down, I mean acts like a travel clock, but the clock time should be the date time field value down by the second, based on the full date time, from day to seconds
It is not just one record, I... (1 Reply)
Discussion started by: AimyThomas
1 Replies
7. Programming
Hi,
Need a perfect user data base solution for my ecommerce website. I want to track whole activity of my end user until the user logout
Thanks in Advance (1 Reply)
Discussion started by: AimyThomas
1 Replies
LEARN ABOUT LINUX
php-config5
php-config(1) Scripting Language php-config(1)
NAME
php-config - get information about PHP configuration and compile options
SYNOPSIS
php-config [options]
DESCRIPTION
php-config is a simple shell script for obtaining information about installed PHP configuration.
OPTIONS
--prefix Directory prefix where PHP is installed, e.g. /usr/local
--includes List of -I options with all include files
--ldflags LD Flags which PHP was compiled with
--libs Extra libraries which PHP was compiled with
--extension-dir
Directory where extensions are searched by default
--include-dir Directory prefix where header files are installed by default
--php-binary Full path to php CLI or CGI binary
--php-sapis Show all SAPI modules available
--configure-options
Configure options to recreate configuration of current PHP installation
--version PHP version
--vernum PHP version as integer
SEE ALSO
php(1)
VERSION INFORMATION
This manpage describes php, version 5.3.6-13ubuntu3.10.
COPYRIGHT
Copyright (C) 1997-2010 The PHP Group
This source file is subject to version 3.01 of the PHP license, that is bundled with this package in the file LICENSE, and is available
through the world-wide-web at the following url:
http://www.php.net/license/3_01.txt
If you did not receive a copy of the PHP license and are unable to obtain it through the world-wide-web, please send a note to
license@php.net so we can mail you a copy immediately.
The PHP Group 2010 php-config(1)