dsa wrote:That looks broken (the $page_data_fields line should not end with a $). Was that a copy&paste error (or did I cause it when marking up the HTML)?
sorry, thats nano editor, it shows $ when it reachs end of window in a line
Well, assuming the line continues correctly, your content appears to be fine.
With regard to the faulty detection of the start page (if no page name is given in the query string), I suggest that you do some debugging. You may start by inserting the following line at the end of function rfc():
Code: Select all
This should output int(0); in your case it might show int(-1) what would be wrong.