I've checked back through previous posts and can't find a solution for why I can't get this to run. The script is located at: http://www.weboutloud.com/track.php When I run the script in a browser I get the following: a:1:{s:7:"results";s:4:"9999";} The hosting company says they're running PHP 4.3.10 When I add the URL in my preferences I get the "not valid" error. Am I doing something wrong? Thanks Tim
fsmedia: I'm using the script that's available at: http://www.digitalpoint.com/tools/keywords/advanced_script.html Shawn: Didn't change a thing. Copied the script, pasted into Notepad, saved as track.php, ftp (from a DOS window) to site, using ASCII mode. Tim
Your PHP version is *really* old (4.0.6)... Try adding this line of code after the error_reporting() line... if (!isset($_REQUEST)) $_REQUEST = $HTTP_GET_VARS; PHP:
Shawn, Added that line of code but still no luck. According to the hosting company they were starting a 30-day migration to PHP 4.4.0 in September. My calendar shows that 30 days have elapsed since September ended, but who knows. I've emailed them to check the status on the migration for my domain. My login page claims that my account has been upgraded but apparently you see me still running the old PHP. Tim
Here's the message I got back from support: Apparently, we are upgrading our version of PHP in stages. Right now, any PHP files that are written for a higher version of PHP have to end in the file extensions .phpn. (I realize that sounds very strange but this is to give the customers that we have with scripting that uses lower versions of php some time to upgrade their scripts because a lot of php functions are not backwards-compatible). We were anticipating the final upgrade to PHP a month from the last customer's upgrade time, which was on October 15. However, because of pushbacks that were necessary due to problems after Hurricane Wilma, this may end up being at the end of the month. Until that time, the way to work around the issue with the differing versions of PHP is to name your php files .phpn. I took my track.php and renamed to track.phpn but that didn't work either, although when I ran track.phpn in a browser I got back the a:1:{s:7:"results";s:4:"9999";} response. Should I just wait until they've fully upgraded at the end of the month? Tim
Try adding phpinfo(); to the end (before the closing PHP tag) of the phpn script. That will spew out all sorts of info about the PHP version being used. Is it really an upgraded version?
Shawn, I added that line and it shows PHP 4.3.10 The file is at: http://www.weboutloud.com/track.phpn if you want to see all the info and let me know if you see anything weird there. thanks
Okay... looks like it's *almost* okay... remove the phpinfo(); line. Make sure you don't have any trailing (maybe hidden?) characters before or after the PHP tags. It's getting 3 extra (unexpected) characters from your end for some reason.
Success!!! Using the .phpn script. I don't know where those three extra characters came from. They weren't there when I opened it in Notepad, but when I opened a DOS window and ran edit.exe there they were right before the first php tag. Took those out and it runs fine. Next question: I've already set up some keywords and backlinks with Google. Is there a way to now add Yahoo and MSN to those or do I need to set up separate entries for those? Shawn--thanks so much for all your help in helping me get this set up. It's a fabulous tool. Tim