Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. trq

    Wont MD5?

    No it doesn't. Read it, we are NOT mind readers. Show us the code where you have tested this.
  2. trq

    Wont MD5?

    Define "isn't working", were not mind readers.
  3. I'm sorry, but your post makes little sense. What exactly is the question?
  4. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=306321.0
  5. This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=306254.0
  6. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=306236.0
  7. Unless you have set php's auto_prepend_file directive to always include this file, you MUST be including it within home.php somehow.
  8. You just need to add two images. var $img1 = $( '<img src="/assets/img/140x90/image1.png" />' ).css({ 'position': 'absolute', 'top': top, 'left': left, 'z-index': '100000' }); var $img2 = $( '<img src="/assets/img/140x90/image2.png" />' ).css({ 'position': 'absolute', 'top': top, 'left': left, 'z-index': '100000' }); $current.before($img1); $current.before($img2); Of course you will also need to play around with the top & left css attributes. At the moment, both images would be lined up in the top left hand corner of the underlying image.
  9. You sure ssl://xxxx.xxxxxx.com shouldn't be https://xxxx.xxxxxx.com ?
  10. Here is some code I wrote using jQuery for pretty much the same thing at work. $(document).ready(function() { $(".movie-hover").hover( function() { var $current = $(this).find("img"); var pos = $current.position(); var top = pos.top; var left = pos.left; var $img = $( '<img id="playbtn" src="/assets/img/140x90/play-button.png" />' ).css({ 'position': 'absolute', 'top': top, 'left': left, 'z-index': '100000' }) $current.before($img); }, function() { $('#playbtn').remove(); } ); }); This will display the image /assets/img/140x90/play-button.png over the top of any image contained within a div of the class .movie-hover. Should be pretty easy to adapt to your needs.
  11. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=306168.0
  12. You would be much better of patching the script rather than php itself.
  13. Attach it to the onClick event instead of onMouseOver
  14. http://framework.zend.com/
  15. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=306162.0
  16. You can handle signals/interrupts in php's cli via pcntl_signal. I'm not much of a windows user so I'm not sure what signals corbin is suggesting you must implement, but I'm sure that would be documented somewhere.
  17. There really isn't allot you can do without changing the structure. Its never going to be efficient, you have to pull out all data and go from there.
  18. You need to store the locations in a separate table with each user having a new record for each location.
  19. You could simply include the file. include 'file.html';
  20. There is a pretty good example here which I loosely used to build the routing in my framework.
  21. A result resource cannot be serialized and hence cannot be stored within the $_SESSION array. It's likely you want to store the actual data anyway.... if ($result = mysql_query("SELECT charname FROM users WHERE username='$username'")) { if (mysql_num_rows($result)) { $_SESSION ['charname'] = mysql_result($result, 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.