[PHP] Uploading Images
I want to allow people to upload images but I want to be able to put limitations on it, such as allow only jpg and gif extensions and make sure the image is no larger than 60x60. Is there any way to do this? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Uploading Images
Thanks guys, these three things should solve the question. :) "Brian V Bonini" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Mon, 2004-11-01 at 10:44, bb9876 wrote: > > I want to allow people to upload images but I want to be able to put > > limitations on it, such as allow only jpg and gif extensions and make sure > > the image is no larger than 60x60. Is there any way to do this? > > > > http://us2.php.net/manual/en/ini.sect.file-uploads.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP Newsletter Lists
I am hoping someone can direct me to a good PHP/MySql newsletter distribution script that allows me to send out HTML newsletters to a large list of members but only sends one email at a time so the email is personalized as being "To" a specific person instead of an email distribution list. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Zip Codes
Is there any way to use PHP to determine the zip code someone is visiting from, assuming they are all from the US? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Zip Codes
Okay, I run a movie news site and wanted to use it to make it even quicker for users to find movie times in their area whether they were logged in or not, but that's the way it goes. Thanks fo rthe replies. "John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > bb9876 wrote: > > Is there any way to use PHP to determine the zip code someone is visiting > > from, assuming they are all from the US? > > > > Outside of asking the visitor for it, no. > > -- > John C. Nichel > ÜberGeek > KegWorks.com > 716.856.9675 > [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Zip Codes
Thanks for the sarcasm, it definitely helps. Why is it that when people ask a question there is always someone that has a smartass answer? "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thursday 04 November 2004 16:59, bb9876 wrote: > > Is there any way to use PHP to determine the zip code someone is visiting > > from, assuming they are all from the US? > > Something like this should work: > > -- start > > Please input zipcode > > > >if (!empty($_POST['zipcode'])) { > echo "Whoa! your zipcode is {$_POST['zipcode']}"; > } > ?> > -- end > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.biz > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > -- > Search the list archives before you post > http://marc.theaimsgroup.com/?l=php-general > -- > /* > Thinking you know something is a sure way to blind yourself. > -- Frank Herbert, "Chapterhouse: Dune" > */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php