By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,705 Members | 1,393 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,705 IT Pros & Developers. It's quick & easy.

call like a FORM request

P: 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.*****@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/

Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Reimar Bauer" <R.*****@fz-juelich.de> wrote...
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?


You can send the variable directly through the url string:
li*********************@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
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.