AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Save data on the web page (https://forums.alliedmods.net/showthread.php?t=324401)

alferd 05-15-2020 05:05

Save data on the web page
 
Is there a code to save the list on the web page?


PHP Code:

1. format(configsDir63"%s/users.ini"configsDir

PHP Code:

2. cmdaccess.ini 

PHP Code:

3. plugins.ini 

----->

Code:

1. xxxxxx.xxx/users
Code:

2. xxxxxx.xxx/cmdaccess
Code:

3. xxxxxx.xxx/plugins

thEsp 05-15-2020 05:56

Re: Save data on the web page
 
I really don't understand what is your purpose (due to weak description), but you can actually if you know how to work with sockets/PHP or SQL/PHP.

alferd 05-15-2020 06:25

Re: Save data on the web page
 
Quote:

Originally Posted by thEsp (Post 2700256)
I really don't understand what is your purpose (due to weak description), but you can actually if you know how to work with sockets/PHP or SQL/PHP.

I want the server information to be displayed on the web page
And I can change them through the web page

PHP Code:

format(configsDir63"%s/users.ini"configsDir) -TOformat(configsDir63"http://xxxxxx.xxx/users.ini"


thEsp 05-15-2020 06:35

Re: Save data on the web page
 
Did you even bother to read what I said? SQL (along with PHP, if needed in your web-page) is used to communicate with databases and read/write data. SQL isn't FTP, not in Pawn at least. So, you have to sort the content in your desired files and upload it to your database. But if you again insist, then you have to use a 3rd-party module.

elmedin 05-15-2020 12:38

Re: Save data on the web page
 
If you want to make admins from ur webpage just download amxbans, it has php and everything, admins/bans will be stored on your website, you could also make the admin list visible and other people can see whos admin and whos not

alferd 05-15-2020 13:30

Re: Save data on the web page
 
Quote:

Originally Posted by elmedin (Post 2700334)
If you want to make admins from ur webpage just download amxbans, it has php and everything, admins/bans will be stored on your website, you could also make the admin list visible and other people can see whos admin and whos not

Tnx :D


All times are GMT -4. The time now is 16:56.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.