Questions from the clueless...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mburman
Forum Newbie
Posts: 1
Joined: Sat Jul 19, 2008 8:16 am

Questions from the clueless...

Post by mburman »

Hello to all and thanks to any who can help me!!! I am working on my very first web site for my real estate rental company. :banghead: I am working with Dreamweaver and IIS. I've installed PHP on my server and it is working. I have decided that I want to be able to accept paypal payments and have installed a paypal button using a plug-in on my payment page. Here's where I need help... Paypal charges about 3% to me to receive a payment. I want to add that fee to my customer's payment. I created a box in my html page where the payment amount is entered and then calls for a php script to calculate the payment plus 3% and return its result. :P How do I incorporate the script into a "regular" web page and use the result to pass along to the paypal button so the correct payment is sent to paypal? 8O If you would like to see what I've done, visit my site... http://www.sbhomes.selfip.com and click online payments. Thanks for any and all help... I think I'm getting too old to figure things out for myself anymore. :roll:

Mburman
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: Questions from the clueless...

Post by califdon »

i'm probably not going to be able to give you much help, but here are some comments:

Why would you use PHP instead of ASP (VBScript) with IIS? That's assuming that you've got FastCGI Extension on your IIS, to support PHP.

Incorporating any server script into a Dreamweaver file would be something that I would not even consider doing. I'm sure it can be done, but DW output that I've seen is confusing, to say the least, and I would be concerned about what DW does to my script the next time I update the file.

Others with experience in doing this may have different opinions.
Post Reply