Ssanutokh
-
Posts
3 -
Joined
-
Last visited
Never
Posts posted by Ssanutokh
-
-
[!--quoteo(post=351221:date=Mar 2 2006, 07:53 PM:name=play_)--][div class=\'quotetop\']QUOTE(play_ @ Mar 2 2006, 07:53 PM) [snapback]351221[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Thank you Ken.
And Carl,
If you need variables from prior Forms, as in, user inputed variables, you can use $_POST, and $_GET.
not sure if that is what youre really asking or not, but worth a shot lol.
ps: ken, didn't work :(
[/quote]
I need to be able to use imagestring() to output both user-input variables and declared variables. -
[!--quoteo(post=351205:date=Mar 2 2006, 06:48 PM:name=kenrbnsn)--][div class=\'quotetop\']QUOTE(kenrbnsn @ Mar 2 2006, 06:48 PM) [snapback]351205[/snapback][/div][div class=\'quotemain\'][!--quotec--]
You pass it via a hidden field:
[code]<?php
if(!isset($_POST['submit'])) $variable = "testing";
?>
<form action="s.php" method="POST">
<input type="hidden" value="<?php echo $variable ?>" />
<input type="submit" name="submit" />
</form>
[/code]
Ken
[/quote]
Can you elaborate on this? I've been pondering the exact same issue - I need to populate a PNG image with variables taken from prior forms in the script and I'm banging my head against the wall in frustration trying to figure out how to get them there without screwing up the content header.
-Carl
Variable passing issue
in PHP Coding Help
Posted
This means I have to output a content header.
If I'm reading everything correctly, that means no cookies, no sessions, no file input.
HOW do I get my variables passed to the PNG output script for use with imagestring()?
I'm tearing my hair out - I've worked for literally two MONTHS on this script only to find out now that it looks like it's just not going to be able to be implemented in PHP.
Help me, Oggie Ben Doggie, you're my only hope.
-Carl