473,395 Members | 1,488 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Build pdf file?

Hello all.

My brother would like to create a website that high school math
teachers could use. They would come to the web site and say "I'd like
to have a worksheet on two-variable algebra." Then the web site would
generate a pdf file for them. The information would be stored in a
database. MySql or something similar.

Is Php an appropriate vehicle for this? Has someone already done
something similar? Is there a "wiki" for Php?

My brother is a high school math teacher (naturally). I am a
professional programmer, but I have not done much with web pages, and
I have never used Php. Usually, I use Tcl and C.

Any ideas are appreciated. Here's how my brother expressed his
problem:

. . . I betcha there's a way to write an ASP script that would pull
question text from a question database into an MSWord file, instruct
Word to print the file to PDF, and then download it to the user. I bet
MS products are scriptable. Hmmmmm. . . .

Regards,

Rick
Jul 17 '05 #1
3 2614
check out php ref document, there is a section about
(pdf.http://cn2.php.net/manual/en/ref.pdf.php)
or visit:http://sourceforge.net/projects/pdf-php/ .

. . . I betcha there's a way to write an ASP script that would pull
question text from a question database into an MSWord file, instruct
Word to print the file to PDF, and then download it to the user. I bet
MS products are scriptable. Hmmmmm. . . .

Regards,

Rick

Jul 17 '05 #2
Visit http://www.fpdf.org. They have elegant and easy-to-use pdf creation
routines written in php and are free!
"Rick" <rh****@uiuc.edu> wrote in message
news:f4**************************@posting.google.c om...
Hello all.

My brother would like to create a website that high school math
teachers could use. They would come to the web site and say "I'd like
to have a worksheet on two-variable algebra." Then the web site would
generate a pdf file for them. The information would be stored in a
database. MySql or something similar.

Is Php an appropriate vehicle for this? Has someone already done
something similar? Is there a "wiki" for Php?

My brother is a high school math teacher (naturally). I am a
professional programmer, but I have not done much with web pages, and
I have never used Php. Usually, I use Tcl and C.

Any ideas are appreciated. Here's how my brother expressed his
problem:

. . . I betcha there's a way to write an ASP script that would pull
question text from a question database into an MSWord file, instruct
Word to print the file to PDF, and then download it to the user. I bet
MS products are scriptable. Hmmmmm. . . .

Regards,

Rick

Jul 17 '05 #3
rh****@uiuc.edu (Rick) wrote in message news:<f4**************************@posting.google. com>...
Hello all. Is there a "wiki" for Php?
http://www.php.net

http://www.php.net/<function name> to get details about the given
function. Also has many usernotes that are much helpful.

eg. php.net/strlen
. . . I betcha there's a way to write an ASP script that would pull
question text from a question database into an MSWord file, instruct
Word to print the file to PDF,


Oops! You can directly & simply create PDF from PHP if you use
FPDF lib (http://fpdf.org/ )

---
"Learn from yesterday, live for today, hope for tomorrow. The
important thing is to not stop questioning."---Albert Einstein
Email: rrjanbiah-at-Y!com
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Scott Auge | last post by:
I created this script to help make zip files for software distributions. It will: -- Create a build number -- Create a VERSION file so people know which build they have -- Update the...
4
by: carrot | last post by:
With .Net Studio, I have a solution includes some projects. I want to execute a batch file during build solution time. For example, 1'st project is builded. 2'nd project is builded. " a batch...
2
by: Peter Ritchie | last post by:
In VS/VC 2003: Simple question: for the Custom Build Step for the project (right click the project in the Solution Explorer, select "Properties", select the "Custom Build Step" in the...
5
by: Al | last post by:
Hi all We have created a xml file that imports a single project using the Import element. This project compiles to a class library, but has references to two other projects that are also class...
1
by: Matt Fielder | last post by:
I need to customize the build process beyond just selecting which projects get built in what order. What I want to happen is when I select "Release" 1: Pop a dialog confirming I want to build...
1
by: =?Utf-8?B?Q2h1Y2sgUA==?= | last post by:
I have an asp.net solution with a web deployment project. When we try to build/debug, we get the message: An editor or project is attempting to check out a file that is modified in memory,...
5
by: eranshuman | last post by:
Hi, I m very new to perl I m running an API which have the Buil.pl When Im compiling using perl Build.pl I was getting error : Can't locate Module/Build.pm in @INC (@INC contains:...
0
by: Akira Kitada | last post by:
Hi list, I was trying to build Python 2.6 on FreeBSD 4.11 and found it failed to build some of the modules. """ Failed to find the necessary bits to build these modules: _bsddb ...
0
by: M.-A. Lemburg | last post by:
On 2008-10-25 08:39, Akira Kitada wrote: Please post a bug report on python.org about these failures. The multiprocessing module is still fairly new and obviously needs more fine tuning for...
0
by: Akira Kitada | last post by:
Hi Marc-Andre, Thanks for the suggestion. I opened a ticket for this issue: http://bugs.python.org/issue4204 Now I understand the state of the multiprocessing module, but it's too bad to see...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.