IT Community - Software Programming, Web Development and Technical Support

PHP to C++

This is a discussion on PHP to C++ within the C and C++ Programming forums, part of the Software Development category; Hello, i built an engine in PHP that does a bunch of stuff and handles an enormous ammount of data.....


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > C and C++ Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 02-24-2007, 01:05 AM
pranky pranky is offline
D-Web Programmer
 
Join Date: Feb 2007
Posts: 51
pranky is on a distinguished road
Default PHP to C++

Hello, i built an engine in PHP that does a bunch of stuff and handles an enormous ammount of data..the page cant be executed in the browser or it times out, so i have to use curl to execute the script....i want to attempt to make this "engine" in C++

i was wondering if someone could give me a hand and maybe help me convert this php into C++
PHP Code:
PHP Code:
$url "https://www.novaworld.com/Players/Stats.aspx?id=33680801261&p=616065";
$content file_get_contents($url);
$strip strip_tags($content);
$remove stristr($strip'Down');
$stats $remove;
$pcid stristr($stats'PCID:');
sscanf($pcid'PCID: %s' $pcid);
echo 
"PCID: " $pcid "<br>"
what it does is connects to that websitegets the contentstrips the html and then parse's the 'PCID and stores it as a variable
could someone give me a hand or point me in the right direction?

thanks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 12:46 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0