![]() |
You did rename the php file to filename.gif?
Also did it ever work? Like before you added the htaccess could you go to that url and it would show up in your brawser? |
Toran, your sig is a gif file. I guess I just want to know how to do it. Can you walk me thru, step buy step? I am a nurse by profession, not a php geek :) (just an eq geek, lol )
Its in my sig right now. I just cant get it to "fake" out the bb by being a .gif file. I saw this info, but didnt make sense to me. http://www.scriptygoddess.com/archiv...-a-php-script/ Quote:
|
You have to rename the image.php file to image.gif on your host. Then the .HTACCESS should do its job. If you have already renamed it to .gif let me know, because its still reporting as image.php.
What the code in the .HTACCESS is doing is telling the server any time it calls/sends the file image.gif to send it as a .gif but to run it as a .php file. |
Im thinking I cant set the sethandler info on my server. My .htaccess file keeps dissapearing after I ftp it. Its there for a few mins, then gone. My gif never shows up. I have posted the code I am using above, changed the file name to .gif, ftp the htaccess file to the same directory. And nothing. Just a place holder for the picture. When I check the code of the page, the php code shows up. So I know its the right file.
Anymore suggestions? Thanks for replying, its been a pain for months now, I just didnt post anything till now. www.wawwb.com/eq2sig/denuvesig.gif is the file Den |
Hmm does that server suport php? When I click the link, I get a your files code and not the processed php. kind of like its a text file and makes me think that the server dosn't suport php.
What ftp client are you using? Some have trouble showing .anything files. |
It supports it, i have 5 databases, my website is postnuke and my sig is php that im using now.
Sorry to bother you, but I dont think you understand what I am talking about. But thanks for the help. Its possible I need to change the sethandler info on the server, which I cannot do without the hosting company doing it for me. |
instead of trying to change the set handler, to make a gif run as php why not use the htaccess to redirect to the php file while showing that its a gif. this would only work if you are able to use htaccess though, and it looks like you said you might not be able to.
example: http://www.kastechnology.com/44487783.png what it really goes to: http://www.kastechnology.com/sig.php?id=44487783 code in the htaccess file: Options +FollowSymlinks RewriteEngine on RewriteRule ^([0-9]*)\.png$ /sig.php?id=$1 [NC] you will obviously want to modify the htaccess because its used for a totally diffrent script and game so the information it needs is different(and its even a png instead of gif). if you dont know how to modify it to what you need let me know and i will. its just a simple regex so its nothing complicated. EDIT: looks like this is basically what denvue posted, sorry i didnt read up a few posts. ![]() |
Quote:
Quote:
Quote:
The fix for this is very easy actually, but took me a few hours of sifting to find. (hope you dont mind me digging in, 0ctavius) In the image.php file, there are 3x instances of: *also 3x instances in test.php, fwiw* Code:
$i = $k-1;Code:
$i = $k-2;Another anomaly id like to see squashed is in Advanced mode: -It shows 'ToolTip' in the mental number ...also shows addition of ' ToolTip' text in the DB as well as in test.php: http://www.clanmist.com/eq2sig/test.php?cid=318550207 Havent figured this one out yet, 'cept just a str_replace to get rid of it altogether in the global.php, get_html function. I for one like your code, not my style of writing, but definately not bloated, good job. |
Hi i have been trying to get the sig generator to work but i cant get it to display any guild info.
When i set guild = true my sig doesnt display. Code:
$secure['guild'] = FALSE; // only allow a specific guild id? (TRUE / FALSE)Also the Player Status is the member number. How do i change to it said that. Thank you |
The page's code in which the generator parses, has since changed since what was posted. Therefor, the code has to be updated, basically by guess and check of which section it's looking at, and assigned to the status variable.
I dunno about the guild thing. Don't use it. |
| All times are GMT -5. The time now is 05:25 AM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI