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()
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) =...
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...
Hello!
How do i redirect a request going to www.server.com/people/userName to www.server.com/profile.php?username=userName
with mod_rewrite ?
Thank you.
ok i installed DBI via ppm (i have ActivePerl 5.8 on Windows XP) i'm sure that i put use DBI(); in my .pl file
but it prints this: Can't locate object method "connect" via package "DBI"
What seems to be wrong?
Hello i'm new to perl!
How can i load a package, a perl module (.pl file) to another .pl file?
in PHP it was
import "myFile.php";
Java:
import "package.*";
How does it work in perl ?
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.