$s = $pinoco->request->server;//$protocol = $s->get(HTTPS) ? "https" : "http";//$server_prefix = $protocol . :// . $s->get...
if($data->save()) {    $user->setFlashMessage(“         ”);    $this->redirect(array(article/index));}
PHP   Symfony2
<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD WebApplication 2.3//EN...
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Kphpug beginners-2
Upcoming SlideShare
Loading in …5
×

Kphpug beginners-2

3,686 views

Published on

関西PHP初心者勉強会
なぜなにフレームワーク一年生

Published in: Technology
0 Comments
6 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,686
On SlideShare
0
From Embeds
0
Number of Embeds
1,217
Actions
Shares
0
Downloads
10
Comments
0
Likes
6
Embeds 0
No embeds

No notes for slide

Kphpug beginners-2

  1. 1. $s = $pinoco->request->server;//$protocol = $s->get(HTTPS) ? "https" : "http";//$server_prefix = $protocol . :// . $s->get(SERVER_NAME);//if ($protocol == "http" && $s->get(SERVER_PORT) != "80") { $server_prefix = $server_prefix . ":" . $s->get(SERVER_PORT);} else if ($protocol == "https" && $s->get(SERVER_PORT) != "443") { $server_prefix = $server_prefix . ":" . $s->get(SERVER_PORT);}//// URL$fixedurl = $server_prefix. $pinoco->url($this->url);$pinoco->header(Location: . $fixedurl);
  2. 2. if($data->save()) { $user->setFlashMessage(“ ”); $this->redirect(array(article/index));}
  3. 3. PHP Symfony2
  4. 4. <?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD WebApplication 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"><web-app>  <servlet>    <servlet-name>ShowDate</servlet-name>    <servlet-class>ShowDateServlett</servlet-class>  </servlet>  <servlet-mapping>    <servlet-name>ShowDate</servlet-name>    <url-pattern>/SDate</url-pattern>  </servlet-mapping>  <security-constraint>    <web-resource-collection>      <web-resource-name>Basic Authentication</web-resource-name>      <url-pattern>/*</url-pattern>    </web-resource-collection>    <auth-constraint>      <role-name>admin</role-name>    </auth-constraint>  </security-constraint>  <login-config>    <auth-method>BASIC</auth-method>    <realm-name>UserDatabaseRealm</realm-name>

×