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]
'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
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
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
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
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
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
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
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
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(${$
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
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
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
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]
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
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
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
>
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]
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;";
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");
>
>
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
21 matches
Mail list logo