Re: I need answers for the questions
| From: | Henrik Hudson | Date: | Tue, 18 Nov 2003 07:16:24 +0000 |
| Subject: | Re: I need answers for the questions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170064@lists.php.net to get a copy of this message | ||
On Tuesday 18 November 2003 01:12,
"Arivazhagi Govindarajan" <ammu_flash@hotmail.com> sent a missive stating:
> PHP Questions
>
> 1. Explain about session management and cookies ? In PHP how we can
> maintain a session
http://us3.php.net/session
> 3. How to enable PHP in Apache server manually?
http://us3.php.net/manual/en/installation.php
> 4. When we upload a file using <INPUT> tag of the type FILE what are global
> variables become available for use in PHP
http://us2.php.net/features.file-upload
> 5. Explain SQL injections ? How we can avoid this
See various web docs. Try Google or PHP site. PLenty of info.
> 6. Write a small script to connect a MYSQL server in PHP
http://us2.php.net/function.mysql-connect
> 8. Using single Apache server can we host multiple sites . If yes how can
> we do this if no why it is not possible
Yes.
http://httpd.apache.org/docs/ or http://httpd.apache.org/docs-2.0/
> 10. Write a function in PHP script to check whether string is a valid email
> id or not?
Lookup email and regular expression checking. About 10 examples are here as
well:
http://us2.php.net/ereg
Henrik
--
Henrik Hudson
listsNO@SPAMrhavenn.net
"`If there's anything more important than my ego
around, I want it caught and shot now.'"
--Hitchhikers Guide to the Galaxy