![]() |
Sig Rules Script
This might help...
[?php $sig_URL = "../../../sig.gif,jpg,swf"; $sig_dim = getimagesize($sig_URL); $calc = $sig_URL[0] * $sig_URL[1]; if($calc >= "7201") { echo "Your Sig Is Tooooo Big!"; } php?] It would need to be modified a bit to find/replace the images in the sig code, but, it's a start. :Graucho |
BeYouAmPee
|
I think I have seen some 60X480 sigs here.
A script lke this would be usefull:thumbsup |
Quote:
some 460 banners are allowed. so it conflicts with lens rules for paid advertisers ya know. :glugglug |
Hmm... Maybe adding a database of paid advertisers, that the sig script checks to see if they are valid, and if so, then it allows the 468x60 sigs, otherwise it displays the "Too Big" text.
:2 cents: |
Quote:
Also, $sig_URL[0] and $sig_URL[1] should be $sig_dim[0] and $sig_dim[1] Besides that, calculation seems unnecessary - just check if either width or height is higher than it's supposed to be. A 1*7200 image would then also be killed :) :2 cents: |
Excellent idea, I'll have one of my programmers put it in next week!
|
All times are GMT -7. The time now is 06:02 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123