Connecting Tech Pros Worldwide Help | Site Map

call like a FORM request

  #1  
Old July 17th, 2005, 05:58 AM
Reimar Bauer
Guest
 
Posts: n/a
Hi

I am a newbie in php. I googled a while around but I don't get the right
information to solve my problem.

<form action="list_files.php" method="POST">
email: <input type="text" name="email" >
<input type="submit">
</form>

Is there any possibility to get my list_files.php called from an other php
script submiting the input parameter "email"? Could I do this only if I use
the "GET" method? If I have such a string how could it be executed?

A simple example how to call it would be fine.

best regards

Reimar

--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/

  #2  
Old July 17th, 2005, 05:58 AM
somaBoy MX
Guest
 
Posts: n/a

re: call like a FORM request


"Reimar Bauer" <R.Bauer@fz-juelich.de> wrote...
[color=blue]
> Is there any possibility to get my list_files.php called from an other php
> script submiting the input parameter "email"? Could I do this only if I[/color]
use[color=blue]
> the "GET" method? If I have such a string how could it be executed?[/color]

You can send the variable directly through the url string:
list_files.php?email=me@mymail.com
The variable will then be available to list_files.php as $_GET['email'];

Other ways to transfer the data is in a cookie or as a session variable.


..soma


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
OOP: Problem with edit form chromis answers 1 August 14th, 2008 10:03 AM
JavaScript for time delay onClick goto URL for Form submission Rahina answers 2 April 1st, 2008 02:56 PM
Simple Question - How do I capture Page.Request before Page_Load malcolm answers 3 November 18th, 2005 07:22 PM
Request.Form("__EVENTTARGET") = "" ??? Dan answers 9 November 18th, 2005 01:20 AM