Jump to content

titan21

Members
  • Posts

    158
  • Joined

  • Last visited

Everything posted by titan21

  1. It should definitely be session_start(); - there is no option to omit the parentheses. What is the error you get when you have session_start()? I'm assuming it is different from your previous error.
  2. Shouldn't session_start be session_start()?
  3. You can to use mysql_affected_rows() to check what was deleted - http://uk2.php.net/manual/en/function.mysql-affected-rows.php
  4. Long shot - its not a case sensitivity issue is it? Smarty vs smarty?
  5. If you are using AJAX, are you not ensuring that dropdown is being displayed? Or have you just got a response from the server and not processed it with Javascript?
  6. Try renaming the file index.php not index.html. You can keep the included file as index.html as long as there is no PHP to process in it - otherwise that will need renaming to index.php also!
  7. Can you post the entire HTML? Popping out now but will be back later.
  8. Can you not test your variables and decided what you want to output (if anything) Use echo() to output any html.
  9. If you're running apache then the logs should be at /var/log/apache/error.log. Is this your webserver or soemone elses?
  10. That's not it. PHP won't have a clue where it is in relation to the HTML. Did you check the logs and permissions?
  11. Am a bit stumped! :-\ is it a permissions issue? Can you check that everyone has read access to this file? Have u tried calling the file directly into the browser? Is there anything in the logs which give a clue?
  12. Okay, Try this: <TABLE class="main"> <TR> <TD> <?php include($_SERVER['DOCUMENT_ROOT'].'/products/1/index.html'); ?> </TD> </TR> </TABLE>
  13. Okay - not familiar with the library you are using but my last suggestion would be to change this: $mail->From = "Some Nice Name <to@anydomain.com>";
  14. ..which indicates that $_GET is not populated at all - is the url: something.php?user=me just checking that the page is being called correctly
  15. Can you let us know the absolute path of your server root (i.e. where your index.htm file is located) and then the absolute path of the file you are trying to include. Hopefully, we'll be able to construct a correct line of code for you.
  16. You can try setting the sendmail_from in php.ini or set a ini_set(). (http://uk.php.net/manual/en/function.ini-set.php) Try: ini_set("sendmail_from", "myemailaddress@mydomain.com")
  17. Try outputting print_r($_GET) to see what is actually being obtained from the get string. Can you post the output?
  18. Are you able to access your logs to see if there are any clues there? First order of business!
  19. You'll probably be looking at a solution with AJAX which would be preferable. Or perhaps you can submit back to this page and do the checks for validity there. My advice would be to look at AJAX tho.
  20. Try this... <TABLE class="main"> <TR> <TD> <?php include($_SERVER['DOCUMENT_ROOT'].'/1/index.html'); ?> </TD> </TR> </TABLE> You need to specify exactly where the file is located.
  21. We need to know the software you are using for SMTP. Can you try running: [pre]netstat -tulpn | grep :80[/pre] if you see "master" in the output - this should be postfix
  22. Have a look at redirecting the user if teh data submitted is correct. Header("Some Location") should be able to do this for you. Have a look at http://uk.php.net/manual/en/function.header.php.
  23. try require_once(), require(), include() or include_once(). Have a look at http://uk.php.net/manual/en/function.require.php
  24. Can you advise what SMTP server you are using? Postfix?
×
×
  • 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.