Greetings,
I am toying around with the idea of building a very basic script to do a
_VERY_ basic index of the network shares at work. Almost all of them are
Samba shares but I didn't see any easy way to access them without
mounting them all to my servers local file system at some point or
anoth
Gene.
I ran into a similar problem a long time ago and found that my issue was
that I had foolishly tried to recompile php5 into the same paths without
cleaning out the old php binaries. I don't know if this is what you are
doing but if it is then as a thought you might want to make sure that
a
Chris,
I have a feeling I'm missing something but from what I'm gathering you
want to be able to use the key of the array right along with the value.
If that's what you need then the following should work:
$array = my_array_creating_function();
while(list($key, $val) = each($array)){
echo ""
Hello,
I wanted to ask whether there is a way whereby a script can read
filenames from a particular directory on the server and enter those
filenames with the complete path into the MySQL database? I am trying
to do this, because I am developing an application where a supervisor
will be distributin
Well, I guess I was wrong...I looked it up and that is correct...I
couldn't remember which was the one that was needed to get the params
in the right spot.
--
The Disguised Jedi
[EMAIL PROTECTED]
Now you have my $0.02. Or .01 Pounds, .014 Euros, or $0.025 CAN. I'm
already internationally c
Randy Johnson wrote:
try $HTTP_POST_VARS maybe it is an older version of PHP
Randy
Good catch.
--
By-Tor.com
...it's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The Disguised Jedi wrote:
i think you have to use the ID parameter in the input tag in your HTML
Name:
Age:
try that and see how it goes
If I'm not mistaken, ID in a form element will assign it a 'style', much
the same way as 'class' does. It's been a while since I've done any
HTML/CSS, so
If I have a function that creates an array using add_assoc_string and then
adds it to the return value as add_property_zval, then how do I iterate over
the array and get the key and its value?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That's it right there... Damn, why didn't I think of that. Hey David,
what version of php are you running?
Randy Johnson wrote:
try $HTTP_POST_VARS maybe it is an older version of PHP
Randy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Why do you need the ID? I never use that in my forms.
Randy
The Disguised Jedi wrote:
i think you have to use the ID parameter in the input tag in your HTML
Name:
Age:
try that and see how it goes
On Sun, 20 Feb 2005 17:52:26 -0500, Randy Johnson <[EMAIL PROTECTED]> wrote:
try $HTTP_POST_VAR
i think you have to use the ID parameter in the input tag in your HTML
Name:
Age:
try that and see how it goes
On Sun, 20 Feb 2005 17:52:26 -0500, Randy Johnson <[EMAIL PROTECTED]> wrote:
> try $HTTP_POST_VARS maybe it is an older version of PHP
>
> Randy
>
> eatc7402 wrote:
> > Thanks
try $HTTP_POST_VARS maybe it is an older version of PHP
Randy
eatc7402 wrote:
Thanks for the input. However it does no good if the variables are empty,
which is my problem. The darn $_POST thing does not work at all
for me, and I am trying to find out why.
-Original Message-
From: b1nary
dbfreedman wrote:
I am so new I don't know what you mean by 'test.php"
David
Please reply to the list...better chance of finding the answer to your
problem that way.
You have the action of your form set to 'test.php', i.e. you should have
a file in the same directory as your form called test.php
On Sunday 20 February 2005 05:07 pm, b1nary Developement Team wrote:
> Well this form *is* sending the data because there are no errors in your
> code... Their has to be some minor little mistake somewhere that we
> can't see in the code you gave us... look for typos, make sure the php
> code *is*
Well this form *is* sending the data because there are no errors in your
code... Their has to be some minor little mistake somewhere that we
can't see in the code you gave us... look for typos, make sure the php
code *is* on test.php. Also, when getting the variables from the post,
try using $
Thanks for the input. However it does no good if the variables are empty,
which is my problem. The darn $_POST thing does not work at all
for me, and I am trying to find out why.
-Original Message-
From: b1nary Developement Team [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 20, 2005 3
Hi -
I'm trying to get PHP5 to run with Apache 2.0.5 on FreeBSD 5.3. However,
I keep getting the following:
Cannot load /usr/local/libexec/apache2/libphp5.so into server:
/usr/local/libexec/apache2/libphp5.so: Undefined symbol "ap_block_alarms"
Googling for this error brought lot's of results,
Are you looking to code it yourself? If so, Here's the theory behind
the concept...
So you have this multiple page form that you want to save and continue
at a later time correct? So you'll have to set up a save button. You
will also require some way to recognize the same user when the come
What's up David... This script *should* work... I don't see any errors,
but try this anyways. In your change your print command to this:
print("Hello, " . $name . "! You are " . $age . " years old!");
What those periods do is simply append them to each other, so in this
case, you have the s
David Freedman wrote:
I have this simple form file:
Name:
Age:
Which passes (I wish!) data to this script:
What's the output if you put this on test.php...
print_r ( $_POST );
?>
--
By-Tor.com
...it's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.
Does anyone have any suggestions, info or references on php script/code
that would enable partially completed multiple page forms that can be
saved, retrieved and completed at a later date. I might add also
enabling/disabling or other navigational features? I think there are are
some java one
I have this simple form file:
Name:
Age:
Which passes (I wish!) data to this script:
It does not work unless I turn register_globals ON in the php.ini file. The
php
documentation leads me to believe this script SHOULD work with
register_globals
OFF.
This a NEW instasllation of the
Okay, for that last possibility, the one that you used the document root
variable. You have to add your domain name before, the reason being is
because it's relative to where the script is, if you add the domain name
(http://www.whatever.org/document/root) then it switches from relative
to abs
Dave wrote:
Here is some test code
echo "";
echo "";
echo "";
?>:
Theoretically, they should all output the same image. However:
->IMAGE DISPLAYS
->IMAGE DISPLAYS
IMAGE DOES NOT
DISPLAY
This is the expected result. $_SERVER['DOCUMENT_ROOT'] is just that.
The path from root of the _filesyste
Andre, Mirco, BDT,
Thank you for your responses.
Here is some test code
";
echo "";
echo "";
?>:
Theoretically, they should all output the same image. However:
->IMAGE DISPLAYS
->IMAGE DISPLAYS
IMAGE DOES NOT DISPLAY
Of course, the first instance only works if the script is in the correct plac
On Sunday 20 February 2005 12:15 pm, Dave wrote:
> PHP General,
>
> The Situation:
> I would like to be able to specify locations of scripts and files
> relative to the "root" directory from which my web site is served. I
> thought this was what $_SERVER['DOCUMENT_ROOT'] was for.
>
> Th
What's Up Dave... yeah, regardless of how deep this goes into the
servers file structure, it should pull out the same thing in the end.
Please print out the response and let us know what happens.
Dave wrote:
PHP General,
The Situation:
I would like to be able to specify locations of scrip
Hi,
what does echo $imageFile print and what do you do afterwards with it.
Probably there is the error.
Mit freundlichen Grüßen
Mirco Blitz
-Ursprüngliche Nachricht-
Von: Dave [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 20. Februar 2005 18:15
An: php-general
Betreff: [PHP] [NEWBIE] Con
PHP General,
The Situation:
I would like to be able to specify locations of scripts and files
relative to the "root" directory from which my web site is served. I
thought this was what $_SERVER['DOCUMENT_ROOT'] was for.
The Problem:
When I use $_SERVER['DOCUMENT_ROOT'], it creates a
On Sun, 20 Feb 2005 15:14:27 +0100, M. Sokolewicz <[EMAIL PROTECTED]> wrote:
> Mike wrote:
>
> >
> > I have read that php5 does something different with global_vars. I know that
> > many of my clients rely on them working. Will thinks start breaking after I
> > upgrade from 4.3.10 to 5.3?
> >
> >
Mike wrote:
I have read that php5 does something different with global_vars. I know that
many of my clients rely on them working. Will thinks start breaking after I
upgrade from 4.3.10 to 5.3?
TIA
"something different" being...? maybe you mean register_globals? that
change goes back to php 4.2.0,
I have read that php5 does something different with global_vars. I know that
many of my clients rely on them working. Will thinks start breaking after I
upgrade from 4.3.10 to 5.3?
TIA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jason Barnett wrote:
Not an idiot... we all had to learn it once. And some of us a few times
more than that!
You're welcome.
Jason
Okay, back to business... Here's what I've got in the method that goes
at the top of the page
*function headers() {*
*header("Content-type: text/html; c
33 matches
Mail list logo