+ Reply to Thread
Results 1 to 2 of 2

Thread: PHP script stopped running on x10hosting

  1. #1
    brucebb47 is offline x10Hosting Member brucebb47 is an unknown quantity at this point
    Join Date
    Jan 2011
    Posts
    4

    PHP script stopped running on x10hosting

    I hope I have posted to the correct area.

    I have a small PHP script that runs as part of a web page here http://caching.x10.mx/Untitled-1.html

    The script identifies your IP address country and should then display an image with a country dependant message. The script used to run fine but now fails to display the image. As the script has remained unchanged I am wondering if anyone knows if there is a server issue that may be preventing my page displaying correctly.

  2. #2
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: PHP script stopped running on x10hosting

    No sample code, no error message... You're not giving us much to go on.

    When looking at the output of http://caching.x10.mx/country.php (which I assume is the script you're referring to), I see a couple of issues. One is it includes PHP code in the output, code that uses short tags. Don't use short tags. Include the full <?php opening tag. Another is the Content-type is text/html, rather than an image type. Fix those issues and see where you're at. If you still need help, make sure you follow the instructions in my sig.
    Last edited by misson; 11-02-2011 at 08:46 PM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

+ Reply to Thread

Similar Threads

  1. PHP script not running
    By brucebb47 in forum Free Hosting
    Replies: 1
    Last Post: 10-26-2011, 01:53 PM
  2. Hotlink prevention script stopped working?
    By manintan13 in forum Programming Help
    Replies: 4
    Last Post: 04-25-2011, 10:59 PM
  3. Python Script Not Running
    By brandon15811 in forum Free Hosting
    Replies: 4
    Last Post: 05-28-2010, 12:41 PM
  4. Error when running PHP script
    By ipodally in forum Free Hosting
    Replies: 2
    Last Post: 01-28-2008, 09:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers