Trying to connect with $fh = fopen( $page, "w" ); the $fh value is FALSE. However, if the "w" is changed to 'r' it works and $fh gets an integer value.
if you installed wamp on different computer that you used, there is much think you must do to setting wamp as a server, example: you need to open ftp protocol so the apache can listen the ftp protocol, setting up the ip address so the apache can listen to the ip of the server. fopen syntax can only have read permission if you executed it from outside of the server.