Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. This is the script I was thinking of. Not exactly what you need, as this will force a download, but hopefully you'll get the idea. The idea is to create a php file called image.php or whatever, have it do the database check and all that jazz, then if the user has access set the appropriate headers to make the image.php file serve an image. All you would need to do then is place it in your src attribute. eg; echo "<img src='image.php?f=somefile' />"; I'd post an example except the in laws are on there way.
  2. The F:\ drive will not be accessible because it is outside of the web servers root. You will need to use a php script to serve up the file. There is an example of how to do so in our code snippet / repository board.
  3. I assume this is line 65? while($transaction = mysqli_fetch_assoc($transactionbalance)) { Where is $transactionbalance defined?
  4. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=358887.0
  5. This topic has been moved to Other Web Server Software. http://www.phpfreaks.com/forums/index.php?topic=358860.0
  6. You need to check the error logs to see what the issue might be. No idea where wamp would keep them though.
  7. It's always a good idea to learn another framework. ps: HMVC is nothing more than hype.
  8. I'll spell it out then: $backtrace = var_export(debug_backtrace(), true); // some other code to write $backtrace to a file
  9. var_dump outputs to the output buffer (and returns nothing by the way), you want var_export instead.
  10. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=358861.0
  11. Strings require quotes in SQL. $sql = "SELECT [REF (SEDOL) No.] FROM [sTO_CORE] WHERE [REF (SEDOL) No.] = '$sedol'";
  12. The error message tells you exactly what variable is undefined.
  13. These types of errors are self explanatory. Your trying to use variables that haven't been defined.
  14. trq

    PHP/VB

    Why bother then? I don't think VbScript is used anymore by anyone.
  15. This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=358821.0
  16. You meen Javascript. You don't define ajaxRequest anywhere before trying to use like it's an object. This line: var ajaxRequest; // = remoteRequestObject(); Should be.... var ajaxRequest = remoteRequestObject();
  17. You forgot to tell us what the problem is.
  18. This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=358786.0
×
×
  • 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.