TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: soup
Forum: General 03-17-2009, 01:53 PM
Replies: 15
Views: 25,229
Posted By soup
put this lot outside of the class for whatever...

put this lot outside of the class for whatever currencies your using

global $G_cur;
$G_cur['CURRENCY'] = array(
'CURRENCY_CAD' => array(
'SourceCurSymbol' => 'C$',
'SourceIntlSymbol' =>...
Forum: General 01-16-2008, 09:24 AM
Replies: 15
Views: 25,229
Posted By soup
A couple more small changes

Cos I'm actually using this :-)
I have changed another couple of things that may be of interest.

In my construct is now
# make sure we have the latest rates
$this->checkRatesActual();

which...
Forum: General 01-11-2008, 09:38 AM
Replies: 15
Views: 25,229
Posted By soup
wasn't meant as a rant :-) And i just needed a...

wasn't meant as a rant :-)

And i just needed a converter now so this was perfect and many thanks :-)

just i tried to convert euro to canadian and promptly got a Division by Zero error thats all.

I...
Forum: General 01-11-2008, 01:48 AM
Replies: 15
Views: 25,229
Posted By soup
er......there is another thing to :-P the rates...

er......there is another thing to :-P

the rates you get from the ECB do not include the euro rate as this is always counted as one so you really need if converting from / to euros to define that EUR...
Forum: General 01-11-2008, 01:37 AM
Replies: 15
Views: 25,229
Posted By soup
lol sorry about that - i'd just spent 10 minutes...

lol sorry about that - i'd just spent 10 minutes banging my head against the wall trying to figure out why it didnt work !
Forum: General 01-11-2008, 01:12 AM
Replies: 15
Views: 25,229
Posted By soup
!!WARNING!! The "locale" always depends on the...

!!WARNING!!

The "locale" always depends on the server configuration.
and if not installed this script will just fail !
worth defining the all of the CurSymbols and IntlSymbols in your definitions at...
Forum: General 01-11-2008, 01:08 AM
Replies: 11
Views: 42,121
Posted By soup
Warning

This relies on the locales being set on the server

The "locale" always depends on the server configuration.

which to be honest is totally unecesary in this script with just 4 currencies.
Showing results 1 to 7 of 7

 

All times are GMT. The time now is 03:48 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design