Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> pomoc przy skrypcie otwierajacym logowane stronki?, raczej malo doswiadczenia... z php
kasi....
post
Post #1





Grupa: Zarejestrowani
Postów: 6
Pomógł: 0
Dołączył: 23.02.2006

Ostrzeżenie: (0%)
-----


witam

chcial bym napisac skrypt ktory by otwieral polaczenie ze stronka logowal sie na niej.... pozniej odczytywal dane ze strony i wysylal mi to np na poczte....

znalazlem:

http://pl.php.net/curl
http://pl.php.net/fopen
http://pl.php.net/manual/pl/function.fsockopen.php

ale z uzyciem mam juz maly problem...
raczej nigdy w zyciu nie pisalem w php i tu jest caly problem
ale znam asrmblera (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg) troche c+


a z php?
zainstalowalem programik php Webpage Editor i zaczalem pisac takie male skryptu ale jeszcze do czegos takiego nie doszedlem (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg) )

chcial bym zeby jakis dobry cierpliwy czlowiek mi pomogl napisc taki skrypt (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) ) hehee

albo zeby mi ktos cos podobnego napisal byl bym bardzo wdzieczny, mogl bym nawet zaplacic takiej osobie jakby dzialal dobrze (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg) ) skrypt


pozdrawiam i z gory dziekuje (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
kasi....
post
Post #2





Grupa: Zarejestrowani
Postów: 6
Pomógł: 0
Dołączył: 23.02.2006

Ostrzeżenie: (0%)
-----


witam

poraz kolejny (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg)

zaczalem na przykladzie ogame

zrobielm pliki
jak w

http://repository.hwao.be/subdomains/repos...ogame/start.php

Kod
    include( './ogame.class.php' );
    include( './httpRequest.class.php' );
    include( './httpResponse.class.php' );
    include( './Socket.class.php' );


no i mi sie pokazuje blad



Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in f:\zabawki\php\ogame.class.php on line 4

linia nr.4 w ogame.class.php
Kod
        private $sServerIp  = '';


pozniej






Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in f:\zabawki\php\httpRequest.class.php on line 26

linia nr.26 w httpRequest.class.php
Kod
        protected $Socket = null;







Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in f:\zabawki\php\httpResponse.class.php on line 4

linia nr.4 w httpResponse.class.php
Kod
        protected $Socket = null;







Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' f:\zabawki\php\Socket.class.php on line 7

linia nr.7 w Socket.class.php
Kod
        protected $sNewLine = "\n";



dlaczego to jest?


aha i po co tam jest index (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) po lewej?
http://repository.hwao.be/subdomains/repos...ogame/index.php
(IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) to mi chyba nie bedzie potrzebne?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 9.10.2025 - 12:49