User Profile

Collapse

Profile Sidebar

Collapse
bits2017
bits2017
Last Activity: Dec 20 '17, 09:37 AM
Joined: Jun 18 '17
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Is Not BigInt Or VARCHAR (40) Not Big Enough To House sha1?

    I want to know if BigInt is enough in size. I have created a registration.ph p where the user gets emailed an account activation link to click to verify his email so his account gets activated.

    Account Activation Link is in this format:
    Code:
    $account_activation_link = 
    "http://www.".$site_domain."/".$social_network_name."/activate_account.php?primary_website_email=".$primary_website_email."&account_activation_code=".$account_activation_code."";
    ...
    See more | Go to post

  • How To Control Uploading, Downloading & Streaming With Php ?

    Webhosts & Programmers!

    I want to know from you, since I want to run a public proxy then would I still become a target like you say even after adding the following measures ? If so, then how to prevent all this from happening ? The following are the steps I am taking. Do you mind checking if they are safe & sound or not ?

    1. Not run an SMTP. This is to prevent anyone using my mail server*to spam;

    ...
    See more | Go to post

  • bits2017
    started a topic cURL Fails To Auto Post

    cURL Fails To Auto Post

    Hi,

    I was searching for a tutorial that teaches how cURL can auto post and came across the following code. It is supposed to fill-in WP comment form. But for some reason I see no response on the commenting section on the blog:
    https://www.atilus.com/top10internetma rketingblogs/

    Why is that ?
    If I run the script on my site then I see cURL fetches the page (the above link) but I see no response on the comment...
    See more | Go to post

  • Thanks!

    I don't think I would have any of the following risks by running a web proxy unless I run a Socks Proxy, right ?

    * Spamming via your SMTP (unless, I run a webmail)
    * Torrenting (Mas Seeding)
    * Spreading Virus & Malware (unless, I allow uploading to my site/server)

    Q7. What do you say ?

    Q8. Anyway, do you know what kind of hacking risks there are by running a web proxy (if...
    See more | Go to post

    Leave a comment:


  • Recommend A Webhost To Run Open Public Proxy-What To Look-out For When Running One ?

    Folks,

    I am looking for a free or a paid webhost that will allow me to run my own web proxy for the public to use. I am not looking to use a third party service. No! I want to provide the proxy service to the public (like to you) like anonymouse.org does.

    I'm going to use Mini Proxy php script to run the service. And, I've searched google twice before few wks ago on 2 different days but no luck. The webhosts I usually...
    See more | Go to post

  • bits2017
    replied to Mysql Row Deletion Fails
    in PHP
    I corrected this:

    mysqli_query($c onn,"DELETE FROM users WHERE id='$val'");

    to this:

    mysqli_query($c onn,"DELETE FROM users WHERE ids='$val'");

    And this code is working:

    Code:
    <?php
    
    /*
    ERROR HANDLING
    */
    declare(strict_types=1);
    ini_set('display_errors', '1');
    ini_set('display_startup_errors', '1');
    error_reporting(E_ALL);
    ...
    See more | Go to post

    Leave a comment:


  • bits2017
    started a topic Mysql Row Deletion Fails
    in PHP

    Mysql Row Deletion Fails

    Folks,

    Here is a php code that lists all the rows and columns in your mysql tbl for you to select the rows (via check boxes) you want to delete and then delete them by clicking the appropriate "delete" buttons. Problem is, when I click any of the "delete" buttons, I get error flicking for a sec that there is an undefined variable $num. Not sure where to define it and how.
    Confesssion :D
    I actually...
    See more | Go to post

  • bits2017
    started a topic How To Grab Cookie Token From User Hdd ?
    in PHP

    How To Grab Cookie Token From User Hdd ?

    Php Masters!

    Do you mind showing me an example of how to write the code to fetch the persistent cookie token from the user's hdd ? Because, If I do not know how to write code to do the fetching then I won't know what the token is to check against the db. I know how to query the db with php, though.

    While going through many tutorials that keep showing to write the Username & Password on the user's hdd, I grabbed these...
    See more | Go to post

  • Are These Persistent Cookie Ideas Safe And Interesting ?

    Php Masters!

    Every php persistent cookie tutorial I come across always save the user's password onto the user's hdd. To make things worst. Save it on the hdd without encrypting it.
    Now, I thought it would be best if the cookie got named under the user's computer mach address and the mach address got saved in the db.
    Then, when the user loads the login page, the cookie can check it's cookie name against the db and if there...
    See more | Go to post

  • bits2017
    started a topic Persistent Cookie Help Required!
    in PHP

    Persistent Cookie Help Required!

    This is a login.php.

    The user is given a choice to either input his/her Username & Password or Email & Password. In short, either log-in inputting your Username or your Email.

    It is written in mysqli procedural. I have not learned pdo oop yet. I need help in the login.php to add the "Remember Me" feature using Cookies. I have googled but most tutorials teach to save the user password in the cookie! And...
    See more | Go to post

  • bits2017
    started a topic Why httpS Fails To Load ?
    in PHP

    Why httpS Fails To Load ?

    Php Gurus!

    This is a php web proxy called Mini Proxy not written by me.
    Why do https pages show blank white when I visit any https pages with the proxy ?
    I reckon the https pages are failing to load. Why do you think that is ?

    You can see the actual code here if you want to see it with line numbers:
    https://github.com/joshdick/miniProxy/blob/master/miniProxy.php

    Which line of the...
    See more | Go to post

  • bits2017
    started a topic Accounts, Sessions, Proxies And Intermittent Errors!
    in PHP

    Accounts, Sessions, Proxies And Intermittent Errors!

    Php Gurus,

    I added a url logger to Mini Proxy so that whatever my free users browse gets logged into my db under their account usernames. The code of Mini Proxy is too long to fit into this post and so you may check it out here: https://github.com/joshdick/miniProx.../miniProxy.php

    Using the Mini Proxy, whatever I browse now gets logged into my DB. Tbl: browsing_histor y. Columns: ids, time & dates, usernames,...
    See more | Go to post

  • bits2017
    started a topic How To Add Remember Me Feature With Cookies ?
    in PHP

    How To Add Remember Me Feature With Cookies ?

    Hi,

    This is a login.php.

    The user is given a choice to either input his/her Username & Password or Email & Password. In short, either log-in inputting your Username or your Email.
    People are welcome to provide their own code samples in mysqli procedural or edit (fix) my code by adding comments and displaying it on this thread for all newbies to learn from. From your code and your code comments, I, aswell as...
    See more | Go to post

  • bits2017
    replied to Converting PDO OOP To Mysqli Procedural
    in PHP
    Folks!

    I really need the following code converted to mysqli procedural from pdo oop. Once that is done, my 7 months project will come to an end. And, I can move-on to learning pdo. Right now, can't afford to jump into pdo without finishing my current project.
    So, who will help me convert ? Other newbies would learn from your conversion.

    Thanks!

    Code:
    <?php
     
    /*
    ERROR HANDLING
    ...
    See more | Go to post

    Leave a comment:


  • Folks!

    Why do you reckon this code does not work ? I only see a blank page.
    The code will need to run everytime cURL loads a page so that the JS can check the page for banned words.

    Code:
    <?php
    /*
    ERROR HANDLING
    */
    // 1). Set banned words.
    $banned_words = array("Prick","Dick", "blow", "cock");
    // 2). $curl is going to be data
    ...
    See more | Go to post

    Leave a comment:


  • How To Check For Banned Word On Page With Javascript ?

    Folks,

    I'm trying to add a content filter (banned words filter) onto a web proxy. When the Javascript detects any of the banned words on the page, it should:

    * As soon as a banned word is detected, it should not check for any more but immediately echo/print on screen/display a warning to the user with the first banned word spotted:
    "Banned word "blah" found on page. You will be redirected to Google"....
    See more | Go to post

  • Finding Banned Words On A Page And Not Within Other Words!

    I am trying to add a banned words filter onto a web proxy.
    I am NOT searching for banned words within other words on a page but searching for banned words within a loaded page.
    I am not actually looking for banned words within other words but within the page (meta tags, content).

    And so, if I am looking for the word "cock", then the word "cockerel" should not trigger the filter.

    I just...
    See more | Go to post

  • Finding Banned Words On A Page And Not Within Other Words!

    Php Lovers!

    I am NOT searching for banned words within other words on a page but searching for banned words within a loaded page.
    I am not actually looking for banned words within other words but within the page (meta tags, content).

    And so, if I am looking for the word "cock", then the word "cockerel" should not trigger the filter.

    I just tested this code and, yes, as expected...
    See more | Go to post

  • No one knows the answers ?
    See more | Go to post

    Leave a comment:


  • Folks,

    Do you mind reviewing my code in my original post and edit wherever you deem editing is necessary ?
    I prefer 2 versions where on one you use the mysqli_stmt_get _result and on the other mysqli_stmt_bin d_result.
    That way, we newbies learn both from you with your examples.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...