islandman1010
Elite Member
- May 10, 2008
- 2,221
- 587
I have got the moviemoneymaker embed script which I bought and it has worked well for a long time. Now it seems to have stopped working and is throwing a lot of error messages into my error log and they all seem to lead to the script now trying to open the wrong port at wisevid. So my guess is they have changed that. However the script writer doesnt seem to be around anymore and they dont answer support emails. I know nothing about how to edit the script and make sure it connects to the right port. Anyone want to do this for me? The errors look like this
[02-Jul-2010 10:15:00] PHP Warning: fgets(): supplied argument is not a valid stream resource in /home/MYNAME/public_html/MYSITE.COM/vidembed/wisevidstr.php on line 121
The lines around line 121 are
function headToHost($host, $path,$cookie="") {
$fp = fsockopen($host,80);
$header = "";
fputs($fp, "GET $path HTTP/1.1\n" );
fputs($fp, "Host: $host\n" );
//fputs($fp, "Cookie: $cookie\n" );
fputs($fp, "Connection: keep-alive\n\n" );
$i=1;
while (!feof($fp)) {
$data = fgets($fp, 4096);
if(strstr($data,"Server:")!==false){
break;
}else{
$header .= $data;
Thanks for any help.
[02-Jul-2010 10:15:00] PHP Warning: fgets(): supplied argument is not a valid stream resource in /home/MYNAME/public_html/MYSITE.COM/vidembed/wisevidstr.php on line 121
The lines around line 121 are
function headToHost($host, $path,$cookie="") {
$fp = fsockopen($host,80);
$header = "";
fputs($fp, "GET $path HTTP/1.1\n" );
fputs($fp, "Host: $host\n" );
//fputs($fp, "Cookie: $cookie\n" );
fputs($fp, "Connection: keep-alive\n\n" );
$i=1;
while (!feof($fp)) {
$data = fgets($fp, 4096);
if(strstr($data,"Server:")!==false){
break;
}else{
$header .= $data;
Thanks for any help.