How To Get Subversion Revision ID From PHP

    Date: 01/24/07 (Java Web)    Keywords: php

    First of all identify the file(s) for which you want to know the revision number from PHP. Then add a property to the file as follows: svn propset svn:keywords Revision file_name.php Now add the following function within php blocks: /** Returns revision number */ function getSCID() { $svnid = '$Rev: 43 $'; $scid [...]

    Source: http://blog.taragana.com/index.php/archive/how-to-get-subversion-revision-id-from-php/

« MySpace Sues Spam King... || Angsuman’s Translator... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home