Page 1 of 1

another php question

Posted: Sun Apr 13, 2008 9:48 pm
by thecobra
does anyone know how to make a php that connect to a socket program(visual basic or c) and get some info and then post it in html form on the web

basicly a server info script in php

also does anyone know how to make a game in php?
or at list a tutoring showing this?

Posted: Tue Apr 15, 2008 3:12 am
by Tails5
Haven't read right through the page, but there are some on http://www.pixel2life.com/tutorials/php ... _creation/

Posted: Tue Apr 15, 2008 11:53 am
by thecobra
Tails5 wrote:Haven't read right through the page, but there are some on http://www.pixel2life.com/tutorials/php ... _creation/
thanks
it help me on the game part but i still dont see socket type of program
let me keep on checking

Posted: Wed Apr 16, 2008 4:54 am
by Tails5
I don't think there are any socket things on that, but it has the game thing, for opening sockets in php, go to http://docs.php.net/manual/en/function.fsockopen.php and http://docs.php.net/manual/en/function.pfsockopen.php

Posted: Thu Apr 17, 2008 12:05 pm
by thecobra
Tails5 wrote:I don't think there are any socket things on that, but it has the game thing, for opening sockets in php, go to http://docs.php.net/manual/en/function.fsockopen.php and http://docs.php.net/manual/en/function.pfsockopen.php
thanks i will check it out today

Bien, c'est une bonne idée!

Posted: Mon Aug 03, 2009 3:05 am
by fghi214
Bien, c'est une bonne idée!

php

Posted: Fri Aug 07, 2009 10:43 pm
by Gebbo
Tails5 wrote:Haven't read right through the page, but there are some on http://www.pixel2life.com/tutorials/php ... _creation/
This might come in handy, thank you

another php question

Posted: Thu Feb 23, 2012 11:05 pm
by gotHoadaHix
Hi all,
ok, this forum has an RSS feed. And What I am trying to do is to figure out how to have a reader on the index page at my web site so that I can display the feed on other pages of my web site if I want to.
I read that the best way is to use a PHP script so that the search bots can read the feed. Does anyone know of a good script or how do I do this ?

-

Posted: Tue Jan 25, 2022 4:54 pm
by Williamundib
Hi,
Hey there,

I have a class A that uses class B. Class B also uses class A. This is recursive and am wondering if you can redefine PHP classes like in C.

class A

class B
private classA;

public function __constructclassA
this->classA = classA;


public function someFunc echo blah;


class A
private classB;

public function __constructclassB
classB->someFunc;