Search:

Type: Posts; User: Newbie89; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Re: Easy installation of LASP (Linux, Apache, SQLite and PHP)

    How to install LASP in chroot?
  2. Replies
    2
    Views
    282

    Re: How to keep data each 1 minute?(looping)

    I have moving the sleep(1); outside the if loop.I want it to perform continuously like keep data for 1 minute,then delete it and insert again for another 1 minute.Repeatably.
  3. Replies
    2
    Views
    282

    How to keep data each 1 minute?(looping)

    How do I keep data for each 1 minute?I think insert query first and then delete each times.Can some help me check and recorrect my code?



    I try and found that something wrong in my code.In my...
  4. Re: How to use function call in C language access in sqlite3 database?

    I have try to learn accessing sqlite in c language...But my problem now is dunno how to link...
  5. How to use function call in C language access in sqlite3 database?

    let say in my C language I have


    pcap_loop(handle,1,ProcessPack, NULL);




    in my main program.In this function can get data that I need...
    how to link ProcessPack function so that to...
  6. Re: How to link the packet in C file then store in sqlite database?

    Thanks for your advice...I have a tutorial which store data manually using sqlite3 and c...I can create table and store data using insert query to make it...now I'm doing enhancement on network...
  7. Re: How to link the packet in C file then store in sqlite database?

    Hi,
    sorry for the info not clear,I wanna ask how to store data in the database.The packet data is captured from the HUB to the Host,I need to link them to store directly to my database.
    My table...
  8. How to link the packet in C file then store in sqlite database?

    Here is the code I need to focus:




    how to do from c file to link with sqlite to store into databse?thanks
  9. Re: How to convert log file data into sqlite database?

    Is it just identify the variable in the C file then create a table only to link it?Let say my C file got this variable as shown below:

    struct HOST
    {
    char Src_MAC[18];
    char Src_IP[16]; ...
  10. Re: How to convert log file data into sqlite database?

    thanks for the information...can you show me the example of "create a table in sqllite with all the attributes of your log file, e.g. severity, date/time, source code line, error mesage."
    I'm not...
  11. How to convert log file data into sqlite database?

    previously is used log file to save data. Now I need to identify the variables which need to logged and save into sqlite database.Any idea on how to start?thanks
  12. Replies
    10
    Views
    687

    Re: Execute the file in minicom(SBC)

    yeah...I finally solve the problem...I found that the lib of sqlite3 is on usr/local/lib...so I just copy the lib of sqlite3 into the usr/lib...:)
    My I know why the usr/lib is the main but not the...
  13. Replies
    10
    Views
    687

    Re: Execute the file in minicom(SBC)

    yaya...i'm in the chroot...any idea?I found that the lib of sqlite3 is on usr/local/lib...when I execute,It say not found...is it need to make the lib in usr/lib/ or what?
  14. Replies
    10
    Views
    687

    Re: Execute the file in minicom(SBC)

    sorry for my mistake...I think u think mine is work on the normal terminal...my terminal works fine...Now my problem is to compile sqlite3 in kernel environment(bash-2.05a#).
    I found that...
  15. Replies
    10
    Views
    687

    Re: Execute the file in minicom(SBC)

    ya

    hong@ubuntu:~$ ldconfig -v | grep sqlite
    /sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once
    /sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once...
  16. Replies
    10
    Views
    687

    Re: Execute the file in minicom(SBC)

    Hi,thanks for your reply.
    I found the file under /usr/lib...

    what can I do to solve the problem?:)
  17. Replies
    10
    Views
    687

    Execute the file in minicom(SBC)

    I'had find some problem when execute the file.As shown below:

    error while loading shared libraries: libsqlite3.so.0: cannot open shared object file: No such file or directory

    How can I fix the...
  18. Replies
    1
    Views
    433

    Re: Cross Compile SQLite3 inside the SBC

    May I know that how to install the sqliteman inside the sbc?Because my project need it...
  19. Replies
    9
    Views
    704

    Re: Can check my sqlite problem?

    Thanks for ur correction...It's work:p
  20. Replies
    9
    Views
    704

    Re: Can check my sqlite problem?

    Thanks for the hints...
    Now I have the problem...as shown below

    #include <stdio.h>
    #include <sqlite3.h>
    #include <stdlib.h>

    static char *createsql = "CREATE TABLE Employee(" "ID INTEGER...
  21. Replies
    9
    Views
    704

    Re: Can check my sqlite problem?

    Let say I wanna give the user to key in the input to insert the data as above...

    Such like this,

    printf("Enter the number of data to be inserted\n");
    scanf("%d",&x);

    ...
  22. Replies
    9
    Views
    704

    Re: Can check my sqlite problem?

    schragge,thanks for kind help.:p
  23. Replies
    9
    Views
    704

    Can check my sqlite problem?

    Source code:

    #include <stdio.h>
    #include <sqlite3.h>
    #include <stdlib.h>
    static char *createsql = "CREATE TABLE Employee(" "ID INTEGER PRIMARY KEY," "Name VARCHAR(10)," "BadgeID...
  24. Replies
    1
    Views
    433

    Cross Compile SQLite3 inside the SBC

    May I know the step of cross compile the sqlite inside the single board computer(SBC-TS5500)?I have done my code on the terminal.Now I need the guide on cross compile and then to test my sqlite code...
  25. Replies
    6
    Views
    1,086

    Re: Semicolon cannot terminate the statement

    Usually the problem won't occur like this right?...I think maybe the method of cross-compile make it no response...Just suspect only...Do you guys know how to cross-compile the sqlite inside the...
Results 1 to 25 of 45
Page 1 of 2 1 2