php-general Digest 11 Oct 2010 13:15:21 -0000 Issue 6982

Topics (messages 308616 through 308619):

Re: What other languages do you use?
        308616 by: Richard Quadling
        308617 by: Russell Dias

Re: zip and mac safari
        308618 by: a...@ashleysheridan.co.uk

Search inside file :)
        308619 by: Jordan Jovanov

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
On 8 October 2010 18:30, Nathan Rixham <nrix...@gmail.com> wrote:
> As per the subject, not what other languages have you used, but what other
> languages do you currently use?
>
> I guess it may also be interesting to know if:
>
> (1) there's any particular reason for you using a different language (other
> than work/day-job/client requires it)
>
> (2) about to jump in to another language
>
> Best,
>
> Nathan

PHP/HTML/JS/CSS - Normal web dev.
.BAT - I'm on windows and sometimes a simple bat file works for me.
T-SQL - Microsoft SQL Server stored procedures/UDFs/etc.
C - Amending the PECL/Win32Service extension (waiting for karma ... )



-- 
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

--- End Message ---
--- Begin Message ---
For me:

LAMP stack of course.
Javascript and jQuery
Python


Learning new languages open your mind to a whole new set of
possibilities. It also improves the way you code in your language of
choice.  At this point in time, my goals are one language a year.
Eventually I would like to get to a point of being language agnostic
and simply use the tool that is best suited for a particular job.

On Sun, Oct 10, 2010 at 5:56 PM, Richard Quadling <rquadl...@gmail.com> wrote:
> On 8 October 2010 18:30, Nathan Rixham <nrix...@gmail.com> wrote:
>> As per the subject, not what other languages have you used, but what other
>> languages do you currently use?
>>
>> I guess it may also be interesting to know if:
>>
>> (1) there's any particular reason for you using a different language (other
>> than work/day-job/client requires it)
>>
>> (2) about to jump in to another language
>>
>> Best,
>>
>> Nathan
>
> PHP/HTML/JS/CSS - Normal web dev.
> .BAT - I'm on windows and sometimes a simple bat file works for me.
> T-SQL - Microsoft SQL Server stored procedures/UDFs/etc.
> C - Amending the PECL/Win32Service extension (waiting for karma ... )
>
>
>
> --
> Richard Quadling
> Twitter : EE : Zend
> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
Using the gz compression should be fine, as most browsers are able to open 
pages which use this compression mechanism. The only issue might possibly be 
windows, but I've had problems before on that where the built in xp zip reader 
wasn't able to 'see' the entire contents of a zip created in winzip on a 
windows 2k machine.

Frankly, I'd trust the php and winzip things here, as its hardly out of the 
ordinary for a browser/OS to make something that only works correctly with 
their own software and screw testing anything else.

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

----- Reply message -----
From: "M. Reuter" <mreu...@gmx.de>
Date: Sun, Oct 10, 2010 01:00
Subject: [PHP] Re: zip and mac safari
To: "TR Shaw" <ts...@oitc.com>
Cc: "Nathan Rixham" <nrix...@gmail.com>, "php-gene...@lists.php.net" 
<php-gene...@lists.php.net>


Yes, certainly that is causing the problem. As I said it is only the
decompress tool in safari that has problems. But the problem is that
most Mac users who download stuff from my page will not try again, if
the build in Safari tool does not work directly. 

By now I tried:
default zip class
another zip class
zipping the directory using system call
Nothing has worked so far. Next I'll try tar.gz but am pessimistic. 

Martin.

On Sat, 2010-10-09 at 10:59 -0400, TR Shaw wrote:
> Safari has a pref not to auto open files (which IMHO is a pref that should be 
> set). Perhaps this is causing your issues?
> 
> Tom
> 
> On Oct 9, 2010, at 10:18 AM, Martin Reuter wrote:
> 
> > It works in other browsers and it works when storing it and unzipping in a 
> > terminal on OSX. I think it is probably a safari unzipped bug (not sure 
> > what tool safari chooses to automatically unzipped without asking).
> > the weird thing is that some people report it works, so maybe they don't 
> > store directories or the use a different header for sending the file?
> > If someone has a working solution let me know.
> > 
> > Best Martin
> > 
> > On Oct 8, 2010, at 17:18, TR Shaw <ts...@oitc.com> wrote:
> > 
> >> I don't have any problem in this regard.
> >> 
> >> On Oct 8, 2010, at 11:09 AM, Nathan Rixham wrote:
> >> 
> >>> M. Reuter wrote:
> >>>> Hi,
> >>>> does anyone know how to use a php script to zip a folder (with a
> >>>> subfolder) so that safari can open it and not decompresses forever?
> >>> 
> >>> if it works in other browsers, and not in safari, then it's either a big 
> >>> in safari, in which case report it with an offending zip file - or it's a 
> >>> big in PHP / your zipping process which is handled gracefully by other 
> >>> browsers but not by safari, in which case report it too.
> >>> 
> >>> Best,
> >>> 
> >>> Nathan
> >>> 
> >>> -- 
> >>> 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
> >> 
> > 
> > --
> > 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


--- End Message ---
--- Begin Message ---
Hello everybody,

I create one site where user can upload .zip files, but now I have one interesting problem. I need me PHP script where can have one edit box and button, user can input same text in edit box and when press on button he need to find the document who have text from edit button. Do you same body have script or more on script who can search inside in same file (zip file with word document, presentation etc).

Thanks a lot. :)

--- End Message ---

Reply via email to