php-general Digest 18 Apr 2011 03:38:58 -0000 Issue 7277
Topics (messages 312417 through 312427):
Re: XML Smart Home
312417 by: Daniel Brown
312418 by: Negin Nickparsa
312419 by: Daniel Brown
312420 by: Negin Nickparsa
312424 by: tedd
Re: upload big files
312421 by: Tolas Anon
312422 by: Ricardo Martinez
312423 by: Ashley Sheridan
email w/attachments
312425 by: tedd
312426 by: Adam Richardson
312427 by: Bastien
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 Sun, Apr 17, 2011 at 11:34, Negin Nickparsa <[email protected]> wrote:
> 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?
Sounds like a good question for your Java buddies. This is
neither a Java nor XML list.
--
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/
--- End Message ---
--- Begin Message ---
php coders know about XML maybe u don't know but someone will reply me u'll
see
--- End Message ---
--- Begin Message ---
On Sun, Apr 17, 2011 at 11:38, Negin Nickparsa <[email protected]> wrote:
> php coders know about XML maybe u don't know but someone will reply me u'll
> see
What I see is someone who doesn't know how to help himself, who
thinks he's either smart or funny in his reply, and who has failed
miserably.
I repeat: this is a PHP list, not a Java or XML list. Go
elsewhere to find out about that.
--
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/
--- End Message ---
--- Begin Message ---
i didn't want to be smart or funny cause i'm not
i just told my Idea
and i didn't want to bother list or Daniel
pardon me Daniel,for my bad behave if u think that was bad
ok i'll go
--- End Message ---
--- Begin Message ---
At 8:21 PM +0430 4/17/11, Negin Nickparsa wrote:
i didn't want to be smart or funny cause i'm not
i just told my Idea
and i didn't want to bother list or Daniel
pardon me Daniel,for my bad behave if u think that was bad
ok i'll go
That's probably a good thing for all.
On your next Mailing List, you should check out the Rules. Here's the
rules for the php list:
http://us3.php.net/reST/php-src/trunk_README.MAILINGLIST_RULES
All Mailing List have similar rules -- it's best to read them before posting.
Cheers,
tedd
--
-------
http://sperling.com/
--- End Message ---
--- Begin Message ---
On Thu, Apr 14, 2011 at 10:36 AM, Ricardo Martinez <[email protected]> wrote:
> 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!
>
I've got good experiences with http://jumploader.com
It's Java, and can do HTTP uploads > 2Gb fine, with the partitioned php uploader
--- End Message ---
--- Begin Message ---
thanks guys for answer,
i'm thinking in use FTP with PHP, never did it before, but don't must be
dificult.
I'll tell to you as finished it ;)
thanks!
On Sat, Apr 16, 2011 at 3:54 PM, Ashley Sheridan
<[email protected]>wrote:
> 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
>
>
>
--
Ricardo
_______________________________________________
IT Architect
website: http://www.pulsarinara.com
--- End Message ---
--- Begin Message ---
On Sun, 2011-04-17 at 19:12 +0200, Ricardo Martinez wrote:
> thanks guys for answer,
>
> i'm thinking in use FTP with PHP, never did it before, but don't must be
> dificult.
> I'll tell to you as finished it ;)
>
> thanks!
>
> On Sat, Apr 16, 2011 at 3:54 PM, Ashley Sheridan
> <[email protected]>wrote:
>
> > 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
> >
> >
> >
>
>
The FTP functions in PHP are just for connecting to an FTP server from
PHP, which itself is run on a server, so you won't be able to use those
functions to allow people to upload files to your server.
--
Thanks,
Ash
http://www.ashleysheridan.co.uk
--- End Message ---
--- Begin Message ---
Hi gang:
Anyone have an email script that allows attachments they would share?
I've been trying to figure this out and everything I've tried has
failed. I've looked at over a dozen scripts that don't work. I'm
about to pull out what hair I have left.
Cheers (I think),
tedd
--
-------
http://sperling.com/
--- End Message ---
--- Begin Message ---
On Sun, Apr 17, 2011 at 10:26 PM, tedd <[email protected]> wrote:
> Hi gang:
>
> Anyone have an email script that allows attachments they would share?
>
> I've been trying to figure this out and everything I've tried has failed.
> I've looked at over a dozen scripts that don't work. I'm about to pull out
> what hair I have left.
>
I use the Zend Framework for almost all email capabilities within my
scripts:
http://framework.zend.com/manual/1.0/en/zend.mail.attachments.html
Nice documentation, well tested, and often times I'll end up using one of
the other components in the framework before I'm done, anyway, so it's nice
to have the framework sitting on the server ready to go (and, if desired,
you can send emails using SMTP credentials in a snap.)
Additionally, you only have to use what you want of Zend, so I actually use
my own framework for managing the flow of the application, and I just
include the specific Zend files needed in a particular page.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
--- End Message ---
--- Begin Message ---
On 2011-04-17, at 10:26 PM, tedd <[email protected]> wrote:
> Hi gang:
>
> Anyone have an email script that allows attachments they would share?
>
> I've been trying to figure this out and everything I've tried has failed.
> I've looked at over a dozen scripts that don't work. I'm about to pull out
> what hair I have left.
>
> Cheers (I think),
>
> tedd
>
> --
> -------
> http://sperling.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
I use phpmailer for that. Great class and easy to do
Bastien Koert
Sent from my iPhone
--- End Message ---