Re: [PHP] Re: outputing image part 2

2007-06-15 Thread Ross
I am taking your advice. I am going to rezize any image greater than 400px wide prior to upload. I have to combine my upload script for ($i=0; $i <$total; $i++) { $fileName = $_FILES['userfile']['name'][$i]; $tmpName = $_FILES['userfile']['tmp_name'][$i]; $fileSize = $_FILES['userfile']['size

Re: [PHP] PHP Competition - Win a copy of Zend Studio

2007-06-15 Thread Stut
Tijnema wrote: On 6/15/07, Stut <[EMAIL PROTECTED]> wrote: WeberSites LTD wrote: > Did someone say PHP competition ? Zend Studio? > > Here is one that has been around since April 2004 giving out prizes on a > monthly basis : > http://contest.weberdev.com/ Yeah, but this one has quality judge

Re[2]: [PHP] Re: outputing image part 2

2007-06-15 Thread Richard Davey
Hi Ross, Friday, June 15, 2007, 10:40:37 PM, you wrote: > Any ideas how to save the imagecopyresampled() to the folder? Call imagepng (or imagejpeg or whatever) and pass it a filename to save the image instead of output it. Check the help files for examples. Cheers, Rich -- Zend Certified Eng

Re: [PHP] create file permission problem (solved)

2007-06-15 Thread tedd
At 5:31 PM -0400 6/15/07, Daniel Brown wrote: Sounds like it was the decimal (three-bit, incorrect) versus octal (four bit, correct) chmod(); value after all. Boo-yaa and stuff. Nope, that was one of the things I had right from the "get-go". The biggest problems I had were: a) gettin

Re: [PHP] create file permission problem (solved)

2007-06-15 Thread Daniel Brown
On 6/15/07, tedd <[EMAIL PROTECTED]> wrote: At 5:31 PM -0400 6/15/07, Daniel Brown wrote: > >Sounds like it was the decimal (three-bit, incorrect) versus octal >(four bit, correct) chmod(); value after all. Boo-yaa and stuff. Nope, that was one of the things I had right from the "get-go

Re: [PHP] GD Library and outputing image

2007-06-15 Thread tedd
At 9:17 PM +0100 6/13/07, Ross wrote: Never really used the GD much before very straightforward but how do I output the image on a page. This is fine on a php page on its own but what about one where the headers are already sent? Ross: That's not a problem. See this: http://xn--nvg.com/rotat

Re: [PHP] generating an html intro text ...

2007-06-15 Thread tedd
At 11:39 AM +0200 6/14/07, Jochem Maas wrote: original string: "HELLO, my name is charlie brown! & I'm a little odd."; shorten text (32 'letters' required): "My name is charlie brown! & I'm "; the 32 'letter' length should therefore ignore the B and I tags and treat the & as a sin

Re: [PHP] create file permission problem (solved)

2007-06-15 Thread tedd
At 6:56 PM -0400 6/15/07, Daniel Brown wrote: I don't think it's PAM-compliant to use a single-quote character in your passwords, Tedd. ;-P -- Daniel P. Brown Daniel: Bzzzet, thanks for trying. Let me explain again, maybe I did explain myself well. In the show-code folder (link below

Re: [PHP] PHP Competition - Win a copy of Zend Studio

2007-06-15 Thread tedd
At 12:45 PM +0100 6/14/07, Stut wrote: Hi All, I've been asked to be a judge in a PHP competition, and I thought I'd let you all know about it. Zend have donated some prizes, including a copy of Zend Studio Professional with 1 year of support, so it's definitely worth entering. It's also quit

Re: [PHP] PHP Competition - Win a copy of Zend Studio

2007-06-15 Thread Tijnema
On 6/16/07, tedd <[EMAIL PROTECTED]> wrote: At 12:45 PM +0100 6/14/07, Stut wrote: >Hi All, > >I've been asked to be a judge in a PHP competition, and I thought >I'd let you all know about it. Zend have donated some prizes, >including a copy of Zend Studio Professional with 1 year of support, >so

Re: [PHP] Calling an executable for processing some data sent from PHP

2007-06-15 Thread Dan
Thanks for your help. Since it's a Delphi program and Delphi has the ability to build ISAPI applications I'm going to try and see if I can't turn my app into an ISAPI and run that since it has all the functionality I need and it'll run fast. But if that doesn't work out I'll try the solutions

Re: [PHP] Calling Pascal code/functions from PHP

2007-06-15 Thread Dan
Right now the program isn't a dll it's a desktop application written in Delphi, but when I take the visual components out it will be Pascal, so I could compile it ot a dll. I want to emulate the same functionality the desktop application had, thus when the user uploads a file, the Pascal call

Re: [PHP] PHP Competition - Win a copy of Zend Studio

2007-06-15 Thread Stut
tedd wrote: At 12:45 PM +0100 6/14/07, Stut wrote: Hi All, I've been asked to be a judge in a PHP competition, and I thought I'd let you all know about it. Zend have donated some prizes, including a copy of Zend Studio Professional with 1 year of support, so it's definitely worth entering. I

[PHP] Re: Extract specific div element from page

2007-06-15 Thread Dan
Or you could just use Javascript combined with PHP, just use javascript it's something like this document.getElementById('tagId').innerHtml that will give you the html(contents) of the tag you specify. Then just do something like document.form.value = document.getElementById('tagId').innerHtm

Re: [PHP] Creating 'Previous - Next Buttons' Logic - Novice Question

2007-06-15 Thread Dan
""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 6/15/07, revDAVE <[EMAIL PROTECTED]> wrote: Novice Question: I would like to create a set of pages that could use some kind of logic to have "previous - next buttons "so that when the button was clicked it would a

Re: [PHP] Extract specific div element from page

2007-06-15 Thread Myron Turner
Anthony Hiscox wrote: Hey folks, I need to pull the contents inside of a specific div out of a page, and write it to a separate file. In this instance I am taking everything inside of tags from a wordpress blog, this will give me only the content and not the menus, or other stuff. I need to d

Re: [PHP] Re: Extract specific div element from page

2007-06-15 Thread Anthony Hiscox
Oops, I accidentally sent this directly to CK, my apologies. Thank you for your replies. The reason that I didn't explore the JS route is because this will be running in the background, I didn't want to have to visit the page in any way. I went looking for an easy way to accomplish this in PHP bu

Re: [PHP] PHP Competition - Win a copy of Zend Studio

2007-06-15 Thread Leonard Burton
On 6/15/07, Jiffy Slides Leonard Burton <[EMAIL PROTECTED]> wrote: HI Guys, If I enter my solution, I am sure to win! I have it figured out, but, with some of our new service offerings I don't know that I will have the time to bang out the code. If I don't enter the code I would love to share

<    1   2