Re: [PHP] upload big files

2011-04-16 Thread Daniel Jost
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/

daniel

2011/4/14 Ricardo Martinez 

> 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
>


Re: [PHP] upload big files

2011-04-16 Thread Ashley Sheridan
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/
> 
> daniel
> 
> 2011/4/14 Ricardo Martinez 
> 
> > 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




Re: [PHP] upload big files

2011-04-16 Thread Daniel Jost
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 

>  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/
>
> daniel
>
> 2011/4/14 Ricardo Martinez 
>
> > 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
>
>
>


Re: [PHP] upload big files

2011-04-16 Thread Ashley Sheridan
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 
> 
> 
> 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/
> > 
> > daniel
> > 
> > 2011/4/14 Ricardo Martinez 
> > 
> > > 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




[PHP] Re: How to write a PHP coding to list out all files and directories aslinks to them?

2011-04-16 Thread Shawn McKenzie
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

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



Re: [PHP] Re: How to write a PHP coding to list out all files and directories aslinks to them?

2011-04-16 Thread Ashley Sheridan
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




[PHP] Re: XSD to HTML

2011-04-16 Thread domih

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

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