[PHP] Re: AND OR NOT

2005-09-05 Thread David Robley
7; IN BOOLEAN MODE) or maybe something else depending on the version of Mysql and exactly what you are trying to do with your fulltext search. Cheers -- David Robley Why do cats have canine teeth? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP CMS

2005-08-26 Thread David Robley
refox et al, FCKEditor may be worth a look: http://fckeditor.com/ Cheers -- David Robley IBM: I Buy Macinstosh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP Polling script?

2005-08-26 Thread David Robley
Jay Paulson wrote: > Does anyone know of a good polling script that is, obviously, written > in PHP? > > Thanks! Does http://www.google.com.au/search?q=php+polling+script help? I haven't used any so I can't comment on 'good' Cheers -- David Robley Radioactive

[PHP] Re: error checking a null array

2005-07-31 Thread David Robley
ther for example $_POST[cb][7] is empty or null, so I can set > the error message to one if it's empty? I think you might find empty() and isset() fairly useful here. Cheers -- David Robley Don't play stupid with me! I'm better at it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Apache 2.0.52 + PHP 4.3.9 configuration problem, for Linux Fedora 3.

2005-07-27 Thread David Robley
t; > In Apache, the user and group are set to Apache, and in PHP the safe mode > is off The directory where you are trying to write should also have write and scan (x) permissions for the user; this probably means making the directory chmod o+wx Cheers -- David Robley My hat covers my head

[PHP] Re: if then else

2005-05-04 Thread David Robley
Anasta wrote: > Can anyone help with a statement, ive tried but it never works. > I need to show a value if it is set to a specific value ie: > > At the moment If a user is logs in a record is updated from 'away' to > 'online'---so i want an echo statement to show a value from another table > if

[PHP] Re: Index of /base-1.1

2005-04-13 Thread David Robley
Mark Sargent wrote: > Hi All, > > typing localhost/bse-1.1 gives me access, but, in this format, > > > Index of /base-1.1 > > Icon Name Last > modified Size >

[PHP] Re: PHP logo is freaked in phpinfo();

2005-04-01 Thread David Robley
Dan Rossi wrote: > Is someone playing games with me I have a rabbit photo which has taken > over the php logo in my phpinfo(), I also saw a dog in a logo on a > mirror for the php manual :) Its kinda cute, interested how its done. It would seem the dog's name might be Nadia. I guess it is April 1

[PHP] Re: Seleting records

2005-03-16 Thread David Robley
Simon Allison wrote: > Hello, > > > > My news table has a year field as such > > > > Year > > > > 2000 > > 2000 > > 2001 > > 2001 > > 2003 > > 2005 > > 2005 > > > > I was wondering if you could select from this table so you only get one of > each year, so the output wo

RE: [PHP] Re: Like ternary but without the else.

2005-02-28 Thread David Robley
Chris W. Parker wrote: > Richard Lynch > on Monday, February 28, 2005 5:12 PM said: > >> Course, I gotta say that maybe you're coming at this wrong in the >> first place, if you have to change $this based on $something to $that >> but $this already has a value... >>

[PHP] Re: debug_backtrace trick

2005-01-28 Thread David Robley
Thanks Maybe http://www.interactionarchitect.com/articles/toggle.htm ?? Cheers -- David Robley Those who can't write, write manuals. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail problem at interland

2005-01-28 Thread David Robley
>> $headers .= "X-MSMail-Priority: High\n"; >> $headers .= "X-Mailer: php\n"; >> $headers .= "From: $emailfrom\n"; >> >> $mailsent = mail($emailto, $subject, $msg, $headers,"-f" . $emailfrom); > > 1) Use the proper delimiters between

[PHP] Re: String to Date and Date to String Functions?

2005-01-24 Thread David Robley
ateToString ( $todayDt,'DD/MM/' ); > > Anyone know of any functions that do this or have pointers as to how > it can be done. > > Ben Have you looked at date() and strtotime() ? -- David Robley How do you make Windows faster ? Throw it harder -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP.ini setup, config, installation & recognition?

2005-01-22 Thread David Robley
7;t say whether you restarted apache; this is required to read and utilise the changes to php.ini. -- David Robley That does not compute. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: phpeclipse ide question

2005-01-18 Thread David Robley
clipse is a totally > good work around but this would be great. I suspect you may find the answers here: http://www.phpeclipse.de/tiki-forums.php -- David Robley 2400 Baud makes you want to get out and push!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: mailto code for php

2004-12-20 Thread David Robley
much and where does it go is it in the .lib or > the .php file Regretfully my crystal ball is out for it's pre-Christmas service so I have no idea of the code you are using. Perhaps if you were to post the relevant part of your script someone might be able to help you. -- David Robley Sou

[PHP] Re: PHP parse Excel and Access files

2004-12-20 Thread David Robley
hose apps as csv files -- David Robley Every thing in this world is an idea acted on. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: I got the mail form blues! HTML/POST/mail() question - Also request for style suggestions

2004-12-16 Thread David Robley
rt of the form data to the target script. > > value="Name,Email,Subject,Updates,Message"> > > > > > -- David Robley A cat is the universe's way of showing us perfection. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question: Repopulating form parameters

2004-12-13 Thread David Robley
Any more hints ? :) > > Apparently my hint was not obvious enough as the message seems not to have > gotten through. > Jason Dig around under the desk and see if you can find the clue-by-four! Seems this is a case for repeated application of same. -- David Robley Send $20 and I will double your IQ or no money back. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: still have the same problem

2004-12-13 Thread David Robley
ST['user'] . " \n\n"; print "Your address is:\n\n " . $_POST['address'] . " "; ?> > The output dont show the user value or address value. -- David Robley "I commanded a group of ships for a week," Tom said fleetingly. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Infinity and nested categories

2004-12-12 Thread David Robley
t; > I am using PHP5 and MySQL 4.1 You may find this article on storing hierarchical data useful. http://www.sitepoint.com/print/hierarchical-data-database -- David Robley On the other hand, you also have 5 fingers. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question: Repopulating form parameters

2004-12-12 Thread David Robley
hose are handled differently. http://www.php.net/manual/en/language.types.string.php will tell you more about the difference in handling of single quoted and double quoted strings. -- David Robley This isn't right. This isn't even wrong. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Sorry forgot to include the code for my last message - Mike Francis

2004-12-11 Thread David Robley
ror messsages that may be returned from the connect; I would get rid of that. Then add here: echo mysql_error(); > exit(); > } > // Select the jokes database > if ([EMAIL PROTECTED]('ijdb')) { And use mysql_error() here too. > exit('Unable to locate the joke ' . >

[PHP] Re: Installing Apache and PHP from scratch

2004-12-08 Thread David Robley
use. Is there > a command similar to the phpinfo() command that can tell me how an already > installed Apache in configured? Enable server-info in your httpd.conf and be amazed at the amount of information http;//localhost/server-info will chuck at you. -- David Robley Useless Inventio

[PHP] OT Re: Desparate

2004-12-07 Thread David Robley
now. Try something from here: http://directory.google.com/Top/Computers/Usenet/Public_News_Servers/ Google is your friend -- David Robley Thesaurus: ancient reptile with an excellent vocabulary. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: exclude - mysql query

2004-11-28 Thread David Robley
he value of $server in the above while loop and if the value matches a list of exclusions, don't echo the value. For mysql, in the select use WHERE NOT IN('a','b'...) for a comma separated list of exclude values, or simply WHERE server <> 'badname' for one se

[PHP] Re: php/html displaying query

2004-11-18 Thread David Robley
there a way to get around this?? either displaying the > blank line or by hiding the HTML tags in the textarea (but still saving > the paragraph with them in) Use nl2br() when you display the data; nl2br will add a before each newline. -- David Robley "I hope I can still

RE: [PHP] keeping format of text in textbox

2004-11-11 Thread David Robley
e doesn't seem to do anything. I'm guessing that you are trying to replace the < /BR> that you added above with a newline; this is redundant and if it actually worked, would add an extra newline at each occurrence of < /BR>. Note that nl2br doesn't replace a newline, i

RE: [PHP] VOTE TODAY

2004-11-03 Thread David Robley
On Wed, 3 Nov 2004 05:49, Michael Sims wrote: > John Nichel wrote: >> ApexEleven wrote: >>> I can't wait for the replies... >> >> cat $you > /dev/null > > Or the slightly more destructive variant: > > cat /dev/null > $you > > :) P

[PHP] Re: VOTE TODAY

2004-11-03 Thread David Robley
On Wed, 3 Nov 2004 04:04, Apexeleven wrote: > I can't wait for the replies... What! I just voted three weeks ago- you mean I have to do it again? -- David Robley Why doesn't the Bat Computer ever crash? -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] mysql_escape_string breaks EOL?

2004-10-26 Thread David Robley
quot;This\" and \'that\' Escape: \"This\" and\n\'that\' Is this a bug, or am I totally missing something? Cheers -- David Robley Useless Invention: Avalanche prevention goggles. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Simple Time Question

2004-10-22 Thread David Robley
tralia) will be pretty pissed off if they have to change their clocks back an hour :-) Its GMT +0930 for NT and South Australia, except for daylight saving time. Cheers -- David Robley Don't hate yourself in the morning - sleep till noon. -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: PHP Configuration Error

2004-10-19 Thread David Robley
files under > /usr/local/mysql/bin/ Which implies that your mysql header files are not in /usr/local/mysql/bin/ Try /usr/local/mysql if that is the top level of your mysql installation. -- David Robley "I don't have a boyfriend," said Mary guilelessly. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Oracle Connection

2004-10-19 Thread David Robley
On Tue, 19 Oct 2004 16:20, Syed wrote: > Hi All, > > will anybody tell me how to connect oracle database using php script. > > Thanx > > Syed Start at http://php.net/oracle -- David Robley If winning isn't important then why keep score? -- PHP General Mailin

[PHP] Re: php_printer functions, how to detect printer is ready to print out

2004-10-16 Thread David Robley
alled. > > Thank you in advance. > CK You'll need a client side application, such as Javascript, to handle that. -- David Robley I'd love to, but you know how we psychos are. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] List Etiquette

2004-09-21 Thread David Robley
horse...ya know, > the one about modifying the headers to add a 'Reply-To'. That one > always gets people worked up. ;) > Don't worry, John N, somebody is bound to bring it up; Ah, look, just down thread one Greg Donald has raised the question!! Go get him, troops :-0 Cheers --

[PHP] Re: search query

2004-09-16 Thread David Robley
If($prijsklasse=='2'){ > $option ="WHERE something BETWEEN 250.000 AND 300.000"; > }elseif($prijsklasse=='3'){ > $option ="WHERE something BETWEEN 300.000 AND 350.000"; > }else > SELECT fields FROM table .$option; > Is this a good ap

[PHP] Re: disabling php info in http headers

2004-09-16 Thread David Robley
re is an example: > X-Powered-By: PHP/4.3.5 > X-Accelerated-By: PHPA/1.3.3r2 > > Thank you for any hint on that, > > Merlin php.ini - expose_php -- David Robley Stand on the toilet, get high on pot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: download pdf using php script

2004-09-16 Thread David Robley
yweb.com/download.php?filename=xzy.pdf > > can someone give me hint how to do this ? > > thank u readfile with suitable headers -- David Robley He who dies with the most toys... is *still* DEAD! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] iguanahost - anyone else being plagued?

2004-09-15 Thread David Robley
ttempt to contact no longer exists in our servants. If it wishes but information iguanahosting.com writes to information @. Excuse the disadvantages." My hovercraft is full of eels?? Cheers -- David Robley Sleep is a poor substitute for caffeine. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP include before or after Apache SSI?

2004-09-15 Thread David Robley
e code from file1.php is inserted here And in that code presumably is something that deals with $id, (which you have already defined in file2.php just before including file1.php) and is therefore available to the rest of the script. Cheers -- David Robley Obiwankenobiphobia: Fear of Jedi Masters -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Broken data within an Array

2004-09-01 Thread David Robley
DateAdvertisedBroken[2]-$DateAdvertisedBroken[1]-$DateAdvertisedBroken[0] > > which returns nothing, but should as $DateAdvertised does... :| > You are subtracting the values Presumably you really want to concatenate the values, sepearated by dashes, as a string? -- David Robley Make

[PHP] Re: Changing MySQL Date Format

2004-08-12 Thread David Robley
could use > perhaps...? > > I'm just getting a little hacked of having to explode the damn things > every time I use them. > Why do you care how mysql stores the dates when you have DATE_FORMAT and all the other you-beaut date functions to massage the data to your needs? --

Re: [PHP] Re: php tools

2004-08-10 Thread David Robley
>> Emacs! >> VIM! >> Emacs! >> VIM! >> KWrite! >> >> KWrite?! >> >> Real men write code using a chisel and hammer on granite stone. You bet >> your ass you'll learn how to write small, tight, clean code quickly. >> > > Pff

RE: [PHP] Server's clock gone funny, maybe?

2004-07-29 Thread David Robley
On Fri, 30 Jul 2004 03:45, Matthew Sims wrote: >> >> [smartass mode to full power - nothing personl] >> [/smartass mode] > > Is that W3C HTML 4.01 compliant? > I believe it is XNML - extended noob markup language -- David Robley Lawyers: The larval form of po

[PHP] Re: Retrieving Stored Values for Dropdown Menu

2004-07-28 Thread David Robley
ML problem). Then you only want to define an option as selected if certain conditions are met, so test for the conditions and act accordingly. -- David Robley Q: Why do blondes hate M&Ms? A: They're too hard to peel. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Retrieving Stored Values for Dropdown Menu

2004-07-28 Thread David Robley
before...? > Surprisingly, yes. If the dropdown has multiple selections, name it as an array - listoptions[] -- David Robley I get mail I exist. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: how to restart deamon??

2004-07-27 Thread David Robley
On Wed, 28 Jul 2004 12:49, Fitra Alfina wrote: > how to restart deamon?? How to ask questions the smart way http://www.catb.org/~esr/faqs/smart-questions.html -- David Robley Dogs come when you call. Cats have answering machines. -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: Most Efficient Query

2004-07-22 Thread David Robley
> ...or would it be faster and more efficient to use fulltext indexes with > MATCH() and AGAINST()? I have MySQL 3.23.58 installed on my server. > > Thanks! Depends what you want to do - for instance fulltext search IIRC does not support substring searches. -- David Robley I

Re: [PHP] trim() white space from record set

2004-07-22 Thread David Robley
;])) { $colauthor_rsResults = (get_magic_quotes_gpc()) ? $_GET['Author'] : addslashes($_GET['Author']); } $colauthor_rsResults =trim($colauthor_rsResults); -- David Robley Never enter a battle of wits unarmed. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] using exec/system function within php/apache app

2004-07-22 Thread David Robley
ed to use the filesystem path, not the location relative to your server document root. If you check the shell commands, you'll find that at least some of them have a facility to check the return value from the command, which may be useful for debugging. -- David Robley Change is inevitable, exce

[PHP] Re: install/config error - please help

2004-07-01 Thread David Robley
> checking whether the C compiler (gcc ) works... no > configure: error: installation or configuration problem: C compiler cannot > create executables. Do you have gcc installed? If so, does the user running configure have permissions to write to the current directory? -- David Robley

[PHP] Re: a stupid question

2004-06-25 Thread David Robley
Blake Schroeder wrote: > Hey > > I cant figureout the syntax please help > > echo "Some text".aFunction()."some more text"; > > The function is not working. > > Thanks > > -B What is it you expect, and what is actually happening? -- Dav

[PHP] Re: MySQL question

2004-06-23 Thread David Robley
John Taylor-Johnston wrote: > Sorry, MySQL question. Any takers? If I search for 'margaret atwood', I > get results in no real structured heirachy. Any thoughts? > > atwood' IN BOOLEAN MODE);>Search color="blue">ccl.ccl_main For: margaret > atwood - 275 record(s) found > > John The results fr

[PHP] Re: Editor's Page

2004-06-01 Thread David Robley
Jay Blanchard wrote: > I am missing the link to the editor's list for PHP, can someone repost > it? > > Thanks! http://www.thelinuxconsultancy.co.uk/phpeditors/ which can be found on http://au.php.net/links.php under PHP Setup and Authoring Tools David -- PHP General Mailing List (http://www

[PHP] Re: Showing weekly activity reports from Php / MySql script

2004-05-21 Thread David Robley
[EMAIL PROTECTED] (Dave Carrera) wrote in news:[EMAIL PROTECTED]: > Hi List, > > How do I group rows from a MySql table and show them as a list of > activity by week numbers. > > I.e.: > > WEEK 1: > This happened, this happened... > > WEEK 2: > This happened, this happened... > > And so on.

[PHP] Re: Content Management Systems

2004-05-21 Thread David Robley
[EMAIL PROTECTED] (Jed R. Brubaker) wrote in news:[EMAIL PROTECTED]: > Hey all - > I was hoping that I could get some advice! I am setting up a site that > will be quazi-portal-ish in nature. As such, a lot of different people > in a lot of different departments will be making contributions and >

[PHP] Re: mail command with PHP 4.3.4-1.1 and Fedora Core 1

2004-05-18 Thread David Robley
[EMAIL PROTECTED] (C.F. Scheidecker Antunes) wrote in news:[EMAIL PROTECTED]: > Hello all, > > I have updated an old system to Fedora 1 and php php-4.3.4-1.1. > > However the mail comand does not work anymore. > > The php.ini of the original system did not have anything special. > > Sendmail

Re: [PHP] Reposting elseif carry

2004-05-17 Thread David Robley
[EMAIL PROTECTED] (Daniel Clark) wrote in news:[EMAIL PROTECTED]: > echo " URL=./Conference_Calls.php?Date_and_Time=\".$_POST[\"$Date_and_Time\"]\ > ">"; > >>>I have tried both of these statements and neither one works Trying >>>to get the Date_and_Time to be carried in the URL. Any Help ple

[PHP] Re: HTTP_REFERER ... ?

2004-05-05 Thread David Robley
[EMAIL PROTECTED] (Tristan Pretty) wrote in news:OF19FCC4A7.F49C9B83-ON80256E8B.00544E7D- [EMAIL PROTECTED]: > if ($_SERVER['HTTP_REFERER'] == 'http://www.mysite.com/') { > // Stuff > } > > Now why does this not work? > I wanna asign varibales based on certain referers... > but this is not worki

[PHP] Re: cleaning word HTML code

2004-05-04 Thread David Robley
[EMAIL PROTECTED] (Kim Steinhaug) wrote in news:[EMAIL PROTECTED]: > Hello, > > Has anyone seen any resources on the net on OS independent sollutions. > Im aware of the Tidy software, but its not up for the job. Doesn't need > to be open source, but it needs to be OS independent. > > All tips a

Re: [PHP] Unsubscribing Was: Unwanted e-mails

2004-04-20 Thread David Robley
[EMAIL PROTECTED] (Lester Caine) wrote in news:[EMAIL PROTECTED]: > Chris Shiflett wrote: > >>>If you look at the first post above, it appears he is hitting >>>"Reply" to list messages, trying to unsubscribe by sending a post >>>to the list. If you look at the text of the return that he passed o

RE: [PHP] php and mysql help

2004-04-17 Thread David Robley
[EMAIL PROTECTED] (Jay Blanchard) wrote in news:[EMAIL PROTECTED]: > Why are you sending this to me? You're at Stanford, you can probably > figure out the unsubscribe link and stuff > > -Original Message- > From: David A. Stevens [mailto:[EMAIL PROTECTED] > Sent: Friday, April 16, 2004

[PHP] Re: Fatal error: Call to undefined function: mysql_connect()

2004-04-17 Thread David Robley
[EMAIL PROTECTED] (Tim) wrote in news:[EMAIL PROTECTED]: > Setup: > 2 servers, one with PHP 4.1.2 and no MySQL installed, the other has > MySQL and PHP 4.1.2 > > Problem: > I am attempting to connect to the MySQL server from the server without > MySQL, but I get the error that shows in the subje

[PHP] Re: Compile PHP question

2004-04-15 Thread David Robley
[EMAIL PROTECTED] (Dave Carrera) wrote in news:[EMAIL PROTECTED]: > Hi List, > > How do I compile php without apache, with mysql (client is installed) > as cli. > > The reason I ask is that I would like to do some command line > scripting using php as my preferred scripting language and I don’t

Re: [PHP] PHP time zone

2004-04-14 Thread David Robley
[EMAIL PROTECTED] (Tom Rogers) wrote in news:[EMAIL PROTECTED]: > I have this in an auto_prepend file or you can put it before using any > of the date() functions > > putenv('TZ=Australia/Brisbane'); > But, but, that'll put the clock back 20 years and then add 30 minutes to Central Standard

Re: [PHP] ATTN: List Admins

2004-04-11 Thread David Robley
[EMAIL PROTECTED] (Elfyn McBratney) wrote in news:[EMAIL PROTECTED]: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > [postmaster@ added to Cc:] > > Hello, > > On Saturday 10 Apr 2004 00:39, -{ Rene Brehmer }- wrote: >> I'll second that ... keep getting this in response from them: >> >> T

[PHP] Re: PHP-GTK mailing list

2004-04-11 Thread David Robley
[EMAIL PROTECTED] (Cosmin) wrote in news:[EMAIL PROTECTED]: > sorry for the off topic but i didn't knew where to ask this. > does anyone know what's happening with the php-gtk mailing list. I > haven't received a message for more than a month now and any message > that i try to send comes back sa

[PHP] Re: Unsubscribe!!

2004-04-08 Thread David Robley
[EMAIL PROTECTED] (Ken Heath) wrote in news:[EMAIL PROTECTED]: > Please remove me from the mailing list. Many different efforts has > failed. >:-( > > I apology to everyone who receive this message. This is the last place to send that to. Try looking in the headers of any mail you get from t

[PHP] Re: path to binary for php on linux

2004-04-08 Thread David Robley
[EMAIL PROTECTED] (Andy B) wrote in news:[EMAIL PROTECTED]: > anybody know what the exact path for the php binary on linux is? If all else fails, try locate php if your locate database is up to date, or check the logs or whatever of your install package tool. -- PHP General Mailing List (http

[PHP] Re: assign mysql query to a variable first or not

2004-04-07 Thread David Robley
[EMAIL PROTECTED] (Andy B) wrote in news:[EMAIL PROTECTED]: > hi... > > is it better to give the mysql query string to a variable instead of > directly doing it with mysql_query? > > i.e. > $query="select * from table";//is this a better way? > $query=mysql_query("select * from table");//or is

[PHP] Re: allowed memory size of

2004-04-05 Thread David Robley
[EMAIL PROTECTED] (Mathias brito) wrote in news:[EMAIL PROTECTED]: > Hello, I made a script that make a backup of the > entire site with the PHPZip lib. It's works well with > small sites, but when the size grow, i receive the > following message: > > Fatal error: Allowed memory size of 1048680

Re: [PHP]

2004-04-05 Thread David Robley
[EMAIL PROTECTED] (Nunners) wrote in news:[EMAIL PROTECTED]: > I've got a series of functions which return a list in an array. How > can I create an empty array? Or do I need to check it's a valid array > before I use it? > > Cheers > James This may be helpful: http://uk.php.net/manual/en/la

Re: [PHP] Problem with script halting

2004-04-05 Thread David Robley
[EMAIL PROTECTED] (Nathan Croker) wrote in news:[EMAIL PROTECTED]: > Thank you for your reply. > > Yes the user has permission to execute chmod since when I access the > server using an FTP Client it works perfectly. > > - Nathan Croker > > (amazing as a result of one post, I get 6 different s

[PHP] Re: Having trouble formatting width using printf() and default spaces

2004-03-30 Thread David Robley
[EMAIL PROTECTED] (David Scott) wrote in news:[EMAIL PROTECTED]: > I tried your method and it's a nice variation, though it leaves me with > two issues: > > 1. I'd like the numbers to be right-aligned. > 2. I'd still like to understand why the default padding of spaces isn't > working for prin

[PHP] Re: determining number of rows in a mysql table

2004-03-29 Thread David Robley
[EMAIL PROTECTED] (Chris Wagner) wrote in news:[EMAIL PROTECTED]: > this should be easy... > > how would one go about determining the number of rows in a mysql table, > without actually wasting the time of querying for *. > > is this the best way? > > $result = mysql_query('SELECT * FROM table

[PHP] Re: REsource Identifier( PHP_MYSQL)

2004-03-26 Thread David Robley
[EMAIL PROTECTED] (Gimic) wrote in news:[EMAIL PROTECTED]: > Hey y'all, I'm having problems trying to get the > MySql_Query() function to return the resource ID when using a $string > as the argument to pass to it. It returns when I hard code the > argument but not the string. Any ideas? here i

[PHP] Re: knowing which file is including

2004-03-26 Thread David Robley
[EMAIL PROTECTED] (Ryan A) wrote in news:[EMAIL PROTECTED]: > Hi, > A bit of a weird problem, am just curious if this can be done... > > I have a file called config.inc.php which has a require_once in it for > lang_a.php and > lang_b.php > > config.inc.php is being "included" by a.php and b.php

[PHP] Re: Local sysadmin DFW needed

2004-03-26 Thread David Robley
[EMAIL PROTECTED] (Frank Tudor) wrote in news:[EMAIL PROTECTED]: > Hi folks, > > Sorry for the inturruption. > > I'm looking for a part time sysadmin in the DFW area. > Just out of curiosity, where the hell is DFW? I gather it's not near Ridgehaven. -- PHP General Mailing List (http://www.

[PHP] re: an if statement

2004-03-26 Thread David Robley
[EMAIL PROTECTED] (Andy B) wrote in news:[EMAIL PROTECTED]: >> although that'll generally "work", why not use >> >> if(empty($name) || empty($comments)) >> { dosomething(); } >> >> -- >> ---John Holmes... > > > because for some odd reason on any of the versions of php i am writing > for (4.0.6

[PHP] Re: php/mysql email

2004-03-20 Thread David Robley
[EMAIL PROTECTED] (Bigmark) wrote in news:[EMAIL PROTECTED]: > I have a sports tipping script and instead of using the admin to close a > round off or input results ,would it be possible to do it via an email. > > Mark > This can be done on a Unix style system by creating a mail alias which p

[PHP] Re: gmdate

2004-03-19 Thread David Robley
[EMAIL PROTECTED] (Bigmark) wrote in news:[EMAIL PROTECTED]: > Hi an anyone help here, i have a shoutbox that displays the time with > each message but the time is 8 hours behind my time. > > //here are the headers// > header("Expires: ".gmdate("D, d M Y H:i:s")."GMT"); > header("Cache-Control:

[PHP] Re: Cron Jobs and php as apache module

2004-03-17 Thread David Robley
[EMAIL PROTECTED] (Daryl Meese) wrote in news:[EMAIL PROTECTED]: > Hello all, > > Ok, I run php as an apache module but need to have some php scripts > called from a cron. Since you can't have php installed as a cgi & > apache module I don't know how to do this. > > Any help would be apprecia

Re: [PHP] Re: Listing for a specific list of files

2004-03-11 Thread David Robley
gt;> > >> > > > >http://au.php.net/manual/en/function.readdir.php and look partway down > >the user notes where there is an example that just gets image files. > > > > > > > OK - then you could consider using strpos or substr on the file name to

[PHP] Re: Listing for a specific list of files

2004-03-10 Thread David Robley
[EMAIL PROTECTED] (Brent Clark) wrote in news:[EMAIL PROTECTED]: > Hi there > > I need to perform a function whereby I can list a directory (which is I > can do) > but the problem is that I want to list only a certain list of files that > is in the directory. > for example in linux > I do a: >

[PHP] Re: MYSQL & Image functions

2004-03-08 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > I am trying to use any of the image functions with image data from a > mysql database. I can get these functions to work from files on the > server but for some reason, not out of the database. If any one has > gotten this to work, code y

[PHP] Re: date functions

2004-02-25 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Hi, > > You might already be fed up with my posts but I'm a complete PHP newbie and find > these groups are the best way to learn! Anyway I have the database date in the > format: -mm-dd hh:mm:ss e.g. 2004-02-24 07:57:59 but when i

[PHP] Re: confirm subscribe to php-general@lists.php.net

2004-02-24 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > > Hi! This is the ezmlm program. I'm managing the > > [EMAIL PROTECTED] mailing list. > > > > I'm working for my owner, who can be reached > > at [EMAIL PROTECTED] > > > > To confirm that you would like > > > >[EMAIL PROTECTED] > > >

[PHP] [OT slightly] PHP and Ewebeditpro CMS

2004-02-20 Thread David Robley
If anyone has experience with using a PHP interface to EwebeditPro content management system, I' ppreciate a little help. In particular, a sample script for handling contnet upload would be a godsend. ewebeditpro provide samples for ASP which isn't a great deal of help. -- David R

Re: Re[4]: [PHP] problems with spam

2004-02-17 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > <[EMAIL PROTECTED]> > Richard Davey: > > Hello mayo, > > > > Monday, February 16, 2004, 3:51:30 PM, you wrote: > > > > m> As for my email being harvested because I wrote it out > > m> ([EMAIL PROTECTED]). Well I'll change it to > > m> som

[PHP] Re: PHP Newbie Database Records?

2004-02-15 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > PHP Newbie, > > I'm trying to find out if a username already appears in my database. > > I have two users in my table, one is colin so when I enter a username of > colin I would normally under ColdFusion anyway just to something like: >

[PHP] Re: mnoGoSearch on Windows?

2004-02-10 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > According to the PHP manual, the mnoGoSearch extension is not available > on the Windows platform. I had considered installing mnoGoSearch on our > Windows box running PHP (even though I will have to pay for the Windows > version of m

[PHP] Re: Verify cCPIGgLq for robleyd@ozemail.com.au

2004-01-27 Thread David Robley
D]> Delivered-To: mailing list > [EMAIL PROTECTED] Received: (qmail 44508 invoked by uid 1010); 27 > Jan 2004 09:45:20 - Delivered-To: [EMAIL PROTECTED] > Delivered-To: [EMAIL PROTECTED] To: > [EMAIL PROTECTED] From: David Robley <[EMAIL PROTECTED]> > Date: Tue, 27 Jan 20

[PHP] Re: php document management systems

2004-01-27 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Anyone know of any php document management systems? if its open source that > would be even better. > > TIA > http://www.google.com/search?q=php+document+management+systems should give you a few pointers -- Quod subigo farinam A: Be

[PHP] Re: Sorry the attachement was not received!! I put the codes here.

2004-01-20 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Just before a minute I sent a message with an attachement.. but the attachement was > canceled by the list!! > > Any way.. these are the codes of the pages : > > > Login.php : > > > $link = mysql_connect("localhost", "Database user

[PHP] Re: Adding Text to .txt file

2004-01-20 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > And this function was differs from fopen("myFile.txt", "a"); > That would possibly be fwrite() after you do an fopen as above Cheers -- Quod subigo farinam A: Because it messes up the order in which people normally read text. Q: Why i

[PHP] Re: class limitations brought by PEAR

2004-01-14 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > I don't want to rely on PEAR, mainly because I don't know it too well to > use it fully. But most PHP installs come with base PEAR classes, so does > that take away my ability to name classes that PEAR already made? (ie. > class DB). >

[PHP] Re: Function Problem (Long-ish)

2004-01-13 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Hi List, > > I have a self-made function that uses a MySql statement something like this: > > Function MyFunc(){ > sql = mysql_query("select * from table where somefield=\"somevar\""){ > while(blah blah){ > $var ="blah blah"; >

[PHP] Re: Help parsing text file?

2004-01-08 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > I'm very new to PHP. > I want to display /var/log/lastlog with php on a webpage, but I need > some help. How do I do that? > Looking at the docs it looks like file() would work, but I couldn't get > it to display the file. > Carlton. >

[PHP] Re: Error/ Warning messages in log files (OS 121) and (OS 64)

2004-01-07 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > (Relisted as no response from over Xmas period) > > Hi, > > I am having a real problem with error messages posted in the error.log file > > in the Apache directory. I have been doing lots of searches to find a > > solution and it seems

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