![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Przyjaciele php.pl Postów: 2 335 Pomógł: 6 Dołączył: 7.03.2002 Ostrzeżenie: (0%) ![]() ![]() |
Pisze wyrazenie regularne do pobrania Content-Typea z czystego maila i natrafilem na maly problem.
Mozliwe ustawienia Content-Type to: Kod Content-Type: multipart/alternative; boundary="jh2x4CpaBw6eoB8" Kod Content-Type: multipart/alternative; boundary=jh2x4CpaBw6eoB8 Kod Content-Type: multipart/alternative; boundary="jh2x4CpaBw6eoB8" Kod Content-Type: multipart/alternative; boundary=jh2x4CpaBw6eoB8 Kod Content-Type: multipart/alternative; boundary="jh2x4CpaBw6eoB8" Kod Content-Type: text/plain; charset="utf-8" Kod Content-Type: text/plain; charset="utf-8" itd... Narazie mam takei wyrazenie: Kod /^content-type: (.*);$/im ktore pobiera mi ta pierwsza opcje (multipart/alternatice itp.) Nie wiem jednak jak sie zabrac do drugiej czesci: boundary i charset. Moze ma ktos na to pomysl ? |
|
|
![]() ![]() |
![]() |
Aktualny czas: 22.08.2025 - 14:30 |