Hey all,

I have a little dilimma and I want to know if it can be solved with PHP:

I'm going to be away from all computers for 2 months (I'm leaving in a month or so.) Unfortunately for me, I run a website that requires me to fill out orders and send emails to customers. I can send the email to the customer (with PHP 😃) without a problem from my phone. The dilemma is that I can't order the product from the place where I buy it (from my phone). I can log into my account, but since it's CGI (which my phone doesn't support) I can't get the product.

So I want to know if there's any way that I can essentially get PHP to log in, purchase the product, and return the customer code to me. Is this possible? I can deposit money into the buyer account, so PHP doesn't need to go through PayPal or anything.

Let me know what you think. The company I buy from doesn't offer any kind of thing I can connect to for ordering the product. Please keep in mind that I need certain information returned (like could PHP find a certain text on the page?). Thanks in advance.

    it is possible - but to give you further info, we would need more info on the login mechanism to your order area.

      In theory, you could use curl to do everything you would do in a browser (cookies, sessions, SSL, web server authentication, etc). The trick is sitting down and coding the script.

        exactly - pretty much you have to make php do the same you would step by step.

          Write a Reply...