Jump to content

chintansshah

Members
  • Posts

    244
  • Joined

  • Last visited

Everything posted by chintansshah

  1. I suggest to use empty() instead of isset()
  2. use below code and run on your server $ini = ini_get_all(); print_r($ini); many times, your localhost and live server ini settings are different, just run above code on both server and compare it, using, ini_set() you can change your server ini settings
  3. I want to integrate phpbb3 with clipshare(youtube clone) If user login into clipshare CMS, phpbb3 login wont require, it login that user automatically. Anybody have any idea of script or any tool for integration?
  4. About country validation, you need to check country field name and your validation. can you paste validation code here? use multiple phrase and change size =5 in select tag like <select multiple size="5" name="country"> You can select multiple values using control key
  5. dude, do some googling, you will find ample of reference links to validate forms in php
  6. do you wish to apply javascript validation or php validation? Javascript is client side validation and php is server side validations.
  7. you are right phpSensei, it's very true to change code for $_POST variables and values. change $_POST['mail'] to $_POST['email']
  8. I think, you should change hostdetails, check your site configuration file and change mysql_connect with new server details.
  9. are checking mail on your local pc or on web server?
  10. I didn't found move_uploaded_file function to move from tmp folder to destination folder. check http://php.net/manual/en/function.move-uploaded-file.php
  11. Can you paste whole code instead of piece of code. I really need to see $row = mysql_fetch_array($result); $result query of the above code.
  12. Can you print your query on screen, if you get correct value then you should identify some other problem. I think, your query should be $sql = mysql_query("UPDATE pics SET link='".$target_path."', name='".$uploadedfile."' WHERE id='".$userid1."'")or die(mysql_error());
  13. Write below line instead of your current line "<option value=".$nt['id'].">".$nt['country']."</option>"; String concatenation required! please confirm your table field name also.
  14. Can you paste your HTML code here. In your country drop down, use country_id is option value. like <option value="<?php echo $row['country_id']; ?>"><?php echo $row['country_name']; ?></option>
  15. php parse ' quote as a string. So use concatenation in Insert query.
  16. you should start learning of session handling in php, can learn in w3schools and php.net website.
  17. Can you check that users/images folder has 777 permission to upload a file!
  18. You can do this using mail($to, $subject2, $message2, "From: ".$form2);
  19. Hello, I found the problem, actually in header file I write redirection code and it's added in login.php also Thanks guys for support. Problem resolved now.
  20. Best PHP integration WYSIWYG editor is CKeditor, find link below http://ckeditor.com/
  21. Please explain problem in detail.
  22. 1. Can you print insert query and check if it's working in phpmyadmin 2. Which datatype you are using for 'name' field 3. use mysql_error to get exact error in query, ref: http://php.net/manual/en/function.mysql-error.php
  23. I am working on lovcalhost. After login I want to redirect it to my homepage.php but browser gives me below error. The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete. * This problem can sometimes be caused by disabling or refusing to accept cookies. After login.php, action is validation.php and if user enter correct value then it redirects to homepage.php
  24. I have issue in Virtuemart component in Joomla I have created 5 categories, I want to hide 2 categories from 5. I don't want to unpublish it, I want them publish but hide 2 categories on overview page.
  25. Can you describe your problem in detail? Is your dB available in your mysql server,
×
×
  • 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.