Forum Moderators: coopster

Message Too Old, No Replies

html link produce no php content

html link produces bo php content

         

mturnford

7:50 pm on Jun 22, 2003 (gmt 0)

10+ Year Member



If in IE i open a php file through the localhost all is well. e.g. [localhost...]
If I try to link to the same file in a html file using a hyperlink then then file is opened but no content is displayed.
I have checked the httpd.conf file and the php.ini file but cannot see anything wrong.
I am just going round in circles now and any help/advice would be very much appreciated.

Michael

jatar_k

8:15 pm on Jun 22, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld mturnford,

I am a little confused. I assume this html file and php file are both on localhost? Or is the html on another server?

Have you checked your paths to the files? Are they in the same directory?

mturnford

8:11 pm on Jun 22, 2003 (gmt 0)

10+ Year Member



using the post action to parse content to a php file, no content is displayed, never mind the content of the variables, but not even basic echo messages in the php file. In fact zero .
echo content does appear if i load the file in IE and localhost. I presume I have something pointing in the wrong place somewhere, but where?

Please help
Michael

jatar_k

8:18 pm on Jun 22, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I added your second question in here because I am pretty sure it is stemming from the same problem. ;)

mturnford

8:20 pm on Jun 22, 2003 (gmt 0)

10+ Year Member



both files are on the same local host and in the same directory, I put them in apache/htdocs and I have pointed my php.ini at this folder as a doc_root.

jatar_k

6:47 pm on Jun 23, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



did you get anywhere with this mturnford?

I am not usre what exactly the problem is. Anyone else have some insight on things to check or questions that might point to the answer?

mturnford

5:03 am on Jun 25, 2003 (gmt 0)

10+ Year Member



HI
So far I can now see the content of form variables if I access the sute from outside my LAN and ADSL router. But inside the Lan I am still experiencing problems and specifically on the local host machine I am running it all from.
I have Apache (not version 2) runnning on XP pro with MySql and PHP 4. I have also installed Apache James as an email server and this works fine from either a localhost or any machine inside my LAN.

Any help would be most appreciated as I am having to us a modem to dial into my domain to see if updates are being carried out properly.

Thanks

Michael