ThinkPHP problems, please help me to see if I was just using ThinkPHP. I am not familiar with ThinkPHP many places. now I have made an upload file and want to save the path of the uploaded file to the database. However, after debugging is enabled, I can store the file to the database normally. After debugging is disabled, the local path of the file is empty. why ??? The local path format is as follows: C: AppServwwwExtendABL. sys
I was just using ThinkPHP, but I am not familiar with it in many places.
Now I have made an upload file and want to save the path of the uploaded file to the database. However, after debugging is enabled, the file can be saved to the database normally,
After I disable debugging, the local path of the file is empty. why ???
The local path format is as follows:
C:/AppServ/www/Extend/ABL. sys
I am wondering if THinkPHP will check the data to be added after debugging is disabled?
What should I do if I want him to properly store the database?
------ Solution --------------------
Clear the cache first, and disable TP debugging using the cache. I have encountered this problem before.