shtml problem
| From: | savaidis | Date: | Tue, 18 Jun 2002 09:40:40 +0000 |
| Subject: | shtml problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-102676@lists.php.net to get a copy of this message | ||
I use a search.shtml script to pass with a form some vars (user's IP) to
a PHP script to keep it in a MySQL record.
When I run the search.shtml directrly , I have no problem all vars pass and
are keept OK.
But when I run it from a frame then the IP var is undefuned (null).
--------------------------code for main.php -------------------
echo ('<table border=0><tr><td><iframe src="main_l.php"
width=200 height=600
frameborder=0>');
echo ('</iframe></td><td><iframe src="search.shtml" width=780
height=600></iframe></td></tr></table>');
------------------------------end code -----------------------------
What happens and what I can do? The dir is the same.
Thanks
Makis