Raised This Month: $51 Target: $400
 12% 

[PHP] Display file on my webpage ..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
speedykiller2012
Senior Member
Join Date: Jun 2014
Old 08-07-2016 , 10:32   [PHP] Display file on my webpage ..
Reply With Quote #1

Hello Brothers ,
i found a php codes for displaying banlist.txt file on my webpage ..
i m trying to find something that can display all txt files for example adminlogs.txt or anyother?.
i knw this is the wrong place for asking any help in PHP but still i always get good answer from here Can any one help me?
speedykiller2012 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-07-2016 , 15:10   Re: [PHP] Display file on my webpage ..
Reply With Quote #2

If it gets the ban list via rcon then you can't actually get any files using that method. To access files on your server, you would need to use FTP to get to them. This assumes that you have a hosted server.

If you host your own server and webserver on the same computer, you could do some internal modifications (e.g. symlinks or web server configuraitons) to allow your web server to access those files.
__________________

Last edited by fysiks; 08-07-2016 at 15:11.
fysiks is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:47.


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