Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > The Zelaron Nexus > Forum News, Suggestions and Discussion

 
 
Thread Tools Display Modes

 
Reply
Posted 2007-09-20, 03:13 PM in reply to WetWired's post starting "There are two things that are an..."
I've been playing around with settings in the Lenny style, if that counts? Just been changing values to see what they do, then changing them back again.

---

A quick question, probably heavily laced with the sweet honey of ignorance - in HTML it is possible to use programming languages such as VBScript, using:

Code:
<%@ LANGUAGE="VBSCRIPT" %>
And so on.

Is the same possible in PHP at all? Or whatever is used to do these things in vB? Just thinking that if it were, it might be easier to accomplish, if only temporarily whilst it's worked out in the usual code, or as something to try to see how useful it is.
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 



 
Reply
Posted 2007-09-20, 03:57 PM in reply to Lenny's post starting "I've been playing around with settings..."
Templates do not support scripting languages, except for PHP in conditionals. You can do JavaScript scripting, but it's clientside. PHP itself is a scripting language and its insertion mechanics are similar to ASP, if you were working at the file level.

You can do some tricky templating using fake conditionals. For example, I've often used the construct
Code:
<if condition="$GLOBALS['countsomething']++"></if>
This is inclusion number $GLOBALS[countsomething] of this template
In this case, the sole purpose of the conditional was to perform a calculation.
Old
Profile PM WWW Search
WetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusion
 
 
WetWired
 



 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search engines? Chruser Forum News, Suggestions and Discussion 3 2002-01-25 09:24 AM


All times are GMT -6. The time now is 04:18 AM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.