Jump to content

New and frustrated!


bluetech

Recommended Posts

I have a page in a website that is called test.php. I have inserted the following line of code:

<?php include("http://weather.noaa.gov/cgi-bin/fmtbltn.pl?file=forecasts/marine/coastal/an/anz254.txt"); ?>

PHP is insalled and working correctly (version 4.4.2). All I want to do is call this page to be included in the table of the web page. I know it is a simple task, but I don't see what I am missing.

The url of the page is http://www.maverickcharters.com/test3.php

I feel stupid asking this question, but I am getting very frustrated at this point. Thanks! Dave
Link to comment
https://forums.phpfreaks.com/topic/25110-new-and-frustrated/
Share on other sites

That didn't work either. I created a new page, with nothing in it but a table and the include code. I now get:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

The new page is at http://www.maverickcharters.com/test_4.php
Link to comment
https://forums.phpfreaks.com/topic/25110-new-and-frustrated/#findComment-114528
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.