Jump to content

Search the Community

Showing results for tags 'PHP'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • WebFlake
    • Announcements and Updates
    • WebFlake Support
    • Member Introductions
    • Off-topic Lounge
    • Archives
  • Webmasters
    • Webmaster Lounge
    • Marketplace (Hire, Buy, Sell, Trade)
    • Coupons and Deals
    • Hosting
    • Website and Graphics Design
    • Website Showcase
  • Invision Community Suite
    • Invision Community Suite 4.7
    • Invision Support
    • Invision Requests
    • Invision Tutorials
    • Invision Beta
  • XenForo
    • XenForo 2.2
    • XenForo Support
    • XenForo Requests
    • XenForo Tutorials
  • WordPress
    • WordPress Content
    • WordPress Support
    • WordPress Requests
    • WordPress Tutorials
  • Unsupported Software
    • IPB 3.4 Legacy
    • IPS 4.x Legacy

Categories

  • Invision Community Suite 4.7
    • Applications and Plugins
    • Themes
    • Translations
    • Invision Extras
  • Invision Community Suite 4.6
    • Applications and Plugins
    • Themes
    • Translations
    • Invision Extras
  • Invision Community Suite 4.5
    • Applications and Plugins
    • Themes
    • Translations
    • Invision Extras
  • XenForo 2.2
    • Add-ons
    • Styles
    • Translations
    • Miscellaneous
  • XenForo 2.1
    • Add-ons
    • Styles
    • Translations
    • Miscellaneous
  • Wordpress
    • Themes
    • Plugins
  • ThemeForest
    • HTML
    • CMS
    • UI Design
    • JavaScript Code
  • CodeCanyon
    • PHP Scripts
    • JavaScript
    • CSS
    • HTML5
  • Graphics & Design
    • Emoticons & Smileys
    • Ranks & Badges
    • PSD & AI Designs
  • Unsupported Software
    • IPB 3.4
    • Invision Community Suite 4.4
    • Invision Community Suite 4.3
    • IPS Community Suite 4.2
    • IPS Community Suite 4.1
    • XenForo 2.0
    • MyBB 1.8

Product Groups

  • WebFlake Creative Designs
  • WebFlake Donation Bundles

Blogs


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Version

Found 8 results

  1. Well, for some odd reason the IPB api makes all user-info besides their avatars easily accessible, and it was somewhat necessary for a 3rd party app. I was working on. Long story short, the following code snippet will allow you to easily grab a user's avatar location, connect.php <?php $mysql_hostname = '...'; $mysql_user = '...'; $mysql_password = '...'; $mysql_database = '...'; $prefix = ""; $bd = mysql_connect($mysql_hostname, $mysql_user, $mysql_password) or die('Could not connect database'); mysql_select_db($mysql_database, $bd) or die('Could not select database'); ?> user.php class User { function avatar($user) { require_once('connect.php'); try { $sql = "SELECT * FROM members WHERE name='$user'"; $query = mysql_query($sql); if(!$query) { exit('Fail'); } $member = mysql_fetch_assoc($query); $id = $member['member_id']; $sql_2 = "SELECT * FROM profile_portal WHERE pp_member_id='$id'"; $query = mysql_query($sql_2); $profile = mysql_fetch_assoc($query); $avatar = $profile['pp_main_photo']; if(!isset($avatar) || $avatar=='') { exit('Fail'); } exit('http://myforum.com/uploads/'.$avatar); } catch(Exception $ex){ exit('Fail'); } } } Usage, <?php $user = new User; $name = 'USERNAME'; $user->avatar($name);
  2. Hello to all webflake members ... I have a litle problem and i hope to find some help here .. I decoded an encrypted fille with ioncube , but now when i upload it on server i get some errors.. Please can someone try to solve the php syntax error form this fille ? http://www.senq.org/function.fmt.inc.rar http://www.datafilehost.com/d/54b53cf2 Php syntax error check that i use is : http://www.meandeviation.com/tutorials/learnphp/php-syntax-check/v4/syntax-check.php Thank You verry much PS* First error is on line 541 for example : Parse error: syntax error, unexpected '(', expecting T_STRING or T_VARIABLE or ' in function.fmt.inc.php on line 541
  3. Hey guys, REPLACE " ::::: " WITH A NEW LINE (ENTER) This will be a short tutorial on how to IP secure your Admin CP. It is really simple and it only requires a little of PHP. ----------------------------------------------------------------------------------------------------- Requirements : FTP ----------------------------------------------------------------------------------------------------- Difficulty : Medium / Hard But, it will keep everyone out of the ACP login page about 98%. ----------------------------------------------------------------------------------------------------- If you need any help, contact me : Skype : pandaretail AIM : haxorfatal ----------------------------------------------------------------------------------------------------- First, go to the admin folder ----------------------------------------------------------------------------------------------------- Second, Open the index.php file in notepad (view/edit in FTP (right click)) It should look like this : ----------------------------------------------------------------------------------------------------- Third, add " $ip = $_SERVER['REMOTE_ADDR']; ::::: if ($ip == "IP HERE") { " right under " <?php ". Add an " ?> " right under " exit(); " , then add " <?php ::::: }else{ ::::: ?> " IF YOU WANT MORE THAN 1 IP(s) TO BE ABLE TO USE THE ADMIN CP, PUT : " if ($ip == "IP HERE" || $ip == "OTHER IP" || $ip == "OTHER IP") { " AND JUST KEEP ADDING " || $ip == "" " AFTER THE IP BEFORE IT. Should look like this : ----------------------------------------------------------------------------------------------------- Fourth, add you're own HTML code under the "else" statement (whatever you want the people to see if they do NOT have the ip that is put in the PHP code). ----------------------------------------------------------------------------------------------------- Fifth, end it with " <?php ::::: } ::::: ?> " Should look like this : ----------------------------------------------------------------------------------------------------- HOW TO CODE SHOULD FULLY LOOK : WITH 1 IP ONLY : MORE THAN 1 IP :
  4. 53 downloads

    Twitter Timeline gets the latest tweets from a user profile and displays them in a horizontal or vertical timeline. It is PHP server-side based because it offers very fast loading by using a smart configurable caching function. It supports all devices: desktop, touchpads and smartphones. [hr] [b]Features:[/b][list] [*]Uses a custom PHP Library to obtain tweets; [*]Easy to install and configure with minimal HTML knowledge; [*]Smart configurable cache for fast loading; you don’t need to worry about rate limits with caching enabled; [*]Can include retweets and replies in the timeline (configurable); [*]Horizontal and vertical timeline styles that work on fixed layouts as well as on responsive layouts; [*]Cross-browser support; [*]Well documented. [/list]
  5. 24 downloads

    [size=5][b]About FAQ Manager[/b][/size] A simple PHP FAQ Manager script is designed to allow you to quickly add and manage a collection of frequently asked questions which can be displayed on your website or used in WordPress. It includes a WordPress plugin for easy integration, and instructions for using it with any other PHP Website. [b]Features include:[/b][list] [*]WordPress Plugin included to place on a page in Wordpress (but can go on any PHP website too!) [*]PHP code examples for including into other custom PHP solutions [*]PHP based templates like Wordpress – no confusing template system to learn [*]3 display modes: Accordion, Single-page using anchors, or multi-page (one page per question) [*]Category Hierarchy – Add an unlimited depth of sub-categories [*]Add an unlimited number of questions [*]Easy to use Admin Control Panel – Add, edit and re-order categories and questions with ease [*]Drag & Drop reordering of categories and questions [*]Installation and wordpress plugin and website integration instructions [/list] [b]Live Preview Login:[/b] Username: admin / Password: admin
  6. 39 downloads

    [b]Stuff[/b] is a horizontal-oriented website template created mostly for portfolios and blogs. 2 versions included: [b]HTML[/b] [b]version[/b] and [b]PHP[/b] [b]version[/b]. [b]Features[/b][list] [*]12 color schemes [*]12 page templates [*]horizontal design [*]AJAX content loading [*]Fancybox gallery [*]page content in smart columns [*]working ajax contact form [*]Cufón font replacement [*]custom font included [*]custom social media graphics [*]IE6 browser update notification [*]XHTML 1 .0 strict & CSS 3 [*]free updates [*]not bad free support [*]The code is clean and optimized. [/list] Enjoy! [hr] [b]Personal Note:[/b] There are two files due to the package size. The .rar marked (2) contains extra PSD files. The .rar marked (1) contains all of the template files.
  7. 76 downloads

    [b]Quick PHP Password Protection[/b] is a single user PHP login system which is secure, quick to implement, and requires no database. Perfect for small web apps, scripts, and personal pages which only have a single admin using them. [i]Demo is not working atm, but i have used it myself and it's really simple to work with.[/i] [hr] [b]Example Usage[/b] $quickprotect->checkLoginAndDirect(); That’s all it takes! One line of effective code (not counting the class include and init), and you’ve password protected a page! [hr] [b]Features[/b][list] [*]Secure. Tested brute force and SQL Injection proof. [*]Extremely easy implementation. One line of code, and you’re done. [*]No database required. Settings stored in INI file. [/list] [b]Note:[/b] this is a single user system ONLY . Multiple users are not supported. This is designed for small projects, web apps, and personal pages.
  8. 96 downloads

    [url="http://themeforest.net/item/centum-responsive-html-template/2831437"]http://themeforest.net/item/centum-responsive-html-template/2831437[/url]
×
×
  • Create New...