SA-MP Forums Archive
help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: help (/showthread.php?tid=449825)



help - God'Z War - 10.07.2013

hi all
i am looking for a person who know php. i am getting some problem in my samp server signature . so i need help to fix

so if any one know php plz pm me


sorry for my bad english


Re: help - godkrad - 10.07.2013

isn't it easier you tell what your problem is? So somebody can help you right here


Re: help - God'Z War - 10.07.2013

i got this error on serevr signature php


here is the code which showing error


Код:
$ip = $_GET["ip"];
$port = $_GET["port"];
error :

and i am using sampqueryapi

when i remove $_GET
on the error line like
Код:
$ip = "ip";
$port = "port";
that time i am getting error form sampqueryapi

error:


Re: help - Misiur - 10.07.2013

Quote:

when i remove $_GET

Oh boy. $_GET is global array containing all data passed in url, like:
http://foo.bar?foo=bar&foobar=bar%20foo
Then you have
Quote:

array(
'foo' => 'bar',
'foobar' => 'bar foo',
);

So, if you see that index is undefined it means you have to pass the parameter via url, like:

http://localhost/script.php?ip=127.0.0.1&port=7777


Re: help - God'Z War - 10.07.2013

Misiur if i send u the script

can u fix it for me


plz


Re: help - Misiur - 10.07.2013

I'm not helping outside forums for free. All you have to do is to open index.php?ip=XXX.XXX.XXX.XXX&port=7777