31 Topics

Member Avatar for
Member Avatar for Borzoi

I've been trying to find a way to filter the Event Viewer in Windows by the description instead of the event type/source etc. I figure that i need to use the XML tab to customise it as there is no option in the basic filtering for what I want. One …

Member Avatar for GreenVomit8
0
4K
Member Avatar for Reverend Jim

I was just in the Hardware & Softwre Chat. Here are a few lines Mon 1:31 pm savedlema I see Reverend Jim here...you have answered so much of my difficult questions on VB.NET...Thank you so much. Mon 2:04 pm savedlema nobody is here..time expired? Mon 11:06 am DaveAmour Hi Mon …

Member Avatar for IntegratedTweak
1
363
Member Avatar for F-3000

I'm wondering is there anything specific I should take into account when writing CMS logging (debug/alerts) into a plain text file? To specify more what I have in mind, think of logging into SQL database, and how stuff need to be escaped to be sure there won't be injection-attack thru …

Member Avatar for Joel100
0
268
Member Avatar for driazi

Hi, I changed my wodrpress URL manually and after then i saved and loged out from admin panel . now i can't login to my wordpress Admin page after changing The URL 's and whenever i want to log in it redirects to other page that i changed in URL …

Member Avatar for cereal
0
385
Member Avatar for fheppell

When I open a page the page loads for a very long time and no errors appear in the logs. I've run it through a syntax checker which told me there was one more opening parenthasis than expected, but didn't give me a line number, so I have no idea …

Member Avatar for iamthwee
0
299
Member Avatar for liza_1

i need help for my project.. we are tasked to create a website yet i don't have codes for the LOG IN button can please give me ?

Member Avatar for EvolutionFallen
0
209
Member Avatar for Tobyjug2222

Hi there, Recently I've started using a client called Tribot which allows me to automate playing a game. The Client has been crashing (for example I was running 8 clients simultaniously last night) and one by one, they crashed over time and produced there error logs in the start-up directory …

Member Avatar for Tobyjug2222
0
1K
Member Avatar for Dhanish

Hi evry1, I am currently doing an assignment on a video streaming website where I need to register users, log them in and out, upload videos, stream them, comment on them, etc Everything works out fine just tat after some seconds my session gets killed automatically or should I say …

Member Avatar for LastMitch
0
966
Member Avatar for kjk86

Hello! I'm currently running in to an issue where I need to loop through a specific log file until a string of text occurs, which indiciates that I can continue on with the application. Here is my code and logic: Dim process As New Process() Dim serverLog As String Dim …

Member Avatar for Ancient Dragon
0
281
Member Avatar for angham kh

**hello every body i am trying to filter alog file witch is save as txt file on my computer so i want to filter the log file depend on a particular word and this word apper in 3 column but the column i want is th 3rd one for example …

Member Avatar for angham kh
0
1K
Member Avatar for rotten69

Hi there, I have been trying to fix the problem in the below code for a long time, it did work for me at some point. Then, it suddenly stopped storing user's details in a session. $user = $_POST['username']; $pass = $_POST['password']; $query = "SELECT username, password FROM USERS WHERE …

Member Avatar for diafol
0
208
Member Avatar for bcd16

Hello, i need your help. Does anybody knows the code for automatically records who logged in and the other users cannot edit what they have inputed, only the datas they input can be edited? i have the log in form already, and the database as well. the only problem is …

Member Avatar for bcd16
0
273
Member Avatar for da(code)da

So im trying to make a password login and im getting errors. i got past my Unable to jump to row 0 error with this: **mysql_num_rows($result) >= 1** but now it wont jump to the row when the password is correct ether :/ here is the code; whats wrong with …

Member Avatar for da(code)da
0
260
Member Avatar for Maha Sh.

Hi all, I am trying to write a code for logout, and I want to clear session My code Protected Sub Button2_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button2.Click Session.Abandon() Response.Cookies.Add(New HttpCookie("ASP.NET_SessionId", "logAccount")) Response.Redirect("WebForm5.aspx") End Sub and i want to disabling browser's to go back please hellp !!!!

Member Avatar for hericles
0
157
Member Avatar for |-|x

Hi all, I'm looking for a good tool for analysing Windows Server Event Logs. Basicaly, I want to be able to filter by types of entries or content, and search. If it has some smarts built in for things like highlighting suspicious behaviour that would be great too. I need …

Member Avatar for |-|x
1
277
Member Avatar for JasonWung

Hi, Can someone help me on this. I need to make here a log when request is start and when is end. I want to see how much time is taken for request/response. WebResponse response = webRequest.GetResponse(); //Console.WriteLine(((HttpWebResponse)response).StatusDescription); // Get the stream containing content returned by the server. Stream dataStreamResponse …

Member Avatar for arunkumars
0
205
Member Avatar for sw8revenge

gud day... i just wanna ask if someone could give me a sample code of a user's activity log ..where it records the time of login and logout of the user .. and also records the users deleted, created and updated data... .tnx :D and should i also create a …

Member Avatar for sw8revenge
0
1K
Member Avatar for iamthesgt

In working on a logfile for an application, I needed to limit the size of the logfile to 1000 bytes. Since it is not possible to delete lines from a file in C++, I used the following steps: Rename the logfile to a temporary name. Read the temporary file. Write …

Member Avatar for iamthesgt
0
220
Member Avatar for jbutardo

Just want to ask, how can i create a log file on vb.net, what libraries should i need for this to work,. thanks

Member Avatar for jbutardo
0
18K
Member Avatar for nikita.

I have to run a shell script and store whatever is performed in it into a log file. the path can be altered for the log file. how can i do that ?

Member Avatar for nikita.
0
4K
Member Avatar for iamthesgt

I am writing a program that writes log entries to an external text file and returns them upon request. When called, the return function should output the log entries between two user- submitted dates or outputs the last 100kb of the file if that's what's requested. The logfile stores each …

Member Avatar for raptr_dflo
0
195
Member Avatar for iamthesgt

In writing a logger for an application, the datestamp ends up adding a new line. The datestamp function is as follows: [CODE]string log_class::get_time() { time_t rawtime; time (&rawtime); string timestamp; timestamp = (ctime (&rawtime)); return timestamp; } [/CODE] This outputs something like [ICODE]Tue Sep 6 14:58:35 2011[/ICODE], but when called …

Member Avatar for NathanOliver
0
738
Member Avatar for uvaryani

Hi, I am new in a python2.7. Please help how efficiently we parse and store the fields in dictionary for later retrieval. my log file example #Version: 1.0 #Fields: date time c-ip s-dns x-proto s-parser cs-resource s-resource sc-response-code sc-response s-candidate-ips x-preferred-location x-location cs-user-agent s-ip c-port #Software: vx-logfeed 1.3 #Start-Date: 2011-04-20 …

Member Avatar for woooee
0
278
Member Avatar for Bubbleboy

I recently wrote a java jar file that takes the current date and time and puts it into a text file. What i want to do is put this into a users startup folder so i know when they got on to the computer. However, if the jar is in …

Member Avatar for Bubbleboy
0
3K
Member Avatar for ahmedams

Introduction How to capture the errors from application and write it in a log file. We have to mention the directory path in Webconfig file. Background This code is to capture the error log in log file with all information. The code Code: CSharp [CODE] public class LogError { private …

Member Avatar for C#Jaap
0
766
Member Avatar for katokato

i have netbook with 4gb ssd for windows installation. i need to reinstall it so the documents and settings is on main hard drive (100gb) and program files are also on main drive. got my xp installation, and I extracted iso into actual folder with winrar, searched for WINNT.sif i …

Member Avatar for gerbil
0
378
Member Avatar for killerpopiller

Problem with storing extracted values in SQLite - How to adress or index list of values for proper insertion into table. The Regex works fine: input logging data looks like: 0.0.0(06026104) 1.6.1(0.1501)(1011111000) 1.6.1*32(0.1446)(1010190800) 1.8.1(02484.825) 1.8.1*32(02449.574) correct regex output: 06026104 0.1501 02484.796 [CODE] with open("usage.log") as fp: for line in fp: …

Member Avatar for killerpopiller
0
239
Member Avatar for sallubhai

Hi, Is there anyone who know which complexity these functions are? I mean O(n), O(n^2), O(n^3), n log(n) or log(n) 1. --------------------------------------------- [CODE]void bogosort_array(double a[], int length) { do shuffle_array(a, length); while (! is_array_sorted(a, length)); }[/CODE] 2. --------------------------------------------- [CODE]void reverse_string(char* s) { int n = strlen(s); for (int i = …

Member Avatar for sallubhai
0
205
Member Avatar for Noorul Ariff

Hi friends... My friend s doing an online project... He wants to know how many users(REGISTERED) are LOGGED-IN CURRENTLY in his site... i.e if i'm ADMINISTRATOR of this DANIWEB, i want to know the USERS CURRENTLY LOGGED-IN... I need the logic for this... Help me... Thanks in advance...

Member Avatar for diafol
0
119
Member Avatar for vgkarthi

I have a new requirement telling me to roll out the log every 8 hours.. I mean.. a new log file must be created every 8 hours.. taking back up of previous logs Is is possible in log4j.prop As far i have searched in Internet, rolling out every 1 hour …

0
97

The End.