hey dude please me what is the meaning of this?

Started on the old forum in June 2013 · view the original in the archive · old links redirect here

2 replies · 280 views · started 13 years ago · 1 min read

3 participants
m_a_d_a_r_a Newbie · 1 posts #1

A PHP Error was encountered Severity: 8192 Message: Function set_magic_quotes_runtime() is deprecated Filename: codeigniter/ CodeIgniter.php Line Number: 53

A PHP Error was encountered Severity: 8192 Message: Assigning the return value of new by reference is deprecated Filename: libraries/Loader.php Line Number: 248

A PHP Error was encountered Severity: 8192 Message: Assigning the return value of new by reference is deprecated Filename: database/DB.php Line Number: 89

A PHP Error was encountered Severity: 8192 Message: Function ereg() is deprecated Filename: libraries/Config.php Line Number: 177

A PHP Error was encountered Severity: 8192 Message: Function ereg() is deprecated Filename: libraries/Config.php Line Number: 177

what is the meaning of this?

shushant Developer · 207 posts #2

why don't you use Homepage - Silex - The PHP micro-framework based on Symfony2 Components Framework its Awesome and You will get the rid out of Controller issue its still Support Controller as its Fully MVC based fm

here is example how it works

$app->get('/page/{name}', function($name) use($app) { 
    return $name;
}); 

$app->run();

on requesting /page/somepage you will get response i.e somepage post can be done with

$app->post('/page/{name}', function($name) use($app) { 
    return $name;
}); 

both GET and POST

$app->match('/page/{name}', function($name) use($app) { 
    return $name;
})->method('GET|POST'); 
CreativityKills Lead · 833 posts #3

m_a_d_a_r_a wrote: A PHP Error was encountered Severity: 8192 Message: Function set_magic_quotes_runtime() is deprecated Filename: codeigniter/ CodeIgniter.php Line Number: 53

A PHP Error was encountered Severity: 8192 Message: Assigning the return value of new by reference is deprecated Filename: libraries/Loader.php Line Number: 248

A PHP Error was encountered Severity: 8192 Message: Assigning the return value of new by reference is deprecated Filename: database/DB.php Line Number: 89

A PHP Error was encountered Severity: 8192 Message: Function ereg() is deprecated Filename: libraries/Config.php Line Number: 177

A PHP Error was encountered Severity: 8192 Message: Function ereg() is deprecated Filename: libraries/Config.php Line Number: 177

what is the meaning of this?

Basically means half the functions used in the libraries were built for earlier versions of PHP and are now depreciated. You can replace these functions with the recommended newer ones. For instance you can remove the set_magic_quotes_runtime() with something like ini_set('magic_quotes', 0) or something. There's always an acceptable replacement for every depreciated function

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close