Giter Site home page Giter Site logo

acbrandao / php Goto Github PK

View Code? Open in Web Editor NEW
25.0 25.0 36.0 999 KB

PHP Related Projects: Like simple PHP Genetic algorithm, LDAP login , Websockets and more

Home Page: http://www.abrandao.com/category/software/

HTML 11.09% PHP 39.22% JavaScript 44.35% Shell 2.51% CSS 2.57% PowerShell 0.26%
genetic-algorithm ldap php websockets

php's People

Contributors

acbrandao avatar nabikaz avatar stephangarland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

php's Issues

$html_filename works when supplied with string expression but not with values from $_GET or $_POST

$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 :)

PHP codes on the file to be edited are commented out

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

Running Problem

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.