Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Sep 2005
    Thanked 0 Times in 0 Posts

    Please God Help Im Losing The Will To Lve!

    pleaselook at my site here type in a city name and click go .. the out put goes to the top of the page?? how do i get it to go into the main page lower down??
    im using weather_xml i can post my config if you wish.

  • #2
    New Coder
    Join Date
    Jul 2005
    Thanked 0 Times in 0 Posts
    I think we'll need to see some code.
    It's related to where your function is being called from.

  • #3
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Saskatoon, Saskatchewan
    Thanked 2,662 Times in 2,631 Posts
    header errors generally occure from the improper use of header(), setcookie(), and session_*().
    Once data has been dumped to the browser, you cannot alter with these functions unless you are using output buffering. Working with XML added in can be tricky as well, especially depending on what functions you are implimenting.
    We will need to see some code for weather_xml.php however, and some for your external XML file if its in use. You are going to the right page though yeah? You want the user to go to weather_xml.php?
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 
    Been gone for a few months, and haven't programmed in that long of a time. Meh, I'll wing it ;)


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts