Results 1 to 10 of 31
-
12th Aug 2010, 10:41 PM #1OPMember
help with a php script !!
hi guyz
just for practice i started to code a small script which checks if the remote host or site is online ... and then it gives back the result ... here :
http://isonline.warezsociety.org/index.php
when i test it on my pc with easyphp everything goes well , but i uploaded the script to my host and many times when i submit a website which doesnt exist it says its online ... on my pc everything was ok never got wrong answer ....
any idea ??cgworld Reviewed by cgworld on . help with a php script !! hi guyz just for practice i started to code a small script which checks if the remote host or site is online ... and then it gives back the result ... here : http://isonline.warezsociety.org/index.php when i test it on my pc with easyphp everything goes well , but i uploaded the script to my host and many times when i submit a website which doesnt exist it says its online ... on my pc everything was ok never got wrong answer .... any idea ?? Rating: 5
-
12th Aug 2010, 10:54 PM #2MemberWebsite's:
bypassx.comWill be good can check source code to make an idea about how the script works.
It should make a http request and check status code... hard guess what happens without php code.
-
12th Aug 2010, 10:58 PM #3OPMember
I am using fsockopen method ...
http://php.net/manual/en/function.fsockopen.php
-
12th Aug 2010, 11:01 PM #4Respected DeveloperWebsite's:
wrzc.orgStill need more info and need to see your script.
Sorta on topic. If you wanna see another script (which is always useful to get ideas and see how other people did it) check out http://isitup.org/ it's based on downforeveryoneorjustme.com but the guy is giving away the source code for free. You should check it out.Tutorial How to SEO your Warez Site a guide to help you increase your organic traffic
Huge list of Warez Sites and free Multiposter Templates
-
12th Aug 2010, 11:08 PM #5OPMember
the code is simple as i said
-
12th Aug 2010, 11:09 PM #6Member
what dns does your server use. most dns severs return result page if the site isn't found.
-
12th Aug 2010, 11:12 PM #7OPMember
hmmmmmm how to check that ??
-
12th Aug 2010, 11:14 PM #8OPMember
-
12th Aug 2010, 11:15 PM #9Respected DeveloperWebsite's:
wrzc.orgTurn on error reporting. You have it turned off error_reporting(0).
Make it error_reporting(E_ALL);
If it's not a valid domain then it returns an E_WARNING.
At the moment if I enter something stupid like cornflakes it tells me it's online as your not allowing it to check if it's a valid domain first.Tutorial How to SEO your Warez Site a guide to help you increase your organic traffic
Huge list of Warez Sites and free Multiposter Templates
-
12th Aug 2010, 11:24 PM #10OPMember
thanks for helping mr happy, but i think the problem is with my hosting ...
because the script works well on my localhost with easyphp
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Selling] Excellent Matrimonial Script| Complete readymade Matrimony Script Available
By matriscript4u in forum Marketplace (Buy, Sell and Trade)Replies: 0Last Post: 23rd Oct 2012, 02:54 PM -
[Selling] Mp3 Search Engine, File Host, SMS Script, Arcade Script, PDF Search Script, and More!
By Fileze in forum Completed TransactionsReplies: 12Last Post: 13th Mar 2012, 02:23 PM -
[Selling] Rslinkgens Premium link generator script V1 -Most advanced and viral script
By vccshopper in forum Completed TransactionsReplies: 0Last Post: 24th Jun 2011, 08:10 PM -
[Selling] A.A.S. (Adult Automated Script For ClipBucket Video Script)
By tangi in forum Completed TransactionsReplies: 0Last Post: 25th Mar 2011, 12:45 PM -
need text hosting script or link shorter script
By onel0ve in forum General DiscussionReplies: 3Last Post: 16th Jan 2011, 08:26 AM
themaRegister - register to forums...
Version 3.54 released. Open older version (or...