I was very excited when I saw this link and the examples on the site. So
I've downloaded all the files and installed them all. Now I don't know what
to do with it or how to use it!?

The package doesn't have any humanly useable tutorials or quick start or
even a text file describing how I would put this in a web page of my own
site. Instead it seems to force me to use phpDocumentor to build the
corresponding .html files. Ugh!

So, I went through the extremely tedious process of (installing
phpDocumentor and) building the options.ini and stylesheet.css file with a
directory path that gave me carpal-tunnel...
"PEAR\data\PhpDocumentor\phpDocumentor\Converters\HTML\frames\templates\DOM\
earthli\templates\media\stylesheet.css"

Then I deciphered what the heck the author's README file meant to come up
with thiis magic incantation which he could have just typed out and said,
"run this command", or better yet, a shell script that builds the above dir
path, copies the files and runs the below commands.

phpdoc -f /usr/local/lib/php/HTML/Progress.php  -d
/usr/local/lib/php/HTML/Progress -po HTML_Progress -o
HTML:frames:DOM/earthli -t /tmp/Progress/ 

Then trying to get what would appear to be the thing I need to actually use
this tool -- the tutorial -- I get an error that doesn't give any indication
of what file to look at to fix.

phpdoc -f /usr/local/lib/php/HTML/Progress.php  -d
/usr/local/lib/php/HTML/Progress/tutorials -po HTML_Progress -o
HTML:frames:DOM/earthli -t /tmp/Progress/    
Parsing configuration file phpDocumentor.ini...
done
using experimental tokenizer Parser
directory: ''  not found

The website doesn't give a single tutorial (or example that I could copy and
change)...
http://pear.laurent-laville.org/HTML_Progress/apidoc/
http://pear.laurent-laville.org/HTML_Progress/examples/

And the progress maker bombs out at the end after you go through 5 tabs of
options.
http://pear.laurent-laville.org/HTML_Progress/examples/ProgressMaker.php

Could someone PLEASE tell me how to use this seemingly useful class? And I
guess, before we even started, what I want to do is query a mySQL database
every second and use the results to show the progress bar, without reloading
the web page. Can that be done with this project, or did I just waste a day?

Excuse my frustration please, but this seems way more complicated than it
should be. But perhaps that's the way PEAR is and since I've never used it,
I've been blissfully ignorant building my own things.

Daevid Vincent
http://daevid.com
  

> -----Original Message-----
> From: Burhan Khalid [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, November 27, 2003 2:47 AM
> To: Astron of BrOnX; [EMAIL PROTECTED]
> Subject: Re: [PHP] Does anyone have Upload meter php codes?
> 
> Astron of BrOnX wrote:
> > Hi everyone, i am looking for upload meter progress bar 
> codes. I have looked
> > up arround and the most of them needs for patching PHP to get upload
> > variables. And also they are for Linux. I have need a 
> solution for windows.
> > It can be a extra DLL file for PHP but i dont know how i can find?
> 
> http://pear.php.net/package/HTML_Progress
> 
> -- 
> Burhan Khalid
> phplist[at]meidomus[dot]com
> http://www.meidomus.com
> -----------------------
> "Documentation is like sex: when it is good,
>   it is very, very good; and when it is bad,
>   it is better than nothing."
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to