Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Australia vs Germany is the big game for me (the wife's family being German and all).
  2. Returns the content as-is which means that if you output it the PHP code will be visible in the HTML source. No it won't. It will return the output produced by the php being parsed on the server because you are requesting the file via http. If it where a local file requested via the file system you would get the php source.
  3. You do realize that a response code of 200 means OK (successful) in HTTP?
  4. What does titles.txt look like and what output are you after?
  5. The error is pretty self explanatory. The user you are using doesn't have sufficient permissions to execute the query
  6. You never actually capture the returned value from your recursive call for one.
  7. Where is $email defined?
  8. In this case, because your needing to return multiple values, you'll need to return an array. eg; $arr = array(); while($select = mysql_fetch_array($result)) { $arr[] = $select; } return $arr;
  9. They are two completely different instances.
  10. The two instances of the objects aren't related, only there base classes.
  11. There is nothing syntactically wrong with what you have posted, were going to need more code.
  12. Turn off register_globals in your php.ini. they have been deprecated for some 8+ years and pose a security risk.
  13. You can't mix alternate and traditional syntax. else: should be } else {
  14. Considering that Javascript executes within the browser, you can rule out any server differences from the equation.
  15. If you name your form elements color[] you will end up with an array within $_POST['color']. You can then easily loop through this array and do your inserts.
  16. Then please click the solved button in the bottom left corner of your post.
  17. trq

    check for www

    What have you tried?
  18. Move the script outside of your servers document root. That way no one can actually browse to them.
  19. Your job is set to execute on the 2nd minute of every hour. You want: */2 * * * *
  20. Well, if its returning php code there is something misconfigured. Can you get a simple phpinfo page to display? eg <?php phpinfo(); ?>
  21. http://php.net/manual/en/control-structures.alternative-syntax.php
  22. Does your server have php enabled and configured properly?
  23. There should be no real issue with what your trying to do, we run asp and php applications on the same servers where I work. You'll need to check your logs, the setup for which are within the IIS manager.
  24. Select elements don't trigger an onClick events, I would start by changing that to onChange.
×
×
  • 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.