in php just take custome word from line -


hi guys know simple question cant solve have line , want php change on in line ip , port , password can changed anything.

$mod = +connect "79.175.163.234:27015" +password "" 

and need part :

+connect "ip:port" 

and if ther word password other password return this:

+connect "ip:port" +anything-can-be-here "" 

// plus not allowed  concatenation string in php can use dot (.) <?php         $ip = "79.175.163.234:27015";         $password = "123456";         echo $mod .= "connect ".$ip." ".$password; ?> 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -