Search:

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

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    936

    Re: How to use php-gd with sqlite3?

    Hi,

    Why don't you show us what you have so far, so we can point you in the right direction... :)

    Cheers!
    Gp
  2. Replies
    8
    Views
    2,614

    Re: How does html code work?

    The validation routine is a JavaScript function called "validateForm".

    Now have a look at the last <input> in the <form>... specifically where it says: "onclick="return validateForm();". That's...
  3. Replies
    3
    Views
    3,713

    Re: How to enable sqlite3 with the php5.3?

    Hey,

    No, you can use the SQLite3 class to do it.

    First, check that you've reloaded Apache after installing:


    sudo service apache2 reload

    Then you can test it with the following code,...
  4. Replies
    3
    Views
    1,961

    Re: Conky and Rss Feed

    Hey,

    You can definitely use Lua[1] or Bash[2] to process the RSS a little before displaying it. If I remember correctly, there is very good support for Lua scripts in Conky, and the language has...
  5. Replies
    2
    Views
    817

    Re: include_once not working

    Hey,

    Just to add to SeijiSensei's answer above, your script is looking for the files in the parent directory of the index.php file ... that's what the "../" means at the beginning of the file...
  6. Re: How to store continuous data inside the sqlite database by using C language to ac

    well, it sounds like maybe you'd want to combine INSERT and UPDATE queries... the INSERT to create the records in the first place, and UPDATE to, well, update them :)

    Still, we don't really know...
  7. Replies
    3
    Views
    3,713

    Re: How to enable sqlite3 with the php5.3?

    Hey

    Do you have sqlite library for php installed on your system?


    sudo apt-get install php5-sqlite

    Cheers,
    Gp
  8. Replies
    3
    Views
    650

    Re: How to draw graph using Ajax?

    Some questions to help you get started (because programming is generally about taking a big problem, and turning it into lots of little ones):

    1. how are you going to access the DB?
    2. how are...
  9. Re: How to store continuous data inside the sqlite database by using C language to ac

    This would seem like a logical place to start, but a clear explanation of your question would really help us help you!

    http://www.sqlite.org/cintro.html

    Cheers
    Gp
  10. Replies
    3
    Views
    650

    Re: How to draw graph using Ajax?

    Hey, sounds like you're not familiar with the term (and doing probably homework... )

    ...so my advice would be to first check out what AJAX actually means[1], then have a look at the php functions...
  11. Replies
    6
    Views
    601

    Re: Help with Python CGI !!!

    Hi!

    Well... without the third " it's not actually valid python (3 x " to open requires 3 x " to close), and so fails to compile! :)

    Also, consider the quotes you're using. As you have...
  12. Re: PHP / ajax Display size of sql table (always display current size)

    hey! Brilliant! :) It's not that complicated once you get your head around the flow, eh? :)

    Don't forget to mark the thread as "solved"... ;)

    Gp
  13. Re: PHP / ajax Display size of sql table (always display current size)

    no worries, glad to help :)

    In terms of returning the values, just an echo at the end of the script should do it.. in fact, you should be able to test it by simply opening the page with your...
  14. Replies
    4
    Views
    1,061

    Re: html5 and cpu 100%

    As far as i know there are no such checks on cpu/gpu temperature by browsers... and the statement about hardware acceleration support; where are you getting that from?

    Can you post some links to...
  15. Re: PHP / ajax Display size of sql table (always display current size)

    Hey,

    Should be simple to write a simple php script that queries the DB, and returns the number of active users, and then call from your page it over ajax. You'd need to think about:

    1. the...
  16. Replies
    4
    Views
    1,061

    Re: html5 and cpu 100%

    Hey there,

    Can you post some links to these tutorials? that way we can try to see the problem on our own machines! :)

    cheers
    Gp.
  17. Replies
    6
    Views
    590

    Re: awk question: grouping 3 columns

    Hi!

    Maybe I'm oversimplifying it, but it almost seems like you might be able to do it by using the commands:


    sort file.txt | uniq -c

    Which will tell you the count of each unique line in...
  18. Replies
    11
    Views
    1,059

    Re: XAMPP/LAMPP like stack for java and python

    Ok, understand now, though I'm not aware of anything along those lines.

    What optimisations are you making to the DB that means you can't use MySQL or Postgresql with it?

    Cheers,
    Gp
  19. Replies
    11
    Views
    1,481

    Re: Ubuntu VPN + SSH

    Apologies, I had misunderstood :)

    Are you able to run a SSH command from the remote box? You could use that to set up a reverse SSH tunnel from machine A to machine B:

    The command that needs...
  20. Replies
    11
    Views
    1,481

    Re: Ubuntu VPN + SSH

    Hi!

    Might be a silly question, but if you already have access over SSH, why do you need the VPN?

    Configure your SSH server properly [1], particularly preventing root login, and tie it all down...
  21. Replies
    11
    Views
    1,059

    Re: XAMPP/LAMPP like stack for java and python

    Hi,

    Not sure what's wrong with tomcat... Once it is installed (and you can see how easy that is on the links I sent) you need to do absolutely no configuration on it to have a working java...
  22. Replies
    11
    Views
    1,059

    Re: XAMPP/LAMPP like stack for java and python

    Hi!

    I don't think there's any direct equivalent, but for Java you can have a look at the tomcat[1] webserver, and which is in the repositories[2] and simple to set up and administer[3]. Once you...
  23. Replies
    3
    Views
    788

    Re: Javascript Replace Problem

    cool, no worries! :) Don't forget to mark the thread as solved (I think it's in the thread tools options.)

    Cheers!
    gp
  24. Replies
    3
    Views
    788

    Re: Javascript Replace Problem

    Hi!

    Firstly, (and sorry to not tackle your problem directly), I would consider rewriting your functions to make it easy to read, and extend... something like the following:


    function...
  25. Re: Run an application from different machine

    ...EDIT: Sorry, just noticed the post above. Will drink more coffee.

    Hi,

    ssh allows you to pass a command at the end of the statement; this command will be run on the remote server, and the...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4