Re: [PHP] What am I missing?

2006-03-07 Thread Joe Henry
ve path: /mobilkamera/admin/phpfunctions/addnewmanufacturer.php -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IE quirk

2006-03-17 Thread Joe Henry
ill remain > open until the page has finished loading or it is explicitly terminated. > > You can lose the session however if the the page contains a reference to > with name and id references (which may be used if the image > is referencing a dynamic image, called by javascr

Re: [PHP] where php at?

2006-03-27 Thread Joe Henry
your local machine? If you do, then that would be where you'd run the command "which php". On Linux/Mac OS X, you can ssh via a terminal. On Windows, a program like PuTTY will do the trick. Link for PuTTY download (just in case): http://www.chiark.greenend.org.uk/~sgtatham/p

Re: [PHP] private $foo

2006-03-28 Thread Joe Henry
; > throw new Exception("non existing property!"); > } > } > > $f = new Foo; > echo $f->foo,"\n"; > $f->foo = "bar"; > echo $f->foo,"\n"; Maybe I'm wrong, but I thought you couldn't use the "

Re: [PHP] Can "output_buffering" be set in a script?

2006-03-30 Thread Joe Henry
On Thursday 30 March 2006 9:02 am, Todd Cary wrote: > I do not have access to the php.ini file and I need to have > output_buffering turned on. Can this be done within a script? > > Thank you Yep. http://us2.php.net/manual/en/function.ob-start.php That link should get you start

Re: [PHP] White label with PHP?

2006-03-30 Thread Joe Henry
On Wednesday 29 March 2006 9:52 am, Merlin wrote: > white label solution Can someone enlighten me as to what this means? Thanks. -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Download image in PHP

2006-04-05 Thread Joe Henry
- or how would i do this? > > > > Russ You might want to look at CURL, too. http://us2.php.net/manual/en/ref.curl.php -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] simple regex query

2006-04-06 Thread Joe Henry
anyone give me some insight as to where I'm going wrong? > > thanks > > -- > > Angelo I found an AJAX regex tester the other day. It'll check PCRE, Posix, and Javascript. Don't know how useful this is, but thought I'd throw it into this thread. http://rexv.org/ -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Argument passed by reference?

2006-04-06 Thread Joe Henry
e function call. Something like: function foo (&$bar) { ... } Here's a link to that section of the php manual: http://us3.php.net/manual/en/language.references.pass.php Hope that helps. -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.

Re: [PHP] Parse Error on SQL Insert

2006-04-07 Thread Joe Henry
On Friday 07 April 2006 1:37 pm, Tom Chubb wrote: > $insertSQL = "INSERT INTO cars (model, `year`, details, price, image1, Not sure if this is your problem, but those look like backticks around year instead of single quotes. Should there even be quotes there? HTH -- J

Re: [PHP] Parse Error on SQL Insert

2006-04-07 Thread Joe Henry
field in the DB isn't numeric this would be > '{$_POST['model']}' > > Dan > > ------- > http://chrome.me.uk > > > -Original Message- > From: Joe Henry [mailto:[EMAIL PROTECTED] > Sent: 07 April 2006 20:53 > To: php-gener

Re: [PHP] Argument passed by reference?

2006-04-10 Thread Joe Henry
Chris: > > Please forgive my ignorance, but when did that happen? > > tedd > -- > --- >- http://sperling.com I'm not sure when this happened. I'm fairly new to php, myself. Maybe someone else could answer that? -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] interview

2006-04-13 Thread Joe Henry
On Thursday 13 April 2006 11:13 am, Robert Cummings wrote: > On Thu, 2006-04-13 at 12:56, Wolf wrote: > > How much wood would a wood chuck chuck if a wood chuck could chuck wood?? > > Canadian, American, or "Other" woodchuck? > Leave or we shall taunt you a

Re: [PHP] PHP Post & forms

2006-04-14 Thread Joe Henry
t of JobID's and see > which ones need to be updated. > If I'm understanding what you're asking, you have an array of checkboxes whose values you want passed to you PHP via the $_POST array. The HTML form syntax would be something like: etc. Then in your PHP script, $_

Re: [PHP] Pushing PHP Into The Web 2.0 Generation

2006-04-18 Thread Joe Henry
e, the Web 2.0 Movement was born. Web development and war in the same sentence. Killer! -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: no offense to Rasmus... are you kidding me

2006-04-20 Thread Joe Henry
On Thursday 20 April 2006 1:18 am, Richard Lynch wrote: > Is 5 longer than 4? Size doesn't matter. At least that's what I've been told. ;) -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Preg_match() regex

2006-04-21 Thread Joe Henry
ed in > preg_match() in PHP? http://us3.php.net/manual/en/reference.pcre.pattern.syntax.php -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using linkDisplayFields of FormBuilder

2006-04-26 Thread Joe Henry
ts.php HTH -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sanity checker?

2006-05-03 Thread Joe Henry
On Tuesday 02 May 2006 6:14 pm, Ezra Nugroho wrote: > Does anyone know of any tools to test the sanity of your php code? This sounds an awful lot like the Halting Problem to me, which isn't solvable. http://en.wikipedia.org/wiki/Halting_Problem -- Joe Henry www.celebrityaccess.co

Re: [PHP] WINNER

2006-05-08 Thread Joe Henry
mong all PHP-general subscribers. That would be, like, a latte or beer each. Yippee! -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] question about using temporary named pipe in the string for system

2006-05-10 Thread Joe Henry
> > Also tried exec. I really want to take advantage of the > temporary named pipes so I don't have to worry about the temporary files > generated. I've been googling around without much help. Could anyone > plz give me some hint? Thanks a lo

Re: [PHP] remove html tags in text?

2006-05-11 Thread Joe Henry
On Thursday 11 May 2006 9:51 am, Bing Du wrote: > Any functions that can help remove all the HTML tags in it? What about > just removing selected tags, like ? Looks like strip_tags() will do the trick for you: http://us3.php.net/manual/en/function.strip-tags.php -- Joe

Re: [PHP] BDC to ASCII Conversion

2006-05-11 Thread Joe Henry
On Thursday 11 May 2006 10:08 am, Jim Moseby wrote: > In dog we trust Am partial to "Dog is my co-pilot" -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-12 Thread Joe Henry
=> (first page loads but next/previous buttons produce no results) Blank: none that I tested Don't have Firefox on the Mac box. I just clicked the next/previous buttons a few times, so take it for what's it's worth. Thanks to you Tedd. Made me realize I

Re: [PHP] Help retrieving an HTML array

2006-02-01 Thread Joe Henry
The input name must include [] (brackets) to let php know it's an array. Ex: input type=text name=xname[] value="3303" On Feb 1, 2006, at 9:07 AM, Mauricio Pellegrini wrote: Hi , I have a HTML page with a form in which there are some inputs like these: input type=text name=xname va

Re: [PHP] Getting The Document Root

2006-02-02 Thread Joe Henry
you could try pathinfo() http://us3.php.net/pathinfo On Feb 2, 2006, at 8:59 AM, Jeremy Privett wrote: John Nichel wrote: $_SERVER['DOCUMENT_ROOT'] http://www.php.net/manual/en/ reserved.variables.php#reserved.variables.server Nope. I've already tried that... $_SERVER['DOCUMENT_ROOT'] c

Re: [PHP] LIMIT?

2006-02-06 Thread Joe Henry
On Feb 6, 2006, at 12:11 PM, James Kaufman wrote: Answers that show SQL commands that apply to specific databases annoy me. Not everyone uses MySQL. I've worked with several databases that don't support a LIMIT command. At least mention the database engine you are referencing. Response like th