The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Create a php file and put it in the database - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28)
+--- Forum: Documentation (https://userspice.com/forums/forumdisplay.php?fid=30)
+--- Thread: Create a php file and put it in the database (/showthread.php?tid=412)



Create a php file and put it in the database - picassoo - 01-01-2017

Create a php file and put it in the database:

How can I create a php file format, and after to see in the database, like permissens page, from the beginning ???
and in the php file, to be php script format.


Create a php file and put it in the database - mudmin - 01-01-2017

Are you trying to store a list of all your filenames in the database?

If you edit z_us_root.php in the root folder you can add additional folders that you want userspice to monitor.

If you are trying to do something different with that info, you can see at the top of admin_pages.php, starting at line 42, we are taking a specific path (in this case it comes from the z_us_root.php file, but you could do anything). Then we search for all the php files in that path. If they're in the database, we skip them. If not, we add them.


Create a php file and put it in the database - picassoo - 01-02-2017

Hi, yes I need to store all the links and, create folder depend on date and name.


Create a php file and put it in the database - picassoo - 01-02-2017

I like to upload files, and open the file from specific folder