Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. RbgoWeb

    Unique high precision microtime?

    Thank you OlafDoschke, I read this url and learned about better building blocks for uniqueness: http://httpd.apache.org/docs/2.2/mod/mod_unique_id.html In short I learned: On one machine, including multiprocessor machines, no two processes that overlap on the timeline can possibly have the...
  2. RbgoWeb

    Unique high precision microtime?

    The follwing function returns a microtime(stamp) with 10 digits for the integer, and most of the time 18 digits sometimes less for the fractional part. 18 digits decimal is nearly a 64 bits number, so a very hi resolution/subdivision of the second. function mts() { $_p = ini_get('precision')...
  3. RbgoWeb

    trying to get instances working

    the dot in: this.increaseHeight is like the slash in a path, in which the final destination is being expressed. The only knowledge setInterval() and setTimeout() will receive when this.increaseHeight() is being passed is the function body of increaseHeight(), and further have no knowledge about...
  4. RbgoWeb

    Determine selected record offset for any ORDER BY sequence.

    For explanation see the bottom comments labeled REASON and EXAMPLE. <?php [color #AAAAAA]/* DESC: Calculates the zero based offset of a record in a table, using any given ORDER BY subquery PARAM: + $rec (IN, ARRA, PBRS=REQ) associative array representing the selected record that...
  5. RbgoWeb

    A way of storing an array on disk

    Thank you for making it more clear to me, and for the FAQ. I don't visit this forum that much so I'm not that familiar with all the features yet. The other day I saw a thread about someone looking for a way to store variables on disk and I have this function that does it, so I made a tip page...
  6. RbgoWeb

    A way of storing an array on disk

    I do care about it. That's why I posted it, sleipnir. At least it is code what is posted... It seems me that you know your way around here much better than me, and are much more organized. Why don't you make sure this piece of code ends up in exactly the right place if you really care this code...
  7. RbgoWeb

    A way of storing an array on disk

    Don't feel it is necessary to make a FAQ for this. I knew about var_export() but I just like doing some things myself. var_export() is more advanced but I don't like the unneeded array keys it sets for a zero based array.
  8. RbgoWeb

    Get selected record position after sorting in limit-table browser?

    Thanks for reply rac2. I submitted the same question in phpforum. Came up with a solution and put it on the page in PHP forum.
  9. RbgoWeb

    Get selected record position in limit-table browser?

    Thanks a lot Tarwn and Jpadie. The idea about finding out the row count before/smaller that current value is nice and very usefull, thanks. I was not formiliar with an inner join query. It worked... but I could not modify it to get it to work when sorted of over multiple columns. Finally got...
  10. RbgoWeb

    Get selected record position in limit-table browser?

    yes, that's what I mean.
  11. RbgoWeb

    A way of storing an array on disk

    This is a usefull function called 'arr_code', which makes a php code text representation of an array. The comments explain the ins and outs and how it works. arr_code.php: /* DESC: Make a php code text representation of an array. PARAM: + $code (OUT, STR, PBRS=REQ) Receives the code text which...
  12. RbgoWeb

    Get selected record position in limit-table browser?

    See a table with 1000 entries in front of you. The table contains columns 'id', 'first_name' and 'last_name'. Record with id=435, is selected/highlighted in the gui, and has... first_name='Albert' last_name='Zucchini' The html gui of the table has column headers labeled 'first_name' and...
  13. RbgoWeb

    Get selected record position in limit-table browser?

    In a table browse control with [first] [prev] [next] [last] buttons and a LIMIT setting, the records in a db table are devided and browsed in virtual pages. In the GUI for these pages a record can be selected, and columns can be sorted. When I sort with a record selected, changes are big that...
  14. RbgoWeb

    Get selected record position after sorting in limit-table browser?

    In a table browse control with [first] [prev] [next] [last] buttons and a LIMIT setting, the records in a db table are devided and browsed in virtual pages. In the GUI for these pages a record can be selected, and columns can be sorted. When I sort with a record selected, changes are big that...
  15. RbgoWeb

    Sudokus on an interactive page

    Here is working generator code: http://www.phpfreaks.com/quickcode/Sudoku/585.php Tested it only on difficulty level 3. Notes: + The function only generates the integers; you'll have to build your own interface. + make this the last statement of the function: return array($puzzle, $solution)...
  16. RbgoWeb

    openssl_pkcs7_encrypt(PKCS7_BINARY); how to decode after decryption?

    Encryption en decryption using openssl_pkcs7_() functions goes well. Only when openssl_pkcs7_encrypt() encrypts with the flag PKCS7_BINARY, the decrypted result after openssl_pkcs7_decrypt() is different and I don't know how to decode it into readable text, and parse the originial encrypted...
  17. RbgoWeb

    Table join over two MySQL connections?

    Each database having its own username and password provides access to that database for a particular user. This implies a separate connection to the same database server, weather the access privileges for the databases are identical or not. The site owner wants a free query page in the backend...
  18. RbgoWeb

    Cross frame references to objects that do no longer exist?

    For now I only remove it from the blinker array. The reason for obj not removed by the browser is most probably not because I have a reference to it, but should have some other purpose.
  19. RbgoWeb

    Cross frame references to objects that do no longer exist?

    What to do with cross frame references to objects that do no longer exist? Inside the page that publishes the frameset, index.php, there is a javascript blinking object, ojs.blinker, that alternates a html element its classname, between two css rule names, every 500ms. In the content page this...
  20. RbgoWeb

    Table join over two MySQL connections?

    A shared hosting provider allows to setup 10 MySQL databases. The only thing is that each database is forced into having its own username and password, which means a separate connection has got to be made to each database. Is there a way to join tables over the two connections?

Part and Inventory Search

Back
Top