This old B12phpfw version 3. is more complicated but if you like it could be simplified. I think version 6 is best, simplest. $tmp_imgpath=/srv/disk16/3266814/www/phporacle.eu5.net/zinc/img/img_big/temaorapdo_ver_1_1-450x330.jpg
$tmp_imgurlrel=/zinc/img/img_big/temaorapdo_ver_1_1-450x330.jpg Edit post data in database table row ⟩⟩

Category: B12phpfw & Written by jazeb On 2016-07-13 12:20:29

10. Real life application Messages - PHP PDO, AJAX+jQuery CRUD&filter (thema, blog, forum, CMS, builetinboard, Skype replacement)

This help txt is in

/srv/disk16/3266814/www/phporacle.eu5.net/fwphp/glomodul/blog/000_markdown_posts_help.txt

To create/edit message (post) in op.system file eg "001. Menu_CRUD.txt" (or any extension) you must log in and :

  1. Post Title must be eg "001. Menu_CRUD.txt"
  2. If not exists "001. Menu_CRUD.txt" create it in op.system
    in folder /srv/disk16/3266814/www/phporacle.eu5.net/fwphp/glomodul/blog/msgmkd 001. Menu_CRUD.txt
  3. Real post title put in "msgmkd 001. Menu_CRUD.txt"


Comments

Share your thoughts about this post
Real life site code examples.

1. Teme (posts categories filter)

ALL    111     B12phpfw     Fitness     Movies     News     Politics     Science     Sports     Technology     World    

2. Recent posts (date filter)

Politics    
B12phpfw    
001. Menu_CRUD.txt

2019-10-18 15:10:29


Technology    
HTML5_CSS3.txt

2019-10-12 12:20:29


B12phpfw    
altervista013.txt

2019-03-16 12:20:29


B12phpfw    
altervista012.txt

2019-02-24 12:20:29


B12phpfw    
altervista011.txt

2018-05-29 08:20:29


B12phpfw    
altervista001c.txt

2017-09-27 12:20:29


B12phpfw    
altervista001b.txt

2017-09-13 12:20:29


B12phpfw    
altervista002a.txt

2017-05-27 12:20:29


B12phpfw    
altervista001a.txt

2016-10-26 12:20:29



      _.-'''''-._
    .'  _     _  '.
   /   (o)   (o)   \
  |        ©        |
  | Slavko Srakočić |
   \  '. Zagreb.'  /
    '.  ''---''  .'
      '-._____.-' 
    
/srv/disk16/3266814/www/phporacle.eu5.net/fwphp/glomodul/blog/home_side_area.php

PHP_OS=Linux, php_uname()=Linux f21.runhosting.com 5.10.138kvmcap #1 SMP Fri Aug 26 07:32:35 UTC 2022 x86_64
$_SERVER['DOCUMENT_ROOT']=/home/www/phporacle.eu5.net
$_SERVER['REQUEST_URI']=/fwphp/glomodul/blog/?i/read_post/id/45
$_SERVER['QUERY_STRING']=i/read_post/id/45
$_SERVER['HTTP_HOST']=phporacle.eu5.net
~~~~~~~~~/srv/disk16/3266814/www/phporacle.eu5.net/zinc/ftr.php() , line 78 SAYS:
OS web server doc root $this->p p 1->wsroot_path=/srv/disk16/3266814/www/phporacle.eu5.net/
Same web server doc root as URL $this->p p1->wsroot_url=http://phporacle.eu5.net/
Module property pallete like in Oracle Forms :
$this->p p 1
=stdClass Object ( [dbg] => 1 [stack_trace] => Array ( [0] => Array ( [0] => /srv/disk16/3266814/www/phporacle.eu5.net/fwphp/glomodul/blog/index.php, lin=18 ) ) [module_towsroot] => ../../../ [module_version] => 6.0.4.0 Msg [vendor_namesp_prefix] => B12phpfw [module_path_arr] => Array ( [0] => /srv/disk16/3266814/www/phporacle.eu5.net/fwphp/glomodul/blog/ [1] => /srv/disk16/3266814/www/phporacle.eu5.net/zinc/ [2] => /srv/disk16/3266814/www/phporacle.eu5.net/fwphp/glomodul/user/ [3] => /srv/disk16/3266814/www/phporacle.eu5.net/fwphp/glomodul/post_category/ [4] => /srv/disk16/3266814/www/phporacle.eu5.net/fwphp/glomodul/post/ [5] => /srv/disk16/3266814/www/phporacle.eu5.net/fwphp/glomodul/post_comment/ ) [uriq] => stdClass Object ( [i] => read_post [id] => 45 ) [F O R $_S E S ARR. (D B S H E M A...)] => ~~~~~~~~~~~~~~~~~ [cncts] => stdClass Object ( ) [states] => stdClass Object ( ) [A D R E S S E S in Config_allsites.php] => ~~~~~~~~~~~~~~~~ [wsroot_path] => /srv/disk16/3266814/www/phporacle.eu5.net/ [wsroot_url] => http://phporacle.eu5.net/ [imgrel_path] => zinc/img/ [module_path] => /srv/disk16/3266814/www/phporacle.eu5.net/fwphp/glomodul/blog/ [uri_arr] => Array ( [0] => /fwphp/glomodul/blog/ [1] => i/read_post/id/45 ) [module_relpath] => fwphp/glomodul/blog [module_url] => http://phporacle.eu5.net/fwphp/glomodul/blog/ [uri_qrystring_arr] => Array ( [0] => i [1] => read_post [2] => id [3] => 45 ) [ROUTES (LINKS) IN M O D U L E CTR Home_ctr.php] => ~~~~~~~~~~~~~~~~~ [PP1_ MODULE] => ~~~~~in view script eg href = $pp1->login~~~~~ [loginfrm] => ?i/loginfrm/ [login] => ?i/login/ [logout] => ?i/logout/r/i|loginfrm| [del_row] => ?i/del_row_do/ [filter_page] => ?p/ [dashboard] => ?i/dashboard/ [admins] => ?i/admins/ [read_user] => ?i/read_user/ [upd_user_loggedin] => ?i/upd_user_loggedin/ [categories] => ?i/categories/ [posts] => ?i/posts/ [filter_postcateg] => ?i/filter_postcateg/c/ [addnewpost] => ?i/addnewpost/ [read_post] => ?i/read_post/ [editpost] => ?i/editpost/ [edmkdpost] => ?i/edmkdpost/ [readmkdpost] => ?i/readmkdpost/ [comments] => ?i/comments/ [upd_comment_stat] => ?i/upd_comment_stat/ [kalendar] => ?i/kalendar/ [about_us] => ?i/about/ [contact_us] => ?i/contact/ [features] => ?i/features/ ) $_ GET=Array ( [i/read_post/id/45] => ) $_POST=Array ( ) $_SESSION=Array ( )