rotate.php script on wordpress problem

by 7 replies
9
My client want me to rotate header image after refreshing page. i got rotate.php on the net..
it worked fine on my localhost [wamp] with dreamweaver but when i uploaded all my data on web host den no header image is loading and i got this error on header image any suggestion please!!!
#website design #problem #rotatephp #script #wordpress
  • it might be permission problem, u need to change the mod of the file for your header.php?
    • [ 1 ] Thanks
  • Try removing the line of blank space right before your <body> tag. This error is usually caused by having white space before or after the opening and closing PHP tags
    • [ 1 ] Thanks
    • [1] reply
  • Banned
    If it works better, then I just want to say,
    Best of luck and go ahead.
    • [ 1 ] Thanks
  • Try to change the code below :
    Code:
    header('Location: '..); // Voila!
    with this code :
    Code:
    wp_redirect('Location: '..); // Voila!
    Hope it works,
    Irfan Permana
    • [ 1 ] Thanks
    • [1] reply

    • This is a good stuff.
      I'm sure it will work for you, as i known.
      Best of luck for your site.
      • [ 1 ] Thanks

Next Topics on Trending Feed