Jump to content
Larry Ullman's Book Forums

Christopher Bergin

Members
  • Content Count

    90
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Christopher Bergin

  • Rank
    Advanced Member
  1. Christopher Bergin

    Slow Query Log

    can anyone tell me if there is a simple setting on the phpMyAdmin panel that when clicked, enables the slow query log?
  2. I know that there is a 'routines' tab at the top of the page that provides an interface for adding a new routine. The user would specify the input and output variables discretely and then enter the routine in a separate area. Here, I think you could avoid using the $DELIMITER tag but I'm sure. It's worth a shot.
  3. Christopher Bergin

    Cookies

    ok, I understand now. I guess if I were to click on the iframe that hosted the third-party advertisement, the URL path would change to another host.
  4. Christopher Bergin

    Cookies

    Perhaps someone could answer this question for me. How do marketers know what commerce sites you have recently visited in order to place specific advertisements on the sidebar of websites that you subsequently visit? I'm guessing it has something to do with cookies but if I'm not mistaken, it's my understanding that vendors do not have access to cookies other than their own.
  5. Christopher Bergin

    Stored Procedures

    the routines tab in phpMyAdmin displays any stored procedures and allows you to modify the content which is helpful. I was having a problem creating them using this option. I was getting syntax errors, probably because I was including the delimiters.
  6. Christopher Bergin

    Stored Procedures

    Is there a way to save stored procedures using the SQL command line? I was trying to use the 'routine' tab included in the phpMyAdmin interface but I continue to receive syntax errors. Also, do these procedures get stored like tables? Are they visible on the sidebar of the phpMyAdmin screen?
  7. Christopher Bergin

    Topical News

    I saw this article online and had to share it. http://www.theatlanticwire.com/technology/2013/11/three-guys-built-better-healthcaregov/71195/ Needless to say, my 'confidence in government' = NULL;
  8. Christopher Bergin

    Htaccess

    nevermind, there is an option on my editor that allows the user to open a file by name and that seems to work.
  9. Christopher Bergin

    Htaccess

    I'm just getting started on Example 2 and was in the process of setting up a filesystem and creating an .htaccess file. I planned to copy the rewrite code from the downloaded example files but when I attempted to open the file in my editor, it was grayed out. I can't seem to get to it. Any idea what the problem could be?
  10. Christopher Bergin

    Chapter6/Example1

    It appears that my problem with PayPal is with the generated code for the subscribe button. The form action is directed to the Production site. <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> Manually changing the code to read <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"> doesn't effect the desired results. I would probably need to go through the process of creating the accounts again from the beginning, if I'm so enthused. Thanks for the help just the same.
  11. Christopher Bergin

    Chapter 4 / Example 1

    I was able to resolve my issue. I noticed on the first screen of the phpinfo file that the correct path to the php.ini file is listed in plain sight. The file that I was editing was located at /Applications/MAMP/conf/php.ini. The file that I needed to be editing is /Applications/MAMP/bin/php/php5.4.10/conf/php.ini. All set for now.
  12. Christopher Bergin

    Chapter6/Example1

    I don't think I'll resolve this issue with PayPal so I went ahead and read the remainder of the chapter. Just a few quick questions... Once the IPN is initiated on the PayPal side, it's my understanding that whatever variables that were sent to PayPal to complete the registration process are returned as $_POST variables for validation. When constructing the $req variable, their inclusion is required, is that correct? When the response variable $res is being assigned a value, does the fgets function read just 1 line of text? Does $fp consist of numerous lines of text that include the values for 'payment_status', 'receiver_email', 'mc_gross' etc? Which leads me to my last question, are the $_POST entries such as 'payment_status' specific to PayPal responses and are not arbitrary?
  13. Christopher Bergin

    Chapter6/Example1

    yes, a view of my Sandbox accounts are displayed and my name is visible in the top right corner of the page as being actively logged in. https://developer.paypal.com/webapps/developer/applications/accounts. The 'log in to complete your checkout' page is where my problem occurs. I continue to receive an error message. Please check your email address and password and try again The email and passwords I'm entering at this point are valid because I can log into each Sandbox account using them. I'll submit this on the PayPal forum as well.
  14. Christopher Bergin

    Chapter 4 / Example 1

    yes, I created a script and placed in htdocs with the rest of the scripts and ran it but I saw no results. <?php ini_set('display_errors', '1'); echo 'the setting has been set!'; ?> the version of PHP is 5.4.10 in the preferences tab on the MAMP widget and also reflected in the phpinfo document. The php.ini file I'm modifying is 5.4.10 in the config folder and the permissions setting reads admin and Christopher Bergin with read/write capabilities.
  15. Christopher Bergin

    Chapter6/Example1

    The whole Paypal integration is painful. After setting up 1 merchant account and 3 buyer accounts, I can't get Paypal to recognize any of the accounts when a user is redirected after registering. Has anyone else experienced this? Prior to even testing Knowledge Is Power, I make sure that I'm logged into Paypal.
×