Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 2nd, 2004, 04:08 PM
Registered User
 
Join Date: Sep 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can PHP do all this?

I am developing a web application which needs the following functionality
1) Generation of graphs
2) Generation of calender format schedules for users
3) Automatic emails to users
4) uploading/downloading of video clips, images
5) Multiple list on one page, one list item brings another whole list, and one item from second list brings third list.

I would like to know how easy or convineint it would be to use PHP for this.

Please,any help is highly appreciated
Thank you.
 
Old November 2nd, 2004, 09:31 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

1) PHP can generate images. Read the docs at php.net for more info.
2) It takes some advanced coding to do this depending on exactly what you want to do. You would have to use a database to hold data about these things. I believe you can find pre-made calendar PHP scripts online, just try googling for them.
3) Easily, but if you want to periodically do this without accessing the files, you would need cron jobs or scheduled tasks or something similar.
4) Yes, Rich has an excellent FAQ on this in the PHP FAQ forum.
5) Are you talking about a fold-up type list that shows and hides sub-lists? There are pre-made scripts that do this, but a better alternative would probably be JavaScript since you don't have to post back to the server. Check out javascript.internet.com for some examples.

Let me know if you need further explanations.

Cheers,

-Snib
Where will you be in 100 years?
Try new FreshView 0.2!
The two rules: 1) I am always wrong. 2) If I'm right, refer to rule number 1.
 
Old November 3rd, 2004, 10:01 AM
Registered User
 
Join Date: Sep 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thnx snib,

well for the fifth point, i would like to knw if javascript is a stable choice to make since it is browser dependent and i donno how it works on different OS platforms too

thnx,
 
Old November 4th, 2004, 08:07 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

This is actually one thing that you can do on almost any browser (as long as JavaScript is enabled). If JavaScript is not enabled, you can display a message asking the user to enable it and refresh the page.

Like I said, check out http://javascript.internet.com or http://dynamicdrive.com for code examples.

HTH!

-Snib
Where will you be in 100 years?
Try new FreshView 0.2!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Beg. PHP 5 > Ch. 11 - fetch_field.php crater BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 0 January 2nd, 2007 12:20 PM
PHP Warning: PHP Startup: Unable to load dynamic l surendran Beginning PHP 1 May 29th, 2006 08:49 AM
begin php & mysql - chapter 12, user_form.php jon_stubber Beginning PHP 1 March 9th, 2006 10:57 AM
Error: movie.php & commit.php on p182-186, ch6 willburke BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 October 12th, 2004 02:48 PM
Ch. 1: PHP Installation Troubles: php3 vs php manjito BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 4 June 12th, 2003 03:59 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.