Run PHP code inside plugin.
Im wondering if its possible to run a php code inside a plugin. Without opening motd.
For example if someone connects to the server a php code will run. HTML code? Withou opening motd. |
Re: Run PHP code inside plugin.
I don't know if that's possible, but it sounds suspicious.
What does the code do? |
Re: Run PHP code inside plugin.
No. A plugin is not a web server. Explain what you are trying to do.
|
Re: Run PHP code inside plugin.
You can't run PHP code through plugin, that's for sure.
HTML code will run but you are limited to 1536 characters iirc. Best solution is to place your .php file in your web server and in MOTD paste URL. |
Re: Run PHP code inside plugin.
HTTP GET/POST query on the php script address should do the trick. assuming you want to run the script on your webserver and not on the HLDS
|
Re: Run PHP code inside plugin.
Quote:
|
Re: Run PHP code inside plugin.
Quote:
|
Re: Run PHP code inside plugin.
I would love it if it were possible to somehow internally link events in the MOTD to a plugin. I have a use case for this. But unfortunately, it can't :(.
|
Re: Run PHP code inside plugin.
Quote:
|
Re: Run PHP code inside plugin.
Quote:
|
| All times are GMT -4. The time now is 04:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.