[PHP] Re: Mysql Connection

2002-01-29 Thread David Robley
/compiled in. If you are on a *nix system, you may need to recompile with mysql support; if on Windows you need to ensure that the mysql module (dll) is being used. -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

RE: [PHP] MySQL-PHP-RAQ4 dilemma!

2002-01-30 Thread David Robley
have a look in your php.ini, where there are some settings for mysql connections. -- 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

[PHP] Re: wait for existance of a remote file.....

2002-01-30 Thread David Robley
? Offhand, I'd say a cron job trying to open the file at regular intervals. But that's almost as open as your question :-) -- 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

[PHP] Re: gd library

2002-01-31 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Hi =) Which version of the gd library comes with PHP? Thanks, -Ed For *nix, it doesn't - you have to go get it yourself. For Windows, - I'll leave that for someone else. -- David Robley Temporary Kiwi! -- PHP General

[PHP] Re: Need Urgent Help!!

2002-01-31 Thread David Robley
help is greatly appreciated!! Billy Well, you are not exactly clear on exactly what it is you want to do, so it might be a bit hard to produce a script to meet your (lack of) specifications. However, you might like to look at the mail() function in the PHP docs for starters. -- David Robley

[PHP] Re: [PHP General] RE: Problems with MySQL-Link [3:14370:14592]

2002-01-31 Thread David Robley
usually means a problem with the query - in fact this might be in the FAQ. Use mysql_error() after the database query to see if mysql returns a useful error. -- David Robley Temporary Kiwi! and wondering how often this piece of advice needs to be given. -- PHP General Mailing List (http

[PHP] Re: mysql

2002-01-31 Thread David Robley
an error message, use mysql_error after the call to the db engine to see whther there is a reported error from mysql. -- 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

[PHP] Re: Plz help w/ query

2002-01-31 Thread David Robley
() . 'BR'; } while ($row_1=mysql_fetch_array($result_1, MYSQL_ASSOC)) { $e_mail=$row_1[e_mail]; echo $e_mail\n; }; mysql_free_result($result_1); mysql_close($connection); exit; ? Thanks! Anthony F. Rodriguez ([EMAIL PROTECTED]) -- David Robley Temporary Kiwi! -- PHP General

[PHP] Re: problems with mt_rand()

2002-01-31 Thread David Robley
find mt_srand which is the tool you need. -- 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]

Re: [PHP] Re: [PHP General] RE: Problems with MySQL-Link [3:14370:14592]

2002-01-31 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Hi! mysql_error returns nothing... The error arrives while selecting the database via: $link = mysql_connect(host,user,passwd); mysql_select_db(bla, $link); echo $link returns always '1'! David Robley wrote

[PHP] Re: destroy session on close?

2002-01-31 Thread David Robley
, and the functions register_shutdown_function() and onnection_aborted(). Seems like they might do what you need. -- 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

[PHP] Re: redirection rather than include()

2002-01-31 Thread David Robley
) inside something as simple as an if/then statement? Thanks! You can use header() to force redirection - ther's a sample in the manual but remember that you can't output anything _at all_ to the browser before attempting to use header. -- David Robley Temporary Kiwi! -- PHP General Mailing

[PHP] Re: Default mysql path

2002-02-03 Thread David Robley
without knowing what system (Windows, *nix etc) and how you installed - eg source. rpm, binary install. -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-INST] Default mysql path

2002-02-03 Thread David Robley
compile has successfully included. -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: HTTP Error 405 using POST method

2002-02-04 Thread David Robley
doing wrong? Looks like IIS is not configured to accept POST requests; confirm by changing to GET and try again. If this is the case you'll need to make some changes to IIS configuration; sorry, can't tell you how or where as I have never used that software. -- David Robley Temporary Kiwi

[PHP] Re: HELP! I was just wondering

2002-02-04 Thread David Robley
of the exit() function in your Switch may not be exactly what you need, either; look at break! -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: problems using an elsif statement on apache php 4.06

2002-02-04 Thread David Robley
your script, my advice would be to check the logic of your program flow; it may be that you are getting into an unexpected loop. -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Funny stiff in my logs

2002-02-11 Thread David Robley
, as there is no log level in the message; apache error log entries seem to have levels like [notice], [warn] etc. So if it is just apache checking for the existence of something, I would venture to say that it might be nothing to worry about, _if_ everything else is working OK. -- David Robley

[PHP] Re: image generation issues

2002-02-11 Thread David Robley
working directory. It certainly isn't relative to the web root. To be absolutely certain, especially if you are likely to call this from anywhere in your web file structure, make the path absolute! -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] Re-Importing .CSV file into Database

2002-02-12 Thread David Robley
directory. -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Increment alphabetical character (simple question)

2002-02-12 Thread David Robley
= chr(ord($oldchar) + 1); should be close to the mark. NB untested!! -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Troubles With Mail Function

2002-02-13 Thread David Robley
a bit suspicious?? Are you sure that is correct? -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP GD - Nevermind! Thanks!

2002-02-13 Thread David Robley
on a common image? Or you might want to build a graph of data? -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Troubles With Mail Function

2002-02-13 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Actually, I don't really know what to put in it. I thought that's what it wanted. What does it want? David Robley [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... In article [EMAIL PROTECTED],

[PHP] Re: php dies every 2 days

2002-02-13 Thread David Robley
that might give a clue? -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Troubles With Mail Function

2002-02-13 Thread David Robley
= 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 315ms, Maximum = 329ms, Average = 321ms C:\WINDOWS so it seems to exist. I suggest you try mail.alienmelon.com as the SMTP entry in your config and see what happens. -- David Robley Temporary

[PHP] Re: Setting up group mailer

2002-02-14 Thread David Robley
. This topic seems to come up quite regularly; if you have a look back over the archives I think you will find that the general opinion is that you should use a dedicated package for mass mailing. qmail/ezmlm is one such package which can use a mysql database if required. -- David Robley

Re: [PHP] searching key words from a database field

2002-02-14 Thread David Robley
into separate words, and then using the list of words to build your query? Perhaps showing your problem code might be useful. -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] searching key words from a database field

2002-02-14 Thread David Robley
($getme_arr[$i]) 0) $sql .= AND `keywords` LIKE '%.$getme_arr[$i].%'; $sql .= ORDER BY `id` ASC LIMIT 0, 30; ? -Original Message- From: Philip J. Newman [mailto:[EMAIL PROTECTED]] Sent: Friday, February 15, 2002 11:27 AM To: David Robley Cc: David Robley; [EMAIL PROTECTED

[PHP] Re: Include file for MySQL insert rows

2002-02-18 Thread David Robley
the format of the text files being created, so why not create them in a format that is usable by the Mysql LOAD DATA INFILE function? -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: help with Header call

2002-02-18 Thread David Robley
the echos will cause an error from header() -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: email body text extraction.

2002-02-19 Thread David Robley
that routes incoming mail to a PHP script that does what you need. You'll probably need to do a bit of research on the relevant RFCs (822 and another that I forget for the moment) to figure out the structure of an email message. -- David Robley Temporary Kiwi! -- PHP General Mailing List (http

RE: [PHP] Help for passing variable to all pages

2002-02-20 Thread David Robley
your server is parsing PHP. If not, more info about your setup would help for troubleshooting. -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Variable problem with a function calling a ext. librairy

2002-02-21 Thread David Robley
to access the value of $co in a function; you'll need to declare it as a global value within the function or pass it to the function as a parameter. -- David Robley Temporary Kiwi! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: foreach not in reach

2002-02-22 Thread David Robley
at a guess, you are/have imported this information from a bibliographic package of some sort? -- 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: php3/php4 difference

2002-02-23 Thread David Robley
for $numresult? Thanks Are you actually using the same database for both queries? Try running the query from the command line on both machines and see what happens. -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: Return values?

2002-02-25 Thread David Robley
that the mail will actually get anywhere; it just means that mail() has successfully passed it on to whatever process is configured to handle mail. -- 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: Writing to files

2002-02-27 Thread David Robley
them that way? -- 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: Re: [PHP] compile php with GD2

2002-03-02 Thread David Robley
Um, lateral thinking here? The same solution that worked for GD should work for Ming In other words, --with-ming=/usr and configure will look under /usr for the lib and include -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://wwwphpnet

[PHP] Re: Using php as a backend bridge between smtp and mysql

2002-03-04 Thread David Robley
script? If so, given that it takes no 'external' information, what happens when you try and run it from the shell? Is it executable by the appropriate level of user? -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: .htaccess settings

2002-03-04 Thread David Robley
settings can only be set from within the main Apache configuration files, and not from .htaccess files. php_admin_flag name on|off This is used to set a Boolean configuration option. -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net

[PHP] Re: Question about fopen()

2002-03-04 Thread David Robley
if it doesn't exist. What is the best way to test if the file was created? Check the return value from fopen; it will be false if the attempt failed. See the manual for more detail. -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: Using php as a backend bridge between smtp and mysql

2002-03-05 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... I got the sendmail part to work, but how do you process a pipe? I just need the variable name of yyy in echo yyy | proc-mail.php On 3/4/02 5:05 PM, David Robley [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED

[PHP] Re: PHP and mySQL

2002-03-05 Thread David Robley
the pointer to the next row in the result set - if this is empty (ie only one row retrieved) then you will get a null result for your while loop as there are no more results to display. Try using mysql_data_seek to return the pointer to row 0 before your while loop. -- David Robley Temporary Kiwi

[PHP] Re: writing to a file

2002-03-07 Thread David Robley
That is correct. You need to load the file into your script, make whatever changes and then write it back. Maybe this is a stupid question, but, i tried the online doc, and saw nothing about this -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net

[PHP] Re: impossible to delete file after 'parse_ini_file'

2002-03-07 Thread David Robley
idea ? greg If you are running on a Unix type system, the user that your scripts run as may not have apropriate file/directory permissions to delete the file. -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: REQUEST QUESTION

2002-03-07 Thread David Robley
know how to do this in PHP. I have one solution using GET method but not with POST. Looking forward for solution to this issue. Regards, karthikeyan. Have you looked at $HTTP_POST_VARS (or $_POST, depending on version) or $QUERY_STRING? -- David Robley Temporary Kiwi! Quod subigo

[PHP] Re: Use an ini file

2002-03-07 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Anyone know of an easy to use library/or code that will read and write an ini file? See parse_ini_file() together with the file handling functions. -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List

[PHP] Re: Use an ini file

2002-03-07 Thread David Robley
it is to create a file based on that structure but with a huge, almost infinite, number of possible entries. In other words, you'll have to roll your own, using the file functions. -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: cal_days_in_month()

2002-03-08 Thread David Robley
these functions to work, you have to compile PHP with --enable- calendar. So it would seem that your server doesn't have the necessary functionality compiled into php. -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: Checking to see what value error_reporting is set at?

2002-03-09 Thread David Robley
In article 00b801c1c714$b4854230$0501a8c0@zaireweb, [EMAIL PROTECTED] says... Is it possible to return what error_reporting is set at currently? If not, think they would be able to throw it into the newest build of php? Thanks, Eric Have a look at the ini_get function -- David Robley

Re: [PHP] Re: Checking to see what value error_reporting is set at?

2002-03-10 Thread David Robley
In article 01ba01c1c7ca$bd95b1f0$0501a8c0@zaireweb, [EMAIL PROTECTED] says... I ment, if you re-set it, as im setting it to error_reporting(E_ALL); depending on a value i get from a db query... -Eric - Original Message - From: David Robley [EMAIL PROTECTED] To: Sent: Saturday

[PHP] Re: PHP based search engine

2002-03-11 Thread David Robley
search engine, available from http://www.mnogosearch.ru/ I recommend you look at this combination. -- 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: Link probleme

2002-03-11 Thread David Robley
? Thanks The page seriefr.php join. You can't post attachments to this list. Please paste the relevant part of your code into your message and send again. -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: Help w/ join syntax

2002-03-11 Thread David Robley
: . mysql_error() ); mysql_error will give you a useful error message which should help you to diagnose your problem. I would guess that one problem is that you are using fieldname.tablename in your query where you should be using tablename.fieldname -- David Robley Temporary Kiwi! Quod subigo

[PHP] Re: get data from query before while loop

2002-03-11 Thread David Robley
; } -- 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: Can no one help with this opendir problem?

2002-03-11 Thread David Robley
the script can grab the images and others not. Can anyone help? Many thanks in advance. NIck -- 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: Multi-Densional Array Sorting?

2002-03-11 Thread David Robley
direction. Uh, whatever you are using to mail doesn't word wrap too well, and my Gravity doesn't tidy up line wrap on quotes, sorry! -- 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: Returning to a Shell Script

2002-03-11 Thread David Robley
how to do this? Thanks in advance If yuou are outputting new line (\n) browsers will not recognise it as a line break; you need to use nl2br() to convert new lines to something that a browser will recognise - BR -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing

[PHP] Re: phpMyAdmin Change Root pwd ... Now no access

2002-03-11 Thread David Robley
What am I missing here...should I juyst remove the password from root= ? You realise that you need to reload mysql so it will read the new grant tables? -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: dl() issues

2002-03-11 Thread David Robley
loadable extensions to load when PHP starts up. -- 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] Error Handling!

2002-03-12 Thread David Robley
for the correct definition. -- 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: getting values from multiple select

2002-03-13 Thread David Robley
values. Help! If you are using a SELECT MULTIPLE you need to name the item as an array, e.g. NAME=multi[] - then loop through the array in the target script to extract the values. Don't forget to either define a default selection or check for 'none selected' -- David Robley Temporary Kiwi

[PHP] Re: Splitting Header and Body of an Email?

2002-03-13 Thread David Robley
of the chop - that strips \r and \n amongst other things -- 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: explode() - quick question

2002-03-13 Thread David Robley
: ?php $mystring = hello; echo $mystring[0]; // outputs h echo $mystring[4]; outputs o ? -- 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: Get row number from mysql

2002-03-13 Thread David Robley
. Can anyone advise me on how I should do this? thanks, Tyler Given that the data is not stored in the table in any particular order (that is likely to be useful to you), perhaps you could add another field which has a value allocated by you that you can use for your purpose. -- David Robley

[PHP] Re: Compile problem

2002-03-14 Thread David Robley
it as a standalone binary as a normal user. Make sure you don't have with-apache or with-apxs in your configure; if they aren't there and it still doesn't work perhaps post your configure command. Assuming this is on *nux. -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List

[PHP] Re: Problem function mail()

2002-03-14 Thread David Robley
: Warning: mail() is not supported in this PHP build in /usr/httpd/cnm/fale.php on line 45 What the problem ? Kleyson Rios. Configure is expecting to find sendmail already installed on your system; particularly it seems to be looking for a specific file and mnot finding it. -- David

[PHP] Re: Help Out A Newbie In Configuring PHP.INI

2002-03-14 Thread David Robley
as you see above I still get the same error. Is the root of the error in the .ini at all? I have feeling of deja vu here. Is alienmelon.com a valid mail server? If not, you need to change it to something that is. -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List

RE: [PHP] gmp_mod support

2002-03-14 Thread David Robley
may have to give a directory path in the configure string if you have gmp (what's gmp) installed in a non-standard place. Do configure --help |frep gmp to see what configure might need. -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net

[PHP] Re: mt_rand()

2002-03-14 Thread David Robley
around a bit with generating random numbers which could be used with chr to return a character. -- 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: Help Out A Newbie In Configuring PHP.INI

2002-03-15 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Uh oh, did I ask this question before? If I did, I'm very sorry. =( David Robley [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Note

Re: [PHP] From: Newman, using and ' or ` in My Sql

2002-03-15 Thread David Robley
column names contain weird characters, spaces for instance, then: SELECT `First Name` FROM Address; And of course single quotes (') should be used to delimit text data being inserted into CHAR type fields. But you knew that, of course. -- David Robley Temporary Kiwi! Quod subigo farinam

[PHP] Re: No Sense: [PHP] Update: [PHP] Weird?

2002-03-16 Thread David Robley
... -- 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: building forms from what the MySQL table looks like

2002-03-18 Thread David Robley
think I can handle :) Thanks in advance, Justin French Have a look at mysql_field_type() from which you should be able to build something along the lines of what you want. You might also peer into the innards of phpMyAdmin, which does the same sort of thing. Cheers -- David Robley

[PHP] Re: Timing PHP

2002-03-18 Thread David Robley
; for instance get the value of time (for granularity by seconds) or microtime at the start and end of the script and calculate the difference. -- 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: permission denied using COPY function?

2002-03-18 Thread David Robley
before. Is the owner the ID that your webserver runs as? -- 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: Problem with strtotime() and 2002-03-31

2002-03-19 Thread David Robley
somewhere Though this wouldnt cause a problem I guess. Thanks again, John Likely the day daylight savings starts :-) Doing bus timetables?? -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: scripting behind the scenes

2002-03-19 Thread David Robley
file. Alternatively, you could if needed have your module and binary pointing at different ini file locations - its a configurable thing. -- 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: [newman] This don't work, if else if

2002-03-20 Thread David Robley
`, `accessUPDATE`, `accessVIEW`) VALUES ('', '$proxy_ip', '$proxy_dns', '$add_date', NOW(NULL), '0'); $result = mysql_query($sql); } ? Seems to me that you are treating accessIP as a string in one and an integer in the other query. -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP

[PHP] Re: Non-Cache in forms?

2002-03-24 Thread David Robley
the previously posted data? My error function looks like so function crapout($msg, $hidden_msg = FASE) { echo($msg); if($hidden_msg != FALSE) { echo('!-- ' . $hidden_msg . ' --'); } exit; } Thanks, Eric Coleman You are aware that exit halts execution of the script? -- David

[PHP] Re: Displaying a 2 column html table with N elements

2002-03-24 Thread David Robley
. -- 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: Non-Cache in forms?

2002-03-25 Thread David Robley
On 25 Mar 2002 at 0:29, [EMAIL PROTECTED] wrote: yes, but i send them back to the previous page and it shows the form... What would be a way around this? - Original Message - From: David Robley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, March 24, 2002 11:39 PM

[PHP] Re: Problem reading in and displaying an image...

2002-04-02 Thread David Robley
stumped. Thanks, Chad You might try just commenting out the Header line and see if there is any sort of error message returned. You might also check that your fopen is successful. Is there any reason why you couldn't just use IMG SRC=www.armytimes.com/images/spacer.gif? -- David Robley

[PHP] Re: how to check if e- mail sending did succeed?

2002-04-08 Thread David Robley
it with 2 other gmx accounts. How can I find out what went wrong? Thanx for any help, Andy It might be bouncing because the return adress doesn't resolve? Check the mailbox for the name that the mail is sent from, admin address and perhaps the log for clues. -- David Robley

[PHP] Re: PHP Email Form

2002-04-09 Thread David Robley
the nl2br - that's only for html -- 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: how to send an email to everone listed in a file

2002-04-10 Thread David Robley
, and mail() to send the message. -- 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: MySQL connection from non-localhost

2002-04-10 Thread David Robley
special that I have to do to get it to work? Thanks, Dave Are the grants of the remote host set to accept anything other than localhost? -- 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: mailing list using mail()

2002-04-10 Thread David Robley
Alternatively you could use the output from your table to feed a userlist to a dedicated mail list package -- 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: mysql

2002-04-10 Thread David Robley
still work with only one record; but of course you could just drop the while and use the 'enclosed' code just once. If you have a particular sample you want to reduce, post it if you need more help. -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http

[PHP] Re: printf

2002-04-10 Thread David Robley
knowing newsgroup number_format() -- 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
INPUT TYPE=\submit\ VALUE=\Do it!\ NAME=\submit\; echo /form; } } } 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
( . $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 Robley Temporary Kiwi! Quod subigo farinam -- PHP

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

2002-04-13 Thread David Robley
In article 000701c1e2a8$d1600ac0$9e75fea9@pcdenis, [EMAIL PROTECTED] says... Hello friends , I cannot enter single quotation marks in fields. Is this a standard feature ? Is there a workaround? I am using mysql + php4 on unix. Thanks Denis Look at addslashes/stripslashes -- David

[PHP] Re: Thumbnail pages - alot of them

2002-06-07 Thread David Robley
efficient method to code that with PHP? any help is appreciated! Thanks, Rory Look into mysql's LIMIT which permits you to define the number of records returned from a query -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net

[PHP] Re: Date functions Unic Epoch

2002-06-09 Thread David Robley
. -- 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: apache/oracle/php

2002-06-11 Thread David Robley
oracle not require you to pass appropriate user/pass when you accces it? -- 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: Email with PHP.

2002-06-11 Thread David Robley
sendmail or equivalent installed when you compiled php, you'll have to reconfigure and recompile php after the mail package is installed. The configure process goes looking for sendmail and if it doesn't find it, no mail functionality is included. -- David Robley Temporary Kiwi! Quod subigo farinam

Re: [PHP] GOTO command. Doest it exist?

2002-06-11 Thread David Robley
a gosub. Goto jumps execution to the specified point in the code and continues from there. It does not automatically return to the line after the goto call. -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: POST/GET var problem

2002-06-12 Thread David Robley
to see which image was used. -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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