- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Web Programmer
- Interests
- Film, books, cricket and posting in daniweb
75 Posted Topics
Hello, I need to seperate multiple domains by having and not having A records. I have created a shell script like below, but it is not working, as the $? is same (0) for both the dig commands that have and not have A records. ************************* #!/bin/bash for dom in … | |
Re: Hello Everyone, Removing suhosin is not a good idea for solving this problem. It will only make your server vulnerable from bad php code attacks. Please have a check on this for further knowing. [url]http://wordpress.org/support/topic/wordpress-3-and-500-errors-solved-suhosin-php_ini-culprit[/url] | |
Re: Or u can write as [code=php]echo "<input type='text' name='name' value='$firstname'>";[/code] | |
Re: In the case of Parked domain , both the names should point to the same domain name. RewriteEngine On RewriteCond %{HTTP_HOST} ^[url]www.yourdomain.com[/url] [NC,OR] RewriteCond %{HTTP_HOST} ^[url]www.yourdomain2.com[/url] [NC] RewriteRule ^(.*)$ http://yourdomain.com/$1 [L,R=301] Please have a try on this and let us know if this works. | |
Re: Dear, If you have root access to the server then first login to the server as root. Then type : tail -f /usr/local/apache/log/error_log for displaying the apache error log. the syntax : tail -f <apache_config_path>/log/error_log | |
Re: Dear, Please have a check on this link: [url]http://httpd.apache.org/docs/1.3/configuring.html#scope[/url] | |
Re: Dear, Please have a check on this links: [url]http://serverfault.com/questions/260752/weird-entry-in-access-log-on-apache-2-2[/url] [url]http://www.mediawiki.org/wiki/Manual%3aRobots.txt[/url] | |
Re: Could you please paste the complete error showing here when you try to connect to the server. This may be happen if your local ip has been blocked by the server's firewall. Please contact the support team of the server and tell them to whitelist your ip. | |
Re: You have to add the Directive DocumentRoot inside your virtual host tag along with other directives <VirtualHost 10.0.0.1> DocumentRoot /home/<path-to-public_html>/public_html </VirtualHost> then # /etc/init.d/httpd restart | |
Re: Before going to give 777 permission to ur documentroot, make sure what access you give the owner, group, and others. 777, probably is a bad idea. That will cause hacking simple. | |
Re: may this will help u . # wget [url]http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz[/url] # tar -xzvf lame-3.97.tar.gz # cd lame-3.97 # ./configure # make # make install | |
Re: You just try to restart your network using the command: # service network restart May this fix your issue. | |
Re: If you want to kill an application for example firefox: # pidof firefox # kill <pid> or by simply typing # killall firefox | |
Dear all, I have a date time picker and i have to trigger an event when the text box for that date is filled with the date. if textbox id print_date something like ...... $("#print_date").'......'(function(){ alert("Date is entered using date picker"); }); | |
Dear all, I have a table in mysql and i want to insert records into the table without using "FOR" or "WHILE" loop..Can this be done?? Thanks in advance.. Jino. | |
Dear, I am doing a site for chatting application. How can i detect the other person started typing for displaying he is typing... I also want to display an (alert) , what i mean is , if we typed a text and go to an another tab and if we … | |
Dear, I am doing a site for chatting application. How can i detect the other person start typing for displaying he is typing... I also want to display an (alert) , what i mean is , if we typed a text and go to an another tab and if we … | |
Hi, I had changed an image to string using base64_encode() function. In now want to convert this string back to an image for saving it into a folder. Please help.... Jino | |
Re: How can u set focus to an element that is not visible in the html page. either u have to make that textbox visible or just forget about making focus on it. | |
Re: You have to do this without reloading the form while going to the next and previous pages. ie u have to use the jquery and ajax pagination for going next and previous pages. By doing this the values that u first entered will not vanish when u navigate through pagination … | |
Re: tinyMCE.init({ // General options mode : "textareas", theme : "advanced", plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount", // Theme options theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect", theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor", theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen", theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_statusbar_location : "bottom", theme_advanced_resizing : true, // Example content CSS (should be your site CSS) content_css … | |
Re: [CODE]<!--load the jquery page here--> $("#submit").click(function(){ // get the values of the array using jquery from the submit form. var Protocol = location.protocol; var Host = location.host; var Url = Protocol+"//"+Host+"/nextpage"; var dataString = 'arrayvalue='+array; $.ajax({ type: "POST", url: Url, data: dataString, cache: false, success: function(html){ // tell jquery to … | |
Re: You can easily do this using jquery. First add a class to the checkbox. Then u have to loop through each checkbox using the jquery "each". U can use the classname of the checkbox for looping. Then u have to write the code for getting the value of checkbox inside … | |
Re: <!--[if IE]> <script type="text/javascript" src="js/ie.js"></script> <![endif]--> <!--[if !IE]> <script type="text/javascript" src="js/not-ie.js"></script> <![endif]--> <!--[if IE 7]> <script type="text/javascript" src="js/IE-7-SPECIFIC.js"></script> <![endif]--> <!--[if lt IE 7]> <script type="text/javascript" src="js/IE-6-OR-LOWER-SPECIFIC.js"></script> <![endif]--> | |
Re: please try This (typeof Win !== undefined) instead of ( typeof Win !== "undefined") I am not sure about it, just try. Jino | |
Hi all, I need to select all the divs having the classname starting as msg_body. actually the classname is msg_body_3. The last part of the class name of each div will vary as it is an id. How can i slideup all these divs, class name starting with msg_body using … | |
Hi everybody, In my project i am using ajax and jquery. After going to a page via ajax without page reload i want to see the same page if the user refresh the browser. I used the cookie plugin inorder to solve. As it is not safe i am trying … | |
Hi all, How can i get the value of a specific text in a select box. example 16 of text OEC using jquery, I am not getting the value correctly <select name="categories" id="categories" class="validate"> <option value="0" selected="selected"><--select one--></option> <option value="57">OBC</option> <option value="16">OEC</option> </select> I had tried For example something like … | |
Re: You can easily create cookie using the jquery cookie plugin . download link: [URL="http://plugins.jquery.com/project/cookie"]http://plugins.jquery.com/project/cookie[/URL] [URL="http://plugins.jquery.com/files/jquery.cookie.js.txt"]http://plugins.jquery.com/files/jquery.cookie.js.txt[/URL] | |
Hi all, I am using codeigniter. I want to generate dynamically the contents of the textarea of the tinyMce. Is there any plugin for generating the content something like smarty. Thanks in advance. Jino | |
Hi all, I am not getting the tinymce edit textarea in an html page that is generated by ajax. I am calling the ajax using jquery. I have kept the tiny_mce.js file on the page that is generated via ajax. The path is correct but am not getting the page … | |
Re: U can simply get the value of the checkbox if u use jquery. if The text box is <input type="text" name="example" id="example"> Then u can take the value of that text box in js page by this simple code. var textname = $("input#example").val(); enjoy coding. | |
Dear all, I am using apache2Triad for developing my web. I want to send email through the php email command. So first in my local system how can i see the sended email messages. Do i want to install any email applications other than configuring the phpXmail for viewing the … | |
Hi all, I have a dropdown and when the value of that drop down changes corresponding pages are displayed using jquery ajax. My problem is that when i refresh the page standing in the page generated by the ajax , the home page containing the dropdown is displaying instead of … | |
Re: Make this modifications and try, $LinkHome = new buttons(); and the function should be called using $this->draw(); and $this->size(); | |
Re: remove the comment(//) in the html comment closing section in lineno 11. | |
Dear all, I have a requirement that, when the user click on a radiobutton of a listed module, all its permissions should be toggled down. This section comprises in a div "msg_body". there are more than one module and so more than one msg_body divs. I used jQuery for this … | |
Dear All,, I have a search query for searching 40 fields that are belonging to 5 different tables.. I have used INNER JOIN for this purpose... I have stored the search conditions into a $string variable and the result is getting correctly.. Here comes the problem.... I want to paginate … | |
Re: you just try either echo phpinfo(); or remove the semicolon after the "This is a php line" Reply if it fixes.. | |
Re: [code=php]$result = mysql_query($sql);//execute query if(mysql_num_rows($result)>0) { $i=0; while($row=mysql_fetch_object($res)) { $data[$i]['table_id'] = $row->table_id; $data[$i]['title'] = $row->table_title; $mylinks = $data[$i]['title']; $i++; } }[/code] Now $mylinks is an array having the values titles. Hope this will do the work. | |
Hi all, I would like to know that is it possible to change the order of the payment review description fields displayed in the paypal after successful checkout. Now it is displaying as , Item total sales tax shipping and handling shipping discount. I would like to change this as … | |
Dear all, I had set the 17- character long transaction id, that i got from the paypal in the successful completion of the order transaction, in the DoAuthorization request to paypal.. But i am getting an invalid_transaction_id response from the paypal. What will i do.. Please help anyone.. Thanks | |
Dear All, I want to convert a jpeg or png or gif file to bmp file ... can anyone help me..... It will be very thankful if anyone publish the code for converting other type of image files to BMP file.. Thanks in advance.. Jino. | |
Hi all, I want to insert multiple records into a table using one query. And my query is INSERT INTO table2(id,message) SELECT id FROM table1 WHERE condn,'hello' but it displays an error.... Can you help me? Thanx in advance.... jino | |
Hi all, I have created an rss xml file and hosted in my website.. I am getting the file when i am opening my site in Internet Explorer, but i am getting this error message when i open the same rss feed in Mozilla firefox.... XML Parsing Error: xml declaration … | |
Hi all, Please tell me where is the cookie file stored in my computer when i run the below codes.. I checked it in the C:\ [code=php]<?php setcookie("test","john_joseph",time()+ 3600); ?> <html> <body> <form name="cookie" method="post" action="<?php echo $_server['php_self'];?>"> Enter ur name:<input type="text" name="name"> <input type="submit" name="submit" value="SUBMIT"> </form> <?php if … | |
Hi all,, I am new to joomla.. I want to build a news portal site using joomla.. Can any one help me to wired in the news portal extension to my joomla site... I am now working in localhost.. Please help me if anyone know about this. Thanks in advance.. … | |
Hi all,, I am new to joomla.. I want to build a news portal site using joomla.. Can any one help me to wired in the news portal extension to my joomla site... I am now working in localhost.. Please help me if anyone know about this. Thanks in advance.. … | |
Dear All, I am new to MySQL. Can i retrive the result of a query as the combination of different fields of a single record.. For example.. if the result record of a query is ... id(1), country(India), Location1(maharashtra), Location2(pune), Location3(Navi Mumbai)... My doubt is that can i retrive the … |
The End.