you could make a Flash movie that just contains a text field and fills
it with the output of your php page by using Flash's loadvariables() function
>[snip]
>So is there any way to accomplish what I want to using php without
>naming the files *.php??
>[/snip]
--
===
Paul Co
nal Message-
> From: Alexander Ross [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 12, 2002 10:13 AM
> To: 'Brian V Bonini'; [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: including a php file in an html doc
>
>
> So is there any way to accomplish what I want to us
From: Alexander Ross [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 9:50 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: including a php file in an html doc
I still seem to be missing something. I guess the easiest thing for me
to
do is just show you my code. All I want is to be ab
[snip]
So is there any way to accomplish what I want to using php without
naming the files *.php??
[/snip]
in your httpd.conf file (Apache);
# And for PHP 4.x, use:
#
AddType application/x-httpd-php .php
AddType application/x-httpd-php .html
This will cause html files to be treated as PH
IL PROTECTED]
> Subject: [PHP] Re: including a php file in an html doc
>
>
> I still seem to be missing something. I guess the easiest thing for me to
> do is just show you my code. All I want is to be able to reference the
> $hotspots array from any .html page oon my site
; To: [EMAIL PROTECTED]
> Subject: [PHP] Re: including a php file in an html doc
>
>
> I still seem to be missing something. I guess the easiest thing for
me to
> do is just show you my code. All I want is to be able to reference
the
> $hotspots array from any .html page oon my site
I still seem to be missing something. I guess the easiest thing for me to
do is just show you my code. All I want is to be able to reference the
$hotspots array from any .html page oon my site. I thought I could include
hotspot.php and then reference the array using syntax. What should I
do?
Hi Alexander!
You're missing the distinction between a server-side script (PHP) and a
client-side script (JavaScript, VB etc). When you use the syntax you
used, the browser attempts to download the src and execute it - and it
can't do that, because in the best case the php code runs on the ser
8 matches
Mail list logo