toivo
-
Posts
36 -
Joined
-
Last visited
Posts posted by toivo
-
-
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
-
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:
-
-
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";
-
The initial single quote is missing:
$filename = 'log.txt';
-
Have you tried the following in the hosts file:
127.0.0.1 development
The entries in the hosts file do not have ports.
-
If you run PHP 5 and have not enabled short open tags, you need to use the normal open tag:
<?php
-
Hi,
One more thing: the attribute 'name' should define a unique name for each <input> element.
Regards,
toivo
-
-
If you run the command interactively, you will see the explanation:
Error 1292 Truncated incorrect integer value: '*'
Cheers,
form mail script not working :S
in PHP Coding Help
Posted
If you look at the examples from the phpmailer folders you downloaded, you will notice that you need to call the Send function: