Re: [PHP] MySQL query problem!

2001-11-22 Thread David Robley
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

Re: [PHP] encrypt and decrypt functions kaput

2001-11-20 Thread David Robley
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

Re: [PHP] Piping into script...

2001-11-20 Thread David Robley
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

Re: [PHP] Piping into script...

2001-11-20 Thread David Robley
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

Re: [PHP] configure problem

2001-11-19 Thread David Robley
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

Re: [PHP] IP Address Converted to Computer Name

2001-11-19 Thread David Robley
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

Re: [PHP] IP Address Converted to Computer Name

2001-11-19 Thread David Robley
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

Re: [PHP] Re: Bitwise

2001-11-19 Thread David Robley
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

Re: [PHP] configure problem

2001-11-19 Thread David Robley
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

Re: [PHP] Strange variable.....

2001-11-19 Thread David Robley
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

Re: SV: [PHP] fopen r+ not working - how to add to beginning of txt file

2001-11-19 Thread David Robley
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

Re: SV: [PHP] fopen r+ not working - how to add to beginning of txt file

2001-11-19 Thread 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

Re: [PHP] Error running ./configure (c++ error)

2001-11-18 Thread David Robley
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

Re: [PHP] Additional e-mail address in PHP script...

2001-11-18 Thread David Robley
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

Re: [PHP] MySQL INSERT

2001-11-18 Thread David Robley
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

Re: [PHP] MySQL INSERT

2001-11-18 Thread David Robley
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

Re: [PHP] gd-lib and libjpeg issues

2001-11-14 Thread David Robley
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

Re: [PHP] Adding Dates (To Obtain Future Dates)

2001-11-13 Thread David Robley
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

Re: [PHP] newbie question about odbc_connect

2001-11-13 Thread David Robley
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

Re: [PHP] Re: Can If Else statements be split into code blocks??

2001-11-13 Thread David Robley
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

Re: [PHP] fopen and paths

2001-11-13 Thread David Robley
) 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

Re: [PHP] Help! How do i mail a value from a mysql databse?

2001-11-13 Thread David Robley
); 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

Re: [PHP] fopen and paths

2001-11-12 Thread David Robley
? 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

Re: [PHP] Query about parsing Word doc using PHP of RH Linux

2001-11-12 Thread David Robley
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

Re: [PHP] php newbie - need advice

2001-11-11 Thread David Robley
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

Re: [PHP] Question about using system call/gzip

2001-11-11 Thread David Robley
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

Re: [PHP] Question about using system call/gzip

2001-11-11 Thread David Robley
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

Re: [PHP] help with Auth in Apache

2001-11-08 Thread David Robley
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

Re: [PHP] Append to STDIN

2001-11-08 Thread David Robley
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

Re: [PHP] Math Script

2001-11-04 Thread David Robley
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

Re: [PHP] mysql table information

2001-11-04 Thread David Robley
. 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

Re: [PHP] sending email to php script

2001-11-04 Thread David Robley
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

Re: [PHP] Mail() not sending mail..

2001-11-04 Thread David Robley
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

Re: [PHP] sending email to php script

2001-11-01 Thread David Robley
. -- 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

Re: [PHP] sending email to php script

2001-10-31 Thread David Robley
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

Re: [PHP] text into web db interface

2001-10-31 Thread David Robley
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

Re: [PHP] table troubles

2001-10-30 Thread David Robley
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

Re: [PHP] Problems inserting single quote into Oracle database

2001-10-30 Thread David Robley
) 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

Re: [PHP] show png in the browser

2001-10-30 Thread David Robley
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

Re: [PHP] php mysql prob...

2001-10-30 Thread David Robley
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

Re: [PHP] php mysql prob...

2001-10-30 Thread David Robley
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

Re: [PHP] sharing data stored in mysql with another site

2001-10-30 Thread David Robley
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

Re: [PHP] Re: php mysql prob...

2001-10-30 Thread David Robley
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

Re: [PHP] I rest my case

2001-10-30 Thread David Robley
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

Re: [PHP] Re: I rest my case

2001-10-30 Thread David Robley
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

Re: [PHP] Re: I rest my case

2001-10-30 Thread David Robley
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

Re: [PHP] Function not found

2001-10-29 Thread David Robley
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

Re: [PHP] \n's

2001-10-29 Thread David Robley
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

Re: [PHP] @#$@# Reg Expressions

2001-10-29 Thread David Robley
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

Re: [PHP] Breaking a string

2001-10-28 Thread David Robley
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

Re: [PHP] php-mysql question

2001-10-28 Thread David Robley
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

Re: [PHP] sending email to php script

2001-10-28 Thread David Robley
/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

Re: [PHP] SMTP

2001-10-28 Thread David Robley
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

Re: [PHP] How to determine a valid Date

2001-10-28 Thread David Robley
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

Re: [PHP] Problem appending data in a file with fopen(ftp://...,a)

2001-10-28 Thread David Robley
. 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

Re: [PHP] MySQL command log

2001-10-28 Thread David Robley
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

Re: [PHP] What is the best way to do this...

2001-10-26 Thread David Robley
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

Re: [PHP] problem with a while loop

2001-10-26 Thread 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

Re: [PHP] Re: is there a commandline php.exe interpreter?

2001-10-25 Thread David Robley
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

Re: [PHP] editor for working with php

2001-10-25 Thread David Robley
[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

Re: [PHP] include() problem.

2001-10-23 Thread David Robley
.. 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

Re: [PHP] mail() question

2001-10-23 Thread David Robley
:/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

Re: [PHP] include() problem.

2001-10-23 Thread David Robley
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

Re: [PHP] PHP Openlink/Progress Problems

2001-10-23 Thread David Robley
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

Re: [PHP] format date

2001-10-22 Thread David Robley
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

Re: [PHP] System(), exec(), Passthru(), etc

2001-10-05 Thread David Robley
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

Re: [PHP] cgi bug workaround

2001-10-05 Thread David Robley
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

Re: [PHP] php in css not working with IF's

2001-10-04 Thread David Robley
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

Re: [PHP] System(), exec(), Passthru(), etc

2001-10-04 Thread David Robley
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

Re: [PHP] php not reading php.ini

2001-10-03 Thread 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

Re: [PHP] REPLACE problem

2001-10-03 Thread David Robley
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

Re: [PHP] Getting the right hour?

2001-10-03 Thread David Robley
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

Re: [PHP] exec() system() passthru() problems. (S.u.S.E 7.2)

2001-10-03 Thread David Robley
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

Re: [PHP] Parsing a CSV file

2001-10-03 Thread David Robley
$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

Re: [PHP] status of building both CGI and MODULE

2001-10-03 Thread David Robley
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

Re: [PHP] php in css not working with IF's

2001-10-03 Thread David Robley
? 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

Re: [PHP] Unable to get a dot-decimal ip address from a decimal ip address

2001-10-03 Thread David Robley
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

Re: [PHP] php in css not working with IF's

2001-10-03 Thread David Robley
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

Re: [PHP] A simple PHP form not working

2001-09-25 Thread David Robley
/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

Re: [PHP] select based on time/date

2001-09-25 Thread David Robley
? 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

Re: [PHP] Including files without loosing my string

2001-09-25 Thread 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

Re: SV: [PHP] Including files without loosing my string

2001-09-25 Thread David Robley
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

Re: SV: SV: [PHP] Including files without loosing my string

2001-09-25 Thread David Robley
: 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

Re: [PHP] Why this error to this newsgroup?

2001-09-24 Thread David Robley
-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

Re: [PHP] Individual Lines of TEXT

2001-09-24 Thread David Robley
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

Re: [PHP] Mysql check

2001-09-24 Thread David Robley
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

Re: [PHP] Receiving mySQL result from remote server?

2001-09-24 Thread David Robley
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

Re: [PHP] Run or execute a php cript within a php cript.

2001-09-21 Thread David Robley
. 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

Re: [PHP] MySQL Connectivity test

2001-09-20 Thread David Robley
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

Re: [PHP] Possibly undocumented operators.

2001-09-20 Thread David Robley
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

Re: [PHP] Variable conversion problem

2001-09-20 Thread David Robley
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

Re: [PHP] Download

2001-09-19 Thread David Robley
-- 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

Re: [PHP] MySQL Connectivity test

2001-09-19 Thread David Robley
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

Re: [PHP] Newbie Question: Array Comparison ---

2001-09-19 Thread David Robley
? 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

Re: [PHP] Newbie Question: Array Comparison ---

2001-09-19 Thread David Robley
) { 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

Re: [PHP] Is there no one who can help me out there.

2001-09-18 Thread David Robley
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

Re: [PHP] Speeding up program

2001-09-18 Thread David Robley
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

Re: [PHP] re: array question

2001-09-18 Thread David Robley
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

Re: [PHP] rtrim bug?

2001-09-17 Thread David Robley
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

Re: [PHP] mysqlimport exec()

2001-09-16 Thread David Robley
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

<    2   3   4   5   6   7   8   9   10   11   >