acbrandao / php Goto Github PK
View Code? Open in Web Editor NEWPHP Related Projects: Like simple PHP Genetic algorithm, LDAP login , Websockets and more
Home Page: http://www.abrandao.com/category/software/
PHP Related Projects: Like simple PHP Genetic algorithm, LDAP login , Websockets and more
Home Page: http://www.abrandao.com/category/software/
$html_filename= "my_page_to_edit.php";
works as it should be, but if the value comes from GET or POST it does not. i can print out the values from GET and POST variable as well as access it but i cannot use it to as a value to give $html_filename= and edit the editable contents.
If i use the get or post with $html_filename= it shows the page but the edits made are not saved
help would be greatly appreciated thanks you are awesome :)
using file_get_contents() comments out php code when executed resulting to pages errors
so instead i tried to use
function get_include_contents($filename) {
if (is_file($filename)) {
ob_start();
include( $filename);
return ob_get_clean();
}
return false;
}
and php code now works and are executed the problem is when php code such as echo are executed it is saved as plain html text and all other php codes are removed after save making the page only editable once and editing destructive
While I am trying to run the server side program it is showing that
PHP Notice: Only variables should be passed by reference in /var/www/html/phpwebsocket.php on line 50
This error was showing on other codes too. I cannot understand the problem, please help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.