Re: [PHP] File upload - ascii format

2001-02-06 Thread David Robley
mit" value="Upload File"/p /form I think it may be how you specify the enctype? - Shane A quick search turned up this URL: http://www.w3.org/TR/REC-html40/interact/forms.html which seems like a good start point - I'm going to peruse it myself and see what I come up with

Re: [PHP] File upload - ascii format

2001-02-06 Thread David Robley
On Wed, 7 Feb 2001 13:58, David Robley wrote: On Wed, 7 Feb 2001 13:42, Shane McBride wrote: How can I ensure that a file is transferred in ascii mode using the following: form enctype="multipart/form-data" method="post" action="do_upload.php" p

Re: [PHP] [newbie] minor trouble with while, list and explode from a text-file

2001-02-06 Thread David Robley
ine 43 is important! Alternatively, you could use str_replace to change the ' | ' (that's space pipe space) to BR Cheers -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] Header Location Question

2001-02-06 Thread David Robley
kchart.asp?symb= . $symbol'; header ("Location: $url"); } ? If you are going to use header, you _must_ make sure that nothing is output to the server, not even white space or blank lines, before the header function is called. -- David Robley

Re: [PHP] image* functions won't work.

2001-02-06 Thread David Robley
work'? Are there error messages? Create a document with just ?php phpinfo() ? in it and see if in fact GD support etc are enabled in PHP -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] UN-Escaping text from a form submit?

2001-02-07 Thread David Robley
meDesign addslashes and stripslashes are the functions you need. -- 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] Compiling php??

2001-02-07 Thread David Robley
information. -- 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

Re: [PHP] indexing text

2001-02-08 Thread David Robley
tp://search.mnogo.ru/ -- 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 Genera

Re: [PHP] Web Based Project Management Tools

2001-02-08 Thread David Robley
? http://www.stonekeep.com/keystone.php3 It and some others are listed on the projects page of your favourite PHP mirror. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] Search replace text

2001-02-11 Thread David Robley
{ $line = fgets($file, 255); if(eregi($oldemail, $line, $out)) { str_replace($oldemail, $newemail, $line); You need to assign the output of this function to a string: $new_line = str_replace($oldemail, $newemail, $line); } echo $li

Re: [PHP] Newbie: Images refs not loading (Broken Icons) How to?

2001-02-12 Thread David Robley
char(255), PRIMARY KEY (id) ); ---- Date as a _text_ field? You'll never have a Year 20 bug problem :-0 -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/

Re: [PHP] Using php as a shell scripting language

2001-02-12 Thread David Robley
-vars=yes --enable-bcmath=yes --bindir=/web/webdocs/cgi-bin -- 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] Build HREF list from database???

2001-02-12 Thread David Robley
= mysql_db_query($database, $sql, $link_id); /* put a die on the above or better use mysql_error */ $i = 1; //initialise counter while($row=mysql_fetch_array($result)){ extract($row); echo "a href=\"$path\"$i/abr"; $i++; } -- David Robley| W

Re: [PHP] SELECT statement

2001-02-12 Thread David Robley
u normally separate the required fields with a comma, so $sql="SELECT id, email FROM table WHERE user='$user' and pass='$pass'"; would work, assuming id and email are fields in the table 'table'. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR IN

Re: [PHP] GD library

2001-02-13 Thread David Robley
for the include 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, ADELAIDE, SOUTH AUSTRALIA -- PHP

Re: [PHP] Newbie -- tutorial exercises reveal too much -- pdf download not saveable

2001-02-13 Thread David Robley
Also, see the php.ini file if you have access to it for how to define a search path for include files. As for downloading the manuals, try right clicking and choosing the 'Save Link as' function - or however it's called under Exploder. -- David Robley| WEBMASTER Mail

Re: [PHP] mysql_error() not really helping

2001-02-13 Thread David Robley
the line of code, and I don't know where is the error, unless I start printing everything on error handling. There is a PHP constant __LINE__ which you may find useful. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http

Re: [PHP] Line Break

2001-02-13 Thread David Robley
line break you need to use BR, and you can use a series of nbsp; to mimic a tab. There are better ways of handling this using CSS. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] Paging results

2001-02-14 Thread David Robley
and leave out the require at the beginning. You'll need to hack it around a bit (lot?) to suit your circumstances, but the code to keep track of where you are is in there. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http

Re: [PHP] error handling

2001-02-14 Thread David Robley
the error, then test for the error. @ should prevent the display of the error message. -- 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] Can I launch an external program from a php script?

2001-02-14 Thread David Robley
. If not, has anyone ported PGP over to PHP?? (That's a lot of Ps!) Thanks for your help! Wyatt Program execution functions - exec or system might be what you need. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au

Re: [PHP] Editor with line counter for WIN95

2001-02-15 Thread David Robley
. -- 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 List

Re: [PHP] MySQL COUNT Won't Work

2001-02-18 Thread David Robley
... -- 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 List (http

Re: [PHP] search engine

2001-02-18 Thread David Robley
will have more support for this app. http://www.mnogosearch.ru/ -- 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] check all values in HTTP_GET_VARS

2001-02-18 Thread David Robley
it is an array, you could use sizeof to determine the number of elements and go from there. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http

Re: [PHP] Exec issue

2001-02-18 Thread David Robley
the shell? -- 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] Sum function

2001-02-18 Thread David Robley
query = "select sum(time_tested) where course_name = $course_name"; because in that query $course_name should be enclosed in single quotes if it is a char type field. Second issue -- will the $total_time value be calculated correctly based on the above s

Re: [PHP] Pop-up warning dialog box

2001-02-18 Thread David Robley
and does the dialog box bit. But don't forget a) user may have js turned off and b) don't rely only on client side validation - recheck the data server side prior to processing it. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http

Re: [PHP] Trying to do a CVS import

2001-02-18 Thread David Robley
? Unless I'm totally offbase, I have to be 'in' the directory I want to import. Since I can't do anything like a cd from PHP, what do I do? Thanks, Chris Does chdir() not work for you? -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES

Re: [PHP] Multiple Selection.

2001-02-18 Thread David Robley
iple inputs? I tried array, but it seems not working. Please help. Thanks. I think you need to name the list as an array thus: select name="category[]" multiple size="4" Then your receiving script can parse category as an array of the chosen elements. -- David Robley

Re: [PHP] File Locking in PHP.

2001-02-19 Thread David Robley
time for the same purpose (writing). Thanks, The flock() function in PHP seems to do pretty much what you are looking for - it allows setting a shared or exclusive lock and you can control blocking while locking (at least according to the manual!) -- David Robley

Re: [PHP] Getting values for posted form in HASH array rather than just variables.

2001-02-19 Thread David Robley
the Variables chapter 7) HTTP_POST_VARS and HTTP_GET_VARS will be the ones you are looking for - oh and possibly HTTP_COOKIE_VARS. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] mail()

2001-02-19 Thread David Robley
end = mail("$address", "$subject", "$body.", "$headers \nContent-Type: text/plain; Someone else pointed out the full stop :-) charset=iso-8859-1\nContent-Transfer-Encoding: 8bit" ); print ("$mailsend"); -- David Robley| WEBMASTER

Re: [PHP] mysql problem

2001-02-19 Thread David Robley
: parse error near 'auto_increment,name varchar(255) )' at line 1 Any idea why It's driving me nuts.. Gfunk - http://www.gfunk007.com/ Is the version of Mysql on the production box an older one? autoincrement is comparatively new, I think. -- David Robley

Re: [PHP] fread strangeness (was: nested echo and includes, mixed html / PHP)

2001-02-19 Thread David Robley
jaxon eval() is possibly what you need. -- 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] Help with prev, next

2001-02-19 Thread David Robley
u step off the stairs then you could be anywhere in relation to the stairs, even out side the building. Hmm, that's not a real good analogy - someone else? -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ A

Re: [PHP] header

2001-02-19 Thread David Robley
you need to use a full URL. For more information on how raw http headers work, see http://www.w3.org/Protocols/rfc2616/rfc2616 -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: FW: [PHP] httpd.conf question...

2001-02-20 Thread David Robley
On Wed, 21 Feb 2001 07:56, Brandon Orther wrote: Hello, Is there a way to make an .htaccess file to make the server not time out when uploading a file? Thank you, http://www.php.net/manual/en/configuration.php -- David Robley| WEBMASTER Mail List Admin RESEARCH

Re: [PHP] Problems with Mail

2001-02-20 Thread David Robley
On Sat, 17 Feb 2001 05:40, Chris Anderson wrote: I use the php mail function in this file, but it only sends the first line of the text. Any ideas? I attached the file The mailing list stripped your attachment - perhaps you could paste it into your message? -- David Robley

Re: [PHP] fopen problem... maybe?

2001-02-20 Thread David Robley
detail. 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, ADELAIDE, SOUTH AUSTRALIA -- PHP General

Re: [PHP] Problems with Mail

2001-02-20 Thread David Robley
e MTA, even if the MTA drops it on the floor. SNIP more code Failing that, you might need to look carefully at the actual content of the message - not getting any unexpected characters or somesusch??? -- David Robley| WEBMASTER Mail List Admin RESEARCH

Re: [PHP] % Help

2001-02-20 Thread David Robley
t more colours, just increase the number of values in the array and adjust $how_many_colors accordingly. Cheers -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://ause

Re: [PHP] Why Arrays in Forms? ( Was Accessing variables from a form )

2001-02-21 Thread David Robley
' $value = 'C' print $value and get a result other than C -- 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] array headaches

2001-02-21 Thread David Robley
t;".$subarray["url"]."\"".$subarray["name"]."abr\n"; } is there any better way of doing this?? thanks M@ Why do you need to put the values in an array, then read through the array to print the values? Why not just print eac

Re: [PHP] Adding new data at beginning.

2001-02-22 Thread David Robley
ete, rename the temp file to the original. The 'while condition not met' is the test you use to determine when you get to the part of the file where you want to add your bits. Cheers -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR IN

Re: [PHP] Obtaining a value from dynamic list box

2001-02-22 Thread David Robley
y defines each course_name record - then you could use the course_id as the VALUE in the option tag; you may have to do a lookup at the INSERT stage to get the value of course_name. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STU

Re: [PHP] select name=....

2001-02-22 Thread David Robley
un Rentals [EMAIL PROTECTED] I think you are asking how to show the selected value? Something like OPTION VALUE="Canberra" ?php if ($value == 'Canberra') { echo ' SELECTED '; } ACT/OPTION -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJ

Re: [PHP] mail prob

2001-02-22 Thread David Robley
racy or validity of the address entered. But that's a whole different question - search the archives for info on validating email addresses. And somebody has published a class somewhere? -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR

Re: [PHP] Can't connect php to mysql on linux

2001-02-25 Thread David Robley
e asap. Regards, George Use mysql_error() after your unsuccessful call to mysql_connect to return a mysql error string -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] php.ini

2001-02-25 Thread David Robley
m PHP under Windows. -- 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

Re: [PHP] switch statement

2001-02-25 Thread David Robley
are possibly useful over and above the actual documentation. -- 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] switch statement

2001-02-25 Thread David Robley
it doesn't fall through to the next case case 'update: // Your update stuff here break; case default: // The page has somehow been called without a value (or an // inappropriate value) for submit // Error handling or whatever here } Does that make it clearer? or muddier :-) -- David Robley

Re: [PHP] include file

2001-02-25 Thread David Robley
. However, I don't know why all the variable cannot display in the function.php3. would anyone please to tell me what is the reason and how I can solve it? You may need to declare the variables global within the function, or pass them as arguments to the function. -- David Robley

Re: [PHP] PHP4 directives in httpd.conf not working

2001-02-25 Thread David Robley
definitely exists. What am I doing wrong? Regs Brian White PHP4 uses different Apache configuration directives (see http://au.php.net:81/manual/en/configuration.php ) I think the one you want is probably php_value so php_value include_path "/my/phpinc/path" might work. -- Davi

Re: [PHP] archive location

2001-02-26 Thread David Robley
- marc.theaimsgroup.com or check /support.php at your local PHP mirror for direct links to all the mail list archives. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http

Re: [PHP] Walking Through Mail Headers

2001-02-26 Thread David Robley
and do the necessary. If the latter, you'll need to check the relevant RFCs to determine how messages are separated in the spool, and how the body of the message is separated from the headers - I'm fairly sure that's two newlines. RFC1822 from memory? -- David Robley

Re: [PHP] PERL to PHP

2001-02-26 Thread David Robley
the toggle endif if (toggle) print line endif endwhile close file The code is left as an exercise for the student :-) Cheers -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] Weird Problem

2001-02-26 Thread David Robley
ed Hat 6.2 (I hate redhat, but the bossman says its better supported than slakware. bah.)) Thank you all for your help. steve Is it possible that the || construct doesn't work in the way you are using it and thus you aren't seeing mysql_error? The most common examples I have seen use the actual string

Re: [PHP] redirect pages

2001-02-26 Thread David Robley
ace _anywhere_ before issuing the header. -- 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] redirect pages

2001-02-26 Thread David Robley
On Tue, 27 Feb 2001 15:15, David Robley wrote: On Tue, 27 Feb 2001 14:58, Peter Houchin wrote: can some one offer a suggestion please ... i have a if ($update) { $result=foo; } in that if statement i want to redirect them to another page after it has processed the result .. i

Re: [PHP] Help Needed Please

2001-04-03 Thread David Robley
might be the place to start - what do you get when you view the source?? ? } ? input type="submit" name="submit" value="Submit" snip -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.n

Re: [PHP] Help Needed Please

2001-04-03 Thread David Robley
WHERE id='' which is that last record in the db .. so for some reason it's not picking up any id numbers : OK - how are you passing (or trying to pass) the value for id? When I do this, I usually show the ID for each record as a link, and pass the ID via the link.

Re: [PHP] how to return strings from functions?

2001-04-03 Thread David Robley
(){ $result = '1234 - the number'; return $result; } $res = smth(); echo $res; The output is 1234 - the number What else is in your script? -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] Emails from database...

2001-04-04 Thread David Robley
mail, and if you comma separate the list of email addresses, and put the mail function outside the loop, and there aren't too many mails for your MTA, you might have some success. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY ST

Re: [PHP] insert into multiple tables

2001-04-04 Thread David Robley
=5 /*More code down here...*/ Try using mysql_error() instead of the 'die' so you get an error message back from mysql. My guess is that you are attempting to insert strings into integer fileds. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE

Re: [PHP] headers passthru()

2001-04-04 Thread David Robley
ssthru" command. To make sure I placed a call to headers_sent() before passthru() and it returned false, after passthru() it returns true. Any ideas what to do? Thanks a lot nikolai php -q should prevent headers being produced. php -h for any other help. -- David Robley

Re: [PHP] Emails from database...

2001-04-05 Thread David Robley
is wrong here - see the example in the docs for mysql_fetch_array $email .= $try . ";"; and multiple addresses are separated by comma } mail("$email", "My Subject", "Line 1\nLine 2\nLine 3"); It might be wise to just echo what you are proposing

Re: [PHP] YourName.BEST321.com FREE§K¶O°ì¦W !!!!!

2001-04-05 Thread David Robley
] "YourName.BEST321.com" FREE KOW ! Hrm - I got three of these, one via php-general, one via the mirrors list and one direct to an address that isn't the one I use for php-general (although it might be the mirrors one). Hate spammers. -- David Robley| WEBMASTER Mail

Re: [PHP] How can I chmod something with php.

2001-04-05 Thread David Robley
On Fri, 6 Apr 2001 05:45, Brandon Orther wrote: Hello, I have been looking for a chmod command in the ftp functions, and there isn't any. how can I chmod something? thanks Brandon I think you need ftp_site() -- David Robley| WEBMASTER Mail List Admin RESEARCH

Re: [PHP] mystery line

2001-04-05 Thread David Robley
everything is OK. What is the parser seeing that I'm not? M. If you change that to: print "pTID detail view - Document #b$id/b/p"; it should work; It's probably getting confused by the php open/close tags in the middle of a set of php tags. -- David Robley

Re: [PHP] mystery line

2001-04-05 Thread David Robley
ument #b$id/b/p"; Ofcourse, I've seen that all the time - and yet ... oh well ... a bug in the carbon based part of the system I suppose. Thanks, Martin S. That's PWCKI or Problem With Chair to Keyboard Interface :-) -- David Robley| WEBMASTER Mail List Admin RESEAR

Re: [PHP] This loop is screwed up totally. Why o why o why....

2001-04-08 Thread David Robley
;; } } //End While ? Is it possible that you don't hve a matching image for the last item? -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.ed

Re: [PHP] This loop is screwed up totally. Why o why o why....

2001-04-08 Thread David Robley
try it "David Robley" [EMAIL PROTECTED] wrote in message 01040914213301.26561@www">news:01040914213301.26561@www... : On Mon, 9 Apr 2001 13:56, you wrote: : Hi I have a feild in a MySql database called features. It is : delimited by | the line above the \ key. : Any

Re: [PHP] This loop is screwed up totally. Why o why o why....

2001-04-09 Thread David Robley
is interferring with the loop. This is a nightmare. Freddy would love this. YoBro Hrm; is it then possible that the problem is not within _this_ loop, but perhaps the loop wherein you get the stuff from the DB. Perhaps if you could share the [full/more of the] script?? "David Robley&qu

Re: [PHP] Array Sort?

2001-04-09 Thread David Robley
^_^ You might have to use usort and build a little case-insensitive sort routine yourself. Remember that ASCII A + 32 = ASCII a and so forth. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] populating dropdown list problems

2001-04-09 Thread David Robley
erencing the field values as $a_row["owner"] to avoid possible ambiguity; owner without the quotes could be a constant. Also, you can use extract to get the row values and stick them in variables named as the field names - makes your code a bit easier to read. -- David Robley

Re: [PHP] while loop

2001-04-09 Thread David Robley
oding to the query. Is there anything that do teh same in PHP?? cheers While - have a look at the example for mysql_fetch_array for the concept. If you aren't using mysql, check the functions for the DB you are using for specific examples. -- David Robley| WEBMASTER Mail

Re: [PHP] last three characters of a string

2001-04-09 Thread David Robley
of a string. You might want to trim the string first if you don't want any whitespace of EOL characters. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http

Re: [PHP] what could cause the maximum execution time exceeded?

2001-04-09 Thread David Robley
time. There is also set_time_limit function that you can use on a per-script basis. Check the docs for more info. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http

[PHP] Re: Schedule tasks from server

2008-02-07 Thread David Robley
in the timing of the jobs, try www.webcron.org/ Cheers -- David Robley What if there were no hypothetical situations? Today is Pungenday, the 38th day of Chaos in the YOLD 3174. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Uploading PDF

2008-02-14 Thread David Robley
:'; print_r($_FILES); print /pre; ? Thanks, The error number tells you what is happening - check the values at http://php.net/manual/en/features.file-upload.errors.php Essentially, the file is bigger than the MAX_FILE_SIZE directive that was specified in the HTML form Cheers -- David Robley

[PHP] Re: Pear

2008-03-03 Thread David Robley
PEAR installed? It might be worth you asking them, via support ticket or forum (if thay have one) whether it is installed and where. Cheers -- David Robley A cat is nobody's fool. Today is Boomtime, the 62nd day of Chaos in the YOLD 3174. -- PHP General Mailing List (http://www.php.net

Re: [PHP] Form Validation Issues

2007-05-26 Thread David Robley
MacArthur who was once known as William Shakespeare :-) IIRC that is from Twelfth Night. Cheers -- David Robley No, I'm from Iowa. I only work in Outer Space. Today is Sweetmorn, the 73rd day of Discord in the YOLD 3173. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Double checking - I should turn off magic quotes

2007-06-06 Thread David Robley
through mysql_real_escape_string. The way you write that makes me hope you understand how mysql_real_escape_string should be used. You do understand that you don't run it on the query, rather on the individual string variables that will be passed to the query. Cheers -- David Robley Moderators

[PHP] Re: Not getting expected result from file()

2007-06-10 Thread David Robley
the newline at the end, the comparison fails. If you have php 5.0.0 you can use the FILE_IGNORE_NEW_LINES flag in the file() arguments, otherwise use trim() to remove trailing whitespace from the array elements. Cheers -- David Robley I hate playing craps, Tom said dicily. Today is Boomtime

Re: [PHP] Re: how PHP is batter?

2007-07-05 Thread David Robley
as crazy as the scots? Oy, speak for yerself, cobber. Even frying in Coopers beer batter couldn't make a mars bar taste like food :-) Cheers -- David Robley A seminar on Time Travel will be held two weeks ago. Today is Sweetmorn, the 40th day of Confusion in the YOLD 3173. -- PHP General

Re: [PHP] Suggestion re: PHP Brain Teasers

2007-07-06 Thread David Robley
... That almost made more sense when ROTed :-) Cheers -- David Robley It's a bloody lion, said Tom categorically. Today is Boomtime, the 41st day of Confusion in the YOLD 3173. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: session_start(): Cannot send session cache limiter...

2007-07-20 Thread David Robley
to be the problem..can anyone share their knowledge on this? I think that saving a file as UTF-8 places two characters at the very beginning of the file; those characters will be passed to the server and cause the error you are encountering. Cheers -- David Robley My hair's been cut off, Tom

Re: Re[2]: [PHP] Pirate PHP books online?

2007-07-27 Thread David Robley
of beer :-) I guess that would have an opening scene with dialog something like: I hope you don't mind me sharing memory while you are processing an array as the processor flicks garbage collected data into /dev/null Cheers -- David Robley Plankton lobbyist: NUKE THE WHALES! Today

[PHP] Re: Re: Rules of Engagement

2007-07-30 Thread David Robley
. FWIW as a sometime mailing list admin I fully support the products or services therein :-) Cheers -- David Robley I like camping, said Tom intently. Today is Sweetmorn, the 65th day of Confusion in the YOLD 3173. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: $HTTP_POST_FILES always produces empty value.

2007-07-30 Thread David Robley
. Unless you are using an old version of php 4.1.0 you probably should use the $_FILES array instead of $_HTTP_POST_FILES Try that and see what happens. More info at http://php.net/file-upload if you need it. Cheers -- David Robley Oxymoron: Working Vacation. Today is Sweetmorn, the 65th day

Re: [PHP] javascript in head or in body ?

2007-08-12 Thread David Robley
-- David Robley This isn't hell, but I can see it from here. Today is Prickle-Prickle, the 5th day of Bureaucracy in the YOLD 3173. Celebrate Zaraday -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Data request

2007-09-26 Thread David Robley
said :-) Cheers -- David Robley A cat is a four footed allergen. Today is Prickle-Prickle, the 50th day of Bureaucracy in the YOLD 3173. Celebrate Bureflux -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Printer Friendly

2006-08-02 Thread David Robley
going to accomplished it in php ? Thanks You don't do it with php - you use css and html. Cheers -- David Robley I'd like some Chinese food, said Tom wantonly. Today is Prickle-Prickle, the 68th day of Confusion in the YOLD 3172. -- PHP General Mailing List (http://www.php.net

[PHP] Re: looking for a short/simple kind of app...

2006-08-07 Thread David Robley
that i can play around with... thanks -bruce This is probably a good starting point: http://www.sitepoint.com/article/hierarchical-data-database/3 and also, but you'll have to write your own script http://www.dbazine.com/oracle/or-articles/tropashko4 Cheers -- David Robley I like

Re: [PHP] List Meeting NNOT

2006-08-11 Thread David Robley
inflate the tyres enough to keep it afloat... Cheers -- David Robley Words are not food, though sometimes we must eat them. Today is Pungenday, the 4th day of Bureaucracy in the YOLD 3172. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Re: Frustrated trying to get help from your site

2006-09-25 Thread David Robley
but unfortunatly for the false OS. I was already thinking on coding a linhelp program, but it seems there is one but I have not found it. I like to have html files which I can put on my internal documentation server. xchm is probably what you are thinking of - xchm.sourceforge.net Cheers -- David

[PHP] Re: Re: Re: Frustrated trying to get help from your site

2006-09-27 Thread David Robley
like me (I have an 88-tons MAN-SuperTruck as MotorCaravan) you wil not have Internet Access all the time. OK, I have GlobelSat but it is quiet expensive because I pay for the traffic. 88 tons!! Point us to an image of that please. Cheers -- David Robley I'd love some Chinese food, said Tom

[PHP] Re: Re: Re: Frustrated trying to get help from your site

2006-10-03 Thread David Robley
Michelle Konzack wrote: Am 2006-09-27 17:39:25, schrieb David Robley: 88 tons!! Point us to an image of that please. Currently not availlable but it is an ex Pershing II Transporter from the US-Army manufactured by the german Enterprise MAN. You surely don't mean the tracked vehicle

[PHP] Re: Test

2006-10-04 Thread David Robley
Sheena Mullally wrote: test Sorry, you failed. Cheers -- David Robley This tag is devoid of any humor. Today is Boomtime, the 58th day of Bureaucracy in the YOLD 3172. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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