You are here: Re: Where am I wrong? « All PHP « IT news, forums, messages
Re: Where am I wrong?

Posted by JDS on 01/11/06 14:36

On Sat, 07 Jan 2006 04:13:28 +0000, Oujdeivß wrote:

> part2.php does some work and has a result that you want returned to
> part1.php

2 possible ways, (probably more)

1) just go back to part1.php with the values you need in the query string:

part1.php?value1=100&value2=200

You can jump back to part1.php without user intervention by using the
"Location:" header:

<?>php
header("Location: part1.php?value1=100&value2=200");
exit;
?>

(Always "exit;" after a Location: header!)



2) Sessions

--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация