Hi All,
Quickie Question... Possibly a silly one; but it would make my life easier if it works!
I know that with a SELECT MULTIPLE, you have to use the convention: NAME="$varName[]"
to get all of the responses into a nice neat array. I'm wondering about the mechanism
behind this - is it simply
Welcome, hope you enjoy PHP - its a great language!
My best suggestion is to check out the book "PHP and MySQL Web Development"
by Luke Welling and Laura Thomson - it provides you with all of the PHP &
MySQL fundamentals and good concepts for how to design something like that.
The book is aimed a
My favorite little gem is a shareware program called Code-Genie
(www.code-genie.com). Its cheap, fast, a "slim" app, provides tons of
useful little features, and has TOTALLY user-configurable text-coloring.
You can specify a particular coloring scheme for each file extension, so it
automatically p
- Original Message -
From: "Leif K-Brooks" <[EMAIL PROTECTED]>
To: "Noel Wade" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, June 14, 2003 1:26 PM
Subject: Re: [PHP] SELECT MULTIPLE form variable?
> You need to name it formfield[], not for
Hi all,
So I was under the impression that an HTML form "SELECT MULTIPLE" item would
return an array with all of the selected items. This array can then be used
with any of the standard PHP array functions, yes?
I have 1 HTML page that seems to work fine... However, another page that is
nearly
Nevermind, just found the $HTTP_SESSION_VARS array...
Thanks anyways! Take care,
--Noel
"Noel Wade" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> So I have a session variable; but with register_globals active
Hi all,
So I have a session variable; but with register_globals active on the server
I'm hosted at (no way to turn it off), just checkng for "$varX" in my script
could retrieve the session variable, a GET variable with the same name, or a
POST variable with the same name - and as a security concer
I agree with Edwin on this one.
What's the <<< for??
Could it be you want to be doing this:
$templatestring = include("/pathto/email_template.php");
$message = "<<" tags
will be considered plain text. Put another way: Even though the "include"
statement in the main document is ALREADY between
You're missing string concatenation operators. I use "echo" instead of
"print" - but here's how it should look with either:
echo "";
Explanation: The \" makes the double-quote appear in the final HTML, then
you have to use a plain " to end the text string. Then you use the .
concatenation oper
This will work perfectly! Actually, building a dynamic javascript function
and/or hidden form will allow me to collapse a couple of other redirect
systems on my site into one... Thanks a bunch!
--Noel
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED
Thanks - I understand that method; but I'm really looking for a way to pass
them without them being visible / mucking up the URL line with a buncha
stuff...
Take care,
--Noel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
James -
Don't know how you're working with Cookies and sessions for sure, but the
default / "easy" way to check for an established session is to put
"session_start();" at the top of every page that's going to access the
session variables. That will check for an established/open session and make
t
Hi all,
So I have a page that processes information and then "echo"s out a redirect
that looks like this:
The thing is, there are some variables that I would love to pass in $_POST
or $HTTP_POST_VARS to the page referred to in "$url".
Is there any way to stuff this data into either of these gl
Hi all,
I have an issue I'm hoping there's a simple answer for (I'm betting there
is):
I have a dynamic page where the user may click on a link - this link
processes their data and shows them a "result" page...
Then I want a variable (for a manual hypertext link) that contains the
original URL t
> A blank line should return the newline (\n or \r\n), according to
> http://www.php.net/manual/en/function.fgets.php. Also try using '===' (3 =
> signs) as the operator, which enforces type checking on a comparison).
Yes or no:
$foo == FALSE === 0;
???
Right now I'm just doing
if($foo)
A
Okay, attacking my flat-file issues from the other end:
When you use $foo = fgets($fp_file); it appears that a blank line ends up
looking exactly like a FALSE ("failed to read") return value... Is there
any way to differentiate between an empty-string read (a blank line in a
flat-file) and a FAL
NOT put a newline on the end of a string?
Thanks in Advance,
--Noel Wade
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
17 matches
Mail list logo