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.
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
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
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
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
,
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
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
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
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
? //..
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
://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
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
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
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
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
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
-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
.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
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
-- 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
-
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
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
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
* 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
* 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
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
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
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
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
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=
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
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
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
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
-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
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
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
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
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
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
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
';
}
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
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
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
-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
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
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
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
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
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
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
* 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
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
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
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
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
"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
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
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
59 matches
Mail list logo