- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
3 Posted Topics
As pritaeas suggested, you can make sure you have the GD library and PHP5, then use the either the Simple Image class by Simon Jarvis and/or the Resize Class by Jarrod Oberto with the following kind of call: [CODE]$image->load($uploadedfile); $image->resize(width,height); $image->save($pathtoresizedimagefilename);[/CODE]
Hi, See if the code below works for you. Note that 'pjpeg' refers to progressive jpegs and when dealing with jpgs, I always include it to avoid possible issues in IE. [CODE]$filetype = $_FILES['file_upload']['type']; if( $filetype === "image/jpeg" || $filetype === "image/pjpeg" ) { //do nothing } else { //invalid …
(1) For both Paypal IPN and PDT, after creating your button in Paypal, you can customize it by adding fields like below: [CODE]<input type="hidden" name="item_name" value="Name of the Item" /> <input type="hidden" name="amount" value="49.95" /> <input type="hidden" name="custom" value="User ID" /> <input type="hidden" name="return" value="A Link for handling" /> <input …
The End.