[PHP] Webmall with Paypal & IPN

Page 2 of 2 FirstFirst 12
Results 16 to 30 of 30
  1. #16
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: [PHP] Webmall with Paypal & IPN

    Quote Originally Posted by elmagico123 View Post
    Why this file "cacert.pem" Encrypted ?
    it is required by paypal for payment verification

    https://developer.paypal.com/docs/classic/ipn/ht_ipn/

    // please download 'cacert.pem' from "http://curl.haxx.se/docs/caextract.html" and set// the directory path of the certificate as shown below:
    // curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__) . '/cacert.pem');

  2. #17
    No avatar RenePunik is offline
    MemberRank
    Feb 2013 Join Date
    1,431Posts

    Re: [PHP] Webmall with Paypal & IPN

    Quote Originally Posted by CandyQ View Post
    his work O.o
    I'm wrong?

  3. #18
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: [PHP] Webmall with Paypal & IPN

    Quote Originally Posted by RenePunik View Post
    I'm wrong?
    Nop you're not wrong

  4. #19
    Enthusiast CandyQ is offline
    MemberRank
    Dec 2013 Join Date
    48Posts

    Re: [PHP] Webmall with Paypal & IPN

    Quote Originally Posted by RenePunik View Post
    I'm wrong?
    yes. he copid from epvp
    he don't have experienced to make this system

  5. #20
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: [PHP] Webmall with Paypal & IPN

    Quote Originally Posted by CandyQ View Post
    yes. he copid from epvphe don't have experienced to make this system
    you should come to my place imma test how the Human brain stupidity can get to your level

  6. #21
    Apprentice elmagico123 is offline
    MemberRank
    Sep 2012 Join Date
    22Posts

    Re: [PHP] Webmall with Paypal & IPN

    Quote Originally Posted by B1QB0SS View Post
    it is required by paypal for payment verification

    https://developer.paypal.com/docs/classic/ipn/ht_ipn/
    oh ok thanks

  7. #22
    Member hellspawn80 is offline
    MemberRank
    Apr 2012 Join Date
    95Posts

    Re: [PHP] Webmall with Paypal & IPN

    Quote Originally Posted by DSilkroad Srovn View Post
    not work
    Connection failed: SQLSTATE[IM002] SQLDriverConnect: 0 [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    - - - Updated - - -

    php_pdo_odbc.dll enabled

    i got same error .. what wrong ??

    thx

  8. #23
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: [PHP] Webmall with Paypal & IPN

    Quote Originally Posted by hellspawn80 View Post
    i got same error .. what wrong ??

    thx
    replace the SQL.php file in include folder with the one in attachments
    Attached Files Attached Files

  9. #24
    Member hellspawn80 is offline
    MemberRank
    Apr 2012 Join Date
    95Posts

    Re: [PHP] Webmall with Paypal & IPN

    Quote Originally Posted by B1QB0SS View Post
    replace the SQL.php file in include folder with the one in attachments
    cool! that work good :)

    - - - Updated - - -

    i setup the admin name but i cant see admin panel ... why ?

    thx

  10. #25
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: [PHP] Webmall with Paypal & IPN

    Quote Originally Posted by hellspawn80 View Post
    cool! that work good :)

    - - - Updated - - -

    i setup the admin name but i cant see admin panel ... why ?

    thx
    open the admin panel like that

    myurl.com/webmall/?act=admin

  11. #26
    Member hellspawn80 is offline
    MemberRank
    Apr 2012 Join Date
    95Posts

    Re: [PHP] Webmall with Paypal & IPN

    Quote Originally Posted by B1QB0SS View Post
    open the admin panel like that

    myurl.com/webmall/?act=admin
    thanks :)

  12. #27
    Member ongamanext is offline
    MemberRank
    Dec 2012 Join Date
    VenezuelaLocation
    73Posts

    Re: [PHP] Webmall with Paypal & IPN

    Help pliss


  13. #28
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: [PHP] Webmall with Paypal & IPN

    Quote Originally Posted by ongamanext View Post
    Help pliss

    replace your index.php with this one
    Spoiler:

    <?php
    session_start();
    include 'include/config.php';
    ?>


    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <title>WebMall</title>


    <!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link href="css/signin.css" rel="stylesheet">
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="js/bootstrap.min.js"></script>
    </head>
    <body>
    <center>
    <H1>Welcome To The WebMall</H1><br><br>
    <? if(!$Loggedin) {?>
    <H2>Please Login</H2>
    <form class="form-signin" method="post" action="">
    <input type="text" class="form-control" name="username" placeholder="Username" required><br><p>
    <input type="password" class="form-control" name="password" placeholder="Password" required><br><br>
    <button class="btn btn-lg btn-primary btn-block" name="login" type="submit">Sign in</button>
    </form><br>
    <? } else {include 'include\items.php';} ?>
    </body>


    <?php


    if(isset($_POST['login']))
    {
    $username = $sql->secure($_POST['username']);
    $password = $sql->secure($_POST['password']);


    $query = $sql->query("select * from $accDB..TB_User where StrUserID='$username' and password='".md5($password)."'");
    if($query->execute())
    {
    $rows = $query->fetchAll();
    $rowCount = count($rows);
    if($rowCount>0)
    {
    $_SESSION['username'] = $username;
    $_SESSION['password'] = $password;
    header('location: index.php');
    }
    else
    {
    echo "<label class=bg-danger>Wrong User/Password</label>";
    }
    }
    }


    if(!empty($_SESSION['username']))
    {
    $act = !empty($_GET['act']) ? $_GET['act'] : '';
    $act = $sql->secure($act);
    if($act == "logout" && !empty($_SESSION['username']))
    {
    session_destroy();
    header('location:index.php');
    }
    if($act == "admin" && $_SESSION['username'] == $adminuser)
    {
    include 'include/admin.php';
    }
    }
    ?>


    <div id="footerContainer">
    <div id="content"></div>
    <div id="footer"><label class=bg-warning>&copy; <a href='https://www.***********.com/forum/members/6567633-hazemooking.html'>This Guy</a></label></div>
    </div>

  14. #29
    Member hellspawn80 is offline
    MemberRank
    Apr 2012 Join Date
    95Posts

    Re: [PHP] Webmall with Paypal & IPN

    BIQB0SS .. contact me please.

  15. #30
    Novice ahmedwaill is offline
    MemberRank
    Feb 2012 Join Date
    4Posts

    Re: [PHP] Webmall with Paypal & IPN

    can't see admin panel ?



Page 2 of 2 FirstFirst 12

Advertisement