Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 11-12-2009, 12:04 AM What script to make
Waizujin's Avatar
Average Talker

Posts: 19
Name: Marcus Krueger
Location: McMinnville TN
Trades: 0
Okay. So I am interested in making an open source script coded in PHP. So let me know, what do you think I should make that you would use? Feel free to post examples of scripts like it and let me know what you would want in it to make it different than the others.
__________________

Please login or register to view this content. Registration is FREE

Waizujin is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-12-2009, 09:04 AM Re: What script to make
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,615
Location: UK
Trades: 1
Id like to see a open source multiplayer online texas holdum poker script.

Enjoy.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


lynxus is offline
Reply With Quote
View Public Profile Visit lynxus's homepage!
 
Old 11-12-2009, 10:06 AM Re: What script to make
frih's Avatar
Super Talker

Posts: 139
Name: abhi
Location: http://www.techbusy.org/
Trades: 0
a free whois script, i need it.
__________________

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
frih is offline
Reply With Quote
View Public Profile Visit frih's homepage!
 
Old 11-12-2009, 09:43 PM Re: What script to make
orionoreo's Avatar
Ultra Talker

Posts: 335
Name: Jerry
Trades: 0
opensource opensource php script creator
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
orionoreo is offline
Reply With Quote
View Public Profile
 
Old 11-13-2009, 01:29 PM Re: What script to make
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,615
Location: UK
Trades: 1
Quote:
Originally Posted by frih View Post
a free whois script, i need it.
What do you need?

Heres a whois script i made to get the country of an IP. ( works on Unix systems with PHP )

PHP Code:
$ip $_SERVER['REMOTE_ADDR'];

//$country = exec('whois .'$ip.' | grep -i country');
$country exec("whois $ip  | grep -i country"); // Run a local whois
$country strtolower($country);
// Get rid of ****
$country str_replace("country:""""$country"); // replace **** so we just have the CC
$country str_replace("Country:""""$country");
$country str_replace("Country :""""$country");
$country str_replace("country :""""$country");
$country str_replace("network:country-code:""""$country"); // Where teh **** is this coming from? Odd whois...
$country str_replace("network:Country-Code:""""$country"); // Where teh **** is this coming from? Odd whois...
$country str_replace("Network:Country-Code:""""$country"); // Where teh **** is this coming from? Odd whois...
$country str_replace("network:organization-""""$country"); // Where teh **** is this coming from? Odd whois...
$country str_replace("network:organization-usa""""$country");
// End get rid of.
$country str_replace(" """"$country"); 
$country should now contain the country code. IE:
print $country;
UK


Looking at my code again, I str2lowered it, so this will do the same with less guff

PHP Code:
$ip $_SERVER['REMOTE_ADDR'];

//$country = exec('whois .'$ip.' | grep -i country');
$country exec("whois $ip  | grep -i country"); // Run a local whois
$country strtolower($country);
// Get rid of ****
$country str_replace("country:""""$country"); // replace **** so we just have the CC
$country str_replace("country :""""$country");
$country str_replace("network:country-code:""""$country"); // Where teh **** is this coming from? Odd whois...
$country str_replace("network:organization-""""$country"); // Where teh **** is this coming from? Odd whois...
$country str_replace("network:organization-usa""""$country");
// End get rid of.
$country str_replace(" """"$country"); 
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE



Last edited by lynxus; 11-13-2009 at 01:33 PM..
lynxus is offline
Reply With Quote
View Public Profile Visit lynxus's homepage!
 
Old 11-14-2009, 11:21 PM Re: What script to make
freezea's Avatar
Experienced Talker

Posts: 45
Trades: 0
Open source reporting tool.
__________________

Please login or register to view this content. Registration is FREE
: Web-based Excel-like Java reporting tool.
freezea is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to What script to make
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.23382 seconds with 12 queries