Search found 4 matches

by the_lar
Wed Feb 03, 2010 6:31 am
Forum: PHP - Code
Topic: displaying a message while CURL waits?
Replies: 2
Views: 42

Re: displaying a message while CURL waits?

Hi there, thanks for the tip but it's not really an option to use Ajax, as this is part of a payment process I have to be certain that everyone sees the message, not just those with Javascript
by the_lar
Wed Feb 03, 2010 5:23 am
Forum: PHP - Code
Topic: displaying a message while CURL waits?
Replies: 2
Views: 42

displaying a message while CURL waits?

Hi all, Can anyone help with a small CURL issue? I am calling a URL with CURL which may take up to 60 seconds to respond. It's usually a lot quicker but in any event I want to show the user a message or a spinning wheel graphic while CURL is doing it's thing. At the moment I've mocked up the remote ...
by the_lar
Sat Jan 30, 2010 7:40 am
Forum: PHP - Code
Topic: Redirect to another site with POST data
Replies: 1
Views: 96

Redirect to another site with POST data

Hi All, I'm looking for a neat solution to a problem. My site processes payments (via paypal DirectPay) and on success I want to redirect the user to another site and include some POST data which is a reference number. If I use header("location: http://redirectionsite.com) I believe I can only ...
by the_lar
Mon Aug 21, 2006 10:01 am
Forum: PHP - Code
Topic: quick file upload question
Replies: 1
Views: 193

quick file upload question

Hi, I'm using a form to upload images that are used in a PDF. I'm allowing GIF's and JPEGS. I'm detecting the file type via: $_FILES['userfile']['type'] - GIF's are fine and work when I upload 72 dpi or 300 dpi, however jpegs are only detected when they are 72 dpi???? Weird! The server is a Win2K wi...