RE: [PHP] Re: including a php file in an html doc

2002-08-12 Thread Paul Colcutt
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

RE: [PHP] Re: including a php file in an html doc

2002-08-12 Thread Brian V Bonini
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

RE: [PHP] Re: including a php file in an html doc

2002-08-12 Thread vic
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

RE: [PHP] Re: including a php file in an html doc

2002-08-12 Thread Jay Blanchard
[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

RE: [PHP] Re: including a php file in an html doc

2002-08-12 Thread Brian V Bonini
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

RE: [PHP] Re: including a php file in an html doc

2002-08-12 Thread Alexander Ross
; 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

[PHP] Re: including a php file in an html doc

2002-08-12 Thread Alexander Ross
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?

[PHP] Re: including a php file in an html doc

2002-08-11 Thread Bogdan Stancescu
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