|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| IT Discussion Forum Having IT issues? Got IT questions? Who doesn't? If you can't get your Apache to work with your MySQL or your php is choking on your ODBC... Let's see if we can help you come up with some ideas. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Embeded PHP in HTML refuses to display. A direct PHP call functions.
HTML with Embeded PHP does not display A direct PHP call functions I've tried various .htaccess, using AddType application/x-httpd-php .htm .html at this time and various httpd.conf, this is blank for PHP at this time. My new host say it is using cURL because of security, (Is it this is causing problems). So how, easy way please, I get PHP to display embeded withing HTML pages? Any help, gratefully received |
|
||||
|
Because of cURL, I think you need to use AddHandler, instead of just AddType. AddType changes the MIME type of the document, and the server should process the document according to that new MIME type. Because the MIME type does change, this is not the issue. The issue is that the server doesn't know what to do with a document of type application/x-httpd-php, so it simply serves the document to the client. AddHandler creates a specific link between the file extension and the script handler. I would still recommend trying the following:
AddHandler php5-script .html
__________________
The best way to learn anything, is to question everything. |
|
|||
|
The extension of your web page makes no difference to neither your users nor search engines. If the php scripts you are trying to include are on your site then I recommend using include or require over cURL as they put less demand on the resources and are faster.
__________________
Carbonize |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can you embed a PHP, ASP Microsite with an HTML Site? | melchapman | Web Programming Discussion Forum | 7 | 04-15-2007 11:30 AM |
| Page Curl Effect | WPW_Feedbot | Graphics & Design Discussion Forum | 0 | 03-09-2005 01:31 AM |
| Embed flunks -- now what do I do? | Weedy Lady | Graphics & Design Discussion Forum | 4 | 03-02-2005 02:57 PM |
| Page Curl | WPW_Feedbot | Graphics & Design Discussion Forum | 0 | 01-19-2005 02:01 AM |
| php - curl - proxy ? help plz | AjiNIMC | Web Programming Discussion Forum | 1 | 10-04-2004 08:12 AM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |