Jump to content

toivo

Members
  • Posts

    36
  • Joined

  • Last visited

Everything posted by toivo

  1. If you look at the examples from the phpmailer folders you downloaded, you will notice that you need to call the Send function: if(!$mail->Send()) { echo "Mailer Error: " . $mail->ErrorInfo; } else { echo "Message sent!"; }
  2. If you are allowed to have an .htaccess file in your folder, you can set the following php.ini directives: - post_max_size - upload_max_filesize - max_input_time More info at http://php.net/manual/en/ini.php
  3. Try this then: http://download.pear.php.net/package/HTML_Progress2-2.4.1.tgz - and check the dependencies from: http://pear.php.net/package/HTML_Progress2/download If that scares you but you are handy with javascript, you should consider a plugin for jQuery http://jquery.com: http://digitalbush.com/projects/progress-bar-plugin/
  4. Hi, http://pear.php.net/package/HTML_Progress2 I have not tried it but it looks promising. Regards,
  5. It is not clear which variables in your sample are columns in your table 'data'. You need to have variables, too. I would use something like this, after setting the variables with values to be searched, depending on the format of the date: $username = 'whatever'; $partial_date = substr($date, 0, 7); $q = "SELECT * FROM `data` "; $q .= "WHERE uname = '" .$username . "' AND tdate LIKE '". $partial_date . "%' "; $q .= "ORDER BY id";
  6. The initial single quote is missing: $filename = 'log.txt';
  7. Have you tried the following in the hosts file: 127.0.0.1 development The entries in the hosts file do not have ports.
  8. If you run PHP 5 and have not enabled short open tags, you need to use the normal open tag: <?php
  9. Hi, One more thing: the attribute 'name' should define a unique name for each <input> element. Regards, toivo
  10. Hi, I have used Free PDF, available from http://fpdf.org. It is easy to use. Regards, toivo
  11. If you run the command interactively, you will see the explanation: Error 1292 Truncated incorrect integer value: '*' Cheers,
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.