28, May 2012

Does it work with safe mode on? - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  PHP Whois script (Moderator: Olaf)
Topic: Does it work with safe mode on?
« previous next »
Pages: [1] Print

Author Topic: Does it work with safe mode on?  (Read 3658 times)
Total Zero
*
Posts: 5
34 credits
Members referred : 0


« on: Oct 04, 2006, 12:23:50 am »

Hello,

I'll be pleased to know if the class also works with safe mode = on.
At the moment i get the following result, but i don't know what the problem is:

ldkfdhkfhdkfd.com is registered - Detail
ldkfdhkfhdkfd.net is registered - Detail
ldkfdhkfhdkfd.org is registered - Detail
ldkfdhkfhdkfd.name is registered - Detail
ldkfdhkfhdkfd.biz is registered - Detail
ldkfdhkfhdkfd.info is registered - Detail
ldkfdhkfhdkfd.nl is registered - Detail
ldkfdhkfhdkfd.be is registered - Detail
ldkfdhkfhdkfd.de is free.
ldkfdhkfhdkfd.fr is free.
ldkfdhkfhdkfd.eu is free.
ldkfdhkfhdkfd.us is free.

I've changed nothing in server_list.php, so that wouldn't be the problem right?

Technical information:
Linux fedora core 2
php 4.2
safe mode = on

Thanks for the class anyway, it's really nice! And Laurens from holland got it working, so it has to be my own fault.. (By the way, nice AJAX in your script! Maybe i'll use it myself. Thanks)

Thanks in advance,

Npeters
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Oct 04, 2006, 08:02:12 am »

Quote
And Laurens from holland got it working, so it has to be my own fault..

what does that mean? are you from belgium ?  Grin

safe mode:
First you need to use the "win" (is using fsockopen() in place of exec("-whois..."))

and compare this list of disabled functions:
http://nl3.php.net/manual/en/features.safe-mode.functions.php

Total Zero
*
Posts: 5
34 credits
Members referred : 0


« Reply #2 on: Oct 04, 2006, 08:52:38 am »

Quote
And Laurens from holland got it working, so it has to be my own fault..

what does that mean? are you from belgium ?  Grin

safe mode:
First you need to use the "win" (is using fsockopen() in place of exec("-whois..."))

and compare this list of disabled functions:
http://nl3.php.net/manual/en/features.safe-mode.functions.php

Haha, no i'm also from holland ;-)

What do you mean by compare this list of disabled functions? Haven't you tested the class in PHP safe mode?

I'll try to change to "win". Thank you!
Total Zero
*
Posts: 5
34 credits
Members referred : 0


« Reply #3 on: Oct 04, 2006, 09:08:01 am »

Thanks, changing to "win" did help for me.

Very nice class!
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: Oct 04, 2006, 09:09:06 am »

Quote
What do you mean by compare this list of disabled functions? Haven't you tested the class in PHP safe mode?

No, why? there are hosting accounts  for 2 euro a month with safe_mode = off (dutch market, 10 euro a year in the US)

Total Zero
*
Posts: 5
34 credits
Members referred : 0


« Reply #5 on: Oct 04, 2006, 10:26:57 am »

Quote
What do you mean by compare this list of disabled functions? Haven't you tested the class in PHP safe mode?

No, why? there are hosting accounts  for 2 euro a month with safe_mode = off (dutch market, 10 euro a year in the US)

Well, thats true.. but at least you now know it works with php safe mode on:)
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #6 on: Oct 04, 2006, 11:05:16 am »


 but at least you now know it works with php safe mode on:)

yes thats true, thanks Wink

Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=4332
Tags : php php safemode hosting Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  PHP Whois script (Moderator: Olaf)
Topic: Does it work with safe mode on?
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 01:57:04 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.