Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
contenttype
- Page 1
ContentType
Programming
Web Development
14 Years Ago
by SammiSmi
Hi All :) A 2003 word document has a
ContentType
"application/msword", but what is the
ContentType
of a 2007 Word document? Thanks :)
Re: ContentType
Programming
Web Development
14 Years Ago
by serkan sendur
can it be
ContentType
="application/xml"/ ?
using grep, sed, awk to pull links out of an XML file
Programming
Software Development
15 Years Ago
by brakeb
…?id=3207375</Url><
ContentType
>text/xml</
ContentType
><AcceptsParams>No</…:expires-soon-recording</Url><
ContentType
>image/*</
ContentType
><AcceptsParams>No</AcceptsParams…:expires-soon-recording</Url><
ContentType
>image/*</
ContentType
><AcceptsParams>No</AcceptsParams…
Re: using grep, sed, awk to pull links out of an XML file
Programming
Software Development
15 Years Ago
by brakeb
…1.6/"> Details>
ContentType
>x-tivo-container/tivo-videos /
ContentType
> SourceFormat>x-tivo-container…> Item> Details>
ContentType
>video/x-tivo-raw-pes /
ContentType
> SourceFormat>video/x-tivo-raw…&id=3207375 /Url>
ContentType
>video/x-tivo-raw-pes /
ContentType
> /Content> TiVoVideoDetails> …
Re: using grep, sed, awk to pull links out of an XML file
Programming
Software Development
15 Years Ago
by ShawnCplus
…6/"> Details>
ContentType
>x-tivo-container/tivo-videos /
ContentType
> SourceFormat>x-tivo-…gt; Item> Details>
ContentType
>video/x-tivo-raw-pes /
ContentType
> SourceFormat>video/x-tivo…amp;amp;id=3207375 /Url>
ContentType
>video/x-tivo-raw-pes /
ContentType
> /Content> TiVoVideoDetails>…
csv file uploaded but cannot be imported into sql
Programming
Web Development
13 Years Ago
by farehan
…ms-excel"; break; case ".xlsx":
contenttype
= "application/vnd.ms-excel"; break;…ms-excel"; break; case ".xlsx":
contenttype
= "application/vnd.ms-excel"; break;…
Upload Image to SQL Server DB Duplication
Programming
Databases
9 Years Ago
by Antpit
…" Exit Select Case ".docx"
contenttype
= "application/vnd.ms-word" Exit…excel" Exit Select Case ".xlsx"
contenttype
= "application/vnd.ms-excel" Exit…
Import/Export files to Sql Server using C#
Programming
Software Development
10 Years Ago
by minnie19
… ext = Path.GetExtension(filename); string
contenttype
= String.Empty; //Set the
contenttype
based on File Extension switch(ext)…-excel"; break; case ".xlsx":
contenttype
= "application/vnd.ms-excel"; break…
How to get url from a link in JSP / JSF
Programming
Web Development
12 Years Ago
by bhanu1607
…; rendered="#{((viewSectionsPage.section.
contentType
== viewSectionsPage.typeLink || viewSectionsPage.section.
contentType
== viewSectionsPage.typeUpload || viewSectionsPage.section.
contentType
== viewSectionsPage.typeLTI || viewSectionsPage.section.
contentType
== viewSectionsPage.typeResLink)&&…
File Upload using jsp
Programming
Web Development
13 Years Ago
by josiefrut
…content type is:" +
contentType
); if ((
contentType
!= null) && (
contentType
.indexOf("multipart/form-data…// int lastIndex =
contentType
.lastIndexOf("="); // String boundary =
contentType
.substring(lastIndex + 1,
contentType
.length()); // int pos…
Reading ".xlsx" files from web browser
Programming
Software Development
11 Years Ago
by vkk
…UploadFileType") = "docx" Then Response.
ContentType
= "application/vnd.openxmlformats-officedocument.wordprocessingml.document&…UploadFileType") = "pptm" Then Response.
ContentType
= "application/vnd.ms-powerpoint" Else…
Re: Problem Downloading large files
Programming
Web Development
19 Years Ago
by RobUK
… Content-Types Here Select Case strFileType Case ".asf"
ContentType
= "video/x-ms-asf" Case ".avi&…' In Their Browser Response.Charset = "UTF-8" Response.
ContentType
=
ContentType
Response.BinaryWrite objStream.Read Response.Flush objStream.Close Set objStream…
error..
Programming
Web Development
14 Years Ago
by farahshafilla
…lt;% int val =0; StringcontentType = request.getContentType(); if ((
contentType
!= null) && (
contentType
.indexOf("multipart/form-data") >= 0)) {…("\"")); int lastIndex =
contentType
.lastIndexOf("="); String boundary =
contentType
.substring(lastIndex + 1,
contentType
.length()); int pos; pos = file…
uploading files in JSP
Programming
Web Development
14 Years Ago
by shalabhgarg
… is :: " +
contentType
); if ((
contentType
!= null) && (
contentType
.indexOf("multipart/form-data… pos = -1; } } }while(pos == -1);
contentType
= fileData.substring(startPos + 14, endPos); //loop for extracting …); out.println("<br>2.
contentType
= " +
contentType
); out.println("<br>3.…
file upload using multipart
Programming
Web Development
12 Years Ago
by coervivekmca
….out.println("Content type is :: " +
contentType
); if ((
contentType
!= null) && (
contentType
.indexOf("multipart/form-data") >= 0…("\"")); int lastIndex =
contentType
.lastIndexOf("="); String boundary =
contentType
.substring(lastIndex + 1,
contentType
.length()); //out.println(boundary); int …
upload file using jsp and mysql
Programming
Web Development
17 Years Ago
by Mohandsa
…BOUNDARY_WORD_SIZE = "boundary=".length(); if(
contentType
== null || !
contentType
.startsWith("multipart/form-data")) { …err += "ENCTYPE set = " +
contentType
; }else{ boundary =
contentType
.substring(
contentType
.indexOf("boundary=") + BOUNDARY_WORD_SIZE); boundary =…
java.lang.ArrayIndexOutOfBoundsException: 2
Programming
Web Development
14 Years Ago
by madristaa
…form> <% String
contentType
= request.getContentType(); if( (
contentType
!= null) && (
contentType
.indexOf("multipart/form-data&…""; int lastIndex =
contentType
.lastIndexOf("="); String boundary =
contentType
.substring(lastIndex + 1,
contentType
.length()); int pos; pos =…
Upload File in jsp
Programming
Web Development
11 Years Ago
by rhyll07
…String saveFile=""; String
contentType
= request.getContentType(); if((
contentType
!= null)&&(
contentType
.indexOf("multipart/form-data"…quot;")); int lastIndex =
contentType
.lastIndexOf("="); String boundary =
contentType
.substring(lastIndex + 1,
contentType
.length()); int pos; pos …
image from 2 file upload control
Programming
Software Development
6 Years Ago
by leya_1
… ext Case ".jpg"
contenttype
= "image/jpeg"…hpf.FileName ViewState("imageType") =
contenttype
ViewState("imageContent") = bytes ViewState(&…
Porting asp to asp.NET (with fileup)
Programming
Web Development
19 Years Ago
by gchq
… and then blows out with:- ============================================= Public member '
ContentType
' on type 'String' not found. Exception Details: …System.MissingMemberException: Public member '
ContentType
' on type 'String' not found. ============================================ Perhaps …
Re: Porting asp to asp.NET (with fileup)
Programming
Web Development
19 Years Ago
by rompaa
… something like [C#] if ( ((SoftArtisans.Net.SaFile)upl.Form(item)).
ContentType
== "image/gif" || ((SoftArtisans.Net.SaFile)upl.Form(item…;image/jpeg" || ((SoftArtisans.Net.SaFile)upl.Form(item)).
ContentType
== "image/pjpeg" ) { ... } (I'm sorry, I can read …
Please help me in upload code
Programming
Web Development
14 Years Ago
by UAEU Student
…> <% String
contentType
= request.getContentType(); if ((
contentType
!= null) && (
contentType
.indexOf("multipart/form-data…int lastIndex =
contentType
.lastIndexOf("="); String boundary =
contentType
.substring(lastIndex + 1,
contentType
.length()); int pos…
HTTPRequest....am I doing it right?
Programming
Software Development
13 Years Ago
by dzruptz
…struct { string mainHeader; string name; string fileName; string
contentType
; string fileContents; } PostFileHeader; class HTTPPoster { HINTERNET _hSession…BOUNDARY; newHeader.name = name; newHeader.fileName = fileName; newHeader.
contentType
=
contentType
; newHeader.fileContents = ""; } string getMainHeader(const …
dynamically change image alt tags and href links
Programming
Web Development
13 Years Ago
by trampman
…theRow["PageContent"].ToString(); } if (theRow["
ContentType
"].ToString() == "link") { //ctrl.…quot;].ToString(); //doesnt work } if (theRow["
ContentType
"].ToString() == "alt") { //…
java.lang.IndexOutOfBoundsException
Programming
Web Development
11 Years Ago
by wolwayne
… saveFile=""; String
contentType
= request.getContentType(); if((
contentType
!= null)&&(
contentType
.indexOf("multipart/form-data…quot;)); int lastIndex =
contentType
.lastIndexOf("="); String boundary =
contentType
.substring(lastIndex + 1,
contentType
.length()); int pos; …
Upload Photo to Amazon-S3
Programming
Web Development
8 Years Ago
by gahhon
String
contentType
= request.getContentType(); if ((
contentType
!= null) && (
contentType
.indexOf("multipart/form-data") …quot;)); int lastIndex =
contentType
.lastIndexOf("="); String boundary =
contentType
.substring(lastIndex + 1,
contentType
.length()); int pos; …
Open In New Window Php
Programming
Web Development
19 Years Ago
by gremlinuk
…["PHP_SELF"])."/".$thumbFile); die(); } } } $
contentType
= ""; $extension = strtolower(substr(strrchr($file, "…lt;=$thumbnailHeight AND $srcWidth<=$thumbnailWidth) { Header("Content-Type: $
contentType
"); readfile($file); } else { if ($srcWidth > $srcHeight…
JSF HTTP 500 error
Programming
Web Development
15 Years Ago
by kohuke
… is as follows: Detail.jsp: [CODE]<%@page
contentType
="text/html"%> <%@page pageEncoding="…html> [/CODE] Edit.jsp: [CODE]<%@page
contentType
="text/html"%> <%@page pageEncoding="…> [/CODE] List.jsp: [CODE]<%@page
contentType
="text/html"%> <%@page pageEncoding="…
Post XML String to URL (HTTPPOST) & Web service to accept that string.
Programming
Software Development
15 Years Ago
by tusharvichare
…Dim Value As WebExceptionStatus ' Set the
ContentType
property of the WebRequest. 'Request.
ContentType
= "application/x-www-form-urlencoded…" Request.
ContentType
= "text" 'Request.
ContentType
= "XML" ' Set the …
including codecs when compiling
Programming
Software Development
14 Years Ago
by ihatehippies
… % recipient) def getAttachment(attachmentFilePath):
contentType
, encoding = mimetypes.guess_type(attachmentFilePath) if
contentType
is None or encoding is not …None:
contentType
= 'application/octet-stream' mainType, subType =
contentType
.split('/', 1)…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC