From:             dev at mentortechies dot net
Operating system: Linux
PHP version:      4.4.0
PHP Bug Type:     *Network Functions
Bug description:  fsockopen invalid argument (22)

Description:
------------
Hello,

We are getting the error as 

Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed:
hostname nor servname provided, or not known in
/usr/home/project/www/tes1.php on line 2

Warning: fsockopen(): unable to connect to <SITENAME > Invalid argument
(22)

we are on one of the best servers in the world and not able to find the
solution as tried on different servers also.

We are sending data from one site to another via fsockopen command and
linking both of then for equivalent data.

Let us know what can solve the problem.



Expected result:
----------------
When we run the code above we only want the script which we are calling by
fsockopen should run successfully as a normal script and all the arguments
shld be send to the other site so it can be utilised by the called script.


-- 
Edit bug report at http://bugs.php.net/?id=33936&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33936&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33936&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33936&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33936&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33936&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33936&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33936&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33936&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33936&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33936&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33936&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33936&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33936&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33936&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33936&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33936&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33936&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33936&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33936&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33936&r=mysqlcfg

Reply via email to