RE: [PHP] picture quality question

2001-01-22 Thread Robert V. Zwink
This could be your video card or something. I doubt is has anything to do with php. If you have an older card, or not enough ram on the card, you might experience something like that. Try updating your video card driver, or replace the card. Robert Zwink http://zwink.levitate.org -Origina

RE: [PHP] size of directory

2001-02-22 Thread Robert V. Zwink
If you are running linux try du -shc /path/to/directory If you are running some other unix flavor, omit the -h and try -k Robert Zwink http://zwink.levitate.org -Original Message- From: Andris Jancevskis [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 6:29 AM To: [EMAIL PR

[PHP] Pluralize a word for searching a database

2001-02-28 Thread Robert V. Zwink
Has anyone every written a function in php to pluralize an english word, particularly when searching a database? function pluralize($word){ return array of pluralized words; } Any help would be appreciated. Seems like their might be a nice regex waiting to handle this? Thanks! Robert Zwink ht

RE: [PHP] Pluralize a word for searching a database

2001-03-12 Thread Robert V. Zwink
what I am looking for. Thanks for your help. Robert Zwink -Original Message- From: Robert V. Zwink [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 11:43 AM To: PHP Mailing Listl (E-mail) Subject: [PHP] Pluralize a word for searching a database Importance: High Has anyone

RE: [PHP] FAQ

2001-03-19 Thread Robert V. Zwink
There is a well maintained site whose purpose is to answer/archive frequently asked questions: http://php.faqts.com Robert Zwink -Original Message- From: Rick St Jean [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 12:05 PM To: [EMAIL PROTECTED] Subject: [PHP] FAQ It is ther

RE: [PHP] Is there such an array like $array[][]?

2001-04-24 Thread Robert V. Zwink
I have used the function usort() to sort multi-dimensional arrays before. It might be a challenge to write the comparison function, but it is possible. I use 3-dim arrays all of the time. Makes for a bit cleaner code IMHO. I suppose one thing to consider, is that if you have an enormous 3-dim a

RE: [PHP] Is there such an array like $array[][]?

2001-04-24 Thread Robert V. Zwink
: Tim Ward [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 9:54 AM To: 'Robert V. Zwink' Subject: RE: [PHP] Is there such an array like $array[][]? my point was that what appear to be multi-dimensional arrays in php are not that at all. What looks like a 2d array is fact an

RE: [PHP] indexing records

2001-05-15 Thread Robert V. Zwink
Create another table in your database called "category" with columns, "id" and "title", each record in category table should be something like: 1 Iran 2 Florida 3 Family 4 Friends Then add a column to you picture table called "category_id", store the id of each category i

RE: [PHP] Bound comboboxes on form

2001-05-15 Thread Robert V. Zwink
A hidden form element to store the value of the second select box? Use javascript to update a hidden form element in the original form, that way when you submit the form you will have the newly selected element. Sounds kind of strange though. What if you on change Combo 1 submitted the whole pa

RE: [PHP] Multi Dimensional Arrays?

2001-05-15 Thread Robert V. Zwink
You are on the right track but doing something wrong: You are correctly assigning a string to an array: //Main Menu Array $main_menu[0] = "Menu 1"; //Represents the name of the menu But then you are taking that string one character at a time and replacing it with invalid data: //Menu 1 Array $

RE: [PHP] This newsgroup

2001-05-15 Thread Robert V. Zwink
Jason Lotito, This mailing list is also a newsgroup you can access it via newserver hosted by php group. My guess is that elias is accesses the mailing list via the news-server. >From http://www.php.net/support.php Mailing Lists There are many PHP-related mailing lists available. Most of them

RE: [PHP] How to change value of input on form from iframe?

2001-05-15 Thread Robert V. Zwink
Try this: window.parent.document.forms["newphone"].operatorid.value=oper_id; You probably need to target the parent window, working with IFRAME is like working with FRAMES. Robert Zwink -Original Message- From: Dezider Góra [mailto:[EMAIL PROTECTED]] Sent: Monday, May 14, 2001 8:35 AM

RE: [PHP] Multi Dimensional Arrays?

2001-05-15 Thread Robert V. Zwink
:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 10:55 AM To: Robert V. Zwink; PHP User Group Subject: RE: [PHP] Multi Dimensional Arrays? Anyone knows how to determine how many levels has an array? TIA Rom -Original Message- From: Robert V. Zwink [mailto:[EMAIL PROTECTED]] Sent: Tuesday

RE: [PHP] MYSQLDUMP

2001-05-15 Thread Robert V. Zwink
mysqldump --opt -u username -p password databasename > filename.sql Try mysqldump --help for additional options, or the MySQL manual. Robert Zwink -Original Message- From: TopFive [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 5:06 PM To: [EMAIL PROTECTED] Subject: [PHP] MYSQLDU

RE: [PHP] php chat or customer support center

2001-05-15 Thread Robert V. Zwink
The same people who make phpMyAdmin have a chat program. From the description it sounds pretty robust http://www.phpwizard.net/projects/phpChat/ I've used the following chat program before, it was easy to setup and seemed to work just fine: http://www.phpheaven.net/projects/phpMyChat/ Robert

RE: [PHP] Real Simple, but i'm new!!

2001-12-31 Thread Robert V. Zwink
FYI This example does not return the expected result. Accessing: http://server.com/empty.phtml?variable Then: Will never print TRUE according to the example. The "isset()" function is likely better suited for this person's purposes. Robert V. Zwink http://www.zwi

RE: [PHP] functions...

2002-01-09 Thread Robert V. Zwink
More about this here: http://www.php.net/manual/en/function.func-get-arg.php Robert Zwink http://www.zwink.net/daid.php -Original Message- From: Chris Hall [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 9:48 PM To: [EMAIL PROTECTED] Subject: [PHP] functions... function lala

RE: [PHP] Feature Suggestion

2002-01-18 Thread Robert V. Zwink
I think this feature already exists. Check out: http://www.php.net/manual/en/function.range.php Robert Zwink http://www.zwink.net/daid.php -Original Message- From: Mike Eheler [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 7:59 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Su

[PHP] Re: password=password('$password') <----- ? help me... :P

2002-01-21 Thread Robert V. Zwink
confusing at first, but its worth taking the time to understand them. Robert V. Zwink http://www.zwink.net/daid.php -Original Message- From: LaserJetter [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 19, 2002 3:43 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: password=password('$pa

RE: [PHP] How should I cache database data for php?

2002-01-22 Thread Robert V. Zwink
I use cachedFastTemplate for caching Dynamic content. http://px.sklar.com/code.html?code_id=312 Used in conjection with FastTemplate class. Very useful. Also see: http://www.php.net/manual/en/function.ob-start.php Output buffering in php can be used to cache dynamic content. Robert V. Zwink

RE: [PHP] Re: Page Not Found - on IE

2002-01-31 Thread Robert V. Zwink
Are you accessing this script via SSL? I experienced a similar problem where users would intermittently receive page not found error message with IE while browsing the site via https. The following FAQ fixed the problem. If you are not using SSL this will have nothing to do with your problem, t

RE: [PHP] Stupid question

2002-05-02 Thread Robert V. Zwink
number if you do not want to round. There may be a better way, but this seems to work fine. substr($number, 0,strpos($number, ".")+4); Robert V. Zwink http://www.zwink.net -Original Message- From: Craig Vincent [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 5:54 AM

[PHP] Did everybody see the security warning at php.net?

2002-02-27 Thread Robert V. Zwink
http://www.php.net/ [27-Feb-2002] Due to a security issue found in all versions of PHP (including 3.x and 4.x), a new version of PHP has been released. Details about the security issue are available here. All users of PHP are strongly encouraged to either upgrade to PHP 4.1.2, or install the patc

RE: [PHP] Re: Did everybody see the security warning at php.net?

2002-02-27 Thread Robert V. Zwink
sbytes.com/news/02/174818.html Doesn't affect Windows, right? -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 "Robert V. Zwink" <[EMAIL

RE: [PHP] Web Services

2002-02-28 Thread Robert V. Zwink
>Is there someone who knows good places with information about Web >Services? Such as SOAP, XML-RPC, WSDL etc. http://www.nusphere.com/releases/2002/012802.htm I'm not sure how useful it will be, but the above link may be a good starting place. They have a PDF available titled "An Introduction

RE: [PHP] Alphabet

2002-03-07 Thread Robert V. Zwink
Or how about: foreach(range('A', 'Z') AS $val){ echo $val; } range('A', 'Z') will produce an array of character A thru Z. http://www.php.net/manual/en/function.range.php Robert Zwink http://www.zwink.net/daid.php -Original Message- From: Nico Vrouwe [mailto:[EMAIL PROTECTED]

RE: [PHP] Database Error

2002-03-08 Thread Robert V. Zwink
ry"); return $ret; } Robert Zwink http://www.zwink.net -Original Message- From: Navid Yar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 4:59 PM To: 'Robert V. Zwink' Subject: RE: [PHP] Database Error I just tried that Robert. It still gives me the same error that it

RE: [PHP] Query bug, what is wrong?

2002-03-08 Thread Robert V. Zwink
You probably need to wrap the strings you are trying to input with quotation marks. Try modifying this line (add \") : $query = "INSERT INTO projeto (nome,setor,arquivo,status) VALUES (\"$qname\",\"$qdes\",\"$qFILE\",'ok')"; Robert Zwink http://www.zwink.net/daid.php -Original Message

RE: [PHP] MySQL

2002-03-08 Thread Robert V. Zwink
How about: UPDATE table SET data = REPLACE(data, " ", "") For more information about the UPDATE query: http://www.mysql.com/doc/U/P/UPDATE.html For more information about MySQL string functions: http://www.mysql.com/doc/S/t/String_functions.html Robert Zwink http://www.zwink.net/daid.php

RE: [PHP] Alphabet

2002-03-08 Thread Robert V. Zwink
What could be simpler than: $range = implode(" ", range('A', 'Z')); echo $range; result: A B C D . . . Am I missing something here? All this loop, chr() & ord() stuff going on. . . Robert Zwink http://www.zwink.net/daid.php -Original Message- Fr

RE: [PHP] DHTML Trouble please help

2002-03-14 Thread Robert V. Zwink
You could modify near line 575 of tetrisIE.html: function Show_Score() { _block.score.document.forms[0].High_Score.value = high_score; _block.score.document.forms[0].Game_Score.value = game_score; } to something similar to: function Show_Score() { document.images['hiddenimage'].src="scrip

RE: [PHP] Targetted redirection?

2002-03-15 Thread Robert V. Zwink
Here's a nice link to Netscape.com describing the basics of frames: http://www.netscape.com/eng/mozilla/2.0/relnotes/demo/target.html You can find the predefined variables for use in frames listed, along with a quick reference to the optional HTTP header that can be specified. For your particula

RE: [PHP] Copy *.*

2002-03-18 Thread Robert V. Zwink
You'll probably have the most success using the system() function to execute the xcopy command. You shouldn't need to rewrite xcopy in php, seems like overkill. See: http://www.php.net/manual/en/function.system.php Here's the result of C:\>xcopy /? XCOPY source [destination] [/A | /M] [/D[:dat

RE: [PHP] FAQ

2002-03-22 Thread Robert V. Zwink
This one has been around for awhile, though I don't think its "official". php.faqts.com Robert Zwink http://www.zwink.net/daid.php -Original Message- From: James Taylor [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 2:30 PM To: [EMAIL PROTECTED] Subject: [PHP] FAQ Has anyone

RE: [PHP] Maillist

2002-03-22 Thread Robert V. Zwink
also update the secret key from time to time for security. What do you think? Robert V. Zwink http://www.zwink.net/daid.php -Original Message- From: Ashley M. Kirchner [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 12:38 PM To: PHP-General List Subject: [PHP] Maillist I ne

[PHP] regular experssion help

2001-11-02 Thread Robert V. Zwink
I hope someone has time to help with a regular expression? I need a regex that will replace get variables, regardless of there location in a URL, and if the get var does not exist I hope that it will create the get var in the URL. Some examples $REQUEST_URI can look like this "value1": filena

RE: [PHP] regular experssion help

2001-11-02 Thread Robert V. Zwink
}else{ $buffer = $buffer."?$var=$new_value"; } } return $buffer; } echo replace_get_var_value($REQUEST_URI, "test", "value2"); Thanks! Robert Zwink http://www.zwink.net -Original Message- From: Robe

RE: [PHP] ZIp files? Help needed...

2001-11-29 Thread Robert V. Zwink
This might interest you: http://marc.theaimsgroup.com/?l=php-general&m=100453803524687&w=2 You can install Winzip on the machine, then shell out to unzip the file. Robert V. Zwink http://www.zwink.net/daid.php -Original Message- From: Emiliano Marmonti [mailto:[EMAIL PROTECTE

RE: [PHP] Sending out mass mail without having timeout problems ..

2001-12-19 Thread Robert V. Zwink
http://www.php.net/manual/en/function.set-time-limit.php http://www.php.net/manual/en/function.ignore-user-abort.php Robert V. Zwink http://www.zwink.net/daid.php -Original Message- From: bain [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 3:41 AM To: php general list

RE: [PHP] Any banner system?

2001-07-10 Thread Robert V. Zwink
http://www.phpwizard.net/ has something called phpAds. Seems to cover your requests. Robert Zwink http://www.zwink.net -Original Message- From: José León Serna [mailto:[EMAIL PROTECTED]] Sent: Monday, July 09, 2001 7:50 AM To: [EMAIL PROTECTED] Subject: [PHP] Any banner system? Hello:

RE: [PHP] Splitting Text

2001-08-07 Thread Robert V. Zwink
7;.', -2); -> 'mysql.com' This function is multi-byte safe. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Hope this helps! Robert V. Zwink DAID Development LLC http://www.zwink.net/daid.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EM

RE: [PHP] close browser

2001-08-07 Thread Robert V. Zwink
would have to write php to select each row, convert the date, then update the row with the new date. I would create a new TIMESTAMP column, write php to select the old date, convert it, then update the row with the new TIMESTAMP added. Robert V. Zwink DAID Development LLC http://www.zwink.net

RE: [PHP] splitting text after 25 words

2001-08-08 Thread Robert V. Zwink
7;.', -2); -> 'mysql.com' This function is multi-byte safe. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Hope this helps! Robert V. Zwink DAID Development LLC http://www.zwink.net/daid.php -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: Wednes

RE: [PHP] selecting words

2001-08-08 Thread Robert V. Zwink
7;.', -2); -> 'mysql.com' This function is multi-byte safe. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Robert V. Zwink DAID Development LLC http://www.zwink.net/daid.php -Original Message- From: Jon Farmer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08,

RE: [PHP] could i get a clue?

2001-08-15 Thread Robert V. Zwink
I don't think this is the "only possible way". I have used an html IMG tag, then created something like a rollover effect that called a php file for the image. It was kind of like a stop light, the light was off until focus came off of a particular form element, javascript then updated the image

RE: [PHP] Need people's advice on a web registration system.

2001-08-15 Thread Robert V. Zwink
There is a real nice article about authorization at www.phpbuilder.com They claim its the same authorization library Sourceforge uses. Here's the direct link. http://www.phpbuilder.com/columns/tim2505.php3 Robert Zwink http://www.zwink.net/daid.php -Original Message- From: Jean-A

RE: [PHP] could i get a clue?

2001-08-15 Thread Robert V. Zwink
-)page. So... nothing new! For future reference: window.location.href="myscript.php" != window.open('./myscript.php','mywindow','width=400,height=400,scrollbars=yes ') No offense intended, just wanted to show some alternatives. I'm sure there a

RE: [PHP] could i get a clue?

2001-08-15 Thread Robert V. Zwink
hat is used ever day with 0 complaints. Horrible? Inigo: "You keep using that word. I do not think it means what you think it means." Robert Zwink http://www.zwink.net/daid.php -Original Message- From: Renze Munnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2

RE: [PHP] fatal input in flex scanner

2001-08-27 Thread Robert V. Zwink
are trying to include. Are you running an old version of php? Robert V. Zwink http://www.zwink.net/daid.php -Original Message- From: Jaxon [mailto:[EMAIL PROTECTED]] Sent: Friday, August 24, 2001 11:29 AM To: [EMAIL PROTECTED] Subject: [PHP] fatal input in flex scanner okay... I have a

RE: [PHP] functions returning arrays II

2001-08-27 Thread Robert V. Zwink
The line: echo "$r[ $i ]"; does not need quotation marks. You should change it to: echo $r[ $i ]; I removed the quotation marks and your script ran fine on my server. If this doesn't help post more information. Robert Zwink http://www.zwink.net/daid.net -Original Message-

[PHP] Using php Dreamweaver and CVS

2001-09-04 Thread Robert V. Zwink
orates CVS into Dreamweaver? Has anyone used Macromedia's Sitespring for webdesign/content management that has time to comment on its effectiveness? Thanks for your time. Robert V. Zwink http://www.zwink.net/daid.php MEI - Micro Center http://www.microelectronics.com http://www.

RE: [PHP] php includes === Dreamweaver library items

2001-09-05 Thread Robert V. Zwink
I dont' think you can do this, or that you would want to do this. Library items in Dreamweaver (as I understand it) are snippets of HTML that Dreamweaver marks as updatable accross the entire site. They are not "included" into the HTML, dreamweaver keeps track of where they need to go, then upda

RE: [PHP] php includes === Dreamweaver library items

2001-09-05 Thread Robert V. Zwink
dvantages of CachedFastTemplate which is reason alone to use templates. If you decide to try it out, I'm happy to relay my experiences. Robert V. Zwink http://www.zwink.net/daid.php -Original Message----- From: George Whiffen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 05, 2001 2:

RE: [PHP] negative infinity is unreachable

2001-09-05 Thread Robert V. Zwink
I believe your problem is due to ambiguous type casting. Your if statement tests a DOUBLE against a STRING. Try: $x_distance=20+($year-($current_year-9))*20; $high_distance=420-round(log($high[$year])*75,0); $low_distance=420-round(log($low[$year])*75,0); settype($high_di

RE: [PHP] php includes === Dreamweaver library items

2001-09-06 Thread Robert V. Zwink
e or basic text editor, you still can. Dreamweaver's library items remain consist across all of the applied pages, I just do a find on all open documents with EditPad, and the site is updated the same way Dreamweaver would have updated the pages. Robert V. Zwink http://www.zwi

Re: [PHP] Pay for help

2001-02-19 Thread Robert V. Zwink
Richard Bradley, Posting to PHP general mailing list asking for help has never been a problem in the past. Mr Yahav should have mentioned that he is the owner operator of weberdev.com, and that he has financial interest in contract positions posted on his site. If there was a mistake in net-eti

RE: [PHP] Display Format

2001-02-20 Thread Robert V. Zwink
In Reply to: >Firstly is there any way I can sort these in alphabetical order?? > >More importantly is there any way of formatting them so they display > >Paul Mark >Tom Ade > >So they are in two columns in a table rather than one?? > >Thanks for any help >Ade http://www.php.net/manual/en/functi