Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 12, 200817 yr I am greeting, I would like to do logs of errors on my side. Yes how it is in IPB that he is writing logs and errors down to the file. cgi Would I be able to obtain more information for this subject? I am greeting, DawPi
January 12, 200817 yr The logs are in the /cache directory :) Connect to your site using FTP and look inside the /cache folder and you will see the logs :)
January 12, 200817 yr Andyf, i know where is it. but i aks how to make this system/mod in my site ( no ipboard ) :)
January 12, 200817 yr Im not sure what you mean , sorry :unsure: I have the page leaned against the database. I would like to do in this book this way: in order to after the occurrence of the error from SQL, this error signed up for the file for me. cgi Yes how it is in IPB:) Do you understand now? Oh, Happy Birthday :thumbsup: Thank You :) ^_^
January 12, 200817 yr Its very simple PHP, it just uses the common file functions fopen(), fwrite(), and fclose(). They just set it up to put text inside it :-) Heres a example i just came up with$handle = fopen( 'path/to/file.cgi', 'w' /* means it allows fopen to write to that file, and if it doesnt exist, it creates it */ ); $content = 'whatever content needs to go inside the file'; fwrite( $handle, $content ); fclose( $handle ); That would produce a file called file.cgi in the correct folder (path/to) with the content 'whatever content needs to go inside the file'
Archived
This topic is now archived and is closed to further replies.