The Artima Developer Community
Sponsored Link

PHP Buzz Forum
How To Get Subversion Revision ID From PHP

0 replies.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a flat view of this topic  Flat View
Previous Topic   Next Topic
Threaded View: This topic has 0 replies on 1 page
Angsuman Chakraborty

Posts: 19816
Nickname: angsuman
Registered: Dec, 2003

Angsuman Chakraborty is the CEO and Chief Architect at Taragana
How To Get Subversion Revision ID From PHP Posted: Jan 24, 2007 12:30 AM
Reply to this message Reply

This post originated from an RSS feed registered with PHP Buzz by Angsuman Chakraborty.
Original Post: How To Get Subversion Revision ID From PHP
Feed Title: Simple Thoughts on PHP
Feed URL: http://blog.taragana.com/index.php/category/programming/php/
Feed Description: News and views as a Software Architect and Entrepreneur on PHP.
Latest PHP Buzz Posts
Latest PHP Buzz Posts by Angsuman Chakraborty
Latest Posts From Simple Thoughts on 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 [...]

Read: How To Get Subversion Revision ID From PHP


Topic: Alternative Flag Images for Angsuman's Translator Plugin Pro Previous Topic   Next Topic Topic: PHP: Calculate Pi

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use