Date: 12/29/99
- Next message: Robert Moskal: "[PHP-DEV] Looking for a PHP developer"
- Previous message: pilit <email protected>: "[PHP-DEV] PHP 4.0 Bug #3068: Variables like $SERVER_NAME are empty when using the ISAPI-Module"
- In reply to: rpdennis <email protected>: "[PHP-DEV] Bug #3067: gcc: unrecognized option `-Kpic'"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I am new to php please forgive a stupid question (if this is one)
I have copied the source from http://www.php.net/manual/function.fsockopen.php3
directly.
I have changed the IP parameter to reference my solaris box
that is running php 3.0.12, and apache (mod_php)
When running from the command line the code works fine.
When the script is called from a web browser, I get an error:
parse error on line 3
$fp = fsockopen("my_ip", portnumber, &$errno, &$errstr, 30);
If you could possibly send a suggestion as to where I have gone wrong I
would greatly appreciate it. Thanks in advance.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Robert Moskal: "[PHP-DEV] Looking for a PHP developer"
- Previous message: pilit <email protected>: "[PHP-DEV] PHP 4.0 Bug #3068: Variables like $SERVER_NAME are empty when using the ISAPI-Module"
- In reply to: rpdennis <email protected>: "[PHP-DEV] Bug #3067: gcc: unrecognized option `-Kpic'"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

