snyderm Posted March 20, 2009 Share Posted March 20, 2009 I just made my first real webpage using php. I have a weather station that outputs data as a csv file. I upload this file to my server, and created a webpage with php that opens this file and displays the weather information in a table.I initially had no problems getting this to work. But I am finding that some computers can make this work, but others simply can't. The information that is loaded from the file simply doesn't appear on some computers.Are there any requirements for running a php webpage from a client browser? I am at a loss to explain why it works perfectly, every time on some computer's browsers, but not ever on other computers. (all have internet explorer)My webpage just uses html that I made with notepad, with some php code added in to retrieve the data that I need for the tables.Does anyone have any thoughts?www.pctcommunications.com/ul.php Link to comment Share on other sites More sharing options...
jeffman Posted March 20, 2009 Share Posted March 20, 2009 PHP outputs ordinary text and HTML. That is all. Browsers are not even aware that the HTML was processed by PHP. If the output doesn't show up correctly, then there is something wrong with the HTML the script produces. You should View Source to see what the output actually looks like. Using a validator might also help discover errors: http://validator.w3.org/ Link to comment Share on other sites More sharing options...
snyderm Posted March 20, 2009 Author Share Posted March 20, 2009 Yeah, that is what I thought. All of the php is handled by the server, the rest is plain html.I must have something else that is messing me up. Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.