Jump to content

Ssanutokh

Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Ssanutokh's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. The final outcome of my script is a PNG file. 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
  2. [!--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.
  3. [!--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
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.