Raised This Month: $ Target: $400
 0% 

LongText


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 03-21-2011 , 11:17   LongText
Reply With Quote #1

Where can i store somewhere a long text [all Players Chats, Kills... etc (LOGS)]... and after that to upload it on a MySQL Field, ? [No .txt]
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
Old 03-31-2011, 17:34
ProIcons
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 04-22-2011 , 11:38   Re: LongText
Reply With Quote #2

bump
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-22-2011 , 11:40   Re: LongText
Reply With Quote #3

Write data to vault, txt file, binary file, or sql db.
__________________
Bugsy is offline
Nyuszy
Senior Member
Join Date: Apr 2009
Old 04-22-2011 , 12:02   Re: LongText
Reply With Quote #4

you can write log directly to a remote mysql
Nyuszy is offline
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 04-22-2011 , 13:12   Re: LongText
Reply With Quote #5

If i write them in MySQL the lag of the server will be raise to 1000

Bugsy, i can store them on a text file but after that how can i upload them to MySQL ? all the lines together with crlfs
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-22-2011 , 13:24   Re: LongText
Reply With Quote #6

Just store data with crlfs then send all data in one packet?
__________________
Bugsy 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 14:31.


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