Re: [PHP] Array question

2007-02-27 Thread Gerry D
Mike, See entire function under topic Array question - maybe UTF?... I am trying to change accented characters to their equivalent without accents. And yes, the arrays look fine after var_dump()... Gerry On 2/27/07, Ford, Mike [EMAIL PROTECTED] wrote: On 27 February 2007 04:23, Gerry D

[PHP] Array question

2007-02-26 Thread Gerry D
{ $n = $fruit[$key]; // how to get the value??? } the array_search works ok, but how do I get the value? all I get back is 'a' or 'b', not 'apple' or 'banana'... TIA Gerry -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] JPEG info needed

2007-01-25 Thread Gerry Danen
cannot determine what the state of the file is, and are not returning a state they cannot determine. Gerry On 1/25/07, Richard Lynch [EMAIL PROTECTED] wrote: Re-read the docs more carefully. The second arg is optional, and it returns the PRIOR state of the interlaced-ness (or progressive-ness

Re: [PHP] JPEG info needed

2007-01-24 Thread Gerry Danen
Richard, imageinterlace() turns the interlace bit on or off. It only returns 1 if you set it to 1 as the second parameter... Thanks Gerry On 1/24/07, Richard Lynch [EMAIL PROTECTED] wrote: On Wed, January 24, 2007 12:08 am, Gerry Danen wrote: One other possibility is to see what happens

[PHP] JPEG info needed

2007-01-22 Thread Gerry D
I need PHP to find out if a jpeg file uses progressive encoding. None of the standard exif or image functions seem to be able to tell me that. (please correct me if I'm wrong) Can anybody help me? TIA Gerry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Shopping cart

2006-08-21 Thread Gerry D
So if I understand you gentlemen correctly, these pre-builds serve as examples how NOT to do it? Gerry On 8/20/06, Larry Garfield [EMAIL PROTECTED] wrote: On Sunday 20 August 2006 20:17, Gerry D wrote: On 8/19/06, Larry Garfield [EMAIL PROTECTED] wrote: OSCommerce is crap. Don't bother

Re: [PHP] Shopping cart

2006-08-20 Thread Gerry D
On 8/19/06, Larry Garfield [EMAIL PROTECTED] wrote: OSCommerce is crap. Don't bother. Why do you say that, Larry? I may want to get into an app like that because I think one of my clients is ready for it. What are the cons, and what are my options? What are Drupal's limitations? TIA Gerry

Re: [PHP] How to run one php app from another?

2006-08-13 Thread Gerry D
I don't know if you solved this already, but I use it to redirect to different pages depending on whther the user is logged in or not. Something like header(location:/page/?p=login); works fine. You were on the right track. Gerry On 6/15/06, tedd [EMAIL PROTECTED] wrote: Hi gang: This seems

Re: [PHP] Re: How to run one php app from another? RECAP

2006-08-13 Thread Gerry D
can act upon per the user through html or js, but not php. Interesting. Perfectly doable in PHP. Just have the form action go to a new php script and do your logic, then use header(location:...) to redirect. Gerry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] page redirecting

2006-08-13 Thread Gerry D
, and not just a local reference. Sure you can use a local page, I do it all the time. You could just use session_start() at the top of both pages, and slam the data into $_SESSION, and then your Location: redirect would work Yep. Gerry -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Preventing double-clicks

2006-08-13 Thread Gerry D
, then clears the session var. If the session var is not set, an error is displayed. Gerry On 6/26/06, Jay Blanchard [EMAIL PROTECTED] wrote: I am going to do some thinking (typing) out loud here because I need to come up with a solution to double-clicking on a form button issue. The steps are; 1. Fill

Re: [PHP] Functions

2006-08-13 Thread Gerry D
) but don't mess with their input. Why not clean up crappy input right at the source, Richard? Gerry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Chicago PHP Conference

2006-08-12 Thread Gerry D
weather in Chicago. Having said that, I like your idea. Gerry On 8/12/06, Richard Lynch [EMAIL PROTECTED] wrote: It may have started as a joke on PHP-General, but this just isn't funny anymore. I'm in the pre-planning phase of organizing a PHP Conference in Chicago. Due to Chicago weather

Re: [PHP] Comment form spammer

2006-08-12 Thread Gerry D
My implementation of captcha eliminated chinese spam. See http://www.lilyregister.com/page/?p=contact Gerry On 8/9/06, Micky Hulse [EMAIL PROTECTED] wrote: Hi, Recently, a client of mine was getting a ton of spam email from a site called hotbox.com. I updated her form to one with more spam

Re: [PHP] A way to stop spam on this list

2006-08-12 Thread Gerry D
They're not Jap but Chi. And they drove me crazy on my websites until I fixed them. http://www.lilyregister.com/page/?p=contact is what stopped the idiots. Gerry On 6/19/06, Denis Gerasimov [EMAIL PROTECTED] wrote: Hello List Members, I am very tired of deleting spam messages received from

Re: [PHP] Unicode

2006-08-12 Thread Gerry D
Tedd, Interesting that nobody knows the answer... I am struggling with this very issue for an international lily register... http://www.lilyregister.com/ Gerry On 6/5/06, tedd [EMAIL PROTECTED] wrote: At 7:08 PM -0700 6/4/06, Rasmus Lerdorf wrote: Larry Garfield wrote: In C or C++, yes

Re: [PHP] New Help with Javascript Navigation

2006-04-29 Thread Gerry D
Yah, and why are people still mindlessly clicking OK to install ActiveX plugins? On 4/27/06, Porpoise [EMAIL PROTECTED] wrote: Gerry D [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Interesting discussions... :) I see two issues: 1. if you are exposing php scripts to the client

Re: [PHP] New Help with Javascript Navigation

2006-04-27 Thread Gerry D
first read all your private information, then trash it... Hackers and other cyber vandals would love you to implement this feature... LOL Gerry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Removing special chars

2006-04-25 Thread Gerry Danen
I would like to replace all chars in a string that are not a-z or 0-9 with a space. I can use a series of str_replace functions, but there has to be a faster way. I know there is a solution but my chemo-brain is slowing me down today. Sorry... Any suggestions? TIA Gerry -- PHP General Mailing

[PHP] Removing special chars

2006-04-25 Thread Gerry D
I would like to replace all chars in a string that are not a-z or 0-9 with a space. I can use a series of str_replace functions, but there has to be a faster way. I know there is a solution but my chemo-brain is slowing me down today. Sorry... Any suggestions? TIA Gerry -- PHP General Mailing

Re: [PHP] Creating a Photo Album

2006-04-07 Thread Gerry Danen
. -- Gerry http://dev.danen.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] microsoft PHP ?

2006-04-01 Thread Gerry Danen
Come on, you should have played along... ;-) Gerry On 4/1/06, Stut [EMAIL PROTECTED] wrote: Zouari Fourat wrote: here's the link http://phpro.org/articles/Microsoft-Purchases-Zend-for-$113-Million.html Seriously... consider the date. -Stut On 4/1/06, Stut [EMAIL PROTECTED] wrote

Re: [PHP] microsoft PHP ?

2006-04-01 Thread Gerry Danen
On 4/1/06, Stut [EMAIL PROTECTED] wrote: Gerry Danen wrote: Come on, you should have played along... ;-) I'd had my fill by the time that arrived. It seems to me that people go overboard now. Slashdot used to have one a year, and it was always something that was vaguely possible, this year

Re: [PHP] microsoft PHP ?

2006-04-01 Thread Gerry Danen
On 4/1/06, Stut [EMAIL PROTECTED] wrote: Here's assuming that was a joke so I won't get into the factual errors. I wonder how Zend and the other core developers will feel about being referred to as an unorganized bunch of hobbyists. Now that is slander we don't need. Group hug with the Zend

Fwd: [PHP] private $foo

2006-03-29 Thread Gerry Danen
On 3/29/06, Philip Thompson [EMAIL PROTECTED] wrote: People have been programming since the 70's?!!?!! I didn't think it was possible until the early 90's! Wow I must be young! ;) What do you mean '70's? LOL How about Grace Murray Hopper? http://www.jamesshuggins.com/h/tek1/grace_hopper.htm

Re: [PHP] setcookie security concerns

2006-03-14 Thread Gerry Danen
Which someone could do this, is another question I have. The user? He's do something to his own computer, no? Gerry On 3/14/06, tedd [EMAIL PROTECTED] wrote: Hi: I've been using a php style switcher allowing users to change css. The code follows: Within the head tags. link rel

Re: [PHP] Is this password protection script secure?

2006-03-14 Thread Gerry Danen
On 3/14/06, IG [EMAIL PROTECTED] wrote: Hello. I got a password protected login script of t'internet a while back and have implemented it. I just want to make sure it is secure. I am aware that the password is stored directly in the database and I don't think this is a good thing. If the

[PHP] Displaying documents stored under web root

2006-03-10 Thread Gerry Danen
Gerry http://groups.yahoo.com/group/php_and_mysql/ On 3/10/06, Adrian Bruce [EMAIL PROTECTED] wrote: Hi After some advice (surprise!) I currently store restricted documents beneath the web root so they are not accessible via the URL, when a valid user wishes to view a document i copy

Re: [PHP] session handling

2006-03-09 Thread Gerry Danen
$ID is not a global, but $_SESSION[ID] would be... Gerry http://groups.yahoo.com/group/php_and_mysql/ On 3/9/06, suresh kumar [EMAIL PROTECTED] wrote: i am having one problem in session handling. I am having 2 files,login page and hame page. when user enterd user name and password in login

Re: [PHP] Re: Incremental Date Based ID

2006-03-07 Thread Gerry Danen
the highest sub-ID, irregardless of gaps. Gerry http://groups.yahoo.com/group/php_and_mysql/ On 3/7/06, Kevin Murphy [EMAIL PROTECTED] wrote: Well, part of the issue is that I want to be able to use this as part of the link: /news.php?article=2006-03-05a /news.php?article=2006-03-05b which i

Re: [PHP] Re: Incremental Date Based ID

2006-03-07 Thread Gerry Danen
Should have read the whole thread first, I guess... :) Gerry http://groups.yahoo.com/group/php_and_mysql/ On 3/7/06, Shaunak Kashyap [EMAIL PROTECTED] wrote: A possible solution: Make a composite primary key where the first field is the date and the second field would be of type enumeration

Re: [PHP] PHP upgrade on Go Daddy virtual server

2006-02-26 Thread Gerry Danen
Have you tried GoDaddy support? On 2/25/06, Nicolas Verhaeghe [EMAIL PROTECTED] wrote: Has anybody heard (or done it himself) how to upgrade PHP on a Go Daddy virtual server? Current version is 4.3.11 and I'd like to upgrade to 5.1.2. All I know is that this server is a Red Hat Fedora 2.

Re: [PHP] HN CAPTCHA at http://www.phpclasses.org

2006-02-19 Thread Gerry Danen
You got me. Where are you hiding it? Gerry On 2/19/06, tedd [EMAIL PROTECTED] wrote: Manuel: A good CAPTCHA must be fuzzy. If you know other fuzzy CAPTCHA besides these, it may help to sharing that knowledge. Try this: http://xn--ovg.com/no_bot The point of CAPTCHA is to provide

Re: [PHP] HN CAPTCHA at http://www.phpclasses.org

2006-02-19 Thread Gerry Danen
How would a bot find it though? On 2/19/06, comex [EMAIL PROTECTED] wrote: You got me. Where are you hiding it? In test.js: http://www.xn--ovg.com/no_bot/rpc.php?action=one Unless you hide it in a different place each time, how useful is that? -- PHP General Mailing List

Re: [PHP] ! in front of a variable?

2006-02-18 Thread Gerry Danen
! reverses a true/false input. I use it to flip a setting on or off. Gerry On 2/17/06, Jeff [EMAIL PROTECTED] wrote: Hey all, I've got some code from someone else I've inherited and need to sort out some problems with. The programmer that wrote it originally was much better than I

Re: [PHP] Saving a BLOB image to a file (SOLVED)

2006-02-17 Thread Gerry Danen
is world writable. Not the most elegant solution... I found that sometimes the file had not been written yet and trying to display it on a page right away resulted in file not found... Rendering the image to the screen without saving to a file works best for me. -- Gerry http://portal.danen.org

Re: [PHP] Saving a BLOB image to a file (SOLVED)

2006-02-16 Thread Gerry Danen
What if several users try to access a different picture at the same time? Won't that render the wrong image for some? Gerry On 2/16/06, tedd [EMAIL PROTECTED] wrote: Hi gang: In a previous post (i.e., [PHP] Strange response to MySQL query) I was trying to save a BLOB as a file, namely using

Re: [PHP] Finding out DPI using GD

2006-02-15 Thread Gerry Danen
function returns dpi as well but I'm working on a windows machine without cygwin, so can't be certain. You might want to check this package: http://www.ozhiker.com/electronics/pjmt/index.html Gerry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Onclick event and PHP function

2006-02-15 Thread Gerry Danen
Alain, have you tried cookies? On http://www.lily-gallery.com/ you will see 2 colored dots (bottom left) that allows for alternate page colors. Once a user chooses one, I remember his choice with a cookie. I use the cookie to control a style sheet. Gerry On 2/15/06, Alain Roger [EMAIL PROTECTED

Re: [PHP] Onclick event and PHP function

2006-02-15 Thread Gerry Danen
. $currentstylecolor . .css ; then link rel=stylesheet type=text/css href=?php echo $currentstyle ? Gerry On 2/15/06, tedd [EMAIL PROTECTED] wrote: Alain, have you tried cookies? On http://www.lily-gallery.com/ you will see 2 colored dots (bottom left) that allows for alternate page colors

Re: [PHP] image location hiding techniques

2006-02-09 Thread Gerry Danen
anybody have an idea why the session var is not available? The script above is called with this: $_SESSION['photoid'] = md5(validphoto); echo pimg border=0 src='showimage.php?id=$get_picp=$from' alt=\Photo $get_pic being located...\/p; Gerry On 2/7/06, hbeaumont hbeaumont [EMAIL PROTECTED] wrote

Re: [PHP] How to output multiple tables nicely(!) from PHP in Excel format?

2006-02-08 Thread Gerry Danen
Oli, Looks interesting enough to play with. The page mentions look at the code yet I cannot find the code. Is it available? Gerry On 2/8/06, Oli Howson [EMAIL PROTECTED] wrote: The example given outputs to two tabs, sheeta and sheetb Quoting Olaf Greve [EMAIL PROTECTED]: Hi all, I've

Re: [PHP] php.ini version changed, code broke

2006-02-08 Thread Gerry Danen
You should use $_POST... On 2/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello all from a newbie. We have a Nitix server (from Net Integration Technologies, Inc.) that hosts various web site. Recently they released a software upgrade, and in the release notes was this warning: A

Re: [PHP] Submitting form without JavaScript

2006-02-06 Thread Gerry Danen
You should talk to your provider. PayPal does not leave anything legible on my html page, just an encrypted string. Once you end up on PayPal's secure page, the email address is visible. I use a special account, just for that purpose. I'm afraid your provider dictates your solution... Gerry

Re: [PHP] system('bell'); ?

2006-02-04 Thread Gerry Danen
bell is his C program... :) Outputs an ascii 7 (bell) at the machine where it runs. It basically outputs a character to stdout or stderr. He probably has that machine next to his cash drawer... Gerry On 2/4/06, tedd [EMAIL PROTECTED] wrote: I simple wrote a small C program that basically

Re: [PHP] Include after image or a way to reset header

2006-02-03 Thread Gerry Danen
$_htmlfiles = /home/domain/html/ ; $fn = $_GET['id']; $p = $_GET['p']; $img = $_htmlfiles . p/ . $p . / . $fn ; $render = @imagecreatefromjpeg( $img ); header(Content-type: image/jpeg); imagejpeg($render,'',100); imagedestroy ($render); ? Gerry On 2/3/06, tedd [EMAIL PROTECTED] wrote: Hi

Re: [PHP] Hide email addresses from spam bots

2006-02-02 Thread Gerry Danen
that address. Gotta be a pretty smart bot... Gerry On 2/2/06, tedd [EMAIL PROTECTED] wrote: David: Your points are well taken. I was impressed by your javascript answer. It seems to me that there should be something that could circumvent the CAPTCHA problem. -- PHP General Mailing List (http

Re: [PHP] How to get a network drive name

2006-02-02 Thread Gerry Danen
Please define network drive name. There are drive letters, volume labels and share names. What exactly are you looking for? Gerry On 2/2/06, Ibrahima TALL [EMAIL PROTECTED] wrote: Hi everybody ! I would need a help in php or a portable javascript solution (for several browsers). My

[PHP] Hide email addresses from spam bots

2006-02-01 Thread Gerry Danen
A user of mine insists that her email address shows on a web page. I need to protect that address from spam bots. There are lots of solutions around that I have come acros. I am looking for a clean, reusable, non-javascript solution. Any help is appreciated. Gerry -- PHP General Mailing List

Re: [PHP] Collecting info about columns in a table

2006-01-29 Thread Gerry Danen
I think Afan means they are values in an enum field. But I may be mistaken... :) Gerry On 1/29/06, tedd [EMAIL PROTECTED] wrote: Hi to all, I need to collect info about columns from a selected table. I use this: $result = mysql_query(SELECT * FROM . $TableName); $fields = mysql_num_fields

Re: [PHP] Collecting info about columns in a table

2006-01-29 Thread Gerry Danen
] ; if ($f == ) $f = nbsp;; echo $f . | ; } echo \n; } Perhaps combining it with your code will give you what you need. Gerry On 1/29/06, Afan Pasalic [EMAIL PROTECTED] wrote: Hi to all, I need to collect info about columns from a selected table. I

Re: [PHP] PHP / Apache + Error 500

2006-01-25 Thread Gerry Danen
Interestingly, I installed mod_security the other day and noticed error 500 show up. As it turns out, mod_security generates those when they block nasties. Gerry On 1/25/06, Thomas [EMAIL PROTECTED] wrote: Hi there! I am sitting with something of a mystery and was wondering

Re: [PHP] Re: security of uploaded gif files

2006-01-23 Thread Gerry Danen
There's a couple of things a person can do. 1. check for .gif extention 2. see if exif_imagetype() returns type IMAGETYPE_GIF 3. see if getimagesize() returns reasonable values and not FALSE 4. check the file content for binary vs text content Gerry -- PHP General Mailing List (http

Re: [PHP] Adventures in Cookies

2006-01-23 Thread Gerry Danen
After some googling, it's a browser thing, not a php thing, as Austin pointed out. There are just rules (well, suggestions maybe) to be aware of. Are we flogging a dead horse here? On 1/23/06, tedd [EMAIL PROTECTED] wrote: Austin Denyer wrote: This is a function of the way cookies work, and

Re: [PHP] Str to Int

2006-01-20 Thread Gerry Danen
You probably want to do an is_int() first... After that, you know it's an int and treat it that way. Why do you need to typecast it? BTW, change $cardID = $HTTP_GET_VARS[cardID]; to $cardID = $_GET['cardID']; for PHP5 compatibility... ;-) Gerry On 1/20/06, Ron Eggler (Paykiosks) [EMAIL

[PHP] PHP mail form spam checking

2006-01-19 Thread Gerry Danen
A couple of days ago somebody posted a message with a routine to check input fields for potential spam/hacking. I believe it was on this list, but not sure. Of course I can't find that message any more... Could the original poster, please repost? Thanks. Gerry -- PHP General Mailing List

Re: [PHP] generate database driven web pages

2006-01-17 Thread Gerry Danen
Bing, I think I have implemented at http://www.arls-lilies.org/h/board.php what you are looking for. If so, let me know. On 1/17/06, Bing Du [EMAIL PROTECTED] wrote: Hello everyone, Here is what I want to accomplish. Query the backend database and generate a page listing all the staff

Re: [PHP] test variable value?

2006-01-11 Thread Gerry Danen
On 1/11/06, M. Sokolewicz [EMAIL PROTECTED] wrote: remember though that if(!$x) { echo 'nothing here'; } will also output 'nothing here' when provided with the string '0'! That's because (!$x) means ($x == false) and '0' is false... Gerry

Re: [PHP] Floating numbers truncating to two digits without rounding

2006-01-10 Thread Gerry Danen
sprintf creates a string ready for you to manipulate. So does number_format. Pick whatever is best for your purpose. See http://uk2.php.net/manual/en/function.sprintf.php and http://uk2.php.net/manual/en/function.number-format.php for more info. Gerry On 1/10/06, Mark Steudel [EMAIL PROTECTED

Re: [PHP] include() problem

2006-01-09 Thread Gerry Danen
that helps. Gerry On 1/9/06, Nuno Trancoso [EMAIL PROTECTED] wrote: This may sound dumb, but i have been up all night going through php/apache docs, and still have not found an answer.. Throughout a site i need to include files that are scattered in subdirs, sometimes up in the dir tree, sometimes

Re: [PHP] Floating numbers truncating to two digits without rounding

2006-01-09 Thread Gerry Danen
digits past the decimal point. I've been using sprintf but just noticed that it tends to round up. I want the same functionlity without rounding. Thanks -- Gerry http://portal.danen.org/

Re: [PHP] PHP4 vs PHP5

2006-01-07 Thread Gerry Danen
Kevin, [client 192.168.0.2] PHP Notice: Undefined index: HTTP_REFERER in /home/arls_lilies_test/html/include_db/db_connect.php on line 67 is what shows in the error log... The actual code is $glb_http_ref = $_SERVER['HTTP_REFERER']; Gerry On 1/7/06, Kevin Waterson [EMAIL PROTECTED

Re: [PHP] PHP4 vs PHP5

2006-01-07 Thread Gerry Danen
On 1/7/06, Kevin Waterson [EMAIL PROTECTED] wrote: This one time, at band camp, Gerry Danen [EMAIL PROTECTED] wrote: I'm wondering if $_SERVER['HTTP_REFERER'] is no longer supported, or perhaps has a new name? still there, same name. print_r($_SERVER); Ah, yes. It's there when

[PHP] PHP4 vs PHP5

2006-01-06 Thread Gerry Danen
I'm wondering if $_SERVER['HTTP_REFERER'] is no longer supported, or perhaps has a new name? TIA Gerry

[PHP] Re: \|/ $PHP_SELF

2001-11-20 Thread Gerry Figueroa Anadon
. The reason is that the included file is included before the variable is evaluated. Fred -- Gerry Figueroa Dynamic Intermedia -- 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] \|/ $PHP_SELF

2001-11-19 Thread Gerry Figueroa Anadon
://.$HTTP_HOST./.$arr./\;.$label[$arr]./a); }else{ echo(); } Thanks: Gerry Figueroa Dynamic Intermedia -- 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

[PHP] Results of survey I asked

2001-08-13 Thread Gerry Kirk
responses. Also, it seems using published templates and code libraries is not that popular, i.e. most people are writing their own code from scratch. Gerry

[PHP] Feasibility of using XML, PHP for a database-driven web application

2001-08-06 Thread Gerry Kirk
and presentation which can be easier to design, develop and maintain. Your thoughts? Thanks, Gerry Kirk -- 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

[PHP] What tools do you use to develop PHP?

2001-07-30 Thread Gerry Kirk
, Gerry -- 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]

[PHP] What tools do you use to develop with PHP? (more questions)

2001-07-30 Thread Gerry Kirk
I forgot to also ask, how many are using templates, and if so, are you using a template framework: a) PHPLib b) Smarty c) other? Gerry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] Compiler advice please!

2001-05-24 Thread Gerry
development. Could someone point me in the right direction please, maybe a site or mailgroup where I could ask about this? Thanks in advance and sorry for the inconvenience! Gerry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] Working with numbers

2001-05-09 Thread Gerry
Could you suggest a function for displaying decimal zeros. For example I have this: $num = 2.00; $num2 = 3.00; $result = $num + $num2; echo $result; I get 5 but not 5.00 Anyone outhere? Thanks in advance! Gerry Figueroa -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

[PHP] Calling a function that resides elsewhere

2001-04-11 Thread Gerry
the menu with --select one-- option first then 1, 2, 3, but it ignores the fact the I told it $selected = "$cat". I figure it has to do with including the function file instead of having the function inside of "A". How can I call file.B from different files and have it accept

[PHP] PHP+MySQL SEARCH

2001-02-18 Thread Gerry
FISH where ID LIKE '%$search_text%' OR name LIKE '%$search_text%' OR Category LIKE '%$search_text%' OR Color LIKE '%$search_text%' OR Size LIKE '%$search_text%'"; } Any feedback would be a preciated. -- Gerry Figueroa -- - - - --* War does not determine who is righ

[PHP] File_exists function question.

2001-02-15 Thread Gerry
ve the use of this. this is the code: $fn = "directory/images/$id.gif"; if (!file_exists($fn)) { echo "no image"; } else { echo"img src=\"$siteurl/images/camara.gif\""; clearstatcache(); } Could anyone that sees what's wrong with this drop

Re: [PHP] File_exists function question.

2001-02-15 Thread Gerry
Hello again: Ben Peter wrote: Gerry, could you give us a bit more code, esp. the while or for loop that surrounds the code you have quoted? Cheers, Ben Sorry for the confusion, and yes I did mispelled camera in english. Here is more of my sloppy code. I might have an extra

[PHP] Select list with PHP

2001-02-03 Thread Gerry
else { $option .= "OPTION value=\"$Color\"$Color/OPTION"; } echo"select name=\"Colors\""; echo "$option"; echo"/select"; as you can see I end up with a select menu with this "green, blue, red" as the only option. is there a way

Re: [PHP] Newbie frustration!

2001-01-23 Thread Gerry
Don't worry if you got it wrong, I don't know if you did! I wish it where this simple anyway. Thanks! Gerry Figueroa -- 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]

[PHP] Anything similar to phpmyedit?

2001-01-16 Thread Gerry Chu
I'm looking for something exactly like phpmyedit (mysql database displayer/editor) but where I can edit more than one database row at a time. Is there anything like this? Thanks, Gerry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional