Jump to content
Larry Ullman's Book Forums

shingiittai

Members
  • Posts

    8
  • Joined

  • Last visited

shingiittai's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. With the Paypal ecommerce site users who are registered and up-to-date are able to access the "content" area of the db associated with each page. I have been able to place photos, videos whereas these file links/locations are hidden and disguised by the category/page number (page.php?id=2). So basically i have a separate website that i want "embedded" into my main site so that only registered users of the main site are able to view. How can i add a completely different website (primarily php driven) into this area and also have the URL (file locations) hidden? I have tried an iframe, but the view source exposes the URL. Hope all of this made sense......thank you for your reply.
  2. What is the best, most secure option for placing an already existing website (either html or php) into the "CONTENT" area of the database? Can I place the code of the index.php file directly into the area without revealing the location of the URL and other files associated with the site? If so, how do I go about doing this? I have considered an Iframe and object tag, however the site's URL is visible. Any suggestions and/or recommendations are greatly appreciated.
  3. Thanks for the reply Larry....I did figure out a solution, although not the one I originally had in mind. I changed the Registration.php ADDDATE(NOW(), INTERVAL 20 DAY) )......this bypassed the whole payment system (allowed register users to view content) and basically set the expiration day 20 days from the date of registration/creation. Now once expired, users will need to renew their accounts via Paypal as originally set. If you see any issues with this, please let me know as I have not had time to go through the entire cycle for testing purposes, but I believe that it will work just fine. I appreciate your willingness to help me.....thanks alot!
  4. I am interested in incorporating a 15 or 30 day FREE trial period, however am having difficulties completing the task. I am in the education field and have very limited knowledge/skills regarding php/mySQL and thanks to Larry's approach I have made it further than I expected. Basically after users register and are presented with the Paypal, they must login via Payapl and agree to the monthly subscription, however the first 30 days should be free so that they have the option of canceling the subscription if they choose to do so without being charged anything. Creating the free trial period Paypal button is easy, however just doing this does not update the database in any way. When a trial period button is created and used, the database doesn't seem to be updated and therefore doesn't allow users to access the content. ( Any insight is very much appreciated...... Thanks Larry for such a great book!
  5. thanks for the quick reply.......any ideas on how i might do this? I have very little experience and am lucky to have made it this far. Any recommendation and/or help is greatly appreciate.
  6. Hello folks.....I posted once before and the replies were all very helpful. Thank you....and thanks Larry for the book! I am having a bit of trouble integrating Paypal. I am trying to offer a 30 day free trial period via the Paypal Subscription Button set-up, however after the payment is made/accepted on both sides and I am sent back to the login page it does not allow me to view the content of the database (the renew page appears). Is this even an option or possible with the current code as it is? Do I need to change the code of the working files or is this something that I need to do through Paypal? Any help is greatly appreciated. michael
  7. Thanks so much for the information Terry. I am very new to this type of information and am lucky I made it as far as I did. In regards to the first two: Can they be the same? I understand that the second needs to point to the web URL, but where (or what) is the webroot? I use Godaddy and have multiple sites. define ('BASE_URI', '/path/to/webroot'); define ('BASE_URL', 'www.samplesite.com'); Also, on a whole new topic and perhaps you could point me in the right direction. I am trying to include videos in the various categories for registered/paid users to view. Everything works well in regards to the sign-in process, receiving payments, and allowing only registered/paid users to view content. However, the tiny_mce editor would not display embedded videos so I linked them. The problem is that the entire URL is displayed for each of the videos, allowing users to bypass the whole registration process and view the videos without registering/paying (if they take notice and remember the URL). Am I missing something or forgetting something in one of the files? Again, any help is greatly appreciated. michae
  8. Hello Larry.....fantastic book....one of the best books I have read. I am in the education field and not the computer/programming field and your approach made complex ideas much more understandable...thanks so much! I am wondering which files need to be manipulated or changed in order to switch the payment plan from yearly to monthly? I realize that I need to make some changes in the PayPal code, but which do I change in regards to the downloaded files that you provided? Also, the CONFIG File and information presented on page 58 was very confusing to me. I am not sure where the defined elements need to point to???/ define ('BASE_URI', '/includes/pdfs'); (should this point to where the pdfs will be downloaded to? if not, what values should be included in the area?) define ('BASE_URL', 'www.samplesite/'); (this should be the site's address..correct?) define ('PDFS_DIR', BASE_URI . '/includeds/pdfs/'); (or is this where the pdfs will be downloaded?) define ('MYSQL', BASE_URI', '/includes/mysql.inc.php'); (mysql file is located in the inlcudes folder.....do i need to include the "includes-folder" here?) The CONFIG file is located in the "includes folder".......do I need to include the "include folder" when pointing to a file in the same folder? I appreciate any feedback and/or direction and look forward to hearing back from you.
×
×
  • Create New...