Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #55.0K
Ranked #3K
~455 People Reached
Favorite Forums
Favorite Tags

3 Posted Topics

Member Avatar for dinhunzvi

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]

Member Avatar for kamili
0
163
Member Avatar for dinhunzvi

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 …

Member Avatar for kamili
0
175
Member Avatar for daniel36

(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 …

Member Avatar for kamili
0
117

The End.