php-general Digest 17 Apr 2011 15:34:57 -0000 Issue 7276

Topics (messages 312409 through 312416):

Re: upload big files
        312409 by: Ashley Sheridan
        312410 by: Daniel Jost
        312411 by: Ashley Sheridan

Re: How to write a PHP coding to list out all files and directories aslinks to 
them?
        312412 by: Shawn McKenzie
        312413 by: Ashley Sheridan

Re: XSD to HTML
        312414 by: domih
        312415 by: domih

XML Smart Home
        312416 by: Negin Nickparsa

Administrivia:

To subscribe to the digest, e-mail:
        [email protected]

To unsubscribe from the digest, e-mail:
        [email protected]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
On Sat, 2011-04-16 at 15:36 +0200, Daniel Jost wrote:

> hi!
> 
> this form would not really be a nice solution to upload 300mb. there would
> be no progress bar and no other possibility for the user to get feedback.
> 
> you should consider to use a java uploaded - or a bit nicer - a javascript
> based solution like this: http://www.uploadify.com/
> 
> <http://www.uploadify.com/>daniel
> 
> 2011/4/14 Ricardo Martinez <[email protected]>
> 
> > Hi List!
> >
> > Need can upload big files ( around 300MB ) the system must be easy of use (
> > cann't use ftp ).
> >
> > Was thinking in make it, using a form with post, and update the cfg files
> > for can upload big files.
> > But don't know how it going to work. I think that can give a lot of errors
> > or be unestable.
> >
> > Just asking if anyone had a project like this one ;)
> >
> > Greetings!
> >
> > --
> > Ricardo
> > _______________________________________________
> > IT Architect
> > website: http://www.pulsarinara.com
> >


Uploadify might appear to be purely Javascript, but it is in-fact Flash
doing the actual upload work. I've used this before, and found it
impossible to use without a mouse and defaults to a standard upload
input element if you don't have Flash player installed on that browser.
These might not seem like major issues, but I for one don't have Flash
installed on my Windows partition (found it to be too much of a security
risk) and there are plenty of people out there who can't use a mouse due
to various disabilities. I'd definitely go with the Java one if you can,
as this is more portable (I believe you can get them to run on iOS
devices where Flash would be a no-go) and would allow non-mouse
navigation.

Having said that, the last time I used Uploadify was about a year ago,
so things may have changed since then with regards to the non-mouse
interaction.


-- 
Thanks,
Ash
http://www.ashleysheridan.co.uk



--- End Message ---
--- Begin Message ---
okay, sorry, you are right. i thought it would be purely javascript but
forgot the flash component.

but if you don't want your user to blindly upload 300mb over hours
(depending on his internet connection) there are no other possibilities than
using one of that components. or does anyone have another solution?

2011/4/16 Ashley Sheridan <[email protected]>

>  On Sat, 2011-04-16 at 15:36 +0200, Daniel Jost wrote:
>
> hi!
>
> this form would not really be a nice solution to upload 300mb. there would
> be no progress bar and no other possibility for the user to get feedback.
>
> you should consider to use a java uploaded - or a bit nicer - a javascript
> based solution like this: http://www.uploadify.com/
>
> <http://www.uploadify.com/>daniel
>
> 2011/4/14 Ricardo Martinez <[email protected]>
>
> > Hi List!
> >
> > Need can upload big files ( around 300MB ) the system must be easy of use (
> > cann't use ftp ).
> >
> > Was thinking in make it, using a form with post, and update the cfg files
> > for can upload big files.
> > But don't know how it going to work. I think that can give a lot of errors
> > or be unestable.
> >
> > Just asking if anyone had a project like this one ;)
> >
> > Greetings!
> >
> > --
> > Ricardo
> > _______________________________________________
> > IT Architect
> > website: http://www.pulsarinara.com
> >
>
>
> Uploadify might appear to be purely Javascript, but it is in-fact Flash
> doing the actual upload work. I've used this before, and found it impossible
> to use without a mouse and defaults to a standard upload input element if
> you don't have Flash player installed on that browser. These might not seem
> like major issues, but I for one don't have Flash installed on my Windows
> partition (found it to be too much of a security risk) and there are plenty
> of people out there who can't use a mouse due to various disabilities. I'd
> definitely go with the Java one if you can, as this is more portable (I
> believe you can get them to run on iOS devices where Flash would be a no-go)
> and would allow non-mouse navigation.
>
> Having said that, the last time I used Uploadify was about a year ago, so
> things may have changed since then with regards to the non-mouse
> interaction.
>
>
>   --
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
>
>

--- End Message ---
--- Begin Message ---
On Sat, 2011-04-16 at 15:47 +0200, Daniel Jost wrote:

> okay, sorry, you are right. i thought it would be purely javascript
> but forgot the flash component.
> 
> 
> 
> but if you don't want your user to blindly upload 300mb over hours
> (depending on his internet connection) there are no other
> possibilities than using one of that components. or does anyone have
> another solution?
> 
> 
> 2011/4/16 Ashley Sheridan <[email protected]>
> 
>         
>         On Sat, 2011-04-16 at 15:36 +0200, Daniel Jost wrote: 
>         
>         > hi!
>         > 
>         > this form would not really be a nice solution to upload 300mb. 
> there would
>         > be no progress bar and no other possibility for the user to get 
> feedback.
>         > 
>         > you should consider to use a java uploaded - or a bit nicer - a 
> javascript
>         > based solution like this: http://www.uploadify.com/
>         > 
>         > <http://www.uploadify.com/>daniel
>         > 
>         > 2011/4/14 Ricardo Martinez <[email protected]>
>         > 
>         > > Hi List!
>         > >
>         > > Need can upload big files ( around 300MB ) the system must be 
> easy of use (
>         > > cann't use ftp ).
>         > >
>         > > Was thinking in make it, using a form with post, and update the 
> cfg files
>         > > for can upload big files.
>         > > But don't know how it going to work. I think that can give a lot 
> of errors
>         > > or be unestable.
>         > >
>         > > Just asking if anyone had a project like this one ;)
>         > >
>         > > Greetings!
>         > >
>         > > --
>         > > Ricardo
>         > > _______________________________________________
>         > > IT Architect
>         > > website: http://www.pulsarinara.com
>         > >
>         
>         
>         
>         
>         Uploadify might appear to be purely Javascript, but it is
>         in-fact Flash doing the actual upload work. I've used this
>         before, and found it impossible to use without a mouse and
>         defaults to a standard upload input element if you don't have
>         Flash player installed on that browser. These might not seem
>         like major issues, but I for one don't have Flash installed on
>         my Windows partition (found it to be too much of a security
>         risk) and there are plenty of people out there who can't use a
>         mouse due to various disabilities. I'd definitely go with the
>         Java one if you can, as this is more portable (I believe you
>         can get them to run on iOS devices where Flash would be a
>         no-go) and would allow non-mouse navigation.
>         
>         Having said that, the last time I used Uploadify was about a
>         year ago, so things may have changed since then with regards
>         to the non-mouse interaction.
>         
>         
>         -- 
>         Thanks,
>         Ash
>         http://www.ashleysheridan.co.uk
>         
>         
>         
> 
> 
> 


The last time I had to do something like this was for large video files
which could sometimes go beyond 2GB. In the end I allowed the files to
be transferred over FTP (with the same username/password that they
logged in via the web interface), but also included a Java applet in the
web interface as well so that it appeared to allow the upload as normal,
but behind the scenes it was all FTP. HTTP isn't great for large
uploads, but a protocol like FTP is perfectly suited for it.

-- 
Thanks,
Ash
http://www.ashleysheridan.co.uk



--- End Message ---
--- Begin Message ---
On 04/14/2011 06:16 PM, Mikhail S wrote:
> How to write a PHP coding to list out all files and directories as links to
> them?
> 
> This is somewhat similar to some index pages. When new file or folder is
> added to the directory, HTML page should display the newly created
> file/folder together with previous ones after it is being refreshed. (prefer
> in alphabatical order)
> 
> How to achieve this sort of functionality in PHP? Please provide sample
> coding as well. (and any references)
> 
> Thanks.
> 
> --
> Mike
> http://jp.shopsloop.com/
> 

I prefer glob().  Give it a shot and ask for help on code that you have
tried.


-- 
Thanks!
-Shawn
http://www.spidean.com

--- End Message ---
--- Begin Message ---
On Sat, 2011-04-16 at 15:02 -0500, Shawn McKenzie wrote:

> On 04/14/2011 06:16 PM, Mikhail S wrote:
> > How to write a PHP coding to list out all files and directories as links to
> > them?
> > 
> > This is somewhat similar to some index pages. When new file or folder is
> > added to the directory, HTML page should display the newly created
> > file/folder together with previous ones after it is being refreshed. (prefer
> > in alphabatical order)
> > 
> > How to achieve this sort of functionality in PHP? Please provide sample
> > coding as well. (and any references)
> > 
> > Thanks.
> > 
> > --
> > Mike
> > http://jp.shopsloop.com/
> > 
> 
> I prefer glob().  Give it a shot and ask for help on code that you have
> tried.
> 
> 
> -- 
> Thanks!
> -Shawn
> http://www.spidean.com
> 


There is a setting of Apache that will do this automatically for
directories that have no index, I don't remember exactly what it is
right now, but a quick Google should yield results
-- 
Thanks,
Ash
http://www.ashleysheridan.co.uk



--- End Message ---
--- Begin Message ---
On 4/13/2011 8:35 AM, jordan wrote:
HI

Does somebody know how to convert XSD file to HTML with search option.
I have a lot of xsd files and need to make like next link:
http://www.tom.comm.waseda.ac.jp/map7/search.cgi

I need me realyhelp, thanks a lot


oXygen provides a good XSD documentation generator. They have a free trial if you want to give it a look. If you it like then you have to break the piggy bank. Ouch!

http://www.oxygenxml.com/

I have been using it for years. It is worth the $$$ and the upgrades.

I'm not sure they have the search though (which you can add yourself as long as you have the HTML pages, i.e. http://sphinxsearch.com/).

Other solutions listed by http://www.google.com/search?q=XSD+documentation+generator look OK too (i.e. http://www.filigris.com/products/docflex_xml/xsddoc/) if XSD documentation generation is the ONLY feature you need.

Dominique

--- End Message ---
--- Begin Message ---
On 4/13/2011 8:35 AM, jordan wrote:
HI

Does somebody know how to convert XSD file to HTML with search option.
I have a lot of xsd files and need to make like next link:
http://www.tom.comm.waseda.ac.jp/map7/search.cgi

I need me realyhelp, thanks a lot


oXygen provides a good XSD documentation generator. They have a free trial if you want to give it a look. If you it like then you have to break the piggy bank. Ouch!

http://www.oxygenxml.com/

I have been using it for years. It is worth the $$$ and the upgrades.

I'm not sure they have the search though (which you can add yourself as long as you have the HTML pages, i.e. http://sphinxsearch.com/).

Other solutions listed by http://www.google.com/search?q=XSD+documentation+generator look OK too (i.e. http://www.filigris.com/products/docflex_xml/xsddoc/) if XSD documentation generation is the ONLY feature you need.

Dominique


--- End Message ---
--- Begin Message ---
i coded a smart home it has two jframes in java netbeans
it works correctly when i run the server and then when i run client
the devices such as radio,fan,...
i turn them on/off
but i want to store the changes when i run the server for the second time
someone told me that i must add xml code
does anyone know about it?

--- End Message ---

Reply via email to