Hello!
How do i validate the input of checkbox usind validation.xml in struts? I just want to let user submit my form only if checkbox checked.
Thank you.
Hello!
i have apache2 running on my server.
I have a problem with displaying Cyrilic characters, the line
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
in the head of my html document should do the trick, but it doesn't i still see some rubish letters, when i go...
Hello everyone!
How can i get a parameter sent from another page via POST method?
<logic:present name="xxx"> seems to be getting only attributes set by request.setAttribute()
And still set_time_limit(0); didn't do the trick, here is what error i get: Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 6144 bytes) in /home/htdocs/web0/html/photos1.php on line 10
Sorry, of course before calling this function i do move_uploded_files and i checked and it does get uploded, but increaseing the execution time might be a good idea, thank you.
Here is a function that i use to upload images submitted by users of a web page:
function uploadimg($image_path, $image_id, $new_w, $new_h, $compression)
{
$src_img = imagecreatefromJPEG("$image_path/$image_id.jpg");
list($width, $height, $type, $attr) =...
Thank you for your input, TonyGroves !
I'll just make the query as you suggested the first time and then
select * from t_photos where score = '$topscore' and user_id = '$user_id'
$topscore and $user_id are the values that i get from the query that you suggested, this way it will be easyer...
Thanx for your reply!
well the query you suggested works but... in a strange way, you see i also need an id of the photo so i tryed:
SELECT id, user_id, MAX( score ) topscore
FROM t_photos
WHERE user_sex = '0' AND
STATUS = '1' AND rated_times > '15' AND rated_times < '900'
GROUP BY...
Hello!
I have a table t_photos from which i want to make a top 20 of all photos so i try:
select * from t_photos where user_sex = '0' and status='1' and rated_times > '15' and rated_times < '900' group by user_id order by score desc
i put 'group by user_id' because i want one user to have...
Hello!
I'm having a problem with php safe_mode, the thing is that i cant turn it off. I'm running Apache/2.0.48 on Linux/SuSE
with confixx, however i tryed to change the php.ini file and then restart apache2 but still my phpinfo() says that safe_mode is on, then i a confixx_vhost.conf file...
Hello!
How do i remove directory from shell on Linux machine?
I tryed:
rm -d myDir
but it still says:
rm: cannon remove directory 'myDir' : Is a directory
Anyone?
Hello!
I have Apache/2.0.48 on Linux/SuSE how do i install mod_rewrite?
I don't have this line :
"LoadModule rewrite_module modules/mod_rewrite.so" in my httpd.conf file and all other modules are just included in this file like this:
"Include /etc/apache2/mod_info.conf"
so there is no...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.