5+ results for 'php stristr' (0 ms)

Not the results you expected?

odbc_driver.php (https://github.com/holsinger/openfloor.git) PHP · 453 lines

1 <?php if (!defined('BASEPATH')) exit('No direct script access allowed');

2 /**

3 * CodeIgniter

4 *

5 * An open source application development framework for PHP 4.3.2 or newer

6 *

7 * @package CodeIgniter

348 function _escape_table($table)

349 {

350 if (stristr($table, '.'))

351 {

352 $table = preg_replace("/\./", "`.`", $table);

COLLADAFWMesh.h (https://bitbucket.org/ZhangJingGuo/opencollada.git) C Header · 347 lines

6 Licensed under the MIT Open Source License,

7 for details please see LICENSE file or the website

8 http://www.opensource.org/licenses/mit-license.php

9 */

10

312 /** Counts the number of all tristrips in all Tristrip primitives.

313 TODO not implemented */

314 size_t getTristripsTristripCount();

315

316 /** Counts the number of all trifans in all Trifans primitives.

S3.php (https://github.com/EthanBlast/Glam-Star-Life.git) PHP · 452 lines

1 <?php

2

3 /**

4 * Amazon S3 CDN engine

5 */

6 require_once W3TC_LIB_W3_DIR . '/Cdn/Base.php';

7

8 if (!class_exists('S3')) {

9 require_once W3TC_LIB_DIR . '/S3.php';

10 }

11

391 $url = parent::format_url($path);

392

393 if ($this->_config['compression'] && isset($_SERVER['HTTP_ACCEPT_ENCODING']) && stristr($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') !== false && $this->may_gzip($path)) {

394 if (($qpos = strpos($url, '?')) !== false) {

395 $url = substr_replace($url, $this->_gzip_extension, $qpos, 0);

social-media-icons.php (https://gitlab.com/Gashler/sg) PHP · 207 lines

141 <label for="<?php echo esc_attr( $this->get_field_id( 'instagram_username' ) ); ?>"><?php _e( 'Instagram username:', 'jetpack' ); ?></label>

142 <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'instagram_username' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'instagram_username' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['instagram_username'] ); ?>" />

143 </p>

144 <p>

153 <label for="<?php echo esc_attr( $this->get_field_id( 'github_username' ) ); ?>"><?php _e( 'GitHub username:', 'jetpack' ); ?></label>

154 <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'github_username' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'github_username' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['github_username'] ); ?>" />

155 </p>

156 <p>

157 <label for="<?php echo esc_attr( $this->get_field_id( 'youtube_username' ) ); ?>"><?php _e( 'YouTube channel ID:', 'jetpack' ); ?></label>

158 <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'youtube_username' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'youtube_username' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['youtube_username'] ); ?>" />

159 </p>

160 <p>

161 <label for="<?php echo esc_attr( $this->get_field_id( 'vimeo_username' ) ); ?>"><?php _e( 'Vimeo username:', 'jetpack' ); ?></label>

162 <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'vimeo_username' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'vimeo_username' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['vimeo_username'] ); ?>" />

163 </p>

164 <?php

aa_item.php (https://github.com/harz87/Amazon-Affialiate.git) PHP · 227 lines

1 <?php

2 /*

3 * To change this template, choose Tools | Templates

57 case '#_ITEMLINK':

58 $AA_URI = AA_URI;

59 $joiner = (stristr($AA_URI, "?")) ? "&amp;" : "?";

60 $item_link = $AA_URI.$joiner."item_id=".$item->item_id;

61 //$item_link = AA_URI . $item->item_post_name;

80 case '#_PICTURELINK':

81 $AA_URI = AA_URI;

82 $joiner = (stristr($AA_URI, "?")) ? "&amp;" : "?";

83 $item_link = $AA_URI.$joiner."item_id=".$item->item_id;

84 foreach ($item->pictures as $key => $value) {