Jump to content

stillatmycomputer

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

stillatmycomputer's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. You have your <form method="post"  so use $_POST instead of $_GET to access your variables. Redirect like this: <?php header("Location: http://www.yoursite.com/thankyou.php"); ?>
  2. $yourNewDir = "photo1"; $imgDirPath = "~/images/"; $newImgPath = $imgDirPath . $yourNewDir; mkDir($newImgPath, 0777);
  3. PHP code is processed by the server before the browser processes your javascript.  Set your variables first in PHP. [color=orange]<script language="javascript">[/color] [color=orange]var [/color]<?php $k=5; echo('[color=orange]$k=[/color]'.$k); ?>[color=green];[/color] [color=orange]alert($k);[/color] [color=orange]alert("[/color]<?php echo($k); ?>[color=orange]");[/color] <?php $i=$k; ?> [color=orange]alert("[/color]<?php echo $i ?>"[color=orange]);[/color] [color=orange]</script>[/color]
×
×
  • 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.