[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [PROGRAMMERING] php passthru returnere kun en lille del af resultatet



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2011-03-21 22:22, Henrik Pedersen wrote:
> Konkret drejer det sig om at der bliver uploadet en stærkt M$ påvirket fil.
> Jeg smider den derefter igennem adskillige sed kald, der klargør den
til at
> blive smidt i en db.
>
> Som emnet angiver er problemet at jeg kun for dele af resultatet tilbage,
> kun den første linie.
>
> Er der nogen der har en ide om hvor hunden kan ligge begravet.
>
> \Henrik
Du skal nok bruge exec() istedet.
Anden argument er et array som bliver udfyldt med linjerne, som din
kommando outputter.

Dem kan du så joine med implode() funktionen, hvis du hellere vil have
én newline separeret streng.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2Hzo4ACgkQzDMeisFqGZYJJQCgpiGlOasgCfttlj+NyR4NpDcs
itUAnisE6c179R1ghenFYuCrT1cpAkyh
=RTB2
-----END PGP SIGNATURE-----



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2011-04-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *