Important Please Check it Out.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dkshri_jain
Forum Newbie
Posts: 8
Joined: Tue Dec 27, 2005 12:03 am
Location: India
Contact:

Important Please Check it Out.

Post by dkshri_jain »

1 When viewing an HTML page in a Browser, the Browser often keeps this page in its cache. What can be possible advantages/disadvantages of page caching? How can you prevent caching of a certain page (please give several alternate solutions)?

1 What are the different methods of passing data or information between two calls of a web page? What are the advantages/disadvantages of these methods?

1. An Apache web server is running on a Linux system. Suddenly, the web server delivers the pages very slow. How could you find out possible reasons for that (when using system commands, please specify their names)?

4. What are the different ways to login to a remote server? Explain the means, advantages and disadvantages?

5. Please give a regular expression (preferably Perl/PREG style), which can be used to identify the URL from within a HTML link tag. Example: The regular expression should match the tag <A HREF="http://www.yoursite.com/"> and give the URL ("http://www.yoursite.com /") as a return result. Tags should also be matched if they contain other attributes than the HREF attribute.

6. A select query over a large table runs very slow because of the growing number of entries in that table. What different measures could be taken to improve speed?

7. A company wants to store their invoices in a database. They already have their customers and articles in that database. Both customer and article are each identified by an unique integer value. Please create the SQL statements for creating the necessary table(s) for storing the invoices in a MySQL database. An invoice should hold information like invoice number, customer, date, article(s) and quantity etc.

8. For the database from the previous question, please give an SQL query which returns the invoice number of all invoices which contain the article with the number "1234". The query should be able to run under a MySQL 4.0 database.

9. How would you backup and restore a big MySQL database? What are the advantages of the approach which you have taken over the others?

10. Create a PHP web script with the following attributes: on start, three HTML form elements are shown: an string input field, a checkbox field, a dropdown/pull down list with 5 elements and a submit button. On submission, the form should be redisplayed (while remaining all options/inputs as the user has selected/entered them). Additionally, the selections/inputs of the user should be displayed in text. Please solve this without the use of any external libraries.

11. How can I set a cron and how can i execute it in Unix, Linux, and windows?

12. Steps for the payment gateway processing?

13. How many ways I can redirect a php page?

14. List out different arguments in php header function?

15. Describe the importance of DABA BASE ABSTRACTION LAYERS in php and database connection?

16. What is the difference between using copy() and move() function in php file uploading?6. What is the difference between Reply-to and Return-path in the headers of a mail function?

.
PLESE send me reply on

this_is_deepak2004@yahoo.com


Thanks
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

This sounds like homework. I doubt you will find someone to do it for you.
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post by matthijs »

dkshri_jain, maybe there's some useful info here?
User avatar
Skittlewidth
Forum Contributor
Posts: 389
Joined: Wed Nov 06, 2002 9:18 am
Location: Kent, UK

Re: Important Please Check it Out.

Post by Skittlewidth »

dkshri_jain wrote:1 When viewing an HTML page in a Browser, the Browser often keeps this page in its cache. What can be possible advantages/disadvantages of page caching? How can you prevent caching of a certain page (please give several alternate solutions)?

1 What are the different methods of passing data or information between two calls of a web page? What are the advantages/disadvantages of these methods?

1. An Apache web server is running on a Linux system. Suddenly, the web server delivers the pages very slow. How could you find out possible reasons for that (when using system commands, please specify their names)?

4. What are the different ways to login to a remote server? Explain the means, advantages and disadvantages?

5. Please give a regular expression (preferably Perl/PREG style), which can be used to identify the URL from within a HTML link tag. Example: The regular expression should match the tag <A HREF="http://www.yoursite.com/"> and give the URL ("http://www.yoursite.com /") as a return result. Tags should also be matched if they contain other attributes than the HREF attribute.
Take some lessons in counting first perhaps? :wink:
Ree
Forum Regular
Posts: 592
Joined: Fri Jun 10, 2005 1:43 am
Location: LT

Post by Ree »

Homework, anyone?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Whatever it is doesn't matter. Some basic research would lead to the answers to most, if not all, of the questions.
Ree
Forum Regular
Posts: 592
Joined: Fri Jun 10, 2005 1:43 am
Location: LT

Post by Ree »

Btw, if you check the guy's profile, he is a Senior Software Developer. :o

PS. I hope Roja won't tell me "It is improbable, but it is absolutely possible." :D
captainpete
Forum Newbie
Posts: 5
Joined: Fri Mar 17, 2006 8:30 am

Post by captainpete »

Ree wrote:Btw, if you check the guy's profile, he is a Senior Software Developer. :o
Hahahaha, I just checked out his past posts and they all look like they are straight off a homework assignment. What a friggin tool.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

There's no need to belittle the poster.
captainpete
Forum Newbie
Posts: 5
Joined: Fri Mar 17, 2006 8:30 am

Post by captainpete »

feyd wrote:There's no need to belittle the poster.
I just think it's lame that he's wasting the time of people like you who are answering these posts. Apparently I'm a newbie though, so what do I know? Cheaters never win!
Post Reply