Jump to content

itsmeArry

Members
  • Posts

    161
  • Joined

  • Last visited

    Never

Contact Methods

  • MSN
    nono_arvind@hotmail.com
  • Yahoo
    arry0405@yahoo.com

Profile Information

  • Gender
    Not Telling

itsmeArry's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. try to echo the query... and see whether the query is correct or not.. try this and check out the result echo "UPDATE gamecard SET Ownerid = '".$_SESSION['ic']."' where Serialnum ='$cardID'";
  2. try this out <?php $host="p41mysql63.secureserver.net"; // Host name $username="CourtneyBlacher"; // Mysql username $password="######"; // Mysql password $db_name="temp_members_db"; // Database name //Connect to server and select database. mysql_connect($host, $username, $password) or die("cannot connect to server"); mysql_select_db($db_name) or die("cannot select DB"); ?>
  3. try this out and remember to check the field, table names if they are correct mysql_query("UPDATE gamecard SET Ownerid = '".$_SESSION['ic']."' where Serialnum ='$cardID'");
  4. at line 195 you have $numrows=mysql_num_rows($results); but you are getting the result in "$result" change line 195 to $numrows=mysql_num_rows($result);
  5. try replacing your if and else with this if ($groom_firstname == 'X') { $title = $row['bride_firstname'] . ' ' . $row['bride_surname']; } else { $title = $row['bride_firstname'] . ' ' . $row['bride_surname'] . ' and ' . $row['groom_firstname'] . ' ' . $row['groom_surname'];
  6. ok lets c if we can narrow it down.. is this .exe you are trying to execute on the server I think you need to pass the physical path of the file you need to convert.
  7. sorry missed one line try this <?php $getImage = "../directory/test.jpg"; $src = imagecreatefromjpeg($getImage); $angle[1] = 0.0; $angle[2] = 90.0; $angle[3] = 180.0; $angle[4] = 270.0; $i = $_GET['i']; if (!isset($i) || $i == ''){ $i = 1; } if ($i > 4){$i = 1} if ($i < 1){$i = 4} $rotate = imagerotate($src, $angle[$i], 0); imagejpeg($rotate, "../directory/test.jpg", 100) ?> <a href="?i=<?php echo ($i + 1); ?>">Rotate clockwise</a> <a href="?i=<?php echo ($i - 1); ?>">Rotate counter clockwise</a>
  8. dose this folder has write permissions.. /var/www/vhosts/iwphoto.co.uk/subdomains/demo/httpdocs/clients/ and also are you getting anything $login
  9. there will be an index [OS] what dose that say.....
  10. try this out <?php $getImage = "../directory/test.jpg"; $src = imagecreatefromjpeg($getImage); $angle[1] = 0.0; $angle[2] = 90.0; $angle[3] = 180.0; $angle[4] = 270.0; if (empty($i)){ $i = 1; } if ($i > 4){$i = 1} if ($i < 1){$i = 4} $rotate = imagerotate($src, $angle[$i], 0); imagejpeg($rotate, "../directory/test.jpg", 100) ?> <a href="?i=<?php echo ($i + 1); ?>">Rotate clockwise</a> <a href="?i=<?php echo ($i - 1); ?>">Rotate counter clockwise</a>
  11. if you can upload a file through ftp... then you can find out whish os the server is using. write this code in a test.php file and upload it to the server then run this file you will find almost all the environment variables. and find out which server you are using. <?php echo "<pre>"; print_r($_ENV); ?>
×
×
  • 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.