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 200

[PHP] Array question - maybe UTF?

2007-02-26 Thread Gerry D
Perhaps it's more a UTF8 issue that is going wrong for me. At first strtr() was not giving me the results I wanted, so I started tinkering. This is what I came up with... Still no satisfactory results. I think character support is rather lacking in php, or maybe I just don't have a cl

[PHP] Array question

2007-02-26 Thread Gerry D
key === FALSE ) $n = $c; else { $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

Re: [PHP] JPEG info needed

2007-01-25 Thread Gerry Danen
ans the code authors 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 inter

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

[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:

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: > > OSCom

Re: [PHP] Shopping cart

2006-08-20 Thread Gerry D
imitations? TIA Gerry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Functions

2006-08-13 Thread Gerry D
y CSS stuff) 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] Preventing double-clicks

2006-08-13 Thread Gerry D
ble is set, processes the info, 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 f

Re: [PHP] page redirecting

2006-08-13 Thread Gerry D
be a full, complete URL, 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

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

2006-08-13 Thread Gerry D
a form) are objects that the browser 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 (ht

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]> w

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: >>I

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 messag

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 mor

Re: [PHP] Chicago PHP Conference

2006-08-12 Thread Gerry D
just 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. D

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.

Re: [PHP] New Help with Javascript Navigation

2006-04-27 Thread Gerry D
site and let me 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 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

[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

Re: [PHP] Creating a Photo Album

2006-04-07 Thread Gerry Danen
n PHP is mysql queries and data > validatlion. -- 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
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

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 > som

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. >

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.

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. I

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. > T

[PHP] Displaying documents stored under web root

2006-03-10 Thread Gerry Danen
Adrian, I use something like this: 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

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 ente

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 fiel

Re: [PHP] Re: Incremental Date Based ID

2006-03-07 Thread Gerry Danen
n 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?artic

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 Fed

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 (http://w

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/n

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 origina

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

2006-02-17 Thread Gerry Danen
d to create a unique file name. The target directory 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 t

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

Re: [PHP] Onclick event and PHP function

2006-02-15 Thread Gerry Danen
$currentstyle = "/skins/style_" . $currentstylecolor . ".css" ; then 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 all

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 <[EM

Re: [PHP] Finding out DPI using GD

2006-02-15 Thread Gerry Danen
> > > IIRC, I think the unix exif 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

Re: [PHP] image location hiding techniques

2006-02-09 Thread Gerry Danen
27;] = md5("validphoto"); echo ""; Gerry On 2/7/06, hbeaumont hbeaumont <[EMAIL PROTECTED]> wrote: > Hi, > > I have a site with images that I want people to download but not have > the direct path to. ie. I do not want them to be able to just view the > s

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: > >

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" &

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...

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 th

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

2006-02-03 Thread Gerry Danen
Call the image rendering from another page and then let that page continue: caller.php: if ( $is_logged_in ) { echo ""; if ( $get_name != "" ) echo "$get_name"; } showimage.php: Gerry On 2/3/06, tedd <[EMAIL PROTECTED]> wrote: > Hi: > > This i

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 seve

Re: [PHP] Hide email addresses from spam bots

2006-02-02 Thread Gerry Danen
reap 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 probl

[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
{ $f = $a2[$i2] ; if ($f == "") $f = " "; echo $f . " | "; } echo "\n"; } Perhaps combining it with your code will give you what you need. Gerry On 1/29/06, Afan Pasalic <[EM

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("

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 won

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,

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

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 (Pay

[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

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 PROTEC

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

2006-01-09 Thread Gerry Danen
so they only have > 2 > 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] include() problem

2006-01-09 Thread Gerry Danen
"$pagedocroot/include/funcs.php"); Hope 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

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

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 <[EM

[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
d file. 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 c

[PHP] \|/ $PHP_SELF

2001-11-19 Thread Gerry Figueroa Anadon
#x27;/', $str)){ $arr = split("/", $str); $num = count($arr); for($i=0; $i < $num; ++$i){ echo(" > ".$label[$arr[$i]].""); $site = $site . $arr[$i] ."/"; } }elseif (ereg("[a-zA-Z_]{1,}$",$str)){ $arr = $str; echo(" &

[PHP] Results of survey I asked

2001-08-13 Thread Gerry Kirk
duplicate 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
data, logic 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,

[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 the

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

2001-07-30 Thread Gerry Kirk
tion here. TIA, 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] Compiler advice please!

2001-05-24 Thread Gerry
you do a lot more than just PHP related 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: [

[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 --

Re: [PHP] Calling a function that resides elsewhere

2001-04-11 Thread Gerry
I got it, I think: and this at the beginning of file "B" $selected == "$selected"; and placed this statement in file "A" if (isset($selected[$cat])) { include ("cat_select.php"); } I don't know why it works but it does, is there anything wrong

[PHP] Calling a function that resides elsewhere

2001-04-11 Thread Gerry
g the function inside of "A". How can I call file.B from different files and have it accept the variable $selected from such files? Thaks in advance: Gerry Figueroa -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[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 -- - - -

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 cod

[PHP] File_exists function question.

2001-02-15 Thread Gerry
the use of this. this is the code: $fn = "directory/images/$id.gif"; if (!file_exists($fn)) { echo "no image"; } else { echo""; clearstatcache(); } Could anyone that sees what's wrong with this drop me a line? Thanks in advance: -- Gerry Fig

Re: [PHP] Select list with PHP/oops!

2001-02-04 Thread Gerry
Well I messed up... I forgot to add the final ";} at the bottom of my sample code but here it is. sorry! Gerry wrote: > > This worked! > But, I get this color selection increment on each subsequent menu where > the colors from the row above mix with the ones below and so on.

Re: [PHP] Select list with PHP

2001-02-04 Thread Gerry
quot;POST\">"; $Colors = $row["Color"]; $options = explode(",", $Colors); while (list(,$Color) = each($options)){ $option .= "$Color\n"; } echo""; echo "$option"; echo""; echo""; echo" > It's usually a

[PHP] Select list with PHP

2001-02-03 Thread Gerry
on"; echo""; as you can see I end up with a select menu with this "green, blue, red" as the only option. is there a way I can tell php3 to break it down at "," so I can actually have a drop down menu Thanks ahead: Gerry Figueroa --

Re: [PHP] Newbie frustration!

2001-01-23 Thread Gerry
o be able to learn how to load everything from a script and how to call the script with a URL to the directory. eg. http://mysite.com/Yarns/"> Yarns Right! I can see this would not work, because I'm missing some things. Don't worry if you got it wrong, I don't know if you d

[PHP] Newbie frustration!

2001-01-23 Thread Gerry
can only create one document and I can't find how to manage URLS to other documents with the same template I wish I could get help on this! Rergards: Gerry Figueroa -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re: [PHP] Anything similar to phpmyedit?

2001-01-17 Thread Gerry Chu
Oh, something lightweight. I'm using phpmyadmin too for database admin, but I need something for inexpericed users to edit specific parts of the database. Thanks Gerry On 17 Jan 2001 10:55:50 +0100, Alain Fontaine wrote: > Hi, > > Speaking of dbtools, I don't know what is

[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 addit