symisc / PH7

An Embedded Implementation of PHP (C Library)
http://ph7.symisc.net
Other
493 stars 68 forks source link

GIthub should have thanks feature #14

Closed DaveM2011 closed 8 years ago

DaveM2011 commented 8 years ago

Dude this PH7 is amazing, the memory use is extremely low less than 500bytes serving several forms and with several functions added + loading/saving session data that i have yet to complete. But so far within about 4 days i have added ( with kids annoying me ;) )

{"header", ph7_header}, {"setcookie", ph7_setcookie}, {"memory_get_usage", ph7_memory_get_usage}, {"move_uploaded_file", ph7_move_uploaded_file}

along with $_SESSION and $_FILES support but like i said session not complete yet but so far so good and the fact that its all embedded into a single binary is just simply amazing. Im not sure you will fully get what i mean so if not ill just say Well done

symisc commented 8 years ago

Ah Great Dave, Could you share the foreign functions you've implemented for PH7?

DaveM2011 commented 8 years ago

There not very clean atm but sure there based on the libh2o, multipart_parser, and libsdb from github give me a few days maybe a week to clean up the code and finish session at least converting objects and array to strings and ill gladly share

symisc commented 8 years ago

All right!

DaveM2011 commented 8 years ago

Ohhh i got memory wrong its kb not bytes but still pretty good here is one of my extras so far Gist there about the only ones that do not require an extra library my memory avg is between 500kb and 700kb do u think this is good?

DaveM2011 commented 8 years ago

I lie i dont fully know what the mem use is after reading lots i figured out it was inaccurate :(

DaveM2011 commented 8 years ago

Ohh man i just made a dl function just to read [ph7_create_function]This function must be called before program execution via ph7_vm_exec().

morpheouss commented 6 years ago

@DaveM2011 How are your work on PH7? Can you share code?

DaveM2011 commented 6 years ago

erm if i could find it i could it was 2yrs ago but i could recreate most things easily

DaveM2011 commented 6 years ago

ill look around pc see if i can spot my work

morpheouss commented 6 years ago

@DaveM2011 great, waiting for news :)

DaveM2011 commented 6 years ago

this is proberly most of it but i gave up the project long ago as its more fun rather than work https://gist.github.com/DaveM2011/5b3d36c858ad8702a1696727d0943bbd

DaveM2011 commented 6 years ago

i have failed to find the one relating to session_start etc i will keep looking

morpheouss commented 6 years ago

thanks a lot, can i contact you somehow? no pm here

DaveM2011 commented 6 years ago

sure erm telegram or gmail?

morpheouss commented 6 years ago

can be gmail?

DaveM2011 commented 6 years ago

https://onetimesecret.com/secret/ojjhcdwpbsdyer56ajtoru718dtmf0l