Jump to content

cltn77

Members
  • Posts

    23
  • Joined

  • Last visited

    Never

Everything posted by cltn77

  1. Thanks for reply. But how about the upload attachment or image file? we can just rename if we are users but how about other users? how to prevent if this happen? Developer view.
  2. <TD style="TEXT-ALIGN: left" height=1><SPAN class=titalized>The Sims 3: Create a Sim</SPAN><BR><BR><BR></TD> Remove the <BR> Then try to use the valign=top, i think i will solve your problem.
  3. How to display the image file which filename is "img%20a1.jpg"? This happen especially for the upload image function. Can anyone help me? Thank you. <img src="img%20a1.jpg">
  4. But i don't want to send to server first.. I just want to have a preview.
  5. I want to send data from main form to popup window. The problem is i want to display the data in table format instead of textbox control. Anyone can help me? TQ Sample of the code refer to attached file. [attachment deleted by admin]
  6. do u mean this: SELECT * FROM crackz WHERE TYPE IN ('Games', 'Appz') ORDER BY type DESC LIMIT 30
  7. yes. cause for the main page i can retrieve the session value but at new page can't see.
  8. I want to retrieve session at new window after i click a link from the main window. Test2.php is main page Test.php is new page Test2.php <?php session_start(); $_SESSION['usercd']='usercd'; ?> <html> <body> <A class=medium href="test.php" target="_blank">Test</A> </body> <?php echo "<pre>"; print_r($_SESSION); echo "</pre>"; ?> </html> test.php <?php session_start(); echo "<pre>"; print_r($_SESSION); echo "</pre>"; ?> Can any one help me? TQ
  9. This will work: echo date('l F d Y',strtotime('2009/06/03'));
  10. http://tattooartnobu.com/full.php?&image=image/pc/tattoo_full/full_2008_11_20_015.JPG try using http://tattooartnobu.com/image/pc/tattoo_full/full_2008_11_20_015.JPG
  11. please specify. is it once you do the selection, it will auto submit the page?
  12. check the php.ini file remove the ';' example: ;extension=php_mssql.dll to extension=php_mssql.dll run phpinfo() to check whether php_mssql is active.
  13. try to use $_POST['submit'].
  14. Just use $_POST will do. [attachment deleted by admin]
  15. try to use method="post". Hope this will solve your problem
  16. try to use substring(order_create_date,0,10)='2008-05-20'
  17. try not using localhost, use database server address eg. 60.52.132.85:1413 or 60.52.132.85
  18. your $_SERVER['REQUEST_METHOD'] currently is "get" instead of "post", so it will not go to the VerifyForm function. Please check.
  19. does first page trigger the submit button or just click the url link?
  20. <form name="upload" enctype="multipart/form-data" action="<?php print $_SERVER['PHP_SELF']; ?>" method ="post"> <input type = "file" name = "fupload" onpropertychange="if(event.propertyName=='value') {document.upload.submit();}">
  21. There are several you can try to do. 1) After Edit, print out your msg using alert(), and send redirect page to admin.php with any parameter parse. or 2) Create Add button or option that allow to do record adding. Based on your attached code, there are some errors need to be corrected. Please take note.
  22. $sql = mysql_query("SELECT password FROM admin WHERE user = '$user'"); Have u check the variable $user whether got value or not? Cause you not define $user = $_POST['user'].
  23. I had problem to check file exists or not at mapping drive. Below is my coding: $filename = "p:\myfolder\Feb2008.pdf"; if (file_exists($filename)) { echo "The file $filename exists"; } else { echo "The file $filename does not exist"; } The output is The file p:\myfolder\Feb2008.pdf does not exist Any suggestion? TQ
×
×
  • 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.