Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
binaries u HTML formi?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
Sulien



Joined: 04 Jan 2004
Posts: 2905
Location: Zagreb

PostPosted: 08.04.2005 22:45    Post subject: binaries u HTML formi? Add user to your forum ignore list Reply with quote

Htio bi napraviti html formu koja bi poslala file. Jasno mi je sve kad je file jedini element forme, ali htio bi da bude i drugih, tekstualnih podataka. U tom slučaju sam čitao da treba napraviti nekekav delimiter koji u primljenim podacima odjeljuje binarne od tekstualnih. Budući da nisam uspio naći konkretan primjer (svi koji sam našao primaju samo jedan file i ništa drugo), može mali help na topic kakav je to delimiter i kako to napraviti?

PHP fkors

thnx Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
xpi



Joined: 21 Jan 2004
Posts: 33

PostPosted: 09.04.2005 00:05    Post subject: Add user to your forum ignore list Reply with quote

Ha? Delimiter stavljaš ako šalješ podatke "ručno", telnetom na web-server, port 80... Smile Inače se ne trebaš s tim sam gnjaviti... Bez brige, stavi input-elemente tipa "file" i tipa "text" zajedno, neće smetati jedni drugima. Jedino moraš paziti da u formu odrediš da pakira stvari "multipart":

Code:
<form action="..." method="post" enctype="multipart/form-data">

Možda je to falilo?

To "multipart" stvarno znači da se podaci odvajaju delimiterom, ali to će korisnikov browser umetati sam gdje treba, kad bude slao... He's a big boy. Cool
Back to top
View user's profile Send private message
Sulien



Joined: 04 Jan 2004
Posts: 2905
Location: Zagreb

PostPosted: 09.04.2005 14:07    Post subject: Add user to your forum ignore list Reply with quote

thx! čini se da sam u nekoj točci istraživanja nešto krivo shvatio Smile

will try!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group