here is a fragment of code:
1.php
<html>
<form method="POST">
<IFRAME SRC="2.php?code=xxxxxx" WIDTH=450 HEIGHT=120 FRAMEBORDER=0 SCROLLING=no>
</form>
</IFRAME>
</html>
2.php
<?php
$code = $_POST['code'];
echo $code;
?>
Error_log says :
[client 127.0.0.1] PHP Notice: Undefined index: code in /var/www/html/2.php on line 3, referer: http://localhost/1.php
please help me with that. This problem really drives me mad.
thanks
my php doesnt support passing parameter by URL?p1=xxxx&p
Moderator: General Moderators
- Skittlewidth
- Forum Contributor
- Posts: 389
- Joined: Wed Nov 06, 2002 9:18 am
- Location: Kent, UK