Jump to content

CouchMaster

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

CouchMaster's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Yeah but, GoDaddy is not going to change it because of "security reasons", which is why it was upgraded in the first place-they say it's happening across the hosting communities in general. I was hoping for a simple programming walk-around - anyone? Surely others have this problem too...
  2. My hosting company (GoDaddy) has upgraded PHP and now register_globals and allow_url_fopen  are set to off by default. register_globals was an easy fix by changing $abc to $_GET[abc] however, straight text book php like $handle = fopen (blahblahblah) no longer works.  Question, is there an easy, simple fix, like the register_globals $_GET[abc] above??????? to get it working again........
  3. Ken, your amazing - that actually works, just like it did before!  I will study this carefully, and Thanks a Million.  And I do believe that the two hosting companies that I use are upgrading php - it's just ironic that they are doing the same thing at the same time and it crashed on both on the same day!
  4. Tried the suggestion and - nothing.  It's not opening the txt file, which appears normal.  If I echo $handle I get - Resource id #1 - if that means anything - but nothing on $buffer. Also the txt file is like this - |name|data|price| One reason I'm asking is because the other day everything stopped working  I realized I was using $name, and when I changed it to $_GET[name] (something about globals) it started working again.  Now something else went haywire and I'm guessing it a similiar problem but I can't find it in my php book. Suggestions?????????????
  5. This code was working fine 2 days ago.  It shows a photo with info and a price beneath it. The photo still shows but the info and price quit showing.  Any ideas what went wrong?     <?php     echo "<img class=\"main_img\" src=\"./images4/$_GET[name].jpg\" width=\"575\" height=\"375\" alt=\"$_GET[name]\">";   echo "</font><p><font color=\"white\"><b>"; $handle = fopen("./images4/$_GET[name].txt", "r"); while (!feof($handle)) {   $buffer = fgets($handle, 4096); } fclose($handle); $myarray = array();  $myarray = explode("|", $buffer); echo "$myarray[1]<br><br>$myarray[2]<br><br><font color=\"blue\">$myarray[3]</font>"; echo "</b></font></p>"; ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.