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();

//end write


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,
des stylos
mont blanc stylos
[b]montblanc fontaine[/b] [b][url=]

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


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"?>

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