Random questions to which you seek an answer
-
MCL, that's not a stupid call.
Shoque, I know you're busy mate, here's code to directly upload images to S3 means they'll never disappear.
include('s3_config.php'); if($s3->putObjectFile('imgs/'.$actual_image_name, $bucket , $actual_image_name, S3::ACL_PUBLIC_READ) ) { echo " ### Upload Successful. "; $s3file='http://'.$bucket.'.s3.amazonaws.com/'.$actual_image_name; echo 'S3 File URL:'.$s3file.' '; echo 'Forum Code: [img]'.$s3file.'[/img] '; echo "![]($s3file) "; } else $msg = "S3 Upload Fail."; } else $msg = "Image size Max 5 MB"; } else $msg = "Invalid file, please upload image file."; } else $msg = "Please select image file."; } ?>
Originally from; http://undesigned.org.za/2007/10/22/amazon-s3-php-class
-
I like the Add image to post feature, but have a request:
Can we either have it
-
Not add a URL to postimage.org
-
Make the URL to postimage.org open to the image page instead of the base URL
?
I will try to modify the JS-bits to achieve that, can't promise anything though.
-
-
Hey that's great thanks man
-
Realizing I can no longer abide the fit of my cashmere overcoat since losing weight, I'm looking for a pea coat / overcoat hybrid. That's to say, a pea coat that has a long body. Appropriate for a suit or jeans. Gotta be heavy, 30 oz or heavier, or if not insulated somehow.
-
I like the Add image to post feature, but have a request:
Can we either have it
-
Not add a URL to postimage.org
-
Make the URL to postimage.org open to the image page instead of the base URL
?
Having looked at the code shortly, I think this is done via the JS in the postimage.org-popup, so not possible at the moment. i would love to implement this properly via imgur or s3 some time.
-
-
Thanks!
-
Slowly (ey)…
Haha!
Nate, I don't think you have to do anything special…..maybe put the country code (1) before the number. There can't be much to it.
-
Nope, you need to do +44 then the number without the leading zero….
So my mobile is 07740706464
You would text:
+44 7740706464
or 0044 7740706464So why do you brits have that leading 0 then? Otherwise it makes sense. Also, whats the logic on these country codes….never thought about it before.
-
Thomas,
I don't see how it's any different here in the States, you dial 1+ area code to dial anything that isn't local. Now add a country code, which they would need as well calling us, ours happens to be a extra 1. Do you see how the numbers then fall into place?
I never have to use a country code within the US. But, I have a feeling that is already built in, which is logical. I don't get the extra zeros that Giles mentioned
If you look online, not all countries use that prefix. Also, why is Uzbekistan 998, UK 44 and US, 1?
The question isn't important at all, but I couldn't extract the reasoning from wikipedia, so just wondering what the logic is.
-
Same for Belgium… My digits are 0485 XX XX XX, if you'd wanna text me it'd be 0032485 XX XX XX..
Nope, you need to do +44 then the number without the leading zero….
So my mobile is 07740706464
You would text:
+44 7740706464
or 0044 7740706464So why do you brits have that leading 0 then? Otherwise it makes sense. Also, whats the logic on these country codes….never thought about it before.
Virtually every country has a leading zero in their phone number.
Read this:
http://en.wikipedia.org/wiki/Telephone_numbering_plan
and this:
-
And here is a "fascinating" read….
http://www.itu.int/dms_pub/itu-t/opb/sp/T-SP-E.164D-2009-PDF-E.pdf