Yvo Posted January 6, 2003 Share Posted January 6, 2003 Hi there, I need to embed a classifieds system into a website. Here is what I want to do: Embed http://www.fairwoodfirs.org/phpclassifieds INTO http://www.fairwoodfirs.org/classifieds/index.html I believe its possible :huh: Link to comment Share on other sites More sharing options...
0 stncttr908 Veteran Posted January 6, 2003 Veteran Share Posted January 6, 2003 If I'm not mistaken (I probably am) you can't do that...it has to be a php file into another php? Kinda like shtml can only be embeded into an shtml file? Link to comment Share on other sites More sharing options...
0 Cody Posted January 6, 2003 Share Posted January 6, 2003 If I'm not mistaken (I probably am) you can't do that...it has to be a php file into another php? yes im thinking that too Link to comment Share on other sites More sharing options...
0 Yvo Posted January 6, 2003 Author Share Posted January 6, 2003 (edited) k so i relabel the file to a php. a php is allowed to have html for example if i were to create an index.php file but put <?php require "index2.php" ?> in the location I want the real php script. only now I am plagued with the following.... Warning: Cannot send session cache limiter - headers already sent (output started at /hsphere/local/home/fairwood/fairwoodfirs.org/phpclassifieds/index.php:13) in /hsphere/local/home/fairwood/fairwoodfirs.org/phpclassifieds/index2.php on line 2 which is even more bother some than to begin with. Now I know that means that it is sending header information before and I tried putting session_start() in the beginning of the index.php file but then i get a parse error probably due to the fact that html is quite different than php especially when it comes to colors atleast :crazy: if anyone can help me with specific code examples on how to successfully combine the two than i will be very happy :yes: Edited January 6, 2003 by Yvo Link to comment Share on other sites More sharing options...
0 Yvo Posted January 6, 2003 Author Share Posted January 6, 2003 woah don't ask me how but I did it.... anywho... a mod can close the thread if they feel like it Link to comment Share on other sites More sharing options...
Question
Yvo
Hi there,
I need to embed a classifieds system into a website.
Here is what I want to do:
Embed http://www.fairwoodfirs.org/phpclassifieds
INTO
http://www.fairwoodfirs.org/classifieds/index.html
I believe its possible :huh:
Link to comment
Share on other sites
4 answers to this question
Recommended Posts