Add to Google

Php Fsockopen() Error

Pages: 1, 2
free web hosting

Read Latest Entries..: (Post #14) by riphabbo on Mar 27 2007, 07:51 PM. (Line Breaks Removed)
QUOTE(bakr_2k5 @ Mar 27 2007, 02:39 PM) Ok, well I don't really have time right now. But I could point you to some good resources.Here they come:http://www.php.nethttp://www.google.com/search?q=phphttp://www.google.com/search?q=php+tutorialProbably you might find some good tutorials on this forum or at the forum at astahost.com (related to trap17 and xisto) [[mods, if this isn't a... read more.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Open Discussion > CONTRIBUTE > Computers > Programming Languages > PHP Programming

Php Fsockopen() Error

riphabbo
Hi guys, I've been having problems with PHP and my Apache server, I've got this book (SAMS PHP, MYSQL and Apache All in One)

I've installed all services correctly, but I get an error on my Radio Homepage saying:
QUOTE
Warning: fsockopen() [function.fsockopen]: unable to connect to 5.106.1.74:8000 (A non-blocking socket operation could not be completed immediately. ) in C:\Program Files\Apache Group\Apache2\htdocs\radio\stats\radio_stats.php on line 13
Riphabbo Radio Is Currently Offline


I'm new to PHP and would like to know if there is any way to stop this happening...

(I've re-installed PHP, Apache and my radio stats but still not working!)

Thanks!

Notice from serverph:
added quote tags. kindly review the bbcodes applicable for trap17 (linked as a button on shoutbox above), and use appropriate tags where applicable.


EDIT
Thanks for editing my post... I'm kinda new to BBCode.

 

 

 


Reply

serverph
what's on your line 13 on your radio_stats.php? (use code tags when you post it here wink.gif). also, can you verify if you have used the correct IP and port there (5.106.1.74:8000)?

Reply

riphabbo
QUOTE(serverph @ Mar 26 2007, 08:44 PM) *
what's on your line 13 on your radio_stats.php? (use code tags when you post it here wink.gif). also, can you verify if you have used the correct IP and port there (5.106.1.74:8000)?


Line 13 is
CODE
$scfp = fsockopen("$scip", $scport, &$errno, &$errstr, 10);


If you need the rest of the code, just ask, I mean, I just downloaded this code from www.streamsolutions.co.uk and edited it as it says...

Reply

bakr_2k5
I think it means that it can't connect to the radio, you're trying to connect to. Either the IP is wrong or it is really offline and it gives you that error. It would be handy to see some more code from that file if possible...

bakr_2k5

[EDIT]
Are you doing this true hamachi?
[/EDIT]

Reply

riphabbo
QUOTE(bakr_2k5 @ Mar 26 2007, 08:47 PM) *
I think it means that it can't connect to the radio, you're trying to connect to. Either the IP is wrong or it is really offline and it gives you that error. It would be handy to see some more code from that file if possible...

bakr_2k5


Okay, The full code is
CODE
<html>

<head>

<body bgcolor="e9e6f4">
<font color="navyblue"><?php
// Shoutcast Server Stats
// Parses shoutcasts xml to make an effective stats thing for any website
// Coded by Daniel Brown. Edited by Nick Coates [SharpeHosting.com] [SharpeNews] KEEP THIS INTACT!!!
// Please refer to the readme file for use.
include('config_radio.php'); //you may edit this path to fit your server environment otherwise leave it alone
$scfp = fsockopen("$scip", $scport, &$errno, &$errstr, 10);
if(!$scfp) {
$scsuccs=1;
echo''.$scdef.' Habbo Hotel Radio Is Currently Offline';
}
if($scsuccs!=1){
fputs($scfp,"GET /admin.cgi?pass=$scpass&mode=viewxml HTTP/1.0\r\nUser-Agent: SHOUTcast Song Status (Mozilla Compatible)\r\n\r\n");
while(!feof($scfp)) {
$page .= fgets($scfp, 1000);
}
################################################################################
######################################
/////////////////////////part 1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
//define xml elements
$loop = array("STREAMSTATUS", "BITRATE", "SERVERTITLE", "CURRENTLISTENERS");
$y=0;
while($loop[$y]!=''){
$pageed = ereg_replace(".*<$loop[$y]>", "", $page);
$scphp = strtolower($loop[$y]);
$$scphp = ereg_replace("</$loop[$y]>.*", "", $pageed);
if($loop[$y]==SERVERGENRE || $loop[$y]==SERVERTITLE || $loop[$y]==SONGTITLE || $loop[$y]==SERVERTITLE)
$$scphp = urldecode($$scphp);

// uncomment the next line to see all variables
//echo'$'.$scphp.' = '.$$scphp.'<br>';
$y++;
}
//end intro xml elements
################################################################################
######################################
################################################################################
######################################
/////////////////////////part 2\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
//get song info and history
$pageed = ereg_replace(".*<SONGHISTORY>", "", $page);
$pageed = ereg_replace("<SONGHISTORY>.*", "", $pageed);
$songatime = explode("<SONG>", $pageed);
$r=1;
while($songatime[$r]!=""){
$t=$r-1;
$playedat[$t] = ereg_replace(".*<PLAYEDAT>", "", $songatime[$r]);
$playedat[$t] = ereg_replace("</PLAYEDAT>.*", "", $playedat[$t]);
$song[$t] = ereg_replace(".*<TITLE>", "", $songatime[$r]);
$song[$t] = ereg_replace("</TITLE>.*", "", $song[$t]);
$song[$t] = urldecode($song[$t]);
$dj[$t] = ereg_replace(".*<SERVERTITLE>", "", $page);
$dj[$t] = ereg_replace("</SERVERTITLE>.*", "", $pageed);
$r++;
}
//end song info

fclose($scfp);
}

//display stats
if($streamstatus == "1"){
//you may edit the html below, make sure to keep variable intact
echo'
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<META HTTP-EQUIV="REFRESH" CONTENT="30">
<link rel=stylesheet href="" type="text/css">
<title>'.$scdef.'</title>
</head>

<body text="" bgcolor="e9e6f4">




<p>

<font color="black"><font face="verdana" size="1"><b>DJ Name:</b>&nbsp;'.$servertitle.'</font></p>
<font color="black"><font face="verdana" size="1"><b>Listeners:</b>&nbsp;'.$currentlisteners.' / 200</font></p>

<font face="verdana" size="1" color="black"><b>

Current Song:</b> '.$song[0].'</font></p>
<b>


<font face="verdana" size="1">
Last Song:</font></b>
<font color="black"><font face="verdana" size="1">
'.$song[1].'
</font>
</body>

</html>';
}
if($streamstatus == "0")
{
//you may edit the html below, make sure to keep variable intact
echo'
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<META HTTP-EQUIV="REFRESH" CONTENT="30;URL=radio_stats.php">
<link rel=stylesheet href="" type="text/css">
<title>Habbo Hotel Radio Is Curently Offline</title>
</head>

<body text="" bgcolor=""><STYLE type=text/css>
UNKNOWN {
FONT-SIZE: 10px; COLOR: #black; FONT-FAMILY: verdana
}
BODY {
BACKGROUND-COLOR: e9e6f4
}
A:link {
COLOR:; TEXT-DECORATION: none
}
A:visited {
COLOR: #363636; TEXT-DECORATION: none
}
A:hover {
COLOR: #363636; TEXT-DECORATION: underline
}
A:active {
TEXT-DECORATION: none
}
BODY {
FONT-SIZE: 10px; COLOR: e9e6f4; FONT-FAMILY: verdana
}
TD {
FONT-SIZE: 10px; COLOR: e9e6f4; FONT-FAMILY: verdana
}
TH {
FONT-SIZE: 10px; COLOR: e9e6f4; FONT-FAMILY: verdana
}
.style5 {font-size: 14px}
</STYLE>
<div><center><img src="offline.gif"></img></center></div>
</body>

</html>';
}
?></font>
</body>


The server is offline, but before yesterday, it didn't show any errors!
Thanks

 

 

 


Reply

bakr_2k5
Change this:
CODE
$scfp = fsockopen("$scip", $scport, &$errno, &$errstr, 10);
if(!$scfp) {
  $scsuccs=1;
echo''.$scdef.' Habbo Hotel Radio Is Currently Offline';
}

into
CODE
if(! $scfp = @fsockopen($scip, $scport, &$errno, &$errstr, 10)) {
$scsuccs=1;
echo''.$scdef.' Habbo Hotel Radio Is Currently Offline';
}


Hope that this helps!

bakr_2k5

Reply

riphabbo
Should Work, yes I am using HAMACHI, but the free version

EDIT
YAY! Thanks a lot!!!

Reply

bakr_2k5
Your welcome wink.gif

Yeah I thought so because of the IP smile.gif

bakr_2k5

Reply

riphabbo
QUOTE(bakr_2k5 @ Mar 26 2007, 09:01 PM) *
Your welcome wink.gif

Yeah I thought so because of the IP smile.gif

bakr_2k5


Can you just explain to me how the code works please, i want to learn this sort of stats coding.

Reply

bakr_2k5
The whole script or just the little part I gave you?

Reply

Latest Entries

riphabbo
QUOTE(bakr_2k5 @ Mar 27 2007, 02:39 PM) *
Ok, well I don't really have time right now. But I could point you to some good resources.
Here they come:
http://www.php.net
http://www.google.com/search?q=php
http://www.google.com/search?q=php+tutorial

Probably you might find some good tutorials on this forum or at the forum at astahost.com (related to trap17 and xisto) [[mods, if this isn't allowed please remove that line smile.gif]]

Good luck with your journey smile.gif

bakr_2k5


Once again, thanks! I'm still trying to make sense of the code sad.gif

Adam
Riphabbo Radio ~ Admin

Reply

bakr_2k5
Ok, well I don't really have time right now. But I could point you to some good resources.
Here they come:
http://www.php.net
http://www.google.com/search?q=php
http://www.google.com/search?q=php+tutorial

Probably you might find some good tutorials on this forum or at the forum at astahost.com (related to trap17 and xisto) [[mods, if this isn't allowed please remove that line smile.gif]]

Good luck with your journey smile.gif

bakr_2k5

Reply

riphabbo
QUOTE(bakr_2k5 @ Mar 26 2007, 10:07 PM) *
Ok ... Wel I'm going to bed now but I'll take a look at your script tomorrow and post the script with full explanation in this thread. I think I could manage to find a few good tutorials on the net but not now, tomorrow wink.gif

Anyway the best way to learn something is just toy with it, that's how everyone gets started I think (at least I do)... Just steal a script from somewhere and start editing it. Soon enough you'll see what this and that does, and eventually you know the biggest part of PHP and maybe other programming languages! smile.gif

bakr_2k5


Thanks! I'll check again tomorrow.

Reply

bakr_2k5
QUOTE(riphabbo @ Mar 26 2007, 11:01 PM) *
Either will do thanks, like I said, I want to learn it so whole would really help...

Ok ... Wel I'm going to bed now but I'll take a look at your script tomorrow and post the script with full explanation in this thread. I think I could manage to find a few good tutorials on the net but not now, tomorrow wink.gif

Anyway the best way to learn something is just toy with it, that's how everyone gets started I think (at least I do)... Just steal a script from somewhere and start editing it. Soon enough you'll see what this and that does, and eventually you know the biggest part of PHP and maybe other programming languages! smile.gif

bakr_2k5

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Pages: 1, 2
Recent Queries:-
  1. php tutorial fsockopen() errors - 522.35 hr back. (1)
  2. $scfp = @fsockopen - 540.57 hr back. (1)
  3. cache:6cxbkpvjwhij:www.trap17.com/index.php/freetype-gd-error_t39719.html "failed to open stream" a non blocking socket operation could not be completed immediately - 684.40 hr back. (1)
  4. php fsockopen post script - 896.43 hr back. (1)
  5. php fsockopen subdomain - 901.72 hr back. (1)
  6. php fsockopen error - 941.03 hr back. (1)
  7. php stopped fsockopen - 950.41 hr back. (1)
  8. fsockopen facebook error - 1022.37 hr back. (1)
  9. word press fsockopen error - 1033.05 hr back. (1)
  10. php fsockopen to secure - 1141.65 hr back. (1)
  11. fsockopen() [function.fsockopen]: unable to connect to ini fiel - 1157.55 hr back. (1)
  12. php fsockopen double mail - 1239.65 hr back. (1)
Similar Topics

Keywords : php, fsockopen, error

  1. Linux/ Apache /mod_rewrite Issue
    Error when accessing a file (4)
  2. Mysql Error
    (3)
    ok i need some more help from the wonderful coders here at Trap. I'm almost done with my CMS
    script, but i'm having a problem with the installer.php file, when it trys to inseret the user
    data into the database i keep getting the following error: CODE mySQL Error: You have an
    error in your SQL syntax; check the manual that corresponds to your MySQL server version for the
    right syntax to use near ';INSERT INTO `members` (`id`, `name`,
    `username`, `password`, `email`, `title`) ' at lin....
  3. Php Objects: Catchable Fatal Error
    There is a weird problem with objects in php 5.2.2 (4)
    in php 4.4.7 my code seems to be ok but in later version 5.2.2 i get this error Catchable fatal
    error: Object of class mission_rank could not be converted to string in
    /Applications/xampp/xamppfiles/htdocs/nexus/includes/forms/cn_reload.php on line 41 cn_reload.php
    include('../class/userClass.php'); session_start(); $app_user =&
    $_SESSION ; if ($app_user->character != false) { $race_letter =
    array('H','E','T','M','G'); $cn_id = 0; foreach
    ($app_user->character as....
  4. T_string Error Please Assist
    (5)
    I have unexpected t_strings in 3 lines they are CODE <?php // $Header$ //this
    script may only be included - so its better to die if called directly. if
    (strpos($_SERVER["SCRIPT_NAME"],basename(__FILE__)) !==
    false) {   header("location: index.php");   exit; } /* A basic library to
    handle a cache of some Tiki Objects, usage is simple and feel free to improve it */ class Cachelib
    {   var $folder;   function Cachelib() {         global $tikidomain;
            $th....
  5. How To Check If Fsockopen Function Is Enabled?
    (2)
    Hi, I have VPS (virtual private server) and I have access to php.ini file. Is there any script that
    will show that fsockopen function is enabled or where do I have to enable it? Searched google and
    here and couldn't find anything. Thanks! ....
  6. Phpbb2 Error
    recently showing up (4)
    I tried to install a mod. Did it successfully but didn't like the end result. So I went through
    the install backwards and reverted everything back to how they were. Now I am getting this error.
    QUOTE Warning: Cannot modify header information - headers already sent by (output started at
    /home/damen/public_html/phpBB/language/lang_english/lang_main.php:1034) in
    /home/damen/public_html/phpBB/includes/page_header.php on line 483 Warning: Cannot modify header
    information - headers already sent by (output started at
    /home/damen/public_html/phpBB/language/lang_english....
  7. Error On Emailer.php & Smtp.php At Phpbb
    ERROR on emailer.php & smtp.php at PhpBB (2)
    Are you use free webhosting??? smtp.php and emailer.php are general error on CMS like phpBB . It
    make email verification disabled.Why??? because free webhosting not allow us use smtp port .they
    afraid their server will atacking with spam !! so what solution to solve this problem?? You
    can search on google or join at phpBB forum !!! but if it can not solve all this problem
    it only able 1 trick ..you must download emailer MOD at www.phpbbhacks.com to inactive emailer.php
    or smtp.php ....
  8. Error With Joomla Template
    cant find function (1)
    Hello! I am working on my template in Dreamweaver and i am using joomla extensions for
    dreamweaver! When i start my page with joomla stand alone server(jsas) i get this errors on the
    bottom of the page! QUOTE Warning:
    mosloadcomponent(w:/www/Joomla/components/com_banner/banner.php) : failed to open stream: No such
    file or directory in w:\www\Joomla\includes\frontend.php on line 66 Warning:
    mosloadcomponent(w:/www/Joomla/components/com_banner/banner.php) : failed to open stream: No such
    file or directory in w:\www\Joomla�....
  9. Php - Fsockopen, Get, Etc - Help Needed
    (1)
    Hi I am writing a PHP script that gets the search results from here . I can get the results from
    the first page fine, but when I try to get the next page, it doesn't return the correct results.
    Try comparing the results from here , and searching for "Vampire" (In the "Name" text box) here .
    The first page of results is the same, but when you go on the the second page of results, they are
    totally different. This I think is because the "persist_search" (see the URI on the Planet Elder
    Scrolls Search) always seems invalid. Is there any reason why the PHP would get....
  10. [forum] Double Posting Happening By An Error
    (3)
    Hello, I am currently working on EvilBoard 0.1.1, for those who know about this project versjon 0.1b
    can be downloaded from http://www.evilservices.com Well over to the reason why i am posting this,
    I am currently experincing a problem with my new posting code wich has been rewrited in version
    0.1.1, You see, it is double posting by an error, i thouht i could fix that myself, but no, so i
    just thought, Trap17 is perfect, they problety know how to fix this, Here is the code: CODE
    <? /* * @Name: Post Topic * @Author: Arne-Christian Blystad * @Copyright&....
  11. Error Importing Sql Query Via Php
    Works in PHPmyAdmin (6)
    CODE     function sql()     {         $fp =
    fopen("sql.sql","r");         $sql =
    fread($fp,filesize("sql.sql"));         fclose($fp);
            return $sql;     } Thats $this->sql and here is the other source CODE
    function insert_sql()     {     if($_GET['insert'])  {
            $template = new template;         $db = new db;
            $db->connect();         $query = $this->sql();       ....
  12. Help Needed With Silly Error
    (8)
    Hi i have made a stupid error on one of my pages and having trouble finding it. It says unexpected
    ')' on line 114 can anyone please help me find it? Here is the page: CODE <? /** *
    * @package TibiaME Clan/Download Site * @version 1.00 2006/09/27 00:04:37 wappy * @copyright
    (c)2004-2006 wappyCULT * @home http://hack.s-60.org * @license You can use/modify this
    script but distributing it without permisinn, or removing the "Script By: wappy" link
    will invalidate your license and give wappy (wappyCULT) FULL RIGHTS to ....
  13. Detect Image Resolution Without Gd
    Also stop error if not found (1)
    Hi, I have come accross some starnge problem in PHP. I wanted to detect the image resolution in
    of a URL specified by the user. This is possible via getimagesize() function of PHP that is
    independent of GD library. But this function generates a E_WARNING Error if the image is not there.
    What shall i do to stop this warning ?? I dont want to show the Error in PHP style but my style of
    error reporting. Please help me.....
  14. Uglymonkey Toplist Script
    Getting an error with this script, please help. (7)
    I'm getting an error on the index page.Need help to fix it please. There's the error:
    CODE Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
    resource in /home/chatz/public_html/top/index.php on line 10 Failed: delete from
    uglymonkey_toplist where lastin < '2006-07-28 18:23:19' and total='0'
    Here's the index page that I'm getting the error on: CODE <?php
    include("config.php"); if ($purgedays>0){     $purgeseconds =
    $purged....
  15. Freetype, Gd And An Error
    I just can't get FreeType to work (1)
    Basically I have this code: CODE header("Content-type: image/png");
    $bgimg = "bg.png"; $im = imagecreatefrompng($bgimg); $number =
    rand(10,99); $textcolour = imagecolorallocate($im, 255, 255, 255);
    $font = "arial.ttf"; imagettftext($im, 65, 0, 5, 95, $textcolour,
    $font, $number); imagepng($im); imagedestroy($im);
    Unfortunately all I get is the blank placeholder for an image (or the red X if you still use IE)
    rathe....
  16. Php Form Help!
    Parse error T_LNUMBER - expecting T_VARIABLE (3)
    Hello, I am trying to make an employee application. I was just wondering if anyone knows how to spot
    a php code error, when the code directly around the line with the error looks the same. below is
    some of my process.php code. I beleive the error is on line 41. QUOTE PHP parse error: PHP
    Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in
    /home/wwwange/public_html/FORMS/forms/process.php on line 41 Process.php code: CODE
    <?php include("global.inc.php"); $errors=0; $error="The foll....
  17. Php Error When Running Script
    Php error when running script (3)
    Hello, I get the following error: Parse error: syntax error, unexpected T_STRING in
    /usr/local/psa/home/vhosts/club-amigos.co.uk/httpdocs/contact.php on line 44 when l run the
    following script: Any help would be appreciated. CODE <?php /* PHP Form Mailer -
    phpFormMailer v2.1, last updated 30th Nov 2005 - check back often for updates! (easy to use
    and more secure than many cgi form mailers) FREE from: www.TheDemoSite.co.uk Should work
    fine on most Unix/Linux platforms */ // ------- three variables you MUST change below
    -------------....
  18. Suppressing Mysql Error In Php
    How to suppress auto generated mysql err (4)
    I am testing my website on my local machine. It is still in development stage and I am using
    php/mysql. If there is a mysql connection error, I am checking for the connection variable and
    displaying a proper error message. But even before it displays my error message, it displays an
    error message on browser thrown by mysql (MySQL Connection Failed: Access denied for user). Can I
    suppress this message and display only my message?....
  19. Parse: Error Unexpected T_lnumber
    php parse error when running script (4)
    Hi. I've just created a php script. The main object of the script is to delete some old files
    and replace it with a new file with some new content, effectively moving the contents from one file
    to another. These are the first 50 lines of the file: /* Calculate For The "A" Group - The
    Latest Games ID */ $a_B = 002; while(file_exists("a_" . $a_B . ".dat")) {
    $a_B++; } $new_page_contents = " " . $_POST . " " . $_POST . "
    include \"/home/cmatcme/public_html/footer.php\"; ?> "; $a_stream = fopen(&....
  20. Parse Error
    unexpected $ (1)
    i have this code CODE <?php if($_POST['user']=="" or
    $_POST['pass']=="" or $_POST['host']==""
    or $_POST['root']=="" or
    !isset($_POST['run'])){  print('<form method=post
    name=form>');  print('FTP username <input type=\'text\'
    name=user value=""><br>');  print('FTP password <input
    type=\'password\....
  21. Phpbb Install Error
    help w/ phpbb plz.... (2)
    ok, i type in eveything that phpbbb asked to install, and i use the info i got in the mail and made
    a db, but it doesn't work at all.......instaed it says "An error occurred trying to update the
    database You have an error in your SQL syntax; check the manual that corresponds to your MySQL
    server version for the right syntax to use near ''' at line 1" what does this mean and
    how do i fix this and install the forum?? i have tried to install this many times now but it never
    works /sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' /> ......
  22. Validation Error No Insert
    (3)
    im having some trouble with this PHP Code: CODE while ($checking =
    mysql_fetch_array($check)){            $usr =
    $checking['loguser'];            $mail =
    $checking['logemail'];                                $error =
    "";                                            if ($mail == $email){  
                         $erroremail = "the email address you have chose is already taken";
                           $error = 1;                        }....
  23. Weird Error Messages In Opera
    (2)
    On the bottom of my site, I get weird error messages, but only in Opera (Not firefox or IE). The
    messages appears below the last include tag on my site, so they appear on the bottom of the page. I
    get two different messages: QUOTE ETag: "9e80b2- HTTP/1Date: Fri, 02 Sep 2005 11:48:28 GMT
    Server: Apache/2.0.52 (Unix) Connection: Keep-Alive Keep-Alive: timeout=1, max=98 ETag:
    "4b94ff-40c5-98ed0bc0" HTTP/1.1 200 OK Date: Fri, 02 Sep 2005 11:48:28 GMT Server: Apache/2.0.52
    (Unix) Last-Modified: Fri, 02 Sep 2005 11:48:26 GMT ETag: "4b9516-1be2-8a1f9680" Accept-Ranges: by....
  24. Error When Using file_put_contents()
    failed to call to undefined function (4)
    Hey all, I decided to write a script which writes some text to a file, but I have a problem when I
    execute the script, I get a fatal error: QUOTE(homepage) Fatal error : Call to undefined
    function: file_put_contents() in /home/cmatcme/public_html/afile.php on line 55 This is the
    code I'm using to write the file: $ipfnsdoc =
    "/home/cmatcme/public_html/afolder/afile.txt"; if (!is_readable($ipfnsdoc)) {
    echo "File cannot be read"; $stopload = 1; } if (!is_writable($ipfnsdoc)) {
    echo " \nFile can....
  25. Fatal Error
    something about [] and strings (3)
    I have this variable that I want to take the value of to use as an array, now it is a slightly odd
    variable it's one that I get by combinin a word and a number and then calling the information
    stored in that var, so ${${word . $number}}, anywho I get the following error Fatal
    error: operator not supported for strings in and then the path....
  26. Php Parse Error
    Including Variable in post (2)
    ok this is my config script that runs my site: CODE <? # Set up info for left column on the
    top page: # It should begin with html tag <td> and finish with tag </td>
    $top_leftcol=" <td width='195' bgcolor='#eeeeee'
     valign='top'> <table width='100%'  bgcolor='#777799' border=0
    cellspacing='0' cellpadding='0'> <tr><td> <font
    FACE='ARIAL, HELVETICA' color='#ffffff' size='-1'>  
    <b>MMORPG Trade Center<....
  27. Trouble With Emailer.php
    failed sending email error (6)
    Whenever someone registers at my forum, they get this error: Failed sending email :: PHP :: DEBUG
    MODE Line : 234 File : emailer.php however, the account will be sucessfully registered. It is
    weird because i did not change the original emailer.php at all. O__O||| anyone know whats up with
    it?....
  28. Session Start() Problem
    Need help with an error (5)
    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started
    at /home/ridouan/public_html/Reviews.php:5) in /home/ridouan/public_html/Reviews.php on line 6
    Can't seem to fix the error (im a php noob) So i'd appreciate some help /smile.gif'
    border='0' style='vertical-align:middle' alt='smile.gif' /> If you need it: Gamer Online then
    click on the Reviews link....
  29. What Does This Error Mean?
    on files and streams (3)
    Can anyone help me with this error? Warning: fopen(guests\guest.txt): failed to open stream:
    Permission denied in /home/leiaah/public_html/images/goguest.php on line 28 Warning: flock():
    supplied argument is not a valid stream resource in /home/leiaah/public_html/images/goguest.php on
    line 30 This is part of the code I wrote // open file for appending $fp =
    fopen("guests\guest.txt", 'a'); flock($fp, LOCK_EX); This works well with my
    offline server but I'm having the error after I published it and when I view it online. Help&....
  30. Mysql Error...i'm Getting Upset !
    i tried 4 times but nothing..help plz!!! (3)
    hi if u open my page http://danieluchis.trap17.com/blog/display.php it just opens one post of my
    blog..and i add it comments but it doesn't seem to function!!! the error is:
    Unknown column '4' in 'where clause' (which can be seen at the bottom right part of
    the page) here is ALL the display.php code CODE <?php // Put database connection
    variables here $hostname='localhost'; $user='xxxxx'; //'user name to
    access database'; $pass= 'xxxxx'; //'password'; $dbase='....

    1. Looking for php, fsockopen, error

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for php, fsockopen, error

*MORE FROM TRAP17.COM*
Similar
Linux/ Apache /mod_rewrite Issue - Error when accessing a file
Mysql Error
Php Objects: Catchable Fatal Error - There is a weird problem with objects in php 5.2.2
T_string Error Please Assist
How To Check If Fsockopen Function Is Enabled?
Phpbb2 Error - recently showing up
Error On Emailer.php & Smtp.php At Phpbb - ERROR on emailer.php & smtp.php at PhpBB
Error With Joomla Template - cant find function
Php - Fsockopen, Get, Etc - Help Needed
[forum] Double Posting Happening By An Error
Error Importing Sql Query Via Php - Works in PHPmyAdmin
Help Needed With Silly Error
Detect Image Resolution Without Gd - Also stop error if not found
Uglymonkey Toplist Script - Getting an error with this script, please help.
Freetype, Gd And An Error - I just can't get FreeType to work
Php Form Help! - Parse error T_LNUMBER - expecting T_VARIABLE
Php Error When Running Script - Php error when running script
Suppressing Mysql Error In Php - How to suppress auto generated mysql err
Parse: Error Unexpected T_lnumber - php parse error when running script
Parse Error - unexpected $
Phpbb Install Error - help w/ phpbb plz....
Validation Error No Insert
Weird Error Messages In Opera
Error When Using file_put_contents() - failed to call to undefined function
Fatal Error - something about [] and strings
Php Parse Error - Including Variable in post
Trouble With Emailer.php - failed sending email error
Session Start() Problem - Need help with an error
What Does This Error Mean? - on files and streams
Mysql Error...i'm Getting Upset ! - i tried 4 times but nothing..help plz!!!
advertisement



Php Fsockopen() Error



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE