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!
When passing (click on Buy Now)values on this page, you can see how the % causes a problem. Paypal has no problems with spaces, but %, /, or )( causes a problem.
Here is my code..
Have you tried encoding the parameters passed to the url??? this will replace the % sign with a value that can be passed through the browser with causing these problems.
I'm sorry, I don't follow you. I'm not the best with php. How can I encode it. Also it has to be a %. Everything is read from a database before passing values to Paypal.
Thanks. I'm at school right now and have no access to ftp, so I can't test it. But i'll take your word for it and test it later tonight. Thanks again.
Also, is there anyway when the php file is being read by the server, to convert one character to another? For example, I have on some pages _ which I would like to convert to a space.