Re: [PHP] HTML Forms, PHP Question

2006-11-19 Thread Robert Cummings
On Sun, 2006-11-19 at 11:00 -0500, Stephen wrote: Hi First question to the list. I am writing a control panel for a web site and there will be about 20 HTML forms. Instead of creating 20 PHP files to process the submit data, is there a way that I can do this with a single PHP file.

[PHP] HTML Forms, PHP Question

2006-11-19 Thread Stephen
Hi First question to the list. I am writing a control panel for a web site and there will be about 20 HTML forms. Instead of creating 20 PHP files to process the submit data, is there a way that I can do this with a single PHP file. Either specify a specific function for each form, or use

Re: [PHP] HTML Forms, PHP Question

2006-11-19 Thread tedd
At 11:00 AM -0500 11/19/06, Stephen wrote: Hi First question to the list. I am writing a control panel for a web site and there will be about 20 HTML forms. Instead of creating 20 PHP files to process the submit data, is there a way that I can do this with a single PHP file. Either

[PHP] HTML - PDF PHP Package

2005-07-15 Thread Christian Calloway
Hi Everyone, I am looking for a PHP based packaged (though it doesn't necesarily have to be) that will convert HTML files to their PDF representations; on the fly of course. Anyone know or have any experience w/this? Thanks in advance, Christian -- PHP General Mailing List

Re: [PHP] HTML - PDF PHP Package

2005-07-15 Thread Chris Boget
I am looking for a PHP based packaged (though it doesn't necesarily have to be) that will convert HTML files to their PDF representations; on the fly of course. Anyone know or have any experience w/this? Thanks in advance, We use htmldoc. http://www.easysw.com/htmldoc/ thnx, Chris -- PHP

RE: [PHP] HTML - PDF PHP Package

2005-07-15 Thread Matt Babineau
, Matt Babineau Criticalcode 858.733.0160 [EMAIL PROTECTED] http://www.criticalcode.com -Original Message- From: Christian Calloway [mailto:[EMAIL PROTECTED] Sent: Friday, July 15, 2005 10:56 AM To: php-general@lists.php.net Subject: [PHP] HTML - PDF PHP Package Hi Everyone, I am looking

Re: [PHP] HTML - PDF PHP Package

2005-07-15 Thread Christian Calloway
I am converting simple html files.. reports that were created in Doc and then converted to html. I am assuming you are executing this tool from PHP and sending back the results once complete? How has it worked for you. Christian Chris Boget [EMAIL PROTECTED] wrote in message news:[EMAIL

[PHP] HTML and PHP output to PHP variable

2004-07-12 Thread Maris
Hi! Let's say my index.php consists of the following: ? include(header.inc); echo pPHP says Hello World/p; ? pHTML says Hello World/p ? //.. some other php code that generates output... ? ..some other HMTL output.. My question is: how can I make the whole index.php generated output put in one

Re: [PHP] HTML and PHP output to PHP variable

2004-07-12 Thread Miroslav Hudak (php/ml)
hello! use output buffering... ?php ob_start(); //... your code here $_contents = ob_get_contents(); ob_end_clean(); ? regards, m. Maris wrote: Hi! Let's say my index.php consists of the following: ? include(header.inc); echo pPHP says Hello World/p; ? pHTML says Hello World/p ? //..

Re: [PHP] HTML and PHP output to PHP variable

2004-07-12 Thread Maris
Thanks a lot Miroslav, will try this construction! :) Miroslav Hudak [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hello! use output buffering... ?php ob_start(); //... your code here $_contents = ob_get_contents(); ob_end_clean(); ? regards, m. Maris

RE: [PHP] html or php to pdf whith pdflib?

2003-12-20 Thread Chris
://www.codecuts.com/mainpage.asp?WebPageID=156). I have seen a html2pdf as well but can't remember where right now. Chris -Original Message- From: E. Ricardo Santos [mailto:[EMAIL PROTECTED] Sent: 20 December 2003 02:22 To: [EMAIL PROTECTED] Subject: [PHP] html or php to pdf whith pdflib

RE: [PHP] html or php to pdf whith pdflib?

2003-12-20 Thread dan
right now. Chris -Original Message- From: E. Ricardo Santos [mailto:[EMAIL PROTECTED] Sent: 20 December 2003 02:22 To: [EMAIL PROTECTED] Subject: [PHP] html or php to pdf whith pdflib? Hello, somebody knows like turning a file HTML or php to pdf by means of pdflib

[PHP] html or php to pdf whith pdflib?

2003-12-19 Thread E. Ricardo Santos
Hello, somebody knows like turning a file HTML or php to pdf by means of pdflib but without having to write line to line? that is, a file already existing php or HTML, can be turned with pdflib? This I ask it because to where it studies pdflib, exit pdf is due to write line by line

[PHP] .html extension PHP page be interpret

2003-11-18 Thread BennyYim
I using WinXP + Apache 1.3.24 + PHP 4.3.3 My apache default will interpret .php extension file. (e.g. index.php) If I have a PHP page, but I want to use .html file extension (e.g. index.html). what I need to set to make those html extension page be interpret by server. I want those .html

Re: [PHP] .html extension PHP page be interpret

2003-11-18 Thread Nathan Taylor
That's simple, just modify your Apache httpd.conf on the line where it says something along the lines of: AddType application/x-httpd-php .php4 .php .php3 .inc change it to: AddType application/x-httpd-php .php4 .php .html .php3 .inc - Original Message - From: BennyYim

Re: [PHP] .html extension PHP page be interpret

2003-11-18 Thread Eugene Lee
those html extension page be interpret by server. : : I want those .html extension PHP page be interpret. Look for the following line in your Apache configuration file and change it thusly: AddType application/x-httpd-php .php .html See the online docs for more specifics: http

RE: [PHP] .html extension PHP page be interpret

2003-11-18 Thread Wouter van Vliet
-Oorspronkelijk bericht- That's simple, just modify your Apache httpd.conf on the line where it says something along the lines of: AddType application/x-httpd-php .php4 .php .php3 .inc change it to: AddType application/x-httpd-php .php4 .php .html .php3 .inc And please, PLEASE

RE: [PHP] .html extension PHP page be interpret

2003-11-18 Thread Jay Blanchard
.html extension PHP page be interpret. [/snip] Answered once in the last 24 hoursadd the following line to your httpd.conf and then restart Apache AddType application/x-httpd-php .php .html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] HTML Template, PHP, Javascript PATH_INFO

2003-09-04 Thread Richard A. DeVenezia
Help: --- problem My page generated via a template can't find some javascript. setup I am hosted on Apache 1.* I have a folder containing many *.html containing content which I want to be displayed in another style of page. Suppose there is foo/ foo/content1.html ... foo/contentN.html

[PHP] RE:[PHP] HTML Template, PHP, Javascript PATH_INFO

2003-09-04 Thread Chris Sherwood
-- snip -- I can do - site.com/info/template.html and get two alerts - site.com/info/content1.html and see a new text under H1 - site.com/info/slick.php/content1.html and get neither alert nor new text. - instead I get 4 browser (IE) 'problem alerts', I presume - 1. for not finding js1.js -

Re: [PHP] HTML Template, PHP, Javascript PATH_INFO

2003-09-04 Thread John W. Holmes
Richard A. DeVenezia wrote: [snip] I can do - site.com/info/template.html and get two alerts - site.com/info/content1.html and see a new text under H1 - site.com/info/slick.php/content1.html and get neither alert nor new text. - instead I get 4 browser (IE) 'problem alerts', I presume - 1. for

Re: [PHP] HTML Template, PHP, Javascript PATH_INFO

2003-09-04 Thread Richard A. DeVenezia
John W. Holmes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Richard A. DeVenezia wrote: [snip] I can do - site.com/info/template.html and get two alerts - site.com/info/content1.html and see a new text under H1 - site.com/info/slick.php/content1.html and get neither alert

[PHP] html and php in the same document

2003-07-24 Thread Bill Pilgrim
If php and html are to be included in the same document, does the document extension always have to be .php ? Are there ways to include php into an html document without changing the extension? Thanks, Bill - Do you Yahoo!? Yahoo! SiteBuilder - Free, easy

Re: [PHP] html and php in the same document

2003-07-24 Thread Curt Zirzow
* Thus wrote Bill Pilgrim ([EMAIL PROTECTED]): If php and html are to be included in the same document, does the document extension always have to be .php ? Are there ways to include php into an html document without changing the extension? Apache, IIS, Other? If apache: AddType

Re: [PHP] html and php in the same document

2003-07-24 Thread Curt Zirzow
* Thus wrote Curt Zirzow ([EMAIL PROTECTED]): * Thus wrote Bill Pilgrim ([EMAIL PROTECTED]): If php and html are to be included in the same document, does the document extension always have to be .php ? Are there ways to include php into an html document without changing the extension

Re: [PHP] html and php in the same document

2003-07-24 Thread Miles Thompson
At 04:09 PM 7/24/2003 +, Curt Zirzow wrote: * Thus wrote Curt Zirzow ([EMAIL PROTECTED]): * Thus wrote Bill Pilgrim ([EMAIL PROTECTED]): If php and html are to be included in the same document, does the document extension always have to be .php ? Are there ways to include php

Re: [PHP] html and php in the same document

2003-07-24 Thread John W. Holmes
Miles Thompson wrote: At 04:09 PM 7/24/2003 +, Curt Zirzow wrote: * Thus wrote Curt Zirzow ([EMAIL PROTECTED]): * Thus wrote Bill Pilgrim ([EMAIL PROTECTED]): If php and html are to be included in the same document, does the document extension always have to be .php ? Are there ways

RE: [PHP] HTML and PHP

2003-06-10 Thread Jaap van Ganswijk
At 2003-06-04 15:59 -0400, Edward Peloke wrote: you would have to use echo or print statements... Yes. After a while I stopped mixing PHP and HTML parts and started writing everything in PHP using echo and print statements. That way the code is much more regular and flexible. Greetings, Jaap

[PHP] Re: New word proposition (was: Re: [PHP] HTML and PHP)

2003-06-06 Thread Shawn McKenzie
HAH! I love it! -Shawn Evan Nemerson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Clode? I like it. Really, who wants to say closing php tag, terminating php tag, or whatever you say. Why not start calling it a clode? What does everyone else think? The only issue is if a

[PHP] HTML and PHP

2003-06-05 Thread Christian Ista
Hello, Look the code below. Is it an obligation to multiply the number of ?php ?. There is no other way ? not possible to use only an open php tag (?php) and a clode php tag (?) ? Christian, ?php switch($constant_lastupdate[$i][3]){ case '1' :? img src=design/logo_windows.gif alt=

RE: [PHP] HTML and PHP

2003-06-05 Thread Edward Peloke
you would have to use echo or print statements... -Original Message- From: Christian Ista [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 3:48 PM To: [EMAIL PROTECTED] Subject: [PHP] HTML and PHP Hello, Look the code below. Is it an obligation to multiply the number of ?php

[PHP] New word proposition (was: Re: [PHP] HTML and PHP)

2003-06-05 Thread Evan Nemerson
Clode? I like it. Really, who wants to say closing php tag, terminating php tag, or whatever you say. Why not start calling it a clode? What does everyone else think? The only issue is if a closing php tag (or should it be a more general closing tag, with php being able to serve as a modifier

Re: [PHP] New word proposition (was: Re: [PHP] HTML and PHP)

2003-06-05 Thread Michael A Smith
Sounds good to me... On Wed, 2003-06-04 at 12:49, Evan Nemerson wrote: Well since you seem to be in favor of confining usage to PHP, what about phode- that way there's no association with the bullshit notices on commercial advertisements that mean nothing since the address is always either

[PHP] HTML forms php 4.2.3 - how to get cvs fix applied

2002-11-09 Thread andy
I recently updated from 4.2.0 to 4.2.3 - since doing so values submitted to php from HTML forms using keys - value=foo[bar] - get truncated in php - example: if I submit [EMAIL PROTECTED] it will come out as eight13.com with a print_r($_POST) I found these bug reports which say what appears

Re: [PHP] HTML forms php 4.2.3 - how to get cvs fix applied

2002-11-09 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, Reconfigure php without --enable-mbstr-enc-trans and that will fix the problem. HTH! ~Paul On Friday 08 November 2002 06:56 pm, andy wrote: I recently updated from 4.2.0 to 4.2.3 - since doing so values submitted to php from HTML forms using

[PHP] html tables, php, other URL's...

2002-09-11 Thread Anthony Ritter
I'm trying to take a certain string from a USGS site that gives real time water levels and water heights for a certain location and insert it into a table using php. I'd like to open and read some of the lines in the USGS table - but not all. The output from the script - which doesn't have the

[PHP] html to php with echo

2002-09-03 Thread adi
I try to transform a html file in -php file, but i have errors in it(Error in page.) Where is mistake? index.php WRONG ? echo END HEAD script language=JavaScript src=date-picker.js/script /HEAD BODY center form name=calform input type=text name=datebox size=15a href=javascript:show_calendar

[PHP] HTML or PHP problem? Please check this ...

2002-06-10 Thread ignacio . estrada
I have a capture form using text fields. This form receives data from the user and then through a php module the data will be stored on an Oracle database via ODBC. All the data is converted to caps using the strtoupper() function. However when the user writes characters like ñ the

Re: [PHP] HTML or PHP problem? Please check this ...

2002-06-10 Thread 1LT John W. Holmes
Can you do the strtoupper() in your query, using the appropriate Oracle function? Maybe it'll handle the different character sets better. ---John Holmes... - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 07, 2002 3:07 PM Subject: [PHP] HTML or PHP

[PHP] HTML in PHP

2002-04-28 Thread Christian Ista
Hello, I have a newbie question for you. I do a query, I'd like to display the result but I'd like to go to a new line for each row. I use this code that's work : ?php for ($i = 0; $imysql_num_rows($result); $i++) { echo mysql_result($result,$i, NAME); } ? but this not work ?php

Re: [PHP] HTML in PHP

2002-04-28 Thread Andrew Brampton
echo mysql_result($result,$i, NAME);br should be: echo mysql_result($result,$i, NAME) . 'br'; Andrew - Original Message - From: Christian Ista [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, April 28, 2002 2:51 PM Subject: [PHP] HTML in PHP Hello, I have a newbie question

Re: [PHP] HTML in PHP

2002-04-28 Thread Miguel Cruz
'; } or: { echo mysql_result($result,$i, NAME); ?br? } In the first one, the string br was added onto the end of whatever else echo was outputting. In the second one, we temporarily switch back from PHP to HTML, output the br tag, then switch back to PHP. miguel -- PHP General

RE: [PHP] HTML to PHP Links

2002-04-03 Thread Maxim Maletsky
Are you talking abut HTML or PHP itself? Anyway... to have an a name=blah/a in your page you will need to echo 'a name=blah/a'; Now, PHP Nuke is another thing - it's a software and you should read through it manual in order to find a way to do this. If there's none - modify the code

[PHP] HTML to PHP Links

2002-04-02 Thread G-no / |{iller
How would I make an a name=blah/a link in php?? I'm using php nuke. -- -Alias: |{iller -Website: http://www.ai-syndicate.com -AIM:Prn2000Str -Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] HTML lists PHP

2002-01-30 Thread Ford, Mike [LSS]
-Original Message- From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]] Sent: 28 January 2002 22:02 I keep getting parse error with this code: ($teams[] is a big array that I got by using mysql_fetch_array) $r = game; echo select name='game'; echo option

[PHP] HTML lists PHP

2002-01-28 Thread Phil Schwarzmann
I keep getting parse error with this code: ($teams[] is a big array that I got by using mysql_fetch_array) $r = game; echo select name='game'; echo option value=game1$teams[$r.'1']/option; echo option value=game1$teams[$r.'16']/option; echo /select; Im trying to make a

Re: [PHP] HTML lists PHP

2002-01-28 Thread Edward van Bilderbeek - Bean IT
maybe you can try something like this... $r1 = game1 $r2 = game16; echo select name='game'; echo option value=game1$teams[$r1]/option; echo option value=game1$teams[$r2]/option; echo /select; Greets, Edward I keep getting parse error with this code: ($teams[] is a big array that

Re: [PHP] HTML lists PHP

2002-01-28 Thread hugh danaher
Try $teams[${r1.1}] or a variation on this theme hugh - Original Message - From: Edward van Bilderbeek - Bean IT [EMAIL PROTECTED] To: Phil Schwarzmann [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, January 28, 2002 2:16 PM Subject: Re: [PHP] HTML lists PHP maybe you can try

Re: [PHP] HTML and PHP?

2001-04-14 Thread Brian Clark
the closing marker or the parser will miss it! /html STOP; ? Why even bother? Why not just do this? ? html Boo /html ?php -Brian -- PGP is spoken here: 0xE4D0C7C8 Please do not carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] HTML and PHP?

2001-04-14 Thread Les Neste
make sure you don't indent the closing marker or the parser will miss it! /html STOP; ? Why even bother? Why not just do this? ? html Boo /html ?php -Brian -- PGP is spoken here: 0xE4D0C7C8 Please do not carbon copy me on list replies. -- PHP General Mailing List (http

Re: [PHP] HTML and PHP?

2001-04-14 Thread Brian Clark
Hi Les, @ 2:09:01 PM on 4/14/2001, Les Neste wrote: I think the echo approach is pretty handy if you want a subroutine to spit out a common chunk of HTML which is less than an entire page. And the here-doc marker lets you just paste existing HTML in place without having to escape all the

Re: [PHP] HTML and PHP?

2001-04-14 Thread Jason Caldwell
* to take 1 minute to test for yourself? ;-) And you can use whatever marker (the 'STOP' above and below) you choose. Just make sure you don't indent the closing marker or the parser will miss it! /html STOP; ? Why even bother? Why not just do this? ? html Boo /html ?php -Br

[PHP] HTML and PHP?

2001-04-13 Thread Jason Caldwell
Is there a utility that I can use that will take a bunch of HTML and encapsulate it in the PRINT command? i.e. PRINT("{html stuff}\n"); ?? I have a ton of HTML pages that I want to make dynamic, but dread having to type the PRINT command in front of every line of html, and let alone having at

Re: [PHP] HTML and PHP?

2001-04-13 Thread DanO
try this: ? print EOP html jldsfajlf;dsajfl;dkfl;dsa /html EOP; ? AFAIK it is the easiest way to do multi-line printing! DanO ""Jason Caldwell"" [EMAIL PROTECTED] wrote in message 9b868e$2ca$[EMAIL PROTECTED]">news:9b868e$2ca$[EMAIL PROTECTED]... Is there a utility that I can use that

Re: [PHP] HTML and PHP?

2001-04-13 Thread Les Neste
Cool. Does that work with echo too, do you know? At 06:19 PM 4/13/2001 -0700, DanO wrote: try this: ? print EOP html jldsfajlf;dsajfl;dkfl;dsa /html EOP; ? AFAIK it is the easiest way to do multi-line printing! DanO ""Jason Caldwell"" [EMAIL PROTECTED] wrote in message 9b868e$2ca$[EMAIL

Re: [PHP] HTML and PHP?

2001-04-13 Thread Patrick Dunford
ng to type the PRINT command in front of every line of html, and let alone having at manually add the slashes... urg. You don't need to make major changes to your HTML pages. Just embed the PHP into your HTML page wherever it's needed. Your web server will still treat a PHP page as an H

Re: [PHP] HTML and PHP?

2001-04-13 Thread Steve Werby
"Les Neste" [EMAIL PROTECTED] wrote: Cool. Does that work with echo too, do you know? ? echo STOP html Yes, echo can use here-docs! Is it really that *hard* to take 1 minute to test for yourself? ;-) And you can use whatever marker (the 'STOP' above and below) you choose. Just make sure you

Re: [PHP] HTML and PHP?

2001-04-13 Thread Jason Caldwell
oh... that rocks! would i have to still add the slashes? /n, /" -- etc? "Les Neste" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Cool. Does that work with echo too, do you know? At 06:19 PM 4/13/2001 -0700, DanO wrote: try this: ? print EOP html

Re: [PHP] HTML and PHP?

2001-04-13 Thread Jason Caldwell
actually just test this... don't need slashes... it works GREAT! thanks. ""Jason Caldwell"" [EMAIL PROTECTED] wrote in message 9b8it7$npq$[EMAIL PROTECTED]">news:9b8it7$npq$[EMAIL PROTECTED]... oh... that rocks! would i have to still add the slashes? /n, /" -- etc? "Les Neste" [EMAIL