From the error message it seems that the function "socket_create" is not defined. What version of php are you using? This function was inroduced in 4.1 (see http://au.php.net/manual/en/function.socket-create.php)
Is line 192 the line with the socket_create code ?
hi bruce!
thanx for your reply, i hope you can help me yes, the call to the function is in line 192: $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
i'm using ezpublish 3.3-1 with php 4.3.4 what can be the problem? should i import this function in my eztemplatestringoperator.php file?
According to http://au.php.net/manual/en/ref.sockets.php -" The socket functions described here are part of an extension to PHP which must be enabled at compile time by giving the --enable-sockets option to configure."
thanks bruce
there's no way to enable this extension at compile time?
i don't know php (i'm starting learning it now) but i need this feature. also i think that such a feature will be useful to extend ezpublish, to make it comunicate with other applications.
is there some built-in way to comunicate with other applications by sending them some informations? Could be ezSoap useful to me?
Don't worry about compiling php under windows - use one of these apache/php/mysql packages :
http://www.firepages.com.au/
http://sourceforge.net/projects/phptriad http://www.foxserv.net/portal.php
or the many more found at http://www.google.com.au/search?hl=en&ie=UTF-8&oe=UTF-8&q=mysql+php+apache++windows&btnG=Search&meta=
I use linux and cannot vouch for any of them with ezPublish. I have used the first 2 listed in the very distant past.
hi bruce
thanx for your support
i didn't need to compile anything!!!
i simply "decommented" the line
extension=php_sockets.dll
in my php.ini file and downloaded the php_sockets.dll (http://kromann.info/php4/php_sockets.dll) and placed it into the winnt/system32 directory
all works perfectly!!
best regards alessandro
You must be logged in to post messages in this topic!