Click here to Skip to main content
15,886,788 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
Questionno module named _tkinter Pin
Sakhalean10-Aug-10 19:57
Sakhalean10-Aug-10 19:57 
AnswerRe: no module named _tkinter Pin
David Skelly12-Aug-10 2:03
David Skelly12-Aug-10 2:03 
GeneralRe: no module named _tkinter Pin
Sakhalean12-Aug-10 2:46
Sakhalean12-Aug-10 2:46 
AnswerRe: no module named _tkinter Pin
Sanil Singh Tomar20-Oct-10 5:54
Sanil Singh Tomar20-Oct-10 5:54 
QuestionContact form Problem: when go back to the input page, no data stored Pin
fantasyMe10-Aug-10 15:48
fantasyMe10-Aug-10 15:48 
AnswerRe: Contact form Problem: when go back to the input page, no data stored Pin
Graham Breach10-Aug-10 20:27
Graham Breach10-Aug-10 20:27 
GeneralRe: Contact form Problem: when go back to the input page, no data stored Pin
fantasyMe10-Aug-10 20:40
fantasyMe10-Aug-10 20:40 
AnswerRe: Contact form Problem: when go back to the input page, no data stored Pin
Graham Breach10-Aug-10 22:08
Graham Breach10-Aug-10 22:08 
First, the register_globals option is now off by default and has been deprecated in PHP 5.3, so the line should be more like:
header('Location: test2.php?name=' . urlencode($_GET['name']) . ...


In PHP 5 there is a function for building the query string that does the hard work:
$args = array(
 'name' => $_GET['name'],
 'email' => $_GET['email'],
 'message' => $_GET['message'],
 'tel' => $_GET['tel'],
 'country' => $_GET['country']
);

header('Location: test2.php?' . http_build_query($args));


The other thing to note is that you have to insert these values into the form:
<input type="text" name="name" value="<?php echo htmlentities($_GET['name']); ?>" />

GeneralRe: Contact form Problem: when go back to the input page, no data stored Pin
fantasyMe10-Aug-10 23:35
fantasyMe10-Aug-10 23:35 
GeneralRe: Contact form Problem: when go back to the input page, no data stored Pin
Graham Breach11-Aug-10 9:19
Graham Breach11-Aug-10 9:19 
AnswerRe: Contact form Problem: when go back to the input page, no data stored Pin
cjoki12-Aug-10 5:05
cjoki12-Aug-10 5:05 
QuestionBNF Grammar for PHP Pin
DaveX867-Aug-10 12:28
DaveX867-Aug-10 12:28 
AnswerRe: BNF Grammar for PHP Pin
mabo4211-Aug-10 22:36
mabo4211-Aug-10 22:36 
GeneralRe: BNF Grammar for PHP Pin
DaveX8612-Aug-10 4:01
DaveX8612-Aug-10 4:01 
QuestionFedora not recognizing wireless router Pin
AmbiguousName7-Aug-10 1:12
AmbiguousName7-Aug-10 1:12 
QuestionTime Zone Conversion PHP [modified] Pin
DinoRondelly5-Aug-10 8:56
DinoRondelly5-Aug-10 8:56 
AnswerRe: Time Zone Conversion PHP [modified] Pin
Peter_in_27805-Aug-10 13:56
professionalPeter_in_27805-Aug-10 13:56 
AnswerRe: Time Zone Conversion PHP Pin
sonam_12325-Aug-10 10:35
sonam_12325-Aug-10 10:35 
QuestionCompiling MD5 on linux shell Pin
xivShin2-Aug-10 2:20
xivShin2-Aug-10 2:20 
AnswerRe: Compiling MD5 on linux shell Pin
markkuk2-Aug-10 2:57
markkuk2-Aug-10 2:57 
QuestionAuto Change Selection in Combo Box Pin
ChrisMaile30-Jul-10 6:17
ChrisMaile30-Jul-10 6:17 
AnswerRe: Auto Change Selection in Combo Box [modified] Pin
enhzflep30-Jul-10 16:26
enhzflep30-Jul-10 16:26 
QuestionMYSQL connect through PHP Pin
offroaderdan30-Jul-10 0:23
offroaderdan30-Jul-10 0:23 
AnswerRe: MYSQL connect through PHP Pin
Graham Breach30-Jul-10 21:40
Graham Breach30-Jul-10 21:40 
AnswerRe: MYSQL connect through PHP Pin
Shamit Kumar Tomar9-Aug-10 18:28
Shamit Kumar Tomar9-Aug-10 18:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.