Closed Thread Icon

Topic awaiting preservation: just wondering... (Page 1 of 1) Pages that link to <a href="http://ozoneasylum.com/backlink?for=12444" title="Pages that link to Topic awaiting preservation: just wondering... (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: just wondering... <span class="small">(Page 1 of 1)</span>\

 
Xdreamer.ch
Maniac (V) Inmate

From: Switzerland
Insane since: Mar 2001

posted posted 09-24-2002 07:19

hmmm even it is too late for me (didn't got
any sleep right now) or I am blind.

I've got a form which should submit some
information.

so I got this code:

code:
<form action="addmsg.php?txt_nick=$txt_nick&txt_web=$txt_web" method="post" form name="submit">



so in the addmsg.php I've got this code:

code:
<?php
PRINT "$txt_nick";
PRINT "$txt_web";
?>




seems to be right for me but I came
up with the "undefined variable in line...bla"
error.

any suggestions...? I think I need sleep

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 09-24-2002 08:16

Don't know how PHP treats it but you are submitting the form via a POST method but by putting info in the query string which is the GET method that may be hosing it. Try either using get or set the variables in hidden fields:

code:
<input type="hidden" name="txt_nick" value="$txt_nick">



also don't know what $txt_nick is supposed to be but unless you echo the value
txt_nick=<?= $txt_nick; ?> it's not gonna resolve.



.:[ Never resist a perfect moment ]:.

Xdreamer.ch
Maniac (V) Inmate

From: Switzerland
Insane since: Mar 2001

posted posted 09-25-2002 20:56

solution: changed the value of the
--> register_globals = ON


standard is it "OFF"...holy crappy shit *gg*

now all works fine...thx anyway

« BackwardsOnwards »

Show Forum Drop Down Menu