| [ PHPXref.com ] | [ Generated: Sun Jul 20 19:28:27 2008 ] | [ PgMarket 2.2.3 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 #!/bin/sh 2 3 #session_name="php40_example_session" 4 session_name="pgm_example_session" 5 6 for FILE in `find . -name '*.php' | grep -v DOCS | grep -v session.inc.php` 7 do 8 cat $FILE | \ 9 sed -e s/\$PGM_SESSION\ =\ array/session_start/ | \ 10 grep -v "pgm_session_open" | \ 11 grep -v "pgm_session_close" | \ 12 sed -e s/global\ \$PGM_SESSION/global\ \$HTTP_SESSION_VARS/ | \ 13 sed -e s/\$PGM_SESSION/\$HTTP_SESSION_VARS\[\"$session_name\"\]/g > foobar.tmp 14 mv foobar.tmp $FILE 15 done
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |