Popular recipes tagged "php" but not "printing"http://code.activestate.com/recipes/tags/php-printing/2014-09-01T14:55:56-07:00ActiveState Code RecipesPrint Directly from web application to POS/EPS thermal printer (PHP) 2014-09-01T14:55:56-07:00imam feriantohttp://code.activestate.com/recipes/users/633541/http://code.activestate.com/recipes/578925-print-directly-from-web-application-to-poseps-ther/ <p style="color: grey"> PHP recipe 578925 by <a href="/recipes/users/633541/">imam ferianto</a> (<a href="/recipes/tags/kasir/">kasir</a>, <a href="/recipes/tags/network/">network</a>, <a href="/recipes/tags/over/">over</a>, <a href="/recipes/tags/php/">php</a>, <a href="/recipes/tags/pos/">pos</a>, <a href="/recipes/tags/printer/">printer</a>, <a href="/recipes/tags/tiketing/">tiketing</a>). Revision 2. </p> <p>this php script will printout barcode label directly from the web by phpscript</p> Detect what browser your website is being accessed from using php (PHP) 2013-06-19T20:09:55-07:00Captain DeadBoneshttp://code.activestate.com/recipes/users/4184772/http://code.activestate.com/recipes/578571-detect-what-browser-your-website-is-being-accessed/ <p style="color: grey"> PHP recipe 578571 by <a href="/recipes/users/4184772/">Captain DeadBones</a> (<a href="/recipes/tags/browser/">browser</a>, <a href="/recipes/tags/php/">php</a>, <a href="/recipes/tags/server/">server</a>). </p> <p>This is a short hack on how to figure out what OS you site is being accessed from. This is useful if you want to redirect to different versions of your site through php. </p> Web based Query Browser (PHP) 2011-06-15T03:54:02-07:00Jonathan Fenechhttp://code.activestate.com/recipes/users/4169413/http://code.activestate.com/recipes/577753-web-based-query-browser/ <p style="color: grey"> PHP recipe 577753 by <a href="/recipes/users/4169413/">Jonathan Fenech</a> (<a href="/recipes/tags/based/">based</a>, <a href="/recipes/tags/browser/">browser</a>, <a href="/recipes/tags/php/">php</a>, <a href="/recipes/tags/query/">query</a>, <a href="/recipes/tags/web/">web</a>). </p> <p>Query browser works </p> <p>add password to this part of the code if you require a password for mysql</p> <p>Code =</p> <p>// Connect to the database $conn = mysql_connect('localhost', 'root' 'PASSWORD GOES HERE");</p> YouTube-like primary key generation (PHP) 2011-02-24T21:43:55-08:00Slava Yansonhttp://code.activestate.com/recipes/users/4176967/http://code.activestate.com/recipes/577571-youtube-like-primary-key-generation/ <p style="color: grey"> PHP recipe 577571 by <a href="/recipes/users/4176967/">Slava Yanson</a> (<a href="/recipes/tags/activerecord/">activerecord</a>, <a href="/recipes/tags/database/">database</a>, <a href="/recipes/tags/php/">php</a>, <a href="/recipes/tags/unique/">unique</a>). Revision 4. </p> <p>If you have more then 1 primary database servers - you have probably experienced the pain of primary key overlapping... Here is a super simple solution that will generate a hash of random letters and numbers.</p> <p>Included is a sample ActiveRecord class (MyTable.php).</p> Hash text simply (PHP) 2012-04-30T21:43:00-07:00Xavier L.http://code.activestate.com/recipes/users/4171602/http://code.activestate.com/recipes/576893-hash-text-simply/ <p style="color: grey"> PHP recipe 576893 by <a href="/recipes/users/4171602/">Xavier L.</a> (<a href="/recipes/tags/crypt/">crypt</a>, <a href="/recipes/tags/extensible/">extensible</a>, <a href="/recipes/tags/generator/">generator</a>, <a href="/recipes/tags/hash/">hash</a>, <a href="/recipes/tags/php/">php</a>, <a href="/recipes/tags/secure/">secure</a>, <a href="/recipes/tags/security/">security</a>, <a href="/recipes/tags/simple/">simple</a>). Revision 5. </p> <p>This is a simply and extensible script that can be used to rapidly has any amount of text using PHP's hash() built-in function.</p> <p>It recognizes when the page is loaded for the first time and displays a form with options. Afterward, it display the selected hash(es), with a link at the bottom to start again.</p> Youtube Downloader (PHP) 2008-12-03T17:37:28-08:00yeni setiawanhttp://code.activestate.com/recipes/users/4168289/http://code.activestate.com/recipes/576579-youtube-downloader/ <p style="color: grey"> PHP recipe 576579 by <a href="/recipes/users/4168289/">yeni setiawan</a> (<a href="/recipes/tags/download/">download</a>, <a href="/recipes/tags/php/">php</a>, <a href="/recipes/tags/youtube/">youtube</a>, <a href="/recipes/tags/youtube_downloader/">youtube_downloader</a>). </p> <p>This is a series of function that you can use to download video(s) from <a href="http://Youtube.com" rel="nofollow">Youtube.com</a></p> Implementation of a single linked list in PHP (PHP) 2008-09-11T12:44:41-07:00sameer boratehttp://code.activestate.com/recipes/users/4167072/http://code.activestate.com/recipes/576498-implementation-of-a-single-linked-list-in-php/ <p style="color: grey"> PHP recipe 576498 by <a href="/recipes/users/4167072/">sameer borate</a> (<a href="/recipes/tags/linked_list/">linked_list</a>, <a href="/recipes/tags/php/">php</a>). </p> <p>Implementation of a single linked list in PHP with Unit Test</p> Converting MySQL queries to XML (PHP) 2008-09-11T13:16:40-07:00sameer boratehttp://code.activestate.com/recipes/users/4167072/http://code.activestate.com/recipes/576499-converting-mysql-queries-to-xml/ <p style="color: grey"> PHP recipe 576499 by <a href="/recipes/users/4167072/">sameer borate</a> (<a href="/recipes/tags/mysql/">mysql</a>, <a href="/recipes/tags/php/">php</a>, <a href="/recipes/tags/xml/">xml</a>). </p> <p>Converting MySQL queries to XML</p>