Jump to content

itsmeArry

Members
  • Posts

    161
  • Joined

  • Last visited

    Never

Everything posted by itsmeArry

  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); ?>
  12. this is because you are closing ' i.e. quote use this $image = "<a href='http://domain.com/files/". $row['id']. "/". $row['permalink']. "'><img src='thumbnails/". $row['thumbnail']. "'/></a>";
  13. are you using window or linux..... if you are using windows then you need to change one thing... go to control panel, open administrative tools, and then go to Services.... find the service.... "server" click on it and then click on Properties. then click on "Log On" tab... there check the check box for "Allow this service to interact with desktop." click on apply changes and then restart the server. "I too ran into this kind of problem once. I was supposed to upload audio file and convert the into another format using a software. and then save them to another location. The above procedure helped me in solving the problem you are facing right now."
  14. try this out: function abc ($test=array()) { if (!empty($test)) list($a, $b) = explode('|', $test); }
  15. $_SESSION['test'] = $_POST['txtusername']; $_SESSION['test'] = remove the following line $_SESSION['test'] =
  16. Earlier I was facing problem in submitting a post to google base. which figured out how to do that but now I am facing problem on other classifieds like...... www.trulia.com. oodle.com, propsmart.com I created xml feed according to their specifications but there is no information about where I have to submit the xml file that I have created. edgeio.com yahoo classifieds. dose any one have any clue how to do it....
  17. Thanks a lot for ur suggestions ..... but I found out the way to submit a listing to google base. here it is.... create an xml file in the format specified by google. https://base.google.com/support/bin/answer.py?answer=58085&hl=en create a gmail account use it to login to base.google.com. create ftp account to upload the xml file you created and the upload it programatically to the account information google provided while creating an ftp account.
  18. Hi every one.... I am working on a realestate site. what I need to do is whenevre I add a property listing to the site I need it to submit it to the Google Base also... dose any one have any idea how can I do this.. Thanks in advance.. ???
  19. try changing this $linedata .= $ll["Lng$x"] . " " . substr($ll["Lat$x"],'1') . ","; to $linedata .= $ll["Lng$x"] . " " . substr($ll["Lat$x"],1) . ",";
  20. ??? I need to trap the event that is fired when a window is maximized. I know there is a way to trap the event when a window is resized "window.resize" but I need to trap the event only when the window is maximized. any help or a hint would be apprciated.... Thanks in advance ...
×
×
  • 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.