Re: [PHP] An idea for a PHP tool

2002-01-03 Thread David Minor
It's also worth noting here that typing a keyword (or maybe it's just function names?) in place of a directory after www.php.net does the same thing. ie, 'www.php.net/extract' takes you to the extract page in the manual. HTH, dm Mike Eheler wrote: >Through suggestions of people here is the code

Re: [PHP] FW: A little O T: <-- Can I make a better looking file box?

2001-12-12 Thread David Minor
versation >about this on Deja.com. The only good suggestion is to use some combination >of CSS to hide the original button and JAVA to display a new one. Hope this >helps some. :) > >-Kevin > >----- Original Message - >From: "David Minor" <[EMAIL PROTECT

Re: [PHP] FW: A little O T: <-- Can I make a better looking file box?

2001-12-12 Thread David Minor
I think you want to look at Brandon Orther wrote: >Hello, > >I have been working on a php script and lately have been adding style >sheets and image submit buttons to make it look better. > >I have now run into the problem that the input type file looks like a >regular form input. I would li

RE: [PHP] Logo proposal

2001-12-11 Thread David Minor
Well, there goes my idea of a piranha! How about a puffin?? :) Dan McCullough wrote: >But for the use of visualization you might want to pick something friendly and fast, >so they think >of PHP in that way, instead of strange and slow. >--- Andrew Chase <[EMAIL PROTECTED]> wrote: >> Maybe an ani

[PHP] Re: force download in IE -- conclusion

2001-08-22 Thread David Minor
I ran some tests of different header configurations of 6 browser/platform combinations to find out what worked and what didn't. I didn't cover all of the platforms available, just those that my user-base uses, so this isn't complete. combinations tested was IE5.5, NN4, NN6 for Windows 98 and I

[PHP] Re: force download in IE

2001-08-20 Thread David Minor
on 8/20/01 12:07 PM, [EMAIL PROTECTED] wrote: This gave the same result: it launches the helper app. Please help!! Regards. dm > Have you tried this? > > header("Content-Type: application/x-octet-stream"); > header("Content-Description: MP3 file"); > >

[PHP] force download in IE

2001-08-18 Thread David Minor
Can anybody tell me why this doesn't work in IE? I need to force download mp3 files instead of IE5.5 trying to apply a helper app. This code works fine for NN. // detect for MSIE bug if (strstr($HTTP_USER_AGENT, "MSIE")) $attachment = ""; else $attachment = " attachment;";

[PHP] readfile("ftp://....");

2001-08-09 Thread David Minor
going the fopen(), fread() route with the same result. Any ideas what I'm doing wrong? or if it's even possible? Thanks, David Minor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: creating archive [<-- was re: php]

2001-08-03 Thread David Minor
There is a nice library that handles this called pcltar at http://phpconcept.free.fr/index.en.php3 on 8/2/01 11:37 PM, Eduarko Kokubo wrote: > I'm still trying to compress an entire directory on a linux server to be > decompressed probably in windows client. I'm trying to use exec command and >

[PHP] substitute for assigning with array()?

2001-05-02 Thread David Minor
I had some code that was working nicely. In it, I was assigning values to a multidimensional array like: $array_name[0] = array( key1 => 'val', key2 => 'val', key3 => 'val'); I added a function that directly assigns vars to the same array like: $array_name[0][key4] = 'val'; If thi

Re: [PHP] no reponse -- Need FTP help

2001-04-12 Thread David Minor
hmm, good idea, but the only access I have to the remote machine is ftp. Can't put a script on it. I am getting the feeling that I actually have to move the file(s) from the user's machine to my server and then transfer them to the FTP site? I was hoping there would be a way to transfer directly

[PHP] no reponse -- Need FTP help

2001-04-12 Thread David Minor
Well, I didn't get a response from my previous post, so I'm trying again. I need to collect a group of files in a form and ftp them to a different server than the script is located on. Can this be done? how? Thank you, David Minor -- PHP General Mailing List (http://www.ph

[PHP] uploading with ftp

2001-04-11 Thread David Minor
has failed!"; else echo "Uploaded '$new_title[$i]' to '$__ftphost__' as '$new_file[$i]'."; } Thanks for your help. David Minor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] login & security

2001-04-09 Thread David Minor
read this tutorial: http://www.zend.com/zend/tut/authentication.php also, I have implemented this and am very happy with it: http://phortify.sourceforge.net Best of luck, dm on 4/9/01 8:19 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: > From: "kaab kaoutar" <[EMAIL PROTECTED]> > Date: Mon

Re: [PHP] Problem with each()

2001-04-06 Thread David Minor
well, that didn't work either. Same error. Show me where my thinking is wrong, if I've got an array ($HTTP_POST_VARS) in this case. and $HTTP_POST_VARS[var_list] is an array and the first entry in the array. if I did $x = each($HTTP_POST_VARS) in a while loop, the first combination that is ret

[PHP] Problem with each()

2001-04-05 Thread David Minor
that what I'm passing to the each is not an array. Can someone help me or point me to the right place? Thanks, David Minor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

Re: [PHP] renaming form posted variable names

2001-04-02 Thread David Minor
Richard Lynch writes: > function do_each($passed_array) { > > global ${$tmp_var_name}; Move this: > > if (substr($passed_array[0],-5) == "_post") { > $tmp_var_name = substr($passed_array[0],0,-5); > ${$tmp_var_name} = $passed_array[1]; down here. > return(${$

[PHP] Remembering variables during Ping-Pong session

2001-03-31 Thread David Minor
Here's what I want to do: multiple forms on separate pages that collect data from the user. When all appropriate data is entered, the user can send all data to the process script. I want the user to be able to jump from one page to another in no particular order and back while entering data. Th

[PHP] renaming form posted variable names

2001-03-30 Thread David Minor
I've got a logic problem that I just can't think through. I'm hoping that you can help me find a better way to do this. I need a function that will iterate through $HTTP_POST_VARS looking for variable names with a predefined suffix ($example_post). Then I want to save the value of this var in a

Re: [PHP] $HTTP_POST_VARS

2001-03-13 Thread David Minor
've tried using 'unset($HTTP_POST_VARS[update]);' at the end of the script after the var has been used and reprintingg the HTTP_POST_VARS array which shows that it was unset, but on resubmission of the form, it reappears! losing hair, David Minor on 3/8/01 5:45 PM, [EMAIL PROT

[PHP] do..while(0) not staying true

2001-03-07 Thread David Minor
hile ($i = $i);" and everything worked fine. What am I doing wrong? Thanks, David Minor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]