Re: [PHP] Content question

2010-05-20 Thread tedd
At 1:07 PM -0400 5/19/10, Ernie Kemp wrote: This is not a direct PHP question but I will be using PHP in the website. After a website has been created there will a need to changes say a product or service page over time. The client asking how he will be able to make changes to these pages. Yes

Re: [PHP] Content question

2010-05-19 Thread Ashley Sheridan
On Wed, 2010-05-19 at 13:07 -0400, Ernie Kemp wrote: > > > This is not a direct PHP question but I will be using PHP in the > website. > > > > After a website has been created there will a need to changes say a > product or service page over time. > > The client asking how he will be able t

Re: [PHP] CONTENT-type for sending HTML attachments

2007-03-19 Thread Richard Lynch
On Fri, March 16, 2007 10:16 am, Angelo Zanetti wrote: > Im using the HTML Mime Mail > class from phpguru.org. > Anyway I've written a few scripts that use the class to attach files > to > it. These files are HTML reports but Im not sure what MIME > co

Re: [PHP] CONTENT-type for sending HTML attachments

2007-03-16 Thread Tijnema !
On 3/16/07, Angelo Zanetti <[EMAIL PROTECTED]> wrote: Hi guys. Im using the HTML Mime Mail class from phpguru.org. Anyway I've written a few scripts that use the class to attach files to it. These files are HTML reports but Im not sure what MIME con

Re: [PHP] Content - strip...

2005-09-02 Thread Philip Hallstrom
Hi there! Anyone that has an easy solution to this? I have a string filled with content. A lot of content is before Jumping Jack flash I want the $content - string to start at Jumping Jack flash Is there any smart way of doing this? Use strstr() to find the first occurence of "Jumping Jack

Re: [PHP] Content Header

2005-07-22 Thread Matthew Weier O'Phinney
* "Richard Lynch" <[EMAIL PROTECTED]> : > On Thu, July 21, 2005 4:55 am, Chris Shiflett said: > > Christopher J. Umina wrote: > > > I currently have a script which streams data out of a MySQL database, > > > and prints the content headers correctly, however, when I use the > > > following line: > >

Re: [PHP] Content Header

2005-07-21 Thread Richard Lynch
On Wed, July 20, 2005 7:32 am, Christopher J. Umina said: > Hello! > > I currently have a script which streams data out of a MySQL database, > and prints the content headers correctly, however, when I use the > following line: > > header("Content-Disposition: attachment; filename=\"". $filename

Re: [PHP] Content Header

2005-07-21 Thread Richard Lynch
On Thu, July 21, 2005 4:55 am, Chris Shiflett said: > Christopher J. Umina wrote: >> I currently have a script which streams data out of a MySQL database, >> and prints the content headers correctly, however, when I use the >> following line: >> >> header("Content-Disposition: attachment; filename=

Re: [PHP] Content Header

2005-07-21 Thread Chris Shiflett
Christopher J. Umina wrote: I currently have a script which streams data out of a MySQL database, and prints the content headers correctly, however, when I use the following line: header("Content-Disposition: attachment; filename=\"". $filename ."\""); it prompts the user to download the file e

Re: [PHP] Content Header

2005-07-20 Thread Cafer Simsek
Sorry it was header("Content-Disposition: inline; filename=\"". $filename ."\""); -Cafer On 7/20/05, Cafer Simsek <[EMAIL PROTECTED]> wrote: > Hi, > > You may try that; > > header("Content-Disposition: attachment; filename=\"". $filename ."\""); > > Best Regards > > -Cafer > > On 7/20/05, C

Re: [PHP] Content Header

2005-07-20 Thread Cafer Simsek
Hi, You may try that; header("Content-Disposition: attachment; filename=\"". $filename ."\""); Best Regards -Cafer On 7/20/05, Christopher J. Umina <[EMAIL PROTECTED]> wrote: > Hello! > > I currently have a script which streams data out of a MySQL database, > and prints the content headers co

Re: [PHP] Content-Type header required for POST?

2004-10-25 Thread Olaf van der Spek
Chris Shiflett wrote: --- Olaf van der Spek <[EMAIL PROTECTED]> wrote: Since which version does PHP require the Content-Type header in POST requests? Content-Type is required for any request that has content. It's an HTTP The RFC says should, not is required to. Any HTTP/1.1 message containing an

Re: [PHP] Content-Type header required for POST?

2004-10-25 Thread Olaf van der Spek
Chris Shiflett wrote: --- Olaf van der Spek <[EMAIL PROTECTED]> wrote: Content-Type is required for any request that has content. It's an HTTP requirement and has very little to do with PHP. Can you explain what you're talking about? I was talking about the request, not about the response. As was

Re: [PHP] Content-Type header required for POST?

2004-10-25 Thread Chris Shiflett
--- Olaf van der Spek <[EMAIL PROTECTED]> wrote: > > Content-Type is required for any request that has content. > > It's an HTTP requirement and has very little to do with PHP. > > > > Can you explain what you're talking about? > > I was talking about the request, not about the response. As was

Re: [PHP] Content-Type header required for POST?

2004-10-25 Thread Olaf van der Spek
Chris Shiflett wrote: --- Olaf van der Spek <[EMAIL PROTECTED]> wrote: Since which version does PHP require the Content-Type header in POST requests? Content-Type is required for any request that has content. It's an HTTP requirement and has very little to do with PHP. Can you explain what you're

Re: [PHP] Content-Type header required for POST?

2004-10-25 Thread Chris Shiflett
--- Olaf van der Spek <[EMAIL PROTECTED]> wrote: > Since which version does PHP require the Content-Type header in > POST requests? Content-Type is required for any request that has content. It's an HTTP requirement and has very little to do with PHP. Can you explain what you're talking about? C

Re: [PHP] 'Content-Type: text/plain; charset=utf-8'

2004-04-01 Thread Rob Ellis
On Thu, Apr 01, 2004 at 01:55:50PM +0300, nabil wrote: > header ('Content-Type: text/plain; charset=utf-8'); > echo "Hi there"; > ?> > > > I need to echo a plain txt on my page, without any HTML tags. > my problem, when I run it on my apache, the save/open screen pops up. > > What's wrong pleas

Re: [PHP] content management

2004-01-26 Thread joel boonstra
On Mon, Jan 26, 2004 at 08:07:21PM -0300, Pupeno wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Does anybody know of an extremely simple CMS (to serve pages, documents, not > news based like most of them) that can store pages in various languages and > comes with interface in vario

Re: [PHP] Content-type vs session_start()

2004-01-09 Thread Børge Strand
Cheers Chris > I will try to explain using your code: > > > Here's test3.cgi: > > == > > #! /usr/local/bin/php > > > print 'Content-type: text/html' . "\n\n"; > > When you are running as a CGI, you can set the Content-Type header in this

Re: [PHP] Content-type vs session_start()

2004-01-09 Thread Børge Strand
> > Do you have any ideas what I should do to make both .php and .cgi > > versions work? > > > Here's test3.cgi: > > == > > #! /usr/local/bin/php > > > print 'Content-type: text/html' . "\n\n"; > > session_start(); > > Have you tried p

Re: [PHP] Content-type vs session_start()

2004-01-08 Thread Chris Shiflett
--- Børge Strand <[EMAIL PROTECTED]> wrote: > I have a problem with html headers using sessions. I think you mean HTTP headers. > I guess it has to do with the Content-type line. Yes, and you seem to have a fundamental misunderstanding between using PHP as an Apache module versus using PHP as a

Re: [PHP] Content-type vs session_start()

2004-01-08 Thread Brad Pauly
On Thu, 2004-01-08 at 14:14, BÃrge Strand wrote: [snip] > Do you have any ideas what I should do to make both .php and .cgi > versions work? > Here's test3.cgi: > == > #! /usr/local/bin/php > print 'Content-type: text/html' . "\n\n"; >

Re: [PHP] Content of Variable ist html code

2003-08-24 Thread Dan Anderson
I'm not sure what you're asking but... Using htmlentities() and undohtmlentities() (look up the real functions) to data going into and out of your database will allow you to store it without getting lots of errors... mySQL storage (even TEXT and BLOB types) can't be larger then so many bytes (sys

Re: [PHP] content type header for downloading files

2003-01-30 Thread Sascha Braun
]> Sent: Thursday, January 30, 2003 10:27 AM Subject: Re: [PHP] content type header for downloading files > At 02:04 30.01.2003, Dara Dowd said: > [snip] > >$fname is the name of the file i want to download. It works in IE, as in the >

Re: [PHP] content type header for downloading files

2003-01-30 Thread Ernest E Vogelsinger
At 02:04 30.01.2003, Dara Dowd said: [snip] >$fname is the name of the file i want to download. It works in IE, as in the >name of the file to be downloaded appears correctly in the dialog box. I >changed 'application/octet' to 'application/octet-stream' an

Re: [PHP] content type header for downloading files

2003-01-29 Thread Evan Nemerson
Dara Dowd wrote: > how do i examine the headers sent? > - Original Message - > From: "John W. Holmes" <[EMAIL PROTECTED]> > Date: Wed, 29 Jan 2003 20:06:47 -0500 > To: "''Dara Dowd''" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]&

RE: [PHP] content type header for downloading files

2003-01-29 Thread Dara Dowd
how do i examine the headers sent? - Original Message - From: "John W. Holmes" <[EMAIL PROTECTED]> Date: Wed, 29 Jan 2003 20:06:47 -0500 To: "''Dara Dowd''" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]&

RE: [PHP] content type header for downloading files

2003-01-29 Thread John W. Holmes
> $fname is the name of the file i want to download. It works in IE, as in > the name of the file to be downloaded appears correctly in the dialog box. > I changed 'application/octet' to 'application/octet-stream' and this had > no effect. Maybe find a site that works correctly on the browser in q

Re: [PHP] content type header for downloading files

2003-01-29 Thread Dara Dowd
ris Shiflett <[EMAIL PROTECTED]> Date: Wed, 29 Jan 2003 06:47:17 -0800 (PST) To: Dara Dowd <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: Re: [PHP] content type header for downloading files > --- Dara Dowd <[EMAIL PROTECTED]> wrote: > > I have the following headers in

Re: [PHP] content type header for downloading files

2003-01-29 Thread Chris Shiflett
--- Dara Dowd <[EMAIL PROTECTED]> wrote: > I have the following headers in download.php which forces > a download dialog box to be opened when a user clicks on > a desired file: > > header("Content-type: application/octet"); > header("Content-Length: $filelength"); > header("Content-Disposition: a

Re: [PHP] content type header for downloading files

2003-01-29 Thread Ernest E Vogelsinger
At 03:27 29.01.2003, Dara Dowd said: [snip] >I have the following headers in download.php which forces a download dialog >box to be opened when a user clicks on a desired file: > >header("Content-type: application/octet"); >header("Content-Length: $filelengt

Re: [PHP] content type header for downloading files

2003-01-28 Thread Dara Dowd
on <[EMAIL PROTECTED]> Date: Tue, 28 Jan 2003 21:28:19 -0800 To: "Dara Dowd" <[EMAIL PROTECTED]> Subject: Re: [PHP] content type header for downloading files > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Change > header("Content-Disposition: attach

Re: [PHP] content type header for downloading files

2003-01-28 Thread Evan Nemerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Change header("Content-Disposition: attachment; filename=".basename($fname).";"); to header("Content-Disposition: inline; filename=".basename($fname).";"); On Tuesday 28 January 2003 06:27 pm, Dara Dowd wrote: > I have the following headers in downlo

Re: [PHP] Content-Disposition IE bug (ADDENDUM)

2002-10-15 Thread Francis
nope still dont work :( oh well back to bashing my head against a wall and talking to microsoft :) "Aaron Gould" <[EMAIL PROTECTED]> wrote in message 012c01c27447$69e831c0$3f63a8c0@pcagould">news:012c01c27447$69e831c0$3f63a8c0@pcagould... > I just read the part about caching... Here's the downlo

Re: [PHP] Content-Disposition IE bug (ADDENDUM)

2002-10-15 Thread Aaron Gould
I just read the part about caching... Here's the download code that works perfectly for me. Note the first line that deals with caching. The last line also has the filename in quotes. That might make a difference. If you still get [1], try the %20 trick in my last post. header("Cache-con

Re: [PHP] Content-Disposition IE bug

2002-10-15 Thread Aaron Gould
I remember reading on this a long while back. Try searching the archives of this list. The solution pointed to a Microsoft Knowledge Base article. If I recall correctly, it involved simply adding "%20" to the end of your filename string... Something like this: Header("Content-Disposition:

Re: [PHP] Content-Length

2002-07-04 Thread Daniel Tryba
On Thu, Jul 04, 2002 at 01:24:04PM +0200, Grant wrote: > My question is how do I go about calculating the correct Content-Length for > each and every php page on my site. > > I have done some digging and presume I need to do "Output buffering" and > calculate the strlen of the response the php re

RE: [PHP] Content Management System in php

2002-06-18 Thread Brian McGarvie
Indeed PHP-Nuke is not meant for Co-orporate sites... I have my own custom built 'bits' that I put together when doing site for a client. If you can't/don't have the luxury of being able to hire/contract a developer to develop a custom-designed solution for your needs then you are unfortinaltley

Re: [PHP] Content Management

2002-02-10 Thread Vincent Stoessel
I would also check out the midgard project which has made vast improvements in the current 1.4.x series. karthikeyan wrote: > Hi, > > How should i go about to developing a php application to manage the content of a >web site OR is there allready some ready m

Re: [PHP] Content Management

2002-02-08 Thread Justin Farnsworth
You might check out binarycloud. This is a platform but there is probably going to be an app for content management very soon as this is being worked on. SEE: http://binarycloud.tigris.org/ SEE: http://www.binarycloud.com/ _justin karthikeyan wrote: > > Hi, > > How should i go about to dev

RE: [PHP] Content Management

2002-02-08 Thread sean
We'd need some more information, as "Content Management" is as varied as web pages, but depending on your needs: http://www.roadsend.com/siteManager/home/treeMenu.php is a hot script. Look around on-line or on php.net for some leads that suite your complexity requirements, or fill us in on the

Re: [PHP] Content Management

2002-01-31 Thread Julio Nobrega Trabalhando
Zope mantains a lot of large sites. Also I know www.ig.com.br (second most accessed site here in Brazil) uses Vignette. In fact, ALL large sites has to use some kind of CMS, otherwise keeping the large amount of content and related operations between sub-sections is close to impossible. --

Re: [PHP] Content Management

2002-01-30 Thread Erik Price
On Wednesday, January 30, 2002, at 02:19 PM, [EMAIL PROTECTED] wrote: > Does anyone know of an organization who has built and maintains a web > content management application for a large site? > > Zope. Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP G

Re: [PHP] Content Management

2002-01-30 Thread Les Neste
When I think content management, I think of: -- separates content from presentation -- ie supports templates with which a content item can be rendered -- allows specification of language (ie French German English whatever) with which content is presented -- provides handy tools for managing conte

Re: [PHP] Content Management

2002-01-30 Thread bob
TED]> Subject: Re: [PHP] Content Management 01/30/2002 02

Re: [PHP] Content Management

2002-01-30 Thread Miles Thompson
What do you mean by the term "content management"? It is a little ambiguous, do you mean something like a wiki? "Large" is a bit unquantified as well. Like the time I went to the bank and my wife asked be to bring her "some money". She was a bit surprise to be handed three bucks; subsequent r

Re: [PHP] Content Management

2002-01-30 Thread Tony Bibbs
CMS is kind of an ambigous term anymore. I contribute to Geeklog, http://geeklog.sourceforge.net so I'd recommend seeing if that fits your needs. If not, give PHP Nuke, Post Nuke, Scoop and slashcode a look. Not sure what exactly your CMS needs are so I'm not sure if what I just suggested are v

Re: [PHP] Content

2002-01-15 Thread Rasmus Lerdorf
Grab the latest version of PHP. There is a new php.ini directive called always_populate_raw_post_data which when turned on forces all post data to be available through the $HTTP_RAW_POST_DATA variable. -Rasmus On Tue, 15 Jan 2002, Daniel C. Sobral wrote: > I have a little problem I have been t

Re: [PHP] Content

2002-01-15 Thread Daniel C. Sobral
Jimmy wrote: > Hi Daniel, > > >>variables, but as part of the Content of the HTTP request. Here is a sample: >> > >>POST >>/~rafael/sms_mail/cliente.dcs.php?NotificationProtocolVersion=1.0.0.0&ApplicationName=NPlex&ApplicationVersion=6.0.037&RequestType=NewMsg&RequestTime=01/15/2002%2014:08:23

Re: [PHP] Content

2002-01-15 Thread Jimmy
Hi Martin, > I dunno how to do that from the top of my head, but imo Daniels server > is broken since POST variables are sent in the body, but that is > clearly no POST request at all. In this case PHP has no way of parsing > the broken request. Or am I wrong here? nope. in POST request, all t

Re: [PHP] Content

2002-01-15 Thread Martin Wickman
Jimmy wrote: > Hi Daniel, > > >>variables, but as part of the Content of the HTTP request. Here is a sample: >> > >>POST >>/~rafael/sms_mail/cliente.dcs.php?NotificationProtocolVersion=1.0.0.0&ApplicationName=NPlex&ApplicationVersion=6.0.037&RequestType=NewMsg&RequestTime=01/15/2002%2014:08:23

Re: [PHP] Content

2002-01-15 Thread Jimmy
Hi Daniel, > variables, but as part of the Content of the HTTP request. Here is a sample: > POST > >/~rafael/sms_mail/cliente.dcs.php?NotificationProtocolVersion=1.0.0.0&ApplicationName=NPlex&ApplicationVersion=6.0.037&RequestType=NewMsg&RequestTime=01/15/2002%2014:08:23&ServerType=email&[EMAIL

Re: [PHP] content disposition and internet exploder

2001-12-02 Thread Fred
That works fine in IE but does not work in NS, undoubtedly because it does not conform to the RFC. Fred Jason Murray <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I am attempting to allow users to download csv files that are created > > dynamically from a

Re: [PHP] content disposition and internet exploder

2001-12-02 Thread Fred
LOL Of course it worked. Open Source outwits MS yet again. Fred Rasmus Lerdorf <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You could just trick it with a URL like: > > http://your.domain.com/script.php/query.csv > > IE will think your script is called que

Re: [PHP] content disposition and internet exploder

2001-12-02 Thread Rasmus Lerdorf
You could just trick it with a URL like: http://your.domain.com/script.php/query.csv IE will think your script is called query.csv while Apache is smart enough to run script.php. -Rasmus On Sun, 2 Dec 2001, Fred wrote: > I am attempting to allow users to download csv files that are created >

RE: [PHP] content disposition and internet exploder

2001-12-02 Thread Jason Murray
> I am attempting to allow users to download csv files that are created > dynamically from a database. In order to do so I use: > > header( "Content-Disposition: attachment, filename=query.csv"); [snip] > Has anyone had success in getting IE to use the correct filename when > downloading dynami

RE: [PHP] Content management

2001-09-10 Thread Kevin
The following might help you in your quest. You may already be aware of them and perhaps they don't fit your bill but anyway, here it goes. I think phpwebsite is worth a look. http://phpwebsite.appstate.edu/ http://www.postnuke.org/ and have a look through here: http://www.hotscripts.com/PHP

Re: [PHP] Content management

2001-09-10 Thread Nelson Goforth
I've seen one very heavy-duty example of a completely web-based site development tool. This was done in ASP, VB and SQL Server (I think) but could be done with open source tools. However, they've put many people-years into the project. Every site resides on the ASP's (using the other meanin

Re: [PHP] Content management

2001-09-10 Thread Michael Champagne
I am looking for something like this as well. We are not looking at developing our own interface but maybe going with something like eGrail or Vignette? I'm not too familiar with the pros and cons of these. Which heavy duty content management system is best from a PHP-friendly standpoint? Than

RE: [PHP] Content management

2001-09-07 Thread King, Justin
I'm actually doing the same thing for my district. We've developed a code system much like html, only not. Sounds stupid but it works. I mostly ripped off UBB code. For example: [b]bold[/b], [i]italics[/i] Then we give the people using it an instruction sheet. Since [ and ] don't require a sh

Re: [PHP] Content Type Text?

2001-08-01 Thread Matt Greer
on 8/1/01 4:35 PM, Jeff Oien at [EMAIL PROTECTED] wrote: > I've looked all over and can't find a content-type declaration for text. > This is my guess > header("Content-Type: text/txt"); > but I'm not sure if this is right. I know this is more HTTP than PHP. > I want info to be displayed in a bro

RE: [PHP] Content Type Text?

2001-08-01 Thread Gonyou, Austin
; To: [EMAIL PROTECTED]; PHP > Subject: RE: [PHP] Content Type Text? > > > text/plain > > Jerry Lake > Interface Engineering Technician > Europa Communications - http://www.europa.com > Pacifier Online - http://www.pacifier.com > > > -Original Message

RE: [PHP] Content Type Text?

2001-08-01 Thread Jerry Lake
text/plain Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: Jeff Oien [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 01, 2001 2:35 PM To: PHP Subject: [PHP] Content Type

Re: [PHP] content-type problem with file uploads

2001-03-12 Thread Nick Davies
Content-type = not Content-Type = ... On Mon, 12 Mar 2001, James Tremain wrote: > I've been successfully uploading graphic files to a directory on my php > server for more than a year. Suddenly, it no longer works, and after a lot > of probing, I'm at a loss to determine why. > > I run PH

Re: [PHP] Content-Type: image/gif and send the image in hex

2001-03-04 Thread Christian Reiniger
On Sunday 04 February 2001 05:53, you wrote: > Hi all, > > I'm trying to make a demonstration script (using PHP) that demonstrates > the use of MIME types in HTTP headers. It should send the Content-Type > header and than sends an image to the browser in hex. What do you mean with "in hex"? Hex i

Re: [PHP] content retrieval from mp3.com band pages - need help

2001-02-08 Thread Richard Lynch
> Ok, I'm new to programming in PHP. What I'm trying to do is retrieve the > song list with play links off of my bands' page at Mp3.com. Ultimately > I want to build it into a function I can call with an array of song > names and it will return the html formatted as I like COOL!!! http://mp3.co

RE: [PHP] Content Pulls

2001-01-11 Thread Alan Todd
smime.p7m