RE: Terms of Service Violation
in this part of the code.
RewriteEngine On
RewriteBase /pets/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^pets/get/([0-9]+).gif$ /pets/get.php?id=$1 [L]
does the .gif$ need to be changed to .jpg$ if using jpgs?
I assume it does but you know what they say about assuming.[hr]
Ok I just don't get it.
This is a simple mod and should be easy to do but I just can't make it work.
I checked livingingc program and i can see it does work. Btw livingingc you do need to change the adopt.php page when i firts adopted it is giving me the old code.
when i add this <img src="http://www.".$dname."".$spath."/get/".$id.".jpg\">
I get this
Parse error: syntax error, unexpected T_STRING in /home/agnyz/public_html/pettest/manage.php on line 118
so i tested it using a copy of the script that i didn't alter any and i still get the same error message.
When I first installed this program I noticed the same thing with myspace and came up with the same mod back then but was getting that error message so I used a work around just to show a static logo image for the site on myspace.
When I seen this post I thought perhaps it was the .htaccess file that was making it not work, but that isn't the case.
The short of it is, when I apply this mod I get the above mentioned error message.
Could it be something with my hosting?[hr]
i should add that I am getting this error when I click on the link to get the codes for the html.
|