On 24 February 2004 12:40, Henry Grech-Cini wrote:
Hi All,
function extractFieldsets($subject)
{
$regexp=/fieldset([^]*)[^(\/fieldset)]*/i;
This: [^(\/fieldset)]
will match any *single* character except the ones listed -- i.e. any character that
isn't one of: ()/defilst
So this:
On 18 February 2004 22:13, Alex Hogan wrote:
Sorry...,
Line 17 is: print trtda
href=\$id\$row2[$rtxt]/a/td/tr;
I haven't a clue what this is relating to (bit *too* much snippage there!), but I
think that statement is going to need some curly braces to have a chance of working as
On 17 February 2004 19:44, Shaun contributed these pearls of wisdom:
However the following code wont let me add any postcode!:
if(!preg_match(/[A-Z]{1,2}[0-9][0-9A-Z]?
[0-9][ABD-HJLNP-UW-Z]{1,2}/,
$_POST[postcode])){
$error = Invalid Postcode;
header(Location:
On 17 February 2004 22:02, Alex Hogan contributed these pearls of wisdom:
Hi All,
What are the rules of thumb for classes and included files?
Can I not include a file in a class function?
No. The entire class has to be in the same file (and inside a single set of ?php ?
tags).
On 17 February 2004 23:40, Chris W. Parker contributed these pearls of wisdom:
http root:
/home/cparker/www/domain.com/http/
https root:
/home/cparker/www/domain.com/https/
includes directory:
/home/cparker/www/domain.com/includes/
this way i don't have to worry about symlinks or
On 18 February 2004 01:21, Daevid Vincent contributed these pearls of wisdom:
Okay kids. Here's another strange one. Very simple form. The
array is dynamically generated from PHP as per the suggested
method:
http://us2.php.net/manual/en/faq.html.php#faq.html.arrays
However, when there is
On 18 February 2004 16:24, Diana Castillo contributed these pearls of
wisdom:
How do I convert apos; to ' before displaying it in HTML?
You don't. That's the browser's job.
Cheers!
Mike
--
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning
On 18 February 2004 18:28, Mike Mapsnac contributed these pearls of wisdom:
I search on php.net. How to declare php function as type
boolean?
You don't -- PHP is a dynamically typed language. Just return a Boolean
value, and there you are.
Cheers!
Mike
--
Mike Ford, Electronic
On 17 February 2004 10:43, Roddie Grant wrote:
on 17/2/04 10:25 am, Shaun at [EMAIL PROTECTED] wrote:
Hi,
does anyone know the format of the postcodes in the UK so I can
keep my database accurate?
Thanks
Try http://javascript.internet.com/forms/uk-postcode-validation.html
On 17 February 2004 12:45, Roddie Grant wrote:
Hmm, I hadn't actually looked at the JavaScript - just at the
description of how postcodes are structured. But the link to the
Royal Mail site is much better for that. sigh / If only Royal Mail
had remembered programmers when they thought up the
On 15 February 2004 18:30, Richard Davey wrote:
I feel the book you're learning from might not be the best out there!
Especially as it uses the horrible if : else : endif notation,
I'd have to disagree with you on that one -- personally I think that's a very elegant
and useful syntax, and all
On 16 February 2004 15:19, Merlin wrote:
Hi there,
I am using mod_rewrite which makes it impossible to use the $_GET
function.
However, it should be possible to do the same with a function.
I figured out how to get the parameter string out of the url, now I am
stuck in splitting
On 11 February 2004 18:01, Dan Aloma wrote:
Sorry about not including code the first time. Here is a
snippet of code I
am fairly certain should be doing something. Thank you SOOO
much for the
help. I've been working on setting up php for four days now
and EVERYTHING
else works (phpinfo()
On 11 February 2004 20:26, Richard Day wrote:
Hello:
Environment:
Linux server
PHP 4.3.4
This code:
echo 'br'.strftime('%T %Z',mktime()).', Timestamp='.mktime();
echo 'br'.strftime('%T GMT',gmmktime()).',
Timestamp='.gmmktime();
yields this result:
On 11 February 2004 21:39, Ben Ramsey wrote:
Ah-ha! I missed that, and I always do. Let's hope I don't anymore.
While we're on the subject, why is PHP set up this way? Why can't it
just add the elements to the array automatically, since adding the
square brackets to one's HTML form name is
On 11 February 2004 00:38, Adam Bregenzer contributed these pearls of
wisdom:
On Tue, 2004-02-10 at 19:06, Richard Davey wrote:
This is slightly off-topic, but related to the include()
function. What is the given standard regarding when you
should or shouldn't use braces on a function.
On 11 February 2004 16:39, Alex Hogan contributed these pearls of wisdom:
Session_start() has to be the first thing at the top of the
page before
anything else. Even header info.
Er, no. session_start() itself generates headers, so it doesn't matter whether it
goes before or after other
On 05 February 2004 11:30, Harry Sufehmi wrote:
...SNIP...
As you can see, the content will be secured, but the script
is now becoming the weak point since it'll store the
encryption key needed to decrypt the content.
I hope you don't mean that literally. If you're really being security
On 05 February 2004 04:33, Justin French wrote:
Hi,
I've read and re-read array_multisort(), but still can't get a grip on
how to sort my array:
Array
(
[0] = Array
(
[path_id] = 3
[year] = 2004
[month] = 02
[day] =
On 05 February 2004 13:10, Harry Sufehmi wrote:
On 05/02/2004 at 11:48 Ford, Mike [LSS] wrote:
On 05 February 2004 11:30, Harry Sufehmi wrote:
As you can see, the content will be secured, but the script
is now becoming the weak point since it'll store the
encryption key
On 03 February 2004 16:16, William Bailey contributed these pearls of wisdom:
Ok. Its been a long day and my brain is starting to shut down
so...
How would i work out which year the 'W' relates to?
I have a unix timestamp value and want to end up with the
correct 'YW'
value.
Look at
On 03 February 2004 13:45, Alessandro Vitale contributed these pearls of
wisdom:
try removing curly braces as follows:
$query = mysql_query(UPDATE stories SET status='approved'
WHERE story_id={$id}); |
Nothing wrong with the above, it's perfectly valid -- just a slightly
different way of
On 04 February 2004 12:59, marc serra contributed these pearls of wisdom:
Hi,
I'm working on a multi-langage website and i got problem with
a fonction
which destroy my session :-(
I got a file which change my langage like this :
On 03 February 2004 21:20, DL contributed these pearls of wisdom:
Hi all,
I am using PHP v4.12, and here is the scenario.
Which OS are you on? I seem to remember that a bug in 4.1.2 meant that sessions were
write only on one particular group of OS -- but I can no longer remember whether it
On 30 January 2004 08:55, Freedomware wrote:
David Obrien wrote:
You need a \n at the end of each line inside the quote like
echo stylesheet\n;
\n is newline
-Dave
Another way you could go, as this is mostly HTML with some PHP values thrown
in, is to write it as such -- then all
On 29 January 2004 14:56, jimbo wrote:
Hi,
I have a query regarding variable parsing.
I have some text in a MySQL database in which I have included some
variable names. Eg (but w/o quotes): thankyou $name for registering
on our web site.
I query and use mysql_fetch_array to get the
On 30 January 2004 12:35, jimbo wrote:
Great - thanks v. much Mike. I don't know why there was no mention of
eval() in the section of the manual on Variable Parsing.
Possibly because they didn't want to get into the security issues involved.
It sounds like you're ok there, as you only intend
On 29 January 2004 12:51, Dave Carrera wrote:
Hi List,
I have a test function who's aim is to take an array an do something
which each value of the array and show the result on screen one at a
time.
--- Test Function Code ---
function TestFunc(){
$cnt = array(1,2,3,4,5,6,7,8,9,10);
On 27 January 2004 15:52, [EMAIL PROTECTED] wrote:
I am trying to find a reliable method to clean out all session
variables and start clean.
Running PHP 4.3.1 on Win2K developing a web app to run on Linux.
Session cookies are enabled, register globals is off. I access all
session
On 27 January 2004 16:20, [EMAIL PROTECTED] wrote:
On 27 Jan 2004 Stuart wrote:
In that case, try this...
foreach (array_keys($_SESSION) as $key)
unset($_SESSION[$key]);
Yes, I had tried that but forgot to mention it. It does work.
However, I'm still mystified as to why
On 28 January 2004 12:31, Will wrote:
I'm a little confused with these functions. How I here you
ask. Well I thought I understood what they were for:
Escaping characters that might cause a problem when you enter
your data into a database query. i.e. \ '
Anyway what is confusing me is, say
On 28 January 2004 15:52, Cesar Cordovez wrote:
Jay Blanchard wrote:
I think that you meant to its already been broughten!, didn't
you? Did you know that you will find that bracing style has been
debated since the days of FORTRAN?
Oh! Fortran 77! I remember those times! =)
On 26 January 2004 16:56, Christopher J. Crane wrote:
Ok here is the wierd thing.
I pasted more code, it seems to not work because of me
changing the number
format.
This works ...
if($Balance = 10001) {
$Balance = number_format($Balance,2,'.',',');
echo font
On 27 January 2004 05:50, Paul Furman wrote:
Shawn McKenzie wrote:
I've noticed in both of your posts that you aren't terminating the
line before the include with a ;
Yup, thanks!
Then I fixed my global problem without bugging you guys too.
Actually, no you didn't -- you just bypassed
On 27 January 2004 05:18, Shawn McKenzie wrote:
PS I'm on my windows apache server but the forward slash seems to
work in php that keeps it portable. I tried it both ways.
Yes -- PHP internally translates between / and \ on Windows, precisely for portability
reasons. Thus, you can
On 22 January 2004 14:24, Carolina Silva Animas wrote:
Hi
This is my first experience with php... and I'm already
having trouble...
I´m working on an html form for a website which uses php to create an
e-mail. My 'Submit' button has a php document as action. It
works great on
my unix
On 21 January 2004 04:01, Luke contributed these pearls of wisdom:
ok, i read the section, but even so
if $a == $b
and $a == $c
then $b should be equal to $c
No, not necessarily!
but php is saying otherwise?
Yes.
this sounds confusing i want to try n get my head round it
a string
On 15 January 2004 21:03, Jay Blanchard wrote:
[snip]
That shouldnt matter, because FTP_BINARY is a constant, and
therfore has
a
numeric, or string value. The only way FTP_BINARY would become a
physical string is if there was quotes around it.
As for the problem, are you sure you have
On 15 January 2004 22:39, Luke wrote:
? Holy cow, this gets simpler all the time. Pretty soon, there'll be
? nothing left on my page but PHP includes and echo functions! ?
? Does this cut down on a website's file size? In other
words, are the php
? includes effectively inactive when no one's
On 16 January 2004 00:30, Freedomware wrote:
I should have played with this some more before I posted more
questions. After fixing an error on the included page, I replaced
every instance of na/a1 on both pages with a1. That seemed to fix
everything; the first style sheet comes through, but
On 16 January 2004 11:14, Tom wrote:
Is there a way I can force PHP's time functions not to read
date strings
in the American MM-DD- format?
I am using strtotime and strftime and date at various points (mainlty
to avoid some niggly 0/NULL problems between PHP and mySQL
and
On 16 January 2004 13:54, Freedomware wrote:
Thanks for all the tips. It's getting generally getting
clearer, but I'm
a little confused somewhere.
[SNIP]
I inserted one of the functions you suggested - $includea1 = TRUE; -
after the include, but I'm sure I did it wrong.
Just like before
On 13 January 2004 15:10, Sebastian Ossio wrote:
Hi,
I´m trying to give an empty reference as a parameter, in a
function. Or
rather make a parameter that is a reference optional.
I have a function that should react differently if it is
given an object
or not. It works, but it gives me
On 12 January 2004 13:29, Burhan Khalid wrote:
Jay Blanchard wrote:
[snip]
please can somebody help me. I am going nuts.
Really I am close to totally freaking out.
[/snip]
Sorry to hear that
[snip]
In the file page_dentona.class.php the first line says the
following:
On 09 January 2004 01:16, Matt Grimm wrote:
Can anyone clarify this for me? Is open_basedir recursive or
restricted to the exact paths specified?
This is a bit hard to find in the manual, but everything you need to know
should be at
On 06 January 2004 04:06, Tyler Longren wrote:
Hi,
http://www.php.net/manual/en/faq.html.php#faq.html.select-multiple
I read that. Doesn't work in php since the whole register_globals
thing. Now, when I get the results from a form, they're all in a
$_POST[] array. Example.
When I
On 06 January 2004 03:58, Tim L wrote:
I'm not sure if this is intended behaviour or not, but I can
see that is
might be. Just thought I would bounce this to see what
people think about
it:
?php
if (false)
? Hello?php
else
echo Hi;
echo World\n;
?
This returns a parse
On 06 January 2004 15:53, Dave G wrote:
PHP Gurus
A while ago on this list I posted a few questions about an eregi
filter for email addresses entered into a form. With the help
of people
on this list, I settled on the following code which has worked fine in
the months since I
On 19 December 2003 01:27, Cesar Aracena wrote:
Hi all,
I have an issue here. I'm making a english/spanish site and want the
browser to remember their preference with a cookie. The first time a
visitor comes into the site, they will be taken to the english part
(www.site.com/eng/) and when
On 17 December 2003 21:33, Jay Blanchard wrote:
[snip]
I'm using the CLI version 4.3.4 on Windows XP Pro. The script I'm
writing has only a couple of functions, a couple of if conditionals
and a while loop. At the very top of the script I have an echo
statement with a message I want printed
On 18 December 2003 14:48, Rodney Green wrote:
Ford, Mike [LSS] wrote:
Shouldn't that be *don't* use output buffering and...? The
flush() function has nothing to do with output buffering, and
if output buffering is on you will need ob_flush() as well.
Another (and probably better
On 16 December 2003 11:13, Scott McDaid wrote:
Hi there. I've been looking at the behaviour of the round
functionality in PHP. We're currently still using v4.2.3, (but the
documentation seems to
suggest it's the same for versions after this).
Doing the following rounds always rounds *up*
On 11 December 2003 19:58, Peter Walter wrote:
I hope you mean session_start().
Yes, I did. Getting a bit dyslexic nowadays.
Well, you would, because PHP would use the value from the PHPSESSID=
URL parameter.
... except that on the second call, the url (as displayed by
the
On 12 December 2003 00:03, Steve Turner wrote:
Hi,
I am having a problem with sessions. On my testing
machine my script
works perfectly. However on the remote server it tries to
pass the session
id in the url even though I am accepting cookies. It is
messing up all my
links since it
On 12 December 2003 06:07, motorpsychkill wrote:
Thanks Tom, that worked! I knew that $$level had something
to do with it,
just wasn't sure what exactly. Thanks again.
-m
-Original Message-
From: Tom Rogers [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 11, 2003 9:34 PM
On 12 December 2003 14:51, Scott Fletcher wrote:
It does work now. Going the other way around does the trick.
Surprisely, PHP doesn't treat it as if two seperate thing are combined
into one post
data, like color for example that would be displayed as 'redRowNum3'.
That's because PHP never
On 11 December 2003 01:24, Ryan A wrote:
Hi,
Its been quite some time since I have done any compiling, the last
time was java and before that C...which was years back.
I want to install Turck MMCache for php on one of our new dedicated
servers as we will be running a crapload of scripts
On 11 December 2003 16:54, Peter Walter wrote:
Jason,
Thanks for your help. It is a little clearer to me now.
However, I have
visited php sites that *claim* to be using session management
but where
the links do not have the session id appended, and there are no
variables being passed in
On 11 December 2003 18:01, Peter Walter wrote:
Mike,
Thanks for the additional explanation, and I understand the
sequence of events as you described. However, please bear
with me a bit - the results I am getting do not quite match
your explanation. Let me clarify what I am doing:
I
On 10 December 2003 16:19, ROBERT MCPEAK contributed these pearls of wisdom:
Has anybody seen the seemingly automatic and unexplained
conversion of the character . to _ in $_POST var names?
Yes. It's PHP automagic by PHP.
I've tested several ways, with and without PHP, and I've dug
around
On 28 November 2003 14:21, Shaun wrote:
Thanks you for your replies,
is there a reason why i couldn't use the following?
$_POST = $_POST;
None whatsoever -- but it's an expensive way of effectively doing nothing!
(Which, I suspect, is not what you want to do.)
The fact that you are even
On 28 November 2003 14:36, Dave Carrera wrote:
Hi List,
I have a dynamically generated form with inputs with names that
create arrays i.e.:
input name=fname[]
input name=flab[]
input name=fplc[]
The extra bits for the inputs are omitted deliberately for
this question but
exists in
On 28 November 2003 17:22, Dave Carrera wrote:
Thank you for clearing up my rather lame explanation.
So how can I process $_POST[dynamic-name][user-entered-value]
arrays to give
me my desired output:
fname0 = value flab0 = value fplc0 = value
fname1 = value flab1 = value fplc1 = value
On 26 November 2003 15:23, David T-G wrote:
Jay, et al --
...and then Jay Blanchard said...
%
% Curious, how is it that you define multi-dimensional?
I'm no expert, but I'd say that a multi is addressed as
array[x,y,z]
while a nested is
array[x][y][z]
In a nutshell, yes --
On 26 November 2003 03:28, [EMAIL PROTECTED] contributed these pearls
of wisdom:
Hello all mailing list, I am wondering if it exists a PHP
built-in function to determine the numbers of dimensions of
any type of array (indexed, and associative), thanks for any
help, bye.
(i) All PHP arrays
On 25 November 2003 18:48, Video Populares et Optimates contributed these pearls of
wisdom:
Hi!
I'm sifting through the possibilities with PHP and naturally
one of the first things I searched for was the possibility
for OO development. Now, I found chapter LXXII in the PHP
manual (file
On 26 November 2003 12:43, Jay Blanchard contributed these pearls of wisdom:
[snip]
Well, so is there any online resource whereby I can read up on
FLAG ???Or any idea how should I go about creating the
memory location to store the binary-ish information (e.g.
true/false, yes/no, 1/0)? Hope
On 26 November 2003 13:09, Jay Blanchard contributed these pearls of wisdom:
[snip]
(ii) All PHP arrays are 1-dimensional. Some elements of an
array may themselves contain arrays, but that only makes them
nested arrays, not multi-dimensional. If what you want to
know is the deepest level
On 26 November 2003 16:59, [EMAIL PROTECTED] contributed these pearls of wisdom:
Why doesn't this work...?
$body =
pblurb blah
phappy days
pend of text;
$body = trim($body);
$body now should output:
pblurb blah\nphappy days\npend of text but it
doesn't...?
No it shouldn't -- it
On 20 November 2003 20:39, Scott Fletcher wrote:
Yea, the manual is clear but honestly, don't know what the offset
really meant since there is no definition or explaination of how the
offset work.
Well, I really don't know how much clearer the sentence that says The optional offset
parameter
On 20 November 2003 14:53, Scott Fletcher wrote:
Hi Everyone!
Is there a way to get the strpos() to find the next needle in
the haystack instead of just the 1st one only? (Where the 1st
needle is the same string as the next needle)...
Look at the optional 3rd parameter to strpos().
On 20 November 2003 17:39, Scott Fletcher wrote:
How exactly does the 3rd parameter option work. I tried this
but it doesn't
work, so I don't know how exactly does it work... There isn't detail
information on the php.net website...
--snip--
$XML_Start =
On 19 November 2003 12:59, David Strencsev contributed these pearls of wisdom:
Wouter Van Vliet [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
First of all, you said to use the first three values of the
array for
anoter
reason .. well the, what I'd do is this:
$FirstThree =
On 19 November 2003 14:25, Jay Blanchard contributed these pearls of wisdom:
[snip]
for ($letter = 'A'; $letter++; $letter = 'Z')
echo a
href=\?action=alphabetletter=$letter\$letter/a\n;
[/snip]
I tested this and found two small problems. The code works if
you do this (I was myself
On 19 November 2003 16:15, Jay Blanchard contributed these pearls of wisdom:
[snip]
'Z'+1 is defined to be 'AA' (it says that in the manual,
too!), so your loop has to be:
for($letter = 'A'; $letter = 'AA'; $letter++){
echo $letter . \n;
}
[/snip]
Run this, you'll be
On 07 November 2003 08:41, Yonatan Ben-Nes wrote:
Hi all,
I made a form which pass constant variables which never
change (Ex. product_name) and dynamic variables which i
withdraw from the db (Ex. attribute_id = 1, value = color).
Now my problem is with the passing of the dynamic variables.
On 04 November 2003 20:43, Pablo Gosse contributed these pearls of wisdom:
On Tuesday, November 04, 2003 12:45 PM Kevin wrote:
[snipped]
How can I test for it without getting an error if it is not
checked??
[/snipped]
Hey Kevin. Use isset($var) to test if a var has been set.
So you
On 05 November 2003 14:39, Mike At Spy contributed these pearls of wisdom:
I re-checked the files - nothing I change in the php.ini
files seems to take
effect. How do I check apache?
I saw the post_max_size thing and changed that to be equal to
the upload_max_filesize. I'll make it a
On 18 October 2003 10:10, Wang Feng wrote:
I can't uderstand why the number 18 is stored in the $third
rather than
$first. I tried to change the 18 to 18, that is, change it
from a decimal
number to a string and by that way, 18 is stored in the $first,
which is what I expected. But why
On 19 October 2003 13:00, David T-G wrote:
It seems to me that for a fast fix I could set $pw
and other
vars in my include file in place of registering them and then, later,
take my time to correctly switch over to $_POST['pw'] and
$_SESSION['pw'] everywhere. Does that sound like a good
On 20 October 2003 13:36, Wang Feng wrote:
Mike,
So, in PHP, when a string is converted to a number to compare
with the other
decimal input, the compiler doesn't look at the ascii set
table *at all*?
Instead, it simply convert the string to 0?
Yes, if it doesn't start with a valid string
On 20 October 2003 13:53, Ford, Mike [LSS] wrote:
Yes, if it doesn't start with a valid string representation of a
string -- see
Oops -- string representation of a *number*, of course... ;)
Cheers!
Mike
-
Mike Ford
On 14 October 2003 14:45, David T-G wrote:
Mike, et al --
...and then Ford, Mike [LSS] said...
%
% On 14 October 2003 11:26, David T-G wrote:
%
% I ran a phpinfo() comparison and didn't see anything markedly
% different (except for how the output is formatted, which
made
On 14 October 2003 18:59, Carl Furst contributed these pearls of wisdom:
double quotes say interpolate $variables. However I have
discovered (at
least in php 4.2.3) that you cannot use subarrays in double
quotes like my
var in the subarray subarray: $array['subarray']['subarray']
That
On 14 October 2003 20:11, Chris Hubbard contributed these pearls of wisdom:
All,
I have done a number of searches.
I have read the online documentation and user supplied
comments.
I recently ran into problem using:
-some code here to create session and set variables-
header('Location:
On 15 October 2003 01:31, Mike Brum contributed these pearls of wisdom:
One quick note - if you're starting a session then you can't
user the header() function afterwards. You'll get the lovel
headers
already sent
error.
Actually, so long as you do both *before* outputting any actual page
On 15 October 2003 05:25, Jake McHenry contributed these pearls of wisdom:
Yes, submit, inout, username and password all come from the
index.php form submission, but username changes throughout the
different pages, that was one of my problems. I'm not sure
what I did wrong before, but once I
On 13 October 2003 13:49, 'Eugene Lee' wrote:
On Mon, Oct 13, 2003 at 10:32:18AM +0100, Ford, Mike
[LSS] wrote:
On 12 October 2003 23:36, Eugene Lee wrote:
The PHP manual is vague in several sections. I wonder how bug
reports get submitted for it?
http://bugs.php.net
On 14 October 2003 11:26, David T-G wrote:
On the first server when you enter the password and hit the button the
page comes back up with $pw set and in you go. On the second
server $pw
is always empty and we are endlessly prompted.
I ran a phpinfo() comparison and didn't see anything
On 10 October 2003 21:28, James Johnson wrote:
Hi,
I'm getting so frustrated with this.
I have put some error trapping code in my site with the
following code (an
included file):
?php
ob_start();
error_reporting(E_ALL);
set_error_handler('pc_error_handler');
On 11 October 2003 02:23, Lowell Allen wrote:
I'm trying to track down some issues with my site, and am trying to
decide if it's a session variable issue. On a random basis, it
appears that session vars are being dumped, deleted, or unset, as
the site will break. Queries based on session
On 12 October 2003 23:36, Eugene Lee wrote:
On Mon, Oct 13, 2003 at 03:23:53AM +1000, Wang Feng wrote:
1. An optional padding specifier that says what character will be
used for padding the results to the right string size. This may be
a space character or a 0 (zero character). The
On 08 October 2003 17:20, Chris Shiflett wrote:
The internals developers probably didn't see a need to provide
support for return in conditionals since it can't return a value
to the conditional.
Ugh. This is the same misconception, again. Let's try some different
code:
?
function
On 09 October 2003 16:57, Davy Campano wrote:
I am having a problem with a form. I am trying to have a form pass a
variable so that I can update an item. I think the problem
is that the
variable (ticketed) is being read as text instead of a number. These
are the tests I have run.
This
On 07 October 2003 18:15, Pat Carmody contributed these pearls of wisdom:
So far everyone is telling me that it won't work, but no one
is telling me
why. (btw I did search extensively for the answer to this
question but so
far have found nothing). Robert, could you be more specific
in your
On 08 October 2003 15:19, Chris Blake contributed these pearls of wisdom:
On Wed, 2003-10-08 at 15:23, Marek Kilimajer wrote:
Then check your httpd.conf for php_(admin_)?(flag|value)
OK, so I`ve tried all the suggestions posted, thanks
guys...but then I went and deleted the php.ini file
On 08 October 2003 16:13, Chris Shiflett contributed these pearls of wisdom:
--- Ford, Mike [LSS] [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Firstly, or, as a Boolean operator requires two operands,
both of which must have an actual value.
[snip]
statements don't have a value
On 08 October 2003 16:43, Robert Cummings contributed these pearls of wisdom:
On Wed, 2003-10-08 at 11:43, Curt Zirzow wrote:
* Thus wrote Chris Shiflett ([EMAIL PROTECTED]):
--- Ford, Mike [LSS] [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Firstly, or, as a Boolean operator requires two
On 03 October 2003 05:06, John Taylor-Johnston wrote:
Brian or anyone,
Ok, supposing I don't want someone to be able to use script
language=php and I'm the paranoid sysadmin, (WebCT system
see open source moodle.org). What advice would you give me?
Students are allowed to upload files to
On 01 October 2003 21:02, [EMAIL PROTECTED] wrote:
1. The PHP manual sais to escape the escape char, it has to
be written
twice*, but:
Yes, it does. But it also says that to put a \ into a string, you need to
write it twice (escape it) ***. So:
$term = preg_replace('/(\\)/', 'backslash
101 - 200 of 661 matches
Mail list logo