#10

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
So.. Why do you save /pm in PHP? Why you don't write basically logs in a .txt or .log file ?
/pm cannot be saved in PHP, what he wants to do is to send a HTTP request to a php file that basically inserts it into the database, rather than doing it in the script. I don't think this should be of too much workload on your server considering the fact that they are threaded (yeah, even though most queries are - you could always look whether or not your queries are efficient if you notice that they take a lot of time, in a lot of cases they are not.

I haven't really worked with the HTTP function and just searched it up now, but it does seem like it should be possible. Whether it's worth doing or not I don't know, you would also have to check if it's valid somehow - coming from the script (in case someone finds the page etc), but this is something I don't know too much about so I won't comment on this.
Reply


Messages In This Thread
http - by MerryDeer - 03.11.2016, 18:06
Re: http - by MerryDeer - 03.11.2016, 23:12
Re: http - by 4D1L - 03.11.2016, 23:42
Re: http - by Dignity - 03.11.2016, 23:44
Re: http - by MerryDeer - 04.11.2016, 06:49
Re: http - by Dayrion - 04.11.2016, 09:10
Re: http - by MerryDeer - 04.11.2016, 09:53
Re: http - by MerryDeer - 04.11.2016, 10:01
Re: http - by Sithis - 04.11.2016, 10:39
Re: http - by CXdur - 04.11.2016, 11:48

Forum Jump:


Users browsing this thread: 2 Guest(s)