Re: [PHP] Instalation Nightmares For Word Press Please Help

2006-04-12 Thread Jochem Maas
marvin hunkin wrote: Hi. need to install word press version 2.0. you need to eat|breath|sleep, but I don't think blogging consitutes a pre-requisite to the continuation of life on this planet. ;-) and now using easy php 1-8, and set up my my sql settings in the wpConfig.php file, and my

Re: [PHP] MS SQL extension not loading

2006-04-12 Thread Laszlo Nagy
Hello Richard, Check the php.ini setting in the top portion to see where php.ini MUST BE for it to be read. It is telling me: Configuration File (php.ini) Path C:\WINDOWS Step #2: Find your php.ini file, and MOVE it to where phpinfo() wants it to be. I have my php.ini at

Re: [PHP] help with multidimentional arrays

2006-04-12 Thread John Wells
On 4/11/06, Bing Du [EMAIL PROTECTED] wrote: == foreach ($sponsor_id as $sponsor = $arr) echo $sponsor:; foreach ($arr[$sponsor] as $project) { echo $projectbr; } == It looks like you're building your array just fine. Here though, your

[PHP] Dynamic array_merge problem

2006-04-12 Thread Ace McKool
Hi, This is the end result I'm trying to get: $z1 = array_merge($z[0], $z[1], $z[2]); But what if I don't know how many elements are in $z? I tried this (but it breaks if there are more than 2 elements in $z): for ($i=0; $icount($z); $i++) { if ($i(count($z)-1)) { $z1 =

Re: [PHP] Dynamic array_merge problem

2006-04-12 Thread Pure Web Solution
Hi if you just want to sort of concatenate your arrays then why not just loop through the whole thing in order to get the new single array. Need more info for further consideration. Hope this helps! for ($i=0;$icount($z);$i++){ $z1[$i] = $z[$i]; } Pure Web Solution

Re: [PHP] Dynamic array_merge problem

2006-04-12 Thread Ace McKool
This worked wonderfully--thank you very much Jochem! On 4/12/06, Jochem Maas [EMAIL PROTECTED] wrote: Ace McKool wrote: Hi, This is the end result I'm trying to get: $z1 = array_merge($z[0], $z[1], $z[2]); $yourArrays = array($z[0], $z[1], $z[2]); $z1 =

[PHP] plain text email message format

2006-04-12 Thread Schalk
Greetings All, Is the code below the correct way to 'build' the message for plain text email? $message = Message From: .$firstName. .$lastName. First Name: .$firstName. Last Name: .$lastName. Address: .$address. Home phone: .$homePhone. Best time to contact: .$bestTime. Email: .$email.;

RE: [PHP] plain text email message format

2006-04-12 Thread Jay Blanchard
[snip] Is the code below the correct way to 'build' the message for plain text email? $message = Message From: .$firstName. .$lastName. First Name: .$firstName. Last Name: .$lastName. Address: .$address. Home phone: .$homePhone. Best time to contact: .$bestTime. Email: .$email.; [/snip] Yes.

Re: [PHP] plain text email message format

2006-04-12 Thread Wolf
I use $message =Message From: $firstname $lastname First Name: $firstname Last Name: $lastname . ; Wolf Schalk wrote: Greetings All, Is the code below the correct way to 'build' the message for plain text email? $message = Message From: .$firstName. .$lastName. First Name:

Re: [PHP] help with multidimentional arrays

2006-04-12 Thread Bing Du
On 4/11/06, Bing Du [EMAIL PROTECTED] wrote: = foreach ($sponsor_id as $sponsor = $arr) echo $sponsor:; foreach ($arr[$sponsor] as $project) { echo $projectbr; } = It looks like you're building your array just fine. Here though, your

Re: [PHP] plain text email message format

2006-04-12 Thread Angelo Zanetti
Schalk wrote: Greetings All, Is the code below the correct way to 'build' the message for plain text email? $message = Message From: .$firstName. .$lastName. First Name: .$firstName. Last Name: .$lastName. Address: .$address. Home phone: .$homePhone. Best time to contact: .$bestTime.

[PHP] Hiding text?

2006-04-12 Thread William Stokes
Hello, How can I hide error message when user enters to POST action form for first time? I have a form for collecting and saving user data. In the code below you can see that there are text messages for user info stored in $teksti variables. At the end the $teksti is passed to function that

Re: [PHP] Hiding text?

2006-04-12 Thread Jochem Maas
William Stokes wrote: Hello, How can I hide error message when user enters to POST action form for first time? I have a form for collecting and saving user data. In the code below you can see that there are text messages for user info stored in $teksti variables. At the end the $teksti is

Re: [PHP] CURLOPT_BINARYTRANSFER

2006-04-12 Thread Jochem Maas
Richard Lynch wrote: Can anybody expand on the meaning and correct usage of: hi Richard, been following your ordeal from a far, sorry to say I have nothing useful to add regarding the curl problem ... but I was wondering if a fopen() or file_get_contents() in conjunction with allow_url_fopen

Re: [PHP] regular expressions or something else?

2006-04-12 Thread Kim Christensen
On 4/12/06, Chris Westbrook [EMAIL PROTECTED] wrote: I have a problem. I'm trying to get a Google search results page via snoopy and then display the links of the results it returns in an application. I know about the fetchlinks function in snoopy, but I'm having trouble getting the text

Re: [PHP] CURLOPT_BINARYTRANSFER

2006-04-12 Thread Richard Lynch
On Wed, April 12, 2006 11:28 am, Jochem Maas wrote: Richard Lynch wrote: Can anybody expand on the meaning and correct usage of: hi Richard, been following your ordeal from a far, sorry to say I have nothing useful to add regarding the curl problem ... but I was wondering if a fopen()

[PHP] IIS,Apache

2006-04-12 Thread Norman Huasebe - TICWARE
Hi, I've been working on PHP using windows IIS as web server but now that I moved to Linux I'll use APACHE 2.x I read about and every where I see that apache improves PHP I would like to now specifics cases Can anyone help me with this, please? Anybody got a clue to lend? Thanks, Norman

Re: [PHP] internationalization of web site

2006-04-12 Thread Martin Alterisio \El Hombre Gris\
Ussually, the browsers send a header with information about the language preferences of the user. This header is HTTP_ACCEPT_LANGUAGE. You can retrieve its value in PHP through the array $_SERVER: $_SERVER['HTTP_ACCEPT_LANGUAGE'] Here you can find about the format of this header:

[PHP] C Debugger?

2006-04-12 Thread Richard Lynch
Can anybody recommend a good C debugger fitting the following criteria: FreeBSD 5.3 command-line based (no X) intuitive enough for a guy who hasn't touched C in 20 years to not fail plays well with PHP source C code/macros installable and runnable by non-root user TIA! -- Like Music?

RE: [PHP] MS SQL extension not loading

2006-04-12 Thread Tim Huntley
Maybe this was already asked, but are you running 64bit Windows Server 2003 on that box? I've heard there's some wonkiness getting PHP and the various extensions to work on 64bit Windows. c:\windows\system32\logfiles\W3SVC848989038\ Don't ask me why. :-) All IIS logfiles -- be they HTTP,

Re: [PHP] CURLOPT_BINARYTRANSFER

2006-04-12 Thread Jochem Maas
Richard Lynch wrote: On Wed, April 12, 2006 11:28 am, Jochem Maas wrote: Richard Lynch wrote: Can anybody expand on the meaning and correct usage of: hi Richard, been following your ordeal from a far, sorry to say I have nothing useful to add regarding the curl problem ... but I was

Re: [PHP] C Debugger?

2006-04-12 Thread Jochem Maas
Richard Lynch wrote: Can anybody recommend a good C debugger fitting the following criteria: FreeBSD 5.3 command-line based (no X) so far: gdb intuitive enough for a guy who hasn't touched C in 20 years to not fail plays well with PHP source C code/macros er? (coming from a guy that's

[PHP] PHP Framework alternative ...

2006-04-12 Thread Jochem Maas
no question here but for anyone wanting a totally different take on php frameworks and some killer code examples take a look at this: http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html in the immortal words of Quake3Arena: 'Impressive' :-) -- PHP General Mailing

Re: [PHP] PHP Framework alternative ...

2006-04-12 Thread Robert Cummings
On Wed, 2006-04-12 at 16:21, Jochem Maas wrote: no question here but for anyone wanting a totally different take on php frameworks and some killer code examples take a look at this: http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html Rasmus is just suggesting

Re: [PHP] PHP Framework alternative ...

2006-04-12 Thread Jochem Maas
Robert Cummings wrote: On Wed, 2006-04-12 at 16:21, Jochem Maas wrote: no question here but for anyone wanting a totally different take on php frameworks and some killer code examples take a look at this: http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html

Re: [PHP] PHP Framework alternative ...

2006-04-12 Thread Robert Cummings
On Wed, 2006-04-12 at 19:23, Jochem Maas wrote: Robert Cummings wrote: I must say that I have questions regarding the 'real' reasons behind The most plausible real reason is to give Zend's name to a framework that will possibly rally interest behind a single framework rather than the multitude

Re: [PHP] PHP Framework alternative ...

2006-04-12 Thread Chris Shiflett
Jochem Maas wrote: a. php will actually implement static late binding b. Zend Framework's 'DataObject' class will make use of said late binding to do cool things like Person::findAll( $myFilter ) with out having to actually implement a findAll method in the Person class I have read indications