Re: [PHP] [Newbie] Php.ini

2001-01-30 Thread David Robley
-path=PATH Sets the path in which to look for php.ini. defaults to /usr/local/lib -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] parse form input

2001-01-30 Thread David Robley
t's zero, there is nothing to do/an error has been made; if one, just grab the value of the variable ; or if 1, cycle through the elements of the array(s) and do what you need. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http:

Re: [PHP] one quick question: how do I assign atring value into variable?

2001-01-31 Thread David Robley
='Single Room'; break; case 2: $roomType ='Double Room'; break; .. } Cheers -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au

Re: [PHP] Closing Objects Cleaning Up

2001-02-01 Thread David Robley
patibility mysql_freeresult() can also be used. Cheers -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University

Re: [PHP] htmlspecialchars Problem

2001-02-01 Thread David Robley
e know why? What version of PHP are you using? From TFM: Also note that the optional second argument was added in PHP 3.0.17 and PHP 4.0.3. Cheers -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au

Re: [PHP] Tab character

2001-02-01 Thread David Robley
On Fri, 2 Feb 2001 01:47, Karl J. Stubsjoen wrote: Is this a tab character \t Yes - but remember that you won't be able to see it on a page rendered by a browser, as they tend to treat tabs, multiple spaces and line feeds as a single white space. -- David Robley

Re: [PHP] upload_max_filesize

2001-02-01 Thread David Robley
lled - you need to modify php.ini-dist or php.ini-optimized from the top level directory of your source and place it in the directory you have specified at compile (if you did) or the the default (/usr/local/lib) location. -- David Robley| WEBMASTER Mail List Admin RESEA

Re: [PHP] Variables within functions, out?

2001-02-01 Thread David Robley
rn $birthday } and to use it: $result = CheckBirthday($year,$month,$day); $sql = "UPDATE MyTable SET birthday = \"$result\" WHERE id = \"$id\" "; Those " around the variables probably should be ' if you are playing with mysql char fields. -- David Robley

Re: [PHP] encode string with spaces

2001-02-01 Thread David Robley
On Fri, 2 Feb 2001 11:36, David Robley wrote: On Fri, 2 Feb 2001 11:22, Kevin McCarthy wrote: All - Any easy way to take a string and fill the spaces in it? Say like a URLencoding: This is my dog, Jack becomes This%20is%20my%20dog,%20Jack I ask this as I would like to send

Re: [PHP] Automatic incoming mail notification

2001-02-01 Thread David Robley
und with redirecting emails. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRA

Re: [PHP] Change the Input to st different..

2001-03-04 Thread David Robley
of the manual. In particular, substr_replace, str_replace or strtr. Also the Regular Expressions section if you want more complex replacement capabilities. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au

Re: [PHP] mail problem

2001-03-04 Thread David Robley
f snip--- any help would be greatful :) Peter Houchin Sun Rentals [EMAIL PROTECTED] Two things that may or may not be part of your problem; first, if there is already something in $headers then appending the cc to it may give you an invalid string; and second, you might try Cc: instead of CC:

Re: [PHP] dealing with no record

2001-03-04 Thread David Robley
cord found ... *** what am I suppose to do if I also want the code to be able to deal with the case that no record found and redirect user to other page? Jack $query="select name from foo"; $result= mysql_query($query); if(mysql_num_rows($result) ==0)) { redirect } else..

Re: [PHP] comparing values

2001-03-05 Thread David Robley
doing wrong. Can you please reply to [EMAIL PROTECTED] PLEASE PLEASE PLEASE Um, you aren't assigning the result of the function to anything? $what_you_want_to_see = check_hackers($sourcefile, $filelist); echo $what_you_want_to_see; Cheers -- David Robley|

Re: [PHP] config question

2001-03-05 Thread David Robley
the PHP config options so i can show this mofo that they are off - Peter phpinfo() -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au

Re: [PHP] MIME and headers

2001-03-06 Thread David Robley
the RFCs (big document ~400Kb) http://mirror.aarnet.edu.au/pub/rfc/rfc-index.txt -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au

Re: [PHP] Installation on RH6.2: help!

2001-03-06 Thread David Robley
any other mysql related stuff you could try using the php builtin mysql support by using just --with-mysql and not specifying a path. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] populate select box with contents of a file?

2001-03-07 Thread David Robley
? The directory functions - there are some simple samples in readdir() - and is_file and is_dir may be useful -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http

Re: [PHP] mysql_fetch_array()

2001-03-07 Thread David Robley
{ extract($row); echo "tr"; echo "td$field/td"; \\ or whatever the field is called echo "tda href=\"search.php?ID=$ID\""; echo "Get it"; echo "/a/td"; echo "/tr"; } -- David Robley

Re: [PHP] News Server (news.php.net)

2001-03-07 Thread David Robley
mentioned on the support page, just below the mailing list information - at least on the new site and I'm sure it was there before. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] test - can someone please reply?

2001-03-07 Thread David Robley
On Thu, 8 Mar 2001 16:32, [EMAIL PROTECTED] wrote: this is a test for echo. this is a test for echo. .ohce rof tset a si siht -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] test - can someone please reply?

2001-03-07 Thread David Robley
addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: Sorry, no mailbox here by that name. (#5.1.1) -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] Qmail problem

2001-03-08 Thread David Robley
* ~$ ls -l /usr/lib/sendmail lrwxrwxrwx 1 root root 18 Jul 12 2000 /usr/lib/sendmail - /usr/sbin/sendmail* sendmail_path = /usr/sbin/sendmail -t -i;for unix only, may supply arguments as well (default is sendmail -t) Cheers -- David Robley

Re: [PHP] Mailing List

2001-03-11 Thread David Robley
administrators, e-mail: [EMAIL PROTECTED] -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH

Re: [PHP] Good Free PHP Editor?

2001-03-11 Thread David Robley
the link for editor information by the ton. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH

Re: [PHP] Kick one of these darn elements out of my array, I aint having it!

2001-03-12 Thread David Robley
ght do the trick. It's PHP4 only, though. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTR

Re: [PHP] PHP (re)install problems

2001-03-12 Thread David Robley
looks like you may have warnings turned on. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH

Re: [PHP] includes

2001-03-12 Thread David Robley
the file. include() will parse it and execute it. All I want to do is include it raw... any ideas? Rick Readfile() might do what you want. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] copying mysql db files

2001-03-12 Thread David Robley
mysqldump just in case the data files aren't exactly the same. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University

Re: [PHP] includes

2001-03-12 Thread David Robley
a showsource, for instance. That's not what you are doing, is it Rick? -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders

Re: [PHP] php java problem

2001-03-12 Thread David Robley
\classic\jvm.dll extension=php_java.dll Check your log files, especially the error file as there may be clues there. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] Search display *.txt files in dir

2001-03-13 Thread David Robley
the example for readdir; you just need to expand the second example with a test (regex, substr, whatever) that tests for .txt on the end of the filename. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] Multi-Step Script

2001-03-13 Thread David Robley
and check the value of the Submit variable to determine what your next action might be. Couple this with some includes also based on the Submit value and voila. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au

Re: [PHP] Server side maps

2001-03-13 Thread David Robley
allows you to use server-parsed imagemap files. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University

Re: [PHP] Help please

2001-03-14 Thread David Robley
/http://mirror.aarnet.edu.au/pub/mysql/doc/C/a/Cannot_initialize_character_set.html -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.e

Re: [PHP] Array help

2001-03-14 Thread David Robley
around with assigning all the elements bar the last of your original array to a new array. -- Please don't hit Reply to respond - use this address instead: [EMAIL PROTECTED] Local SMTP server is creatively munging domains!!! David Robley| WEBMASTER Mail List Admin

Re: [PHP] Creating Files Windows vs Unix

2001-03-14 Thread David Robley
st allow access down the tree to the point where you are working. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders Univers

Re: [PHP] Creating Files Windows vs Unix

2001-03-14 Thread David Robley
think that $answerFile might contain the value '.txt' Try echoing it and see.... [I'm off home now.] -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| h

Re: [PHP] Not Looping...

2001-03-14 Thread David Robley
ma" SIZE="2"?php echo $invoices["description"] ?/FONT/TD /TR Check out the example in the manual for mysql_fetch_array, using a while loop. Also see extracrt to save a bit of typing :-) -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR

Re: [PHP] php or Mysql for DATE?

2001-03-14 Thread David Robley
the date. I am also going to allow people to search for messages as per date. For example Search for messasges in the last week and stuff.. Please advice me.. Have a look at the mysql manual in particular the date/time data types and how some can be automatically updated. -- David Robley

Re: [PHP] php editors

2001-03-15 Thread David Robley
List A comprehensive list of editors you can use to edit PHP programs It would probably be nice if this were in the FAQ - if anybody ever read the FAQ :-) -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au

Re: [PHP] FAQ

2001-03-15 Thread David Robley
whence do they gain wisdom? And then the 'newbies' learnn about the 'experienced' list and go there and we're back to square one. :-) Check the archives for _extended_ discussion on that topic. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY

Re: [PHP] $REDIRECT_ERROR_NOTES

2001-03-15 Thread David Robley
or HTTP_SERVER_VARS. I know the answer will be something simple but I cant seem to find much help anywhere. Any help or push in the direction of a useful web page would be nice. Paul Check out REQUEST_URI - from that you can build a full URL if you need it. -- David Robley

Re: [PHP] $REDIRECT_ERROR_NOTES

2001-03-15 Thread David Robley
Conference on Injury Control and Prevention (3ICICP) are no longer available here./LI /ul h3 align="center"a href="?php echo $HTTP_SERVER?"Back to our main page./a/h3 /TD/tr /table /html -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR

Re: [PHP] how fast is php

2001-03-15 Thread David Robley
? Under how much load? Using what operating system? Write a script that does what you want and put a timer on it. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http

Re: [PHP] Undefined Variable

2001-03-18 Thread David Robley
PHP behavior to 'no-error' with undeclared variables? Many thanks in advance, Jorge Alvarez PHP4 new user You may need to play around with the value of error_reporting in your php.ini file. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY

Re: [PHP] just wondering ....

2001-03-18 Thread David Robley
something else, which something else may or may not succeed in sending the message. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flind

Re: [PHP] unable to fine /htdocs on my linux machine :(

2001-03-18 Thread David Robley
you configured Apache as to where or even whether you will find the htdocs directory. For clues, check your httpd.conf file and look under ServerRoot and DocumentRoot. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http

Re: [PHP] HELP insert still dosn't work

2001-03-19 Thread David Robley
n OPARSE) in test2.php on line 40 line40 is parse line plaese help is very urgent rudi I'm not an Oracle person, but it sounds like you may have a syntax error in your SQL. Try echo-ing $query and see how it looks. -- David Robley| WEBMASTER Mail List Admin RESE

Re: [PHP] Simple PHP 4 and MySQL question about query

2001-03-19 Thread David Robley
array of all the fields (one!) in your query, and then use extract to put the field values in a variable named as the field. (The example for mysql_fetch_array shows another way of displaying the fetched values.) So: $row = mysql_fetch_array($result); extract($row); ec

Re: [PHP] How do I check a php3 file.

2001-03-20 Thread David Robley
/path/to/php.cgi [file] -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

Re: [PHP] PHP/MySQL Control Structures - if (mysql_query())

2001-03-20 Thread David Robley
bers listed. The previous version of this code is published and available here: http://openconcept.ca/guide-petition.phtml Thanks. Mike -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] PHP/MySQL Control Structures - if (mysql_query())

2001-03-20 Thread David Robley
tshell, if something is giving you a noticable slowdown, it probably isn't that difference. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinder

Re: [PHP] Probs with PHP4 and MySQL File Upload...

2001-03-22 Thread David Robley
directory_ is world readable, but the file being uploaded may not be world readable - you may have to chmod it as part of the process. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au

Re: [PHP] reading microsoft word document text in php?

2001-03-22 Thread David Robley
you could check the www.htdig.org site for document parsers (catdoc.pl and parsedoc.pl, I think). If you are on Windows you could of course use Turd itself, but I think there is also some sort of Word doc viewer; whether they will do what you want is another story. -- David Robley

Re: [PHP] writing to a file

2001-03-22 Thread David Robley
the docs. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA -- PHP General Mailing

Re: [PHP] security

2001-03-22 Thread David Robley
://somebodyelsesdomain.com/signup.html cannot call the mail.php script. thanks Randy If you are using the POST method to pass data, set a hidden value in signup.html which you can test for in mail.php. Not a perfect method, as doing a 'view source' on signup.html will reveal it. -- David Robley

Re: [PHP] Complex IF statement

2001-03-22 Thread David Robley
able){ case 'duck': case 'goose': duck or goose action; break; default: elephants, tigers etc action; } -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://ausein

Re: [PHP] ImageTTFText()

2001-03-25 Thread David Robley
... but, when I try to compile the tar.gz php installation, it don't let me compile because can't find libgd.* not in /usr /usr/lib... can anybody give me a really good reason for this not working? 1) You don't have libgd installed? 2) You have it somewhere else like /usr/local/lib? -- David Robley

Re: [PHP] 'How to jump..' part 2

2001-03-25 Thread David Robley
still if you have PHP4, use array_shift to pop the first however many elements from the front of the array. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http

Re: [PHP] I need an expert to tell me what I am doing wrong

2001-03-25 Thread David Robley
sql); echo mysql_error(); echo "Order for the $product has been sent"; ? I think you got the solution to your problem, but for future debugging you might want to add the line above which will spit out a meaningful error message. You could of course combi

Re: [PHP] I want to execute a cgi

2001-03-25 Thread David Robley
, system or the backtick operator should do what you want. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University

Re: [PHP] GD problem

2001-03-26 Thread David Robley
php.ini or chan I just change the library? Thank you, You probably don't have, or didn't point your compile to, the jpeg library. If you still have your PHP source and compiled stuff, look in config.log for clues - search for libjpeg. -- David Robley| WEBMASTER Mail

Re: [PHP] getting number of days in agiven month

2001-03-26 Thread David Robley
On Tue, 27 Mar 2001 10:22, Juan Luis Baptiste wrote: Hi, Is there a way to find out the mumber of days of a given month? for example a function that I pass the month number i.e. 02 (February) and it returns 28? thanks. See date() and the t format character. -- David Robley

Re: [PHP] Question from Rookie

2001-03-26 Thread David Robley
, and you'll need to be aware of permission issues when trying to create files with fopen. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au

Re: [PHP] Strings in URL

2001-03-26 Thread David Robley
quot;; } ---The print "$subject"; line prints nothing. If I print $headline right after I assign the variable it prints correctly with +s in place of the blanks for this variable. Any suggestions? What appears in the first script as the text of the link when you 'view source'? --

Re: [PHP] setting Check box

2001-03-26 Thread David Robley
' / 'n' value in the db input type="checkbox" name="avail" value="" ? if ($avail == 'n') { echo 'SELECTED '; }?" Peter Houchin Try CHECKED for checkboxes - SELECTED works for dropdowns. -- David Robley| WEBMASTER Mail List Admin

Re: [PHP] setting Check box

2001-03-26 Thread David Robley
avail == 'n') { echo 'CHECKED'; }? INPUT TYPE=SUBMIT /FORM ?php if(isset($avail)) { echo "Value of AVAIL: $avail"; } ? If you aren't getting the value you expect in $avail you may have problems. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE F

Re: [PHP] examine inner workings of functions

2001-03-27 Thread David Robley
! -jack Try your luck in ext/standard/array.c in the distribution tarball - search on sort. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au

Re: [PHP] GD problem

2001-03-27 Thread David Robley
is run: config.log in the top level of the unpacked distribution. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders

Re: [PHP] setting Check box

2001-03-27 Thread David Robley
On Wed, 28 Mar 2001 10:18, S. Efurd wrote: This worked for me as well, and helped me with a problem I was having! How would you show what option was selected in a drop down box. I have a form the user fills out, this goes to a confirmation page to ensure the data enetered is correct. I have

Re: [PHP] Connect local-remote

2001-03-27 Thread David Robley
On Tue, 27 Mar 2001 18:48, Jochen Kaechelin wrote: how can I connect to a remote-database from my local dos-window? I use the following without success: mysql -u XXX -h mysql-XXX -p -D Jochen Kaechelin Should you not have a full hostname as the argument for -h ? -- David

Re: [PHP] Blah I'm Stupid

2001-03-27 Thread David Robley
: FORM ACTION=check.php METHOD=GET input type="text" name="avail" value="" INPUT TYPE=SUBMIT /FORM and in check.php ?php echo $avail; ? will show the value entered in the text box -- David Robley| WEBMASTER Mail List Admin RESEARCH CEN

Re: [PHP] Blah I'm Stupid

2001-03-27 Thread David Robley
On Wed, 28 Mar 2001 14:31, chris herring wrote: - Original Message - From: "David Robley" [EMAIL PROTECTED] To: "chris herring" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, March 27, 2001 10:19 PM Subject: Re: [PHP] Blah I'm Stupid On Wed, 28 Mar 2001

Re: [PHP] Im getting better :-) was Blah I'm Stupid

2001-03-27 Thread David Robley
= fputs($fp, "a href=\"$url\"$text/abr"); fclose($fp); You probably don't need the $result in the second line, but if you wanted, you could use it to confirm writing of stuff before closing or whatever. You could use single quotes to delimit the string

Re: [PHP] install-problem

2001-03-28 Thread David Robley
file: configure_command.txt) Thanks for help Markus Mattes This mailing list does not allow attachments. You'll need to repost just the relevant section[s] of your configure output as part of your message. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE

Re: [PHP] Locating where PHP is on my server.

2001-03-28 Thread David Robley
then it will probably be in your apache cgi-bin directory, but you should be able to use the Unix 'find' command to locate it if you have shell access. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] No php.ini?

2001-03-28 Thread David Robley
PHP as an Apache module, mmake sure you restart apache to cause the ini file to be reread. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http

Re: [PHP] remote acces

2001-03-28 Thread David Robley
will need to ensure that the remote machine is configured to recognise the user and password that is being used to connect to the mysql daemon. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] word docs

2001-03-28 Thread David Robley
to it. Alternatively, I think there are some converters out there which could take say HTML and convert to RTF or whatever. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] This PHP list

2001-03-28 Thread David Robley
ssion. My suggestion would be to stick with the expertise that is on this list. Cheers -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flind

Re: [PHP] [PHP-DB] ALTER TABLE - code not working.

2001-03-29 Thread David Robley
e you are getting :-) and use mysql_error() after you run mysql_query on your query, to see if there is an error message being returned. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] Help!

2001-03-29 Thread David Robley
interesting like, say, rm -r :-) And imagine if you were also superuser, in the / directory :-) :-) -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http

Re: [PHP] rewrite one line in file

2001-03-29 Thread David Robley
element is 0). Change the info you want. Write the changed array back to the file. Coding is left as an exercise for the student :-) -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] Parsing XML CDF format in PHP3 - Stumbling over ?

2001-03-29 Thread David Robley
str_replace instead; it should be quicker also. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE

Re: [PHP] TEmp File

2001-03-29 Thread David Robley
to the list) something I use to do this with output as a tab delimited file. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au

Re: [PHP] Executing a PHP file to write an html file

2001-04-01 Thread David Robley
as something like nobody, which may not have the necessary permissions to wwrite to files in that particular directory. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http

Re: [PHP] Problems with files!!!!!

2001-04-01 Thread David Robley
what could be wrong). Ales! Probably permissions still - the parent directory must also be accessible to the user that the web server runs as. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ Au

Re: [PHP] Problem installing on BSD

2001-04-01 Thread David Robley
wrong here? Thanks in advance. 4. restart apache to read changes to config file? -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au

Re: [PHP] PHP3 - Instalation

2001-04-03 Thread David Robley
- Dynamic Shared Object) if you want to use it as an Apache module -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders

[PHP] Re: Edit program

2002-01-20 Thread David Robley
[EMAIL PROTECTED] (Mehmet Kamil Erisen) wrote in [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: Dear List member, Plesae forgive me for asking and OT question. Can you please recommend an edit program, (Freely downloadable). Thanks, Search your local PHP mirror for 'editor'; there is

[PHP] Re: textarea

2002-01-20 Thread David Robley
he start and end of html tags. So if you actually want to use a or in your text, you should use the special symbol gt; (note the special use of the ampersand here!) htmlspecialchars will perform the translations for you. -- David Robley Temporary Kiwi -- PHP General Mailing List (http://www

[PHP] Re: function trouble: pass by referrence

2002-01-21 Thread David Robley
outputs ’This is a string, and something extra.’ -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: smarter code (mySQL arrays)

2002-01-22 Thread David Robley
Cheers -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: What do you mean?

2002-01-23 Thread David Robley
se HTML and perhaps CSS to format your output. -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: Arrays as pointers?

2002-01-24 Thread David Robley
compatibility, you can still use the array-braces. However, this syntax is deprecated as of PHP 4. Use limitd only by your imagination :-) -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] Correct URL's

2002-01-27 Thread David Robley
not send HTML messages. Sorry, Outlook is crap and I'm just too lazy to buy (on Win you have to buy almost everything) another e-mail client for my working machine. http://www.pegasus.org/ It's free and a bit more virus resistant than a certain M$ product (well, any M$ product) -- -- David

[PHP] Re: date and time triggerring

2002-01-27 Thread David Robley
? Thanks in advance, and also to all who keeps on helping a newbie like me. This can be done under *nix using cron, or Windows using Task Scheduler. You'll need a cgi version of PHP to run scripts this way. -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net

[PHP] Re: Can PHTML pages cause spurious high counts?

2002-01-28 Thread David Robley
there. Failing that, perhaps you could post the code for the offending scripts? -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP] Re: help sorting readdir values

2002-01-28 Thread David Robley
which could be fairly easily modified to use file size as well as name; but I'll have to scratch around in the Linux partition of my lapdog to find and test them. -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

  1   2   3   4   5   6   7   8   9   10   >