Class not found error


Posted on 16th Feb 2014 07:03 pm by admin

I am getting Class 'index' not found in Eval function:

//write config

$path = dirname(__FILE__).DS.'..'.DS.'paymentclass';

if ( $model->payment_class ) {

if (include_once($path.DS.$model->payment_class )) {
eval( "$_PAYMENT = new ".str_replace('.php', '', $model->payment_class)."();");
}
}else {
include( $path."pcl_payment.php" );
$_PAYMENT = new pcl_payment();
}
$_PAYMENT->write_configuration();

//end write


Why???

No comments posted yet

Your Answer:

Login to answer
214 Like 54 Dislike
Previous forums Next forums
Other forums

Mont Blanc Etoile de l'Etoile Mystérieuse Fountain Pen [5d64] - €93.93 : Magasin professionnel de stylos Montblanc, pensoutlet.cn
des stylos
mont blanc stylos
[b]montblanc fontaine[/b] [b][url=http://www.pensoutlet.cn/fr/]

Kopieren Patek Philippe 7071R-010 - Rose Gold - Ladies Komplikationen - €277.14 : Replik Patek Philippe Uhren, patekonline.top
[b][url=http://de.patekonline.top/]Patek Philippe Replica Uhren[/url][/b][b][url=http://www.patekonl

オメガ時計:オメガメンズコレクション
[b][url=http://www.swissomega1848.com/jp/%E3%82%AA%E3%83%A1%E3%82%AC%E3%83%A1%E3%83%B3%E3%82%BA%E3%8

Will this protect from mysql injection?
I do not want anything like DROP TABLE to work or any type of coding..

Heres my code.. is it

xml element exists
Code: [Select]<?xml version="1.0"?>
<Addresses>
<

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Google+ Indyaspeak @ Pinterest RSS