Search results

  1. descalzo

    include() does not work

    Which version, PHP 0.2 ? Seriously, you come across as someone who doesn't know what he is talking about. YOU: include($_SERVER['DOCUMENT_ROOT'.'/header.php'); CORRECT: include($_SERVER['DOCUMENT_ROOT'].'/header.php'); You really can't see the difference?
  2. descalzo

    Count to 1 Million

    1628
  3. descalzo

    The Ctrl+V game

    ff_stats/analyse/analyse.php
  4. descalzo

    Locate php.in file on server

    Three reasons. 1. Free 2. Free 3. Abuse of "Free" by too many people
  5. descalzo

    Crons don't work

    /usr/local/bin/php /home/mkbit/www/ff_stats/analyse/analyse.php Do not put in quotes. Make sure /ff_stats/analyse/analyse.php is the correct path. Try running it from yoursite.com/ff_stats/analyse/analyse.php
  6. descalzo

    How to enable file upload forms?

    Your form is pointing to a restricted directory. If you look at the actual HTML for the form, you should see something like <form action='something' method='post' .....> Please tell us what 'something' is.
  7. descalzo

    How to enable file upload forms?

    You mean uploading files from the File Manager?
  8. descalzo

    Is there a 'MySQL Connector/J' ?

    You cannot connect to your x10 mySQL database remotely by any method. That feature has been disabled.
  9. descalzo

    cgi + Perl

    Also, a good habit to get into is to add: use CGI::Carp qw(fatalsToBrowser ); use strict; At the top your perl scripts. The first will put out some extra information if there is a problem and the second forces you to 'declare' your variables, catching spelling mistakes.
  10. descalzo

    Word Association

    Oz .... (close to NZ)
  11. descalzo

    Question game

    Would Watson be jealous?
  12. descalzo

    What Perl libraries/modules are installed on chopin?

    Install and run: http://webnet77.com/scripts/list-modules/ Yes, DBD::mysql is installed. But to check if XXX is installed, just make a basic script, add use CGI::Carp qw(fatalsToBrowser ); use XXX; to the top and it will tell you if XXX is not installed. And remote mySQL is...
  13. descalzo

    Game: Ban the Person above you!!!!!!!!!!!

    Banned for being insignificant.
  14. descalzo

    API Testing

    Penguin Latin, I suppose.
  15. descalzo

    Dynamic Image

    Please note you can adjust the size of the image, the margins, the background color, the colors for + and -, and the vertical line. Experiment to see what looks right. You could also draw a border around the whole image by adding one line of code.
  16. descalzo

    Dynamic Image

    This is my code from the link above for plusminus.php <?php $value_max = 100; # max abs input value, probably 100 #### get the value passed to the script in the query string if( isset( $_GET[ 'value' ] ) ){ $value= $_GET[ 'value' ] + 0; if( $value > $value_max ){ $value =...
  17. descalzo

    Dynamic Image

    One script puts out the html for the page. It cannot create an image and include the image as part of the html. It doesn't work that way. You have it put an <img> tag in the HTML and have the browser request the image. Normally you put the file name of a static image. The browser does not...
  18. descalzo

    Dynamic Image

    It's this number....
  19. descalzo

    Dynamic Image

    In your code to display the page you put $value = value you want to display... <img src="plusminus.php?value=<?php echo($value) ?>" height="30" width="100" alt="test" id="plusminus" name="plusminus"> plusminus.php would be a separate script that gets called with a query...
  20. descalzo

    cgi + Perl

    perl is installed you have the right path (it is listed on the cPanel, left side, near bottom) make sure script has permissions of 0755 (can set them in File Manager) make sure script was uploaded in ASCII mode (if it was written on Microsoft and uploaded in binary mode there are usually problems).
Top