[PHP] Re: String termination with \0 ?

2002-04-11 Thread David Robley
cter in PHP ? > > I have been searching for documentation on this matter so if anyone > could help me... In this respect, PHP is not like C. Strings are defines within quotes, single or double depending on the circumstances. So \0 does not define the end of a string. -- David Robley Temporar

[PHP] Re: Temporary off...

2002-04-11 Thread David Robley
> > Thx > > Vaso > Nope - unsubscribe and use the newsgroup at news.php.net might be an option. -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: HTML Character Parsing

2002-04-11 Thread David Robley
t off illegal stuff. I want something a little like > Slashdot's stuff. > > Easy?? anyone know anything about this? > > Thanks > > David R Striptags() -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Forms in PHP

2002-04-13 Thread David Robley
blem as above > { > > echo ""; > echo "Feed my pet"; > echo "Put in my shop"; > echo "Put into my Footlocker"; > echo "Discard this item"; > echo "Donate this item"; > echo ""; > echo ""; > echo ""; > > > } > } > } > > Thanks for your time > Jennifer > -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Php/Mysql

2002-04-13 Thread David Robley
= "INSERT INTO mytable VALUES(" . $mystring . ")"; where of course $mystring is the correctly formatted set of values to insert. Note that using this method you must have a value for each field in the table, in the order in which the fields appear in the table. -- David

[PHP] Re: Cannot enter single quotation marks in fields

2002-04-13 Thread David Robley
Look at addslashes/stripslashes -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Need row number from database select

2002-04-14 Thread David Robley
.= $cat->name + $indent; // here is where I want to assign diff. colors $color == "red" ? $color = "blue": $color = "red"; // Cycle color for each iteration if ($cat->id != $parent) build_folder_tree($output, $cat->id, $indent."  "); } } -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Understanding If conditional statements

2002-04-14 Thread David Robley
o the DB, then check mysql_num_rows. If it is zero, print the error message; otherwise go into the while loop to display your results. -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] format date

2001-10-22 Thread David Robley
erhaps if you could show what you are doing 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

Re: [PHP] include() problem.

2001-10-23 Thread David Robley
lhost:/spider/index.html?query=ihateIIS";) > > outcome - blank screen, headache from staring at screen too long .. > > 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

Re: [PHP] mail() question

2001-10-23 Thread David Robley
r = str_replace("", chr(10), $buffer); > //replace html breaks with returns > $buffer = str_replace("", chr(10), $buffer); > //strip all other html tags > $buffer = strip_tags($buffer); > > //email away... > mail("[EMAIL PROTECTED]", "Auto F

Re: [PHP] include() problem.

2001-10-23 Thread David Robley
he result of the include 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

Re: [PHP] PHP Openlink/Progress Problems

2001-10-23 Thread David Robley
e passed in, you might want to check your magic_quotes settings, and also perhaps echo the incoming value for description to see whether it is as you expect. You might have to play around with addslashes to get the right result. > OUTPUT > > SQL: SELECT ID,Category,description FROM ca

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

2001-10-25 Thread David Robley
criptviewer.html This windows application is designed to show a parsed script file without the need of a web server. This may be useful for CD-ROM distribution, Stand-Alone materials, and other uses. The application starts the php executable with a file parameter, showing the result in a HTML

Re: [PHP] editor for working with php

2001-10-25 Thread David Robley
e is also a link to a PHP editors page from www.php.net/links.php [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 G

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

2001-10-25 Thread David Robley
age can probably include another page 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

Re: [PHP] problem with a while loop

2001-10-26 Thread David Robley
uot;] . ">" . ";"; > } > > > echo $email; You would probably want to append the values to $email in your loop, 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,

Re: [PHP] Breaking a string

2001-10-28 Thread David Robley
t does that and if so does someone have an > example? > > thanks You can dealt with the string 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 STUDI

Re: [PHP] php-mysql question

2001-10-28 Thread David Robley
ted since 4.06. Changing to mysql_query is recommended. > #2) Does 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 F

Re: [PHP] sending email to php script

2001-10-28 Thread David Robley
ike phpmail: "| /pathto/your/php/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,

Re: [PHP] SMTP

2001-10-28 Thread David Robley
transport agent on the local host; the SMTP setting in the ini file 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 sha

Re: [PHP] How to determine a valid Date

2001-10-28 Thread David Robley
) Quicker to ask online than look 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.

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

2001-10-28 Thread David Robley
t; before you try to fopen($filename) again. Otherwise, PHP maintains > > the file open for > > reading > > > (and writing, if that's how you opened it.) > > > > hth > > > > --kurt This may be a 'feature' of your ftp target. There may be limitations

Re: [PHP] MySQL command log

2001-10-28 Thread David Robley
hanks ahead of time! > > Rick If you have logging enabled 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 FO

Re: [PHP] Function not found

2001-10-29 Thread David Robley
so if you have an earlier version you 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://ww

Re: [PHP] \n's

2001-10-29 Thread David Robley
> eregi_replace("\\n", "", $foo); and > eregi_replace("\r", "", $foo); with no luck. > > Am I missing something when using ereg on special characters? > > > Justin French What about $newfoo = eregi_replace("\n", "",

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

2001-10-29 Thread David Robley
esident, I have to say that I think most of the Aotearoans should 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 AUSTRALI

Re: [PHP] table troubles

2001-10-30 Thread David Robley
> Physical inserts newlines into the text 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

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

2001-10-30 Thread David Robley
; -Kevin Backslash works for mysql. Have a look at the addslashes (for putting into Oracle) and stripslashes (for displaying data retrieved) functions, also the magic_quotes settings in your php.ini. -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIE

Re: [PHP] show png in the browser

2001-10-30 Thread David Robley
t; hard disk this image. > > I 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 INJUR

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

2001-10-30 Thread David Robley
> > sc Er, want to be a little patient? That is three requests in seven minutes? Your query is probably broken - do some error checking after your database call with mysql_error() and see what the problem is. Guess; the table name. -- David Robley Techno-JoaT, Web Maintainer, Mail L

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

2001-10-30 Thread David Robley
the table name. That's what I meant - but I 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. is futile is inevitable -- PHP General Mailing L

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

2001-10-30 Thread David Robley
, you'll need to set up 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 cr

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

2001-10-30 Thread David Robley
ke Since 4.06, according 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

Re: [PHP] I rest my case

2001-10-30 Thread David Robley
AddType application/x-httpd-php .php .php3 .html which tells apache to use php to parse files with extensions 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 gr

Re: [PHP] Re: I rest my case

2001-10-30 Thread David Robley
ch should both be in the same relative position 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 Flinder

Re: [PHP] Re: I rest my case

2001-10-30 Thread David Robley
otherwise what > you're saying is that the AddType isn't being executed if the > 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

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 wa

Re: [PHP] text into web db interface

2001-10-31 Thread David Robley
say tabs as cell separators, EOL as row separators, but you would 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 unhap

Re: [PHP] sending email to php script

2001-11-01 Thread David Robley
produce an executable called, strangely, php. I think there are a few lines in the docs about it somewhere in the compile section. -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA "I th

Re: [PHP] Math Script

2001-11-04 Thread David Robley
thingy in there.$products->Fields("itm_aship")?> > > Could I do this > 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 Tech

Re: [PHP] mysql table information

2001-11-04 Thread David Robley
g through 1000's of lines of > phpMyAdmin code :) > Justin You might want to have a look at mysql_field_name and mysql_field_type. 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, Mai

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 f

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

2001-11-04 Thread David Robley
ion(?) but I just cant get it to send > mail! > > Thanks. I 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

Re: [PHP] help with Auth in Apache

2001-11-08 Thread David Robley
s, including / ... how can > I do this? > > thanks... If you mean only being able to ftp 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 STUDIE

Re: [PHP] Append to STDIN

2001-11-08 Thread David Robley
TDIN be a PHP variable, that is because I want to make > the updates over 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

Re: [PHP] php newbie - need advice

2001-11-11 Thread David Robley
ted. > > here's the site so you can see what i'm talking about: > http://your-az-realtor.com Out 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-J

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

2001-11-11 Thread David Robley
les; in which case the answer is a qualified 'yes' - qualified because earlier 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 L

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

2001-11-11 Thread David Robley
pping is a common way of doing 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 corn

Re: [PHP] fopen and paths

2001-11-12 Thread David Robley
y that > the logging.inc file is added to. > > Can anyone help? > 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

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

2001-11-12 Thread David Robley
c on your system - it makes a fair 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 vendin

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

2001-11-13 Thread David Robley
md"); > > > > It seems weird to have use months possibly greater than 12 ($adv =3D = > $cmonth + 6;), but hey... it works. It is documented for mktime - it says '...it will automatically calculate the correct value for out of rnage input' and the examples include o

Re: [PHP] newbie question about odbc_connect

2001-11-13 Thread David Robley
/install.configure.php#install.configure.data bases There are several odbc options - I don't know which 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

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

2001-11-13 Thread David Robley
atement, it fails. Is what I want to do > > against > > the > > > rules? I'm converting an ASP script I have to PHP and I have it all > > working > > > under ASP. That means it should be eaiser with PHP right? ;-) > > Thanks in advance. > > > > ...Brad

Re: [PHP] fopen and paths

2001-11-13 Thread David Robley
t; It seems (to me) 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-

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

2001-11-13 Thread David Robley
s Subway", "Her har du ditt > passord: $myrow["id"] \n God appetitt! Hilsen Subway"); 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

Re: [PHP] PHP 4.0.6 $PHP_SELF empty?

2001-11-14 Thread David Robley
hp.ini was updated? Check umm, I think it is register_globals -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA "I flatly deny this," said Tom under pressure. -- PHP General Mailing List (http

Re: [PHP] gd-lib and libjpeg issues

2001-11-14 Thread David Robley
-xpm-dir=/usr/X11R6 This assumes that you have freetype2 installed along with the libjpeg and libpng libs under /usr -Rasmus Keep 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

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

2001-11-18 Thread David Robley
c++-3.0.1-3 > compat-egcs-c++-6.2-1.1.2.16 > libsigc++-devel-1.0.3-5 > > Thanks a lot > > roy > -- > Roy Sigurd Karlsbakk, MCSE, MCNE, CLS, LCA > > Computers are like air conditioners. > They stop working when you open Windows. Do you have appropriate permissions i

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

Re: [PHP] MySQL INSERT

2001-11-18 Thread David Robley
he value I > inserted). > > > Any ideas? > > > Justin French mysql_insert_id is your friend, in this case. Even 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 identifie

Re: [PHP] MySQL INSERT

2001-11-18 Thread David Robley
essentially, if you do mysql_db_query($DB, 'INSERT INTO blah'); $newid = mysql_insert_id(); you can be assured that the $newid will be the ID of the record inserted by the previous line, notwithstanding that forty other people are inserting new records almost simultaneously. -

Re: [PHP] configure problem

2001-11-19 Thread David Robley
t; MySQL-3.23.44 and PHP-4.0.6. I 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 i

Re: [PHP] IP Address Converted to Computer Name

2001-11-19 Thread David Robley
flaw in your logic in the code snippet above :-) What you are saying 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

Re: [PHP] IP Address Converted to Computer Name

2001-11-19 Thread David Robley
into my mail() script. Sorry 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 Na

php-general@lists.php.net

2001-11-19 Thread David Robley
> not to be the case with GET variables passed 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

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 - > > &g

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

2001-11-19 Thread David Robley
haven't seen anything like 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 C

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

2001-11-19 Thread David Robley
ng text. Even though the r+ > >> option is supposed to put the pointer at the beginning of the file > >> and add to it as > >> opposed to overwriting it doesn't seem to be working for me. > >> > >> What am I doing wrong? > >> > >> I

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

2001-11-19 Thread David Robley
by using file() to read the file into an array, then adding that array to the array of stuff you want at the beginning of the file and then writing the whole array out to file; that way you only have to do one fopen. I dunno how you would do it in PERL, but the principle is the same at the coa

Re: [PHP] encrypt and decrypt functions kaput

2001-11-20 Thread David Robley
mething wrong? > > Thanks If you 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

Re: [PHP] Piping into script...

2001-11-20 Thread David Robley
nd make sure that you don't have say several 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

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 a

Re: [PHP] Missing PHP.ini

2001-11-22 Thread David Robley
a script to see where it expects to find the ini file to be, then put one there, if you need other than the default settings. -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA Brain fried - core dumped.

Re: [PHP] SQL in Function

2001-11-22 Thread David Robley
this function in an while loop > > > > (I translated it into english so maybe some mistakes!) > > When i try to call the function i get a mysql error every time, even > when i make $resultactive ("SELECT * FROM EIAProjecten") // NO DATE > > 1. Is it possib

Re: [PHP] strip php out of html

2001-11-22 Thread David Robley
much luck. > > Any ideas.. > > Regards, > > Joseph It sounds like you want to capture the output of the script - so you just end up with what you would see in View Source??? Is this a one off thing, or what exactly is the problem you are trying to solve? -- David Robley

Re: [PHP] MySQL query problem!

2001-11-22 Thread David Robley
t() system call. # It may be that you don't have crypt on your system; also, you might want single quotes around the ENCRYPT and double quotes to delimit the string and salt, thus: VALUES ( 'henri', 'ENCRYPT("diesel","henri")' )"; -- David Ro

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 200

Re: [PHP] mailing list script?

2001-11-25 Thread David Robley
ut how to separate message header and text and then temporary > store it and then put it into database for future use. > > Thank you, > > Youri http://www.w3.org/Protocols/rfc822/rfc822.txt STANDARD FOR THE FORMAT OF ARPA INTERNET TEXT MESSAGES -- David Robley Techno-JoaT, Web Mainta

Re: [PHP] Pulling information out of a MySQL database

2001-11-25 Thread David Robley
ris box with PHP 3.0.16 and MySQL > 3.23.31 > > Thanks Presumably each event will have a unique ID? Then pass that ID as part of the URL on the link for the detailed information, and use the ID to select the detailed information. -- David Robley Techno-JoaT, Web Maintainer, Mail Lis

Re: [PHP] Updating Timestamps

2001-11-26 Thread David Robley
of 1970 to sometime in the year 2037, with a resolution of one second. Values are displayed as numbers. -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA WWhhaatt ddooeess dduupplleexx mmeeaann?

Re: [PHP] Why doesn't this work? HTTP_USER_AGENT

2001-11-26 Thread David Robley
- > > > I copy & pasted your code onto a test HTML page and modified the mysql > commands to appropriately connect to my MySQL server. There was > absolutely no problem with this code at all. What version of PHP are > you using? Just about to do that but he saved me the effort

Re: [PHP] Updating rows in a MySQL database with PHP

2001-11-27 Thread David Robley
rsing error from PHP, all the pages display as if the > update had taken place. > > Can anyone see what I'm doing wrong? > > This all seemed like a good way of learning PHP and MySQL, it's just > leading to further hair loss! > > Oh, and I'm sorry if this r

Re: [PHP] Installations of PHP and Apache Web Server for AIX Version 4.3

2001-11-28 Thread David Robley
ource and php source ? > Is Any the best practise of guide installation ? You might want to get the latest PHP, 4.0.7 -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA Never eat prunes when you'

Re: [PHP] MySQL to Excel with mutiple sheets

2001-11-28 Thread David Robley
it.org/search.asp?page=49&s=ALLFILES > > > > Way beyond my capabilities and patience. :) > > Eugh > > Hrm, well ... it can be done at least. We just need someone to require > it be done :) > s/require it be done/want to do it ;-) -- David Robley

Re: [PHP] PHP Authentication

2001-11-29 Thread David Robley
you have a match and they can enter; if not, they aren't allowed in. You may need to pass the authorisation aacross scripts - you could use a cookie, hidden field, sessions -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders Univ

Re: [PHP] newbie: Supplied argument is not a valid MySQL result..?

2001-12-03 Thread David Robley
['fname']; > $lname = $row['lname']; > > $option_block .= "$lname, $fname"; > } > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > The mySQL query that is executed returns a result set when I use the > mySQL shell, and the connection string is valid. If someone could > advise me as to

Re: [PHP] Pull from mysql_fetch_array at a given time

2001-12-03 Thread David Robley
itle', something like this might do the job: $gethot_result = mysql_query ($gethot_query) or die ("Cannot get hot items! Error: " . mysql_error()); while ($gethot_row = mysql_fetch_array ($gethot_result)) { extract($gewthot_row); $your_array[] = $title; } and here you have

Re: [PHP] Re: MySQL ORDER BY or PHP Sort? Oops.

2001-12-03 Thread David Robley
y > suggested (and which I have tried), well, it doesn't work, because the > series must be sorted in a non-alphabetical way. If you make the series field an enum type, it will sort in the order in which the values are inserted Put them in the order Baby>Genesis>Super>Predato

Re: [PHP] phpinfo() returning Zero Sized Reply

2001-12-04 Thread David Robley
info(); > >?> > > > >Zliy Pes, http://www.zliypes.com.ua > >- Original Message - So do a "View Source" - if you see in your source then your server is not correctly configured to parse php. -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin,

Re: [PHP] Simple Question: PHP, MySQL, HTML Form and NULL

2001-12-04 Thread David Robley
I should use so that when the > field is empty, "NULL" will be entered into that table field? > > Thank you, Shawna If memory serves me correctly, you need to test for an empty variable; if empty, assign it the value NULL (no quotes around it!) -- David Robley Techno-

Re: [PHP] mysql update query

2001-12-04 Thread David Robley
ote that you do not put single quotes around the values you assign to non-char type fields. It is useful to use mysql_error() after a call to the db where you encounter problems. -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders Univ

Re: [PHP] Mac OSX and MySQL

2001-12-04 Thread David Robley
ne tools, but I'm not sure which > one[s] to use. I don't understand? -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA Friends come and go, enemies accumulate. -- PHP General Mailing List (http

Re: [PHP] PHP + MySQL problem (strange behavior)

2001-12-05 Thread David Robley
ut when I run it from the MySQL command line, copy/pasted from the > code, it sets the value of starttime to 30 as expected. > > Anyone have any clue why this is? mysql_error() is a good debugging tool; it will return an error string that may be useful. -- David Robley Techno-JoaT,

Re: [PHP] PHP outside HTML

2001-12-05 Thread David Robley
for > OUTSIDE HTML. Please advise. Thanks. > Among other uses, it makes your source code easier to read in a 'View Source'. -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA "I'm

Re: [PHP] Problems producing an image

2001-12-05 Thread David Robley
t; > Phpinfo() shows that PHP was compiled with: --with-gd, --with-jpeg-dir > and --with-png-dir, among others. Why then am I not able to see any > image? Try taking the header line out; that way if there is an error message you should be able to see it in 'View Source'. -- Dav

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

2001-03-22 Thread David Robley
very much for any hint... > > Greetz, > Kilian You saty the _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 RESEA

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

2001-03-22 Thread David Robley
wordview, or alternatively 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. --

Re: [PHP] writing to a file

2001-03-22 Thread David Robley
he Filesystem section of 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 A

Re: [PHP] security

2001-03-22 Thread David Robley
doing a 'view source' on signup.html will reveal it. -- David Robley| WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders Un

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