質問編集履歴

1

誤字の訂正

2018/07/31 15:27

投稿

GeorgeYamagata
GeorgeYamagata

スコア8

test CHANGED
File without changes
test CHANGED
@@ -150,6 +150,8 @@
150
150
 
151
151
  
twitter_bot.phpの

152
152
 
153
+
154
+
153
155
  <?php
154
156
 
155
157
  require_once('twitteroauth/autoload.php');
@@ -166,7 +168,11 @@
166
168
 
167
169
  
1require_once(dirname(__FILE__) .'twitteroauth/autoload.php’);

168
170
 
171
+
172
+
169
173
  2require_once( __DIR__ . 'twitteroauth/autoload.php');
174
+
175
+
170
176
 
171
177
  3require_once( '/home/サーバーID/ドメイン名/public_html/twitter-bot-original1/twitteroauth/autoload.php');
172
178
 
@@ -176,7 +182,11 @@
176
182
 
177
183
  1だと 予期しないトークン `dirname' 周辺に構文エラーがあります
178
184
 
185
+
186
+
179
- 2だと 予期しないトークン `__DIR__' 周辺に構文エラーがあります 

187
+ 2だと 予期しないトークン `__DIR__' 周辺に構文エラーがあります 

188
+
189
+
180
190
 
181
191
  3だと 予期しないトークン '/home/サーバーID/ドメイン名/public_html/twitter-bot-original1/twitteroauth/autoload.php' 周辺に構文エラーがあります
182
192