Topic: PHP Whois script :: all queries give the result "free" (Read 2665 times)
Google dot what?
Posts: 2
16 credits Members referred : 0
« on: May 04, 2006, 03:52:27 PM »
When i use your PHP Whois script ver. 1.21 and run the PHP page with for example etretertrt.com or another extension it always says that the domein name is registrated but it isn't registrated at all.
All the files are in the same directory and i have changed the document root to the right path.
Are I am doing something wrong? Can someone help me with this?
« Last Edit: May 04, 2006, 04:00:23 PM by olaf »
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6440
39464 credits Members referred : 374
When i use your PHP Whois script ver. 1.21 and run the PHP page with for example etretertrt.com or another extension it always says that the domein name is registrated but it isn't registrated at all.
All the files are in the same directory and i have changed the document root to the right path.
Are I am doing something wrong? Can someone help me with this?
Hello,
are you using the script on a windows host?
try both settings for this variable:
Quote
var $os_system = "win"; // switch between "linux" and "win"
why? "win" is using fsockopen and with "linux" the whois module is used via the exec() functions.
I crack Photoshop!
Posts: 3
18 credits Members referred : 0
« Reply #4 on: Nov 30, 2006, 08:47:41 AM »
I'm getting the same problem, but I'm running on a linux server and checked the code and its okay.. I have the source file which i placed code from the example php form directly into, and then made a folder classes/whois and put all the files inside that, even edited the chmod on them just in case there was something they needed from that... still everything comes up as registered. Also, while i'm asking, if by chance anyone knows of a way i could make it so that if it is successful you have the option to add it to a basket? I'm planning on installing paypal on the site seeing as it seems to be something that will work and not cost a rediculous monthly fee for some cart. Cheers for ANY help! And sorry yeah, I am new at php. Exuse my dumb-ness.
I crack Photoshop!
Posts: 3
18 credits Members referred : 0
« Reply #5 on: Nov 30, 2006, 08:52:37 AM »
okay sorry don't worry about the part with the returning the same thing always. i went through the whois_class.php and found two references to 'win' instead of linux, and changed them manually. Didn't realise i had to do that, i thought it would be all variable based. Now just have to figure out how to stop redirection
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6440
39464 credits Members referred : 374
It's time to use PHP5!
« Reply #6 on: Nov 30, 2006, 09:45:09 AM »
The whois is class has a more experienced target group, thats why there is no manual.
is you redirection problem related to the whois class?
I crack Photoshop!
Posts: 3
18 credits Members referred : 0
« Reply #7 on: Nov 30, 2006, 09:49:31 AM »
yeah i think so. when the domain is registered, it comes up with a message saying so. When it isn't registered it automatically redirects to a site called NetFirms. Two other little questions; it takes awhile to load when you press check, is that server related or is the script generally slowish..
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6440
39464 credits Members referred : 374
yeah i think so. when the domain is registered, it comes up with a message saying so. When it isn't registered it automatically redirects to a site called NetFirms. Two other little questions; it takes awhile to load when you press check, is that server related or is the script generally slowish..
the script is fast as the whois server try the example file without redirection
Kill the googlebot
Posts: 6
36 credits Members referred : 0
« Reply #9 on: May 13, 2007, 10:32:18 PM »
I am getting "Registered" for any domain under the sun even if it's not registered.
I created a dir/sub directories under my root web for /classes/whois with 644 for permission on both directories. I ran the example php file and get "registered" for real and fake domain name.
I also checked and make sure that the setting is set for "linux" in the whois_class.php file.
Any help would be appreciated. Thanks.
Kill the googlebot
Posts: 6
36 credits Members referred : 0
« Reply #10 on: May 13, 2007, 10:34:14 PM »
Also, in the whois_example.php page, I place a checked mark next to "show all info" but nothing happens.
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6440
39464 credits Members referred : 374
Kill the googlebot
Posts: 6
36 credits Members referred : 0
« Reply #12 on: May 13, 2007, 11:00:27 PM »
Hello Olaf,
Yes, I read this thread. Maybe I am missing the point people are saying or something. I reread it and verified that I did like everyone suggested. Could you point it out for me please.
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6440
39464 credits Members referred : 374
It's time to use PHP5!
« Reply #13 on: May 13, 2007, 11:12:52 PM »
I guess your server doesn't allow the whois linux command so try the "win" option