Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~6K People Reached
Favorite Tags
Member Avatar for jrhitokiri

I have this game that I play which had a new sub-game: a Guitar Hero clone. Problem is, the controls are just too darn uncomfy. Another problem is that you can't change your controls. So, what I did was I searched for a keyboard mapper that needed no restarting. I …

0
76
Member Avatar for Mr_PoP

[CODE] #include "includes" int main() { time_t rawtime; struct tm * timeinfo; char buffer [80]; time ( &rawtime ); timeinfo = localtime ( &rawtime ); string timetest; timetest= strftime (buffer,80,"%Y-%m-%d",timeinfo); puts (buffer); } [/CODE] now instead of print the time i want add the value of the time to a …

Member Avatar for jrhitokiri
0
132
Member Avatar for jrhitokiri

Hello! I have tried using this line of code: [CODE]$output = array(); exec('grep "some_keyword" some_file.txt',$output); echo "<pre>";print_r($output);echo "</pre>";[/CODE] Upon looking for a keyword that I was sure was in the file, the output was: [ICODE]Array ( [0] => [1] => )[/ICODE] Otherwise if the keyword was not in the file, …

Member Avatar for jrhitokiri
0
2K
Member Avatar for jrhitokiri

I am thinking of setting up a link shortener for myself, and I want to know how to track unique and total clicks. Well, the total clicks are easy to do. I think the unique clicks are more challenging. Also, how do you do 301 and 307 redirection? Is this …

Member Avatar for maryparker
0
133
Member Avatar for jrhitokiri

I have these strings as $remaining_time: "3h5m" "4h9m" "15m" "17h" "6d17h" What I want to do is be able to parse through them and output the results in unix format so I can add them up to my $start_time (in unix timestamp) to get the end time. Any suggestions how …

Member Avatar for jrhitokiri
0
187
Member Avatar for jrhitokiri

I am trying to get Domain names/URLs from the title and description in ebay, but the text varies a lot. Note that the url/domain names are limited to *.com, *.net, *.info, etc. For instance, I'd have to parse through text such as: IPAD SCREEN LENS.COM 3 4 5 Letter LLLL …

Member Avatar for jrhitokiri
0
119
Member Avatar for jrhitokiri

I've googled and looked all around the web for an answer to this, but without any success. I am getting this error: Parse error: syntax error, unexpected T_REQUIRE_ONCE in /home/xxxinl5/public_html/xxx/content/.../.../submitter.php on line 1 And here's the code: [CODE] <?php /* * My Prog * */ require_once(dirname(__FILE__) . '/config.php'); require_once(dirname(__FILE__) . …

Member Avatar for jrhitokiri
0
3K
Member Avatar for jrhitokiri

I have this code: [CODE] function parse_aggregators_xml($aggregators_xml) { $simple_xml = new MySimpleXML(); return $simple_xml->xml_load_string($aggregators_xml, 'array'); } $xml = file_get_contents(XML_TEMPLATE); if (empty($xml)) return false; $data = parse_aggregators_xml($aggregators_xml); $data = json_decode(json_encode($data)); echo "<pre>";print_r($data );echo "</pre>"; [/CODE] the output of the xml is like this: [CODE] stdClass Object ( [aggregator] => Array ( …

Member Avatar for jrhitokiri
0
135
Member Avatar for jrhitokiri

Hello, I have this code that supposedly imitate a DTR for a homework. I've made the preliminary code, but I'm kinda surprised at the output since it's not what I had expected. Here's the code: [CODE] int login() { int id; char* name, log_time; time_t lt; lt = time(NULL); printf("\nPlease …

Member Avatar for jrhitokiri
0
235