how to tweet using oauth token and secret in php
Since you said you're using tmhoauth below is the format for tweeting.
$tmhOAuth = new tmhOAuth(array( 'consumer_key' => 'your-consumer-key', 'consumer_secret' => 'consumer-secret', 'token' => 'your access token', 'secret' => 'token secret',));$response = $tmhOAuth->request('POST', $tmhOAuth->url('1.1/statuses/update'), array( 'status' => 'Test message '));
The token and token secret are available right at the bottom of the page where you've created your application. (http://dev.twitter.com/apps)