The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Ok just a quick wee question
![]() How would I go about checking if GD was enabled using php, Im writing a script that uses it at the moment and need to be able to have it print out the version of GD being used. I als want to define extra conditions depending on the version enabled on the server. i.e PHP Code:
|
|
#2
|
||||
|
||||
|
|
|
#3
|
|||
|
|||
|
You can also tell if it exists at all via something like:
PHP Code:
|
|
#4
|
||||
|
||||
|
but that won't give him the version filbie
|
|
#5
|
||||
|
||||
|
PHP Code:
|
|
#6
|
||||
|
||||
|
lol yeah mate.. i need to get it as a variable in the code mate..
Lol I do know you can get via php info
|
|
#7
|
||||
|
||||
|
im trtying to figure out how to install it on my localhost. anyone done it yet and can lead me in doing this ?
|
|
#8
|
|||
|
|||
|
Quote:
|
|
#9
|
|||
|
|||
|
Mabey a admin controled switch like in vB 3?
.
|
|
#10
|
|||
|
|||
|
Easiest solution to see if you have 2.0, IMO, follows.
PHP Code:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|