pankaj bisane


{ City } pune
< Country > india
* Profession * software engineer
User No # 17546
Total Questions Posted # 1
Total Answers Posted # 31

Total Answers Posted for My Questions # 3
Total Views for My Questions # 9842

Users Marked my Answers as Correct # 234
Users Marked my Answers as Wrong # 50
Answers / { pankaj bisane }

Question { 2877 }

How can we upload a php + mysql Site


Answer

Use FTP to upload php files (script)
Create database in Mysql server.


Is This Answer Correct ?    2 Yes 1 No

Question { 3516 }

How to create MSAcess table foriegn key


Answer

Using the relationship screen

Is This Answer Correct ?    0 Yes 0 No


Question { T3 Softwares, 22161 }

What is Joomla?


Answer

Joomla is famous Content Management system based on MVC
(Model view controller) architecture.

It has two parts : Admin and User
You can easily customise website using Joomla.
You can create components and modules for the required
functionality.

Is This Answer Correct ?    34 Yes 5 No

Question { 31029 }

Advantages & Disadvavtages of Java Script?
Advantages & Disadvantages of CGI Scripting?
Structure of Java Script?
Commands of Java Script?
HTML Basic Reviews?


Answer

Like all computer languages, JavaScript has certain
advantages and disadvantages. Many of the pros and cons are
related to being a client-side language.
Advantages of JavaScript

* Speed. Being client-side, JavaScript is very fast
because any code functions can be run immediately instead of
having to contact the server and wait for an answer.
* Simplicity. JavaScript is relatively simple to learn
and implement.
* Versatility. JavaScript plays nicely with other
languages and can be used in a huge variety of applications.
Unlike PHP or SSI scripts, JavaScript can be inserted into
any web page regardless of the file extension. JavaScript
can also be used inside scripts written in other languages
such as Perl and PHP.
* Server Load. Being client-side reduces the demand on
the website server.

Disadvantages of JavaScript

* Security. Because the code executes on the users'
computer, in some cases it can be exploited for malicious
purposes. This is one reason some people choose to disable
JavaScript.
* Reliance on End User. JavaScript is sometimes
interpreted differently by different browsers. Whereas
server-side scripts will always produce the same output,
client-side scripts can be a little unpredictable. Don't be
overly concerned by this though - as long as you test your
script in all the major browsers you should be safe.

Is This Answer Correct ?    43 Yes 6 No

Question { ASD Lab, 10055 }

How session works (internal processing of session) ?


Answer

To start a session:
– session_start()
– Creates a session identifier
– Session identifier is passed between client and server
either as
a Cookie, or in GET parameters
• Then, can create, access, and modify session variables:
– $_SESSION[session_var_name] = value;
– $_SESSION is only available once you call session_start()
– $local_variable = $_SESSION[session_var_name];
– Can check if session variable is set by using isset();
• To end a session:
– session_destroy();

Is This Answer Correct ?    9 Yes 1 No

Question { 5785 }

Does not want to see PHPSESSID in the url. How can be done
this ?


Answer

1. In your config.php file, put the following code:


ini_set('session.use_trans_sid', 0);

ini_set(‘session.use_only_cookies’, 1);

?>

This will tell the server to overrule its current insecure
and SEO-unfriendly settings. Unfortunately, most shared
hosting companies don’t allow these modifications using
ini_set. Another method can be used.

2. In your .htaccess file, use the code below:

php_flag session.use_trans_sid off

php_flag session.use_only_cookies on

Place this file in the webroot of your website. It will have
the same result as method 1.

This should do the trick of preventing any ?PHPSESSID to any
new content. But, what to do if you already have webpages
listed in the search-engines with the ?PHPSESSID attached?
Use one of the solutions below:

1. Add the following code to the .htaccess file:



RewriteEngine On

#remove PHPSESSID

RewriteCond %{QUERY_STRING} PHPSESSID=.*$

RewriteRule .* %{REQUEST_URI}? [R=301,L]



In order for this to work, the hosting company must have
their PHP compiled with mod_rewrite. If this isn’t the case,
another solution would work similarly

2. Add this code to your config.php file (retrieved from:
http://www.joostdevalk.nl/how-to-get-rid-of-phpsessid-in-the-url-and-redirect/)


if (isset($_GET['PHPSESSID']))

{

$requesturi =
preg_replace('/?PHPSESSID=[^&]+/',"",$_SERVER['REQUEST_URI']);

$requesturi = preg_replace('/&PHPSESSID=[^&]+/',"",$requesturi);

header("HTTP/1.1 301 Moved Permanently");

header("Location: http://".$_SERVER['HTTP_HOST'].$requesturi);

exit;

}

?>

Is This Answer Correct ?    1 Yes 1 No

Question { 2867 }

Whether site will complete the execution of the script if
Fatal error occurs ?


Answer

No, Script will not execute if Fatal error occurred.
It halts execution.


Is This Answer Correct ?    5 Yes 1 No

Question { 4266 }

difinition/elucidation of the TCP/IP protocol system


Answer

Short for Transmission Control Protocol/Internet Protocol,
the suite of communications protocols used to connect hosts
on the Internet. TCP/IP uses several protocols, the two main
ones being TCP and IP. TCP/IP is built into the UNIX
operating system and is used by the Internet, making it the
de facto standard for transmitting data over networks. Even
network operating systems that have their own protocols,
such as Netware, also support TCP/IP.

Is This Answer Correct ?    3 Yes 0 No

Question { Rushmore Consultancy, 7959 }

How can I maintain the count of how many persons have hit
my site?


Answer

Hello,
You can refer following URL:

http://www.developertutorials.com/tutorials/php/php-hit-counter-050620/page1.html

Is This Answer Correct ?    6 Yes 7 No

Question { Covansys, 6839 }

How can I use the COM components in php?


Answer

Use following code:


$objCom = new COM(“AddNumber.math”);
$result = $objCom ->AddTwoNum(2,2);
echo $result;

?>

Is This Answer Correct ?    10 Yes 2 No

Question { Rushmore Consultancy, 5326 }

How can we submit a form without a submit button?


Answer



Is This Answer Correct ?    8 Yes 2 No

Question { Rushmore Consultancy, 6198 }

Functions in IMAP, POP3 AND LDAP?


Answer

For IMAP Function : http://in.php.net/manual/en/ref.imap.php
For LDAP Function : http://in.php.net/manual/en/ref.ldap.php
For LDAP Function
:http://docs.sun.com/source/816-6027-10/asdk5.htm#1045585

Is This Answer Correct ?    2 Yes 4 No

Question { TCS, 6001 }

What is mean by RSS?How can i use this?


Answer

There is some discussion as to what RSS stands for, but the
majority agree it stands for "Really Simple Syndication"
(XML is the language in which the file has been created).
When you "subscribe" to a RSS feed, the latest news and
additions to the website will be delivered directly to you.
You don't need to subscribe to email alerts or click from
one site to the next, trying to see the new content that has
been added since your last visit. Put plainly, it allows you
to identify the content you like and have it delivered
directly to you, taking the hassle out of staying up-to-date
by showing you the very latest information that you are
interested in.

Is This Answer Correct ?    31 Yes 0 No

Question { Wipro, 6946 }

Write a JCL to copy only selected members from a
partitioned data set to another partitioned data set. (Use:
IEBCOPY)


Answer

Use this URL:

http://publib.boulder.ibm.com/infocenter/zoslnctr/v1r7/index.jsp?topic=/com.ibm.zjcl.doc/zjclt_smplcopypartds.html

Is This Answer Correct ?    0 Yes 3 No

Question { 5903 }

how to find 2nd highest salary in random database salary of employer.....


Answer

select emp_name, salary from employee where salary = (select MAX(salary) from employee
WHERE salary <> (select MAX(salary) from employee ))

Is This Answer Correct ?    0 Yes 0 No

Prev    1    [2]   3    Next