On Fri, 23 Nov 2001 17:05, De Necker Henri wrote:
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: 23 November 2001 08:24
To: De Necker Henri; PHP-General (E-mail)
Subject: Re: [PHP] MySQL query problem!
On Fri, 23 Nov 2001 16:17, De Necker Henri wrote:
I
are talking about the mcrypt functions, you need the mcrypt
library - see the section of the manual on Mcrypt Encryption Functions -
and you need to configure with --with-mcrypt[=DIR]
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University
instances all writing to the same file at
the same time - use locking where it is not provided by the tool you are
using.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Flirt: A woman who thinks
On Wed, 21 Nov 2001 14:52, Ashley M. Kirchner wrote:
David Robley wrote:
The OS will take care of this by firing up another instance of
your script. All you need to do is be aware of the possibility of
multiple instances doing ?things? at around the same time and make
sure that you don't
have set this same system up on several
other machines and have never come across this error.
What am I missing that is causing this problem?
--
Chip W.
It would appear that you don't have gd on that machine, or it is not
where the config is expecting to find it.
--
David Robley Techno
is:
gethostname for IPADDR;
if HOSTNAME = IPADDR
print HOSTNAME
which will only work if the resolved hostname is the same as the IP
address; I suspect that is not what you want?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University
for the
trouble.
Ben
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 4:29 PM
To: Ben Clumeck; [EMAIL PROTECTED]
Subject: Re: [PHP] IP Address Converted to Computer Name
On Tue, 20 Nov 2001 04:08, Ben Clumeck wrote:
I am trying to convert
via the URL.
Anything coming via get/post is a string, regardless of what it looks
like :-).
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
This is the Netherlands, Tom stated flatly.
--
PHP
On Tue, 20 Nov 2001 13:39, Chip wrote:
On Monday 19 November 2001 15:54, David Robley wrote:
On Tue, 20 Nov 2001 01:11, Chip wrote:
I am setting up a new system for a friend and am getting the
following error when running ./configure -
/usr/libexec/elf/ld: cannot find -lgd
this. Whats the story with
variables with $$ in them??
Thanks..
They are variable variables. Check out
http://www.php.net/manual/en/language.variables.variable.php for more info
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders
anyone help me out here? I've
looked the manual over and over, and checked the php.net website, but
nothing covers the situation where you want to add text to the TOP of a
file. fopen with the r+ option is not working the way it should.
I'd be eternally grateful...
brian
--
David Robley
only have to do one fopen.
I dunno how you would do it in PERL, but the principle is the same at the
coalface - perhaps PERL hides a bit of the work from you??
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH
Karlsbakk, MCSE, MCNE, CLS, LCA
Computers are like air conditioners.
They stop working when you open Windows.
Do you have appropriate permissions in the directory you are runnning
configure in for the user running configure??
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
On Mon, 19 Nov 2001 11:15, Martin Towell wrote:
add:
$mailheaders.=CC: $other_email\n;
$mailheaders.=BCC: $other_email\n;
should also work but I haven't managed to get blind carbon copy to work
for me :(
Try Bcc and Cc - note the case.
--
David Robley Techno-JoaT, Web Maintainer
if someone inserts
another record, this function will return the auto ID for the last insert
performed using a given link identifier. So you feed it the link
identifier for _your_ insert, which of course you know, and Bob's yer
uncle :-)
--
David Robley Techno-JoaT, Web Maintainer, Mail
of the record inserted
by the previous line, notwithstanding that forty other people are
inserting new records almost simultaneously.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Oxymoron: Split level
an eye on the output of configure as sometimes you'll see messages
in there about the image libs - but the absence of same even if specified
doesn't seem to crash the compilation.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders
value for out of rnage input' and the examples include one
where the month value is 13 (at least in my older docs).
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Smile... people will wonder what you've
is better or worse
but a search through the mail archives will probably turn up some recent
discussion.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
I won't rise to the occasion, but I'll slide over
t should be eaiser with PHP right? ;-)
Thanks in advance.
...Brad
You can drop in and out of php parsing, even in a control structure. So
something like
?php
if($this == 'that') {
?
H2That/H2
?php
} else{
?
H2The Other/H2
?php
}
?
will work just fine.
--
David Robley Techno-JoaT, Web Ma
) that it is a precedence problem, as it does not look
in the include_path first to see if the file exists but simply creates
it in the active documents directory.
Any ideas would be appreciated!
Steffan
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: Tuesday
);
The value you are passing in $myrow[id] doesn't exist in your code. You
need to do
$myrow = mysql_fetch_row($id);
after your mysql_query to populate the row data. And your query should
probably read SELECT id FROM...
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
?
Steffan
../data/access_log.txt seems to be a relative address to me, pointing to
the directory data which hangs off the parent of the current directory.
Why not give full path information, so there is no ambiguity? Or use
$DOCUMENT_ROOT for portability?
--
David Robley Techno-JoaT, Web
stab at parsing M$ Word files. If not, google will find it for you.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Change is inevitable, except from a vending machine.
--
PHP General Mailing List
of curiosity, why do you not want to make multiple accesses to the
DB? It would seem to be the easiest, and probably best way of dealing
with the problem.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
versions of Winzip (and no, I don't remember when it changed)
don't do compressed tar files.
I believe this info is also on the Winzip site.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Now go
this, however. (Not tarring and
feathering, usually reserved for those who give wrong advice...)
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
I'm at the corner of Walk and Don't Walk.
--
PHP General
into the defined structure, and you
are using a unix variant, look into chroot - system command, not php.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
C:\DOS C:\DOS\RUN RUN\DOS\RUN
--
PHP
the net.
Thanks!
Hey, sorry for my bad english!
Take care!
Look at exec(), system() and perhaps the use of backticks [``] to executa
a command and pass a variable.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH
echo
$products-Fields(itm_aship)?
Could I do this
?php echo $products-Fields(itm_aship)-0.5*1?
or am I thinking all wrong... Thanks!
That idsea should work - but also consider doing the same thing in your
database query.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin
.
There is an example in the docs for the latter that I think will point
you in the right direction.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Everywhere is walking distance if you have the time
On Fri, 2 Nov 2001 18:33, Adrian D'Costa wrote:
On Fri, 2 Nov 2001, David Robley wrote:
What if we need both version??
There's nothing stopping you running both.
How do you compile it for both?
Adrian
To do the cgi compile, use all the configure values you need
assume you aren't getting a message like 'mail is not implemented in
this build?
If not, the first place to check would be php.ini, to ensure that it is
pointing at whatever you are using for mail.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES
.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
I think someone electrified the corridor, Tom said haltingly.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
On Wed, 31 Oct 2001 22:04, Adrian D'Costa wrote:
On Mon, 29 Oct 2001, David Robley wrote:
On Sat, 27 Oct 2001 03:23, JSheble wrote:
A while ago an email came through here about how to parse out email
message from a php script. The thing that was mostly of interest
to me
also need some
indication of where table starts and ends.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Check book: a book with a unhappy ending.
--
PHP General Mailing List (http://www.php.net
whenever needed
Virtual just wraps the text in the area.
And of course you'll need to use nl2br() if you want the text to break in
a HTML page.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Without
) functions,
also the magic_quotes settings in your php.ini.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
My lucky color just faded.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
need to show this image in the browser, How can I do it?
Thanks in Advanced,
Regards,
You may need to send a header including the correct mime type.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
the problem is.
Guess; the table name.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
I know all the wherefores, said Tom wisely.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
was hoping he'd do a bit of work :-)
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
This is Borg. ESC is futile CTRL is inevitable
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
appropriate permissions for mysql. Check the mysql docs,
under Mysql User Account management.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
My favourite mythical creature? The honest politician.
--
PHP
to the docs.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Keyboard Not Found - Press [F1] to Continue
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
listed.
I don't know whether the redhat apache rpm uses DSO or not - ther may be
problems there also.
But check for the addtype entry first - and remember to 'apachectl
graceful' to force a reread of the conf file if you change anything in it.
--
David Robley Techno-JoaT, Web Maintainer, Mail
in the list of
LoadModule and Addmodule items (probably last in both cases)
If all else fails, I'll be in Auckland in six weeks :-)
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
I'm spending a year dead
you're saying is that the AddType isn't being executed if the
IfModule is false, yes?
What a pillock. I can see this is going to be some learning curve.
Warwick
Well, now check if the Loadmodule and Addmodule lines are in the conf
file.
Pillock? How British :-)
--
David Robley Techno
need to upgrade to get the function.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Swap read error. You lose your mind.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
something when using ereg on special characters?
Justin French
What about
$newfoo = eregi_replace(\n, , $foo);
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Do radioactive cats have 18 half
be awake at this time of day - albeit possibly on their
way home from work :-0
Cue sheep joke.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
I know it all. I just can't remember it all at once
as if it were an array of characters.
Or you could use substr to work your way through the string.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Useless Invention: Strap-on portable chairs.
--
PHP
anyone know of a convention / conference which will have any
PHP coverage in the North East?
Northeast of where :-)
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
I tripped over the lamp plug, Tom said
/script
and run newaliases to update your alias database.
You'll also need to compile php as a standalone, and put as the first
line of your php script
#!/path/to/php -q
Cheers
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University
is (or should be)
clearly marked as Windows only.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
I don't know any shanties, said Tom unceasingly.
--
PHP General Mailing List (http://www.php.net
in the manual, is it?
http://www.php.net/manual/en/function.checkdate.php
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Oxymoron: Unusual Routine.
--
PHP General Mailing List (http://www.php.net
. There may be limitations on
what you can do via ftp including overwrite existing files. If you have
control of the box, or admin access, check /etc/ftpaccess if it is a *nix
OS. About BillOS, I have no idea.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY
for mysql, check that log. It might be in
your mysql/data directory. Also check ~/.mysql_history for caommands ent
via the mysql command line monitor.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
that itself
include another one.
Any help would be great
Thx
You'll find in the docs about include/require that when a file is
included, the parser drops back to 'text' mode; if you want the contents
of an included file parsed you need to put ? ? tags in the file.
--
David Robley
,
then. As it is, you are overwriting the value in $email each pass through
the loop.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
I'm fascinated by the way memory diffuses fact.
--
PHP General Mailing
her uses. The application starts the php
executable with a file parameter, showing the result in a HTML format.
Hope this helps.
Robert V. Zwink
Cheers
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH A
[Kurt, I undertand how you feel :-)]
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Life would be easier if I had the source code.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
..
HELP!!!
I guess first question is - does View Source show you anything?
Isn't it wonderful how unis, of all places, insist on running stuff like
IIS?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
:/bBRINPUT name=name type=text size=55BR
bYour comment:/bBRTEXTAREA name=message rows=10 cols=55
wrap=virtual /TEXTAREABR
INPUT name=submit type=submit value=Post your comments
/FORM
You might also do a check on whether $submit is empty; if so, don't do
any processng that isn't relevant.
--
David
to a variable and examine the
variable; try including just the base file without parameters; are the
logs on the target system showing naything as a result of your connect?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH
Johnsonville, Wellington, NEW
ZEALAND Telephone: +64 4 4765175, CellPhone 025488265, ICQ# 23511989
Ah, how's the wind today? :-)
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
I was removed from
and which is not working,
someone might be able to help you. As it is we have no idea of the format
of your data or the method you are using.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Politics
On Fri, 5 Oct 2001 13:54, ReDucTor wrote:
- Original Message -
From: David Robley [EMAIL PROTECTED]
To: ReDucTor [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, October 05, 2001 2:21 PM
Subject: Re: [PHP] System(), exec(), Passthru(), etc
On Fri, 5 Oct 2001 13:19, ReDucTor
to
define those scripts as to be parsed by php and you don't need the #!
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Would I ask you a rhetorical question?
--
PHP General Mailing List (http
or less, then you could
simply rephrase the test to
if($site_style 8)
or alternatively, if the range is 0 to more than 10
if( $site_style 8 || $site_style 10 )
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH
to do some cron jobs :D
- James ReDucTor Mitchell
Perhaps if you show how you are doing this, it might be easier to help.
Are you for instance using the return_var argument?
And in some cases, 0 is a valid return value; some programs may not
return a value at all.
--
David Robley
-dist php.ini -optimized
aswell?
pls help
You did remember to restart apache to re-read the php.ini? (Assuming you
are not using a cgi version of PHP)
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
if id isn't a unique index, you could expect the values to be added.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Multitasking = 3 PCs and a chair with wheels!
--
PHP General Mailing List (http
on the machine correctly?
Thanks,
jay
man date ??
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
All dogs go to heaven. Cats watch them leave.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
multiple examples from books that
all say it should work but I always get -1. could someone help before
my brain turns into a cabbage.
Perhaps if you were to show the code you are trying to use?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES
$num fields in line $row: br;
$row++;
for ($c=0; $c$num; $c++) {
print $data[$c] . br;
}
}
fclose ($fp);
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
There is something to be said about me: Wow
it impossible ?
You'll need to do two configures and compiles. For the cgi version, leave
out any reference to with-apache, with_apxs or any other webserver. The
latter will produce an executable called php. This applies to *nix
systems only - Windoze I won't go into :-)
--
David Robley Techno
?
Thanks again for any help - I've been trying to figure this out for
days to no avail...
__
Jason Dulberg
Extreme MTB
http://extreme.nas.net
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
the IPs are
greater than 2147483647. Anyone knows a workaround for this?
Thanks in advance.
I think the function ip2long might be what you want.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
that they are valid! Rasmus told him his
logic was flawed.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Sorrow looks back, worry looks around, faith looks up.
--
PHP General Mailing List (http
/BODY/HTML
feedbacksend.php
?php
mail([EMAIL PROTECTED], Feedback Form Results,$message, From:
$email);
(Location:thankyou.html);
?
Line 2 appears to be the mail() function - have you correctly configured
the mail section of your php.ini?
--
David Robley Techno-JoaT, Web Maintainer
?
Any suggestions are appreciated.
__
Jason Dulberg
Extreme MTB
http://extreme.nas.net
And, as someone recently pointed out in response to a similar suggestion
I made, there is a mysql DATE_FORMAT function that will do the same thing
without the CONCATS.
--
David Robley
';
echo Hello;
if (function_exists('func')) {
call_user_func ('func');
}
function func() {
echo buddy;
}
So you have no function at the time you test for it :-)
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH
to pass it to
the function as a parameter or delcare it as global within the function.
-Opprinnelig melding-
Fra: David Robley [mailto:[EMAIL PROTECTED]]
Sendt: 25. september 2001 09:56
Til: Bård Tommy Nilsen; [EMAIL PROTECTED]
Emne: Re: [PHP] Including files without loosing my string
:
function doit($input) {
echo $input;
}
$id = 1;
doit($id);
output is 1
See the sections of the manual on Functions and variable scope for more
information.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
-responder that isn't working correctly?
--
Gaylen
[EMAIL PROTECTED]
http://www.gaylenandmargie.com
PHP KISGB v1.2 Guestbook
http://www.gaylenandmargie.com/publicscripts
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES
and store them into a mysql
database line by line.
Cheers
Yes - have a look at the filesystem functions to get the lines of the
file; you could use fopen()/fgets() to return a line at a time or even
just file() to return all lines as elements of an array.
--
David Robley Techno-JoaT, Web
is set to autoincrement, but with a default of NULL; this may be a bad
thing and possibly should be set to 0 (zero).
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Just what part of NO didn't you
for the remote
host/user/password, of course.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Ignore the first three turnings, said Tom forthrightly.
--
PHP General Mailing List (http://www.php.net
.
include() them?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
This is my favorite chinese soup, Tom said wantonly.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
main script
endif; //All ok continue with script
?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Don't ask me. The cats are in charge around here.
--
PHP General Mailing List (http://www.php.net
can I find a complete
and accurate operator precedence table?
CW
The manual?
http://www.php.net/manual/en/language.operators.precedence.php for
operator precedence and http://www.php.net/manual/en/language.oop.php for
classes and objects
--
David Robley Techno-JoaT, Web Maintainer
with seting a default
selection in your dropdown so you avoid the problem.
Otherwise you could test whether the dropdown value is empty, and if so,
not add the 'AND productcategory.ID' clause to your select.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
I was absolutely vitrified, said Tom with a glazed look.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
on success or an error
message on failure. That should do what you want.
I wonder what my sigmonster is up to?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Stupid is a boundless concept.
--
PHP General
? For instance, in this example, c should not be
print.
in_array might be one tool - loop through $Foo and print $Foo[n] if it's
not in the array $donotprint
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
) {
if(!in_array($val,$DoNotPrint) {
echo $val;
}
}
Any syntax errors you find in that you can keep :-)
And doubtless there are other, better ways. Offers, anyone?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH
escape the #
sign.
Works OK for me in an INPUT TYPE=TEXT. Perhaps a bit of your code and the
table structure might help?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Sorry, I don't date
to check how long it takes.\
Then you can let us all know the answer.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Why can't we just spell it orderves?
--
PHP General Mailing List (http
On Wed, 19 Sep 2001 12:28, Scott wrote:
That works, thank you, but it prints at the top of my page, is there
a way to store that array into a single variable?
Yes - implode()
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders
php-4.0.6. Am I misunderstanding something horribly, or is
this a legitimate bug?
Kevin Way
The docs say that the second parameter was added in 4.0.7, so that may be
your problem :-)
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders
that your webserver runs
as.
Checking the output of exec might give some insight.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Useless Invention: Training wheels for timid sports car drivers
601 - 700 of 1065 matches
Mail list logo