problem in api with php

Hello
I have problem in api with php calss
I create php page using api php class to change password
when i run page in localhost it’s working
when I upload page in my server it’s not work

I set permssion 0777 for
calss.php
conn.php

the Error

Warning: fwrite(): supplied argument is not a valid stream resource in /home/power/public_html/password/class.php on line 347

Warning: fwrite(): supplied argument is not a valid stream resource in /home/power/public_html/password/class.php on line 347

Warning: fwrite(): supplied argument is not a valid stream resource in /home/power/public_html/password/class.php on line 347

Warning: fwrite(): supplied argument is not a valid stream resource in /home/power/public_html/password/class.php on line 362

Warning: fread(): supplied argument is not a valid stream resource in /home/power/public_html/password/class.php on line 268

Warning: socket_get_status(): supplied argument is not a valid stream resource in /home/power/public_html/password/class.php on line 317

wow! can we have a look at those lines? we’re not telepathists :smiley: but looks like server’s rectriction concerning outgoing TCP connections

any solution

should I guess ‘class.php’ contents?.. I can, but my time is more expensive :smiley:

(God) php.net help you =)