[PHP] batteling with mod_fcgi in virtualmin virtual host

2010-05-26 Thread Gregory Machin
Hi I'm running php-cgi (PHP 5.3.2) and mod_fcgid (2.3.4-2.fc12) in SuExec Apache (2.2.13). I'm experiencing the following Typical errors [Wed May 26 03:59:57 2010] [warn] [client 60.234.169.177] mod_fcgid: stderr: PHP Deprecated: Function eregi_replace() is deprecated in /home/linuxpro/public_h

[PHP] getaddrinfo() - what is the equivalent php function?

2010-05-26 Thread Per Jessen
AFAICT, gethostbyname() only works for ipv4 addresses, so that one is out - dns_get_record seems to be really for dns only, i.e. it does not look at /etc/hosts. Is there a hph function that essentially just calls getaddrinfo() ? -- Per Jessen, Zürich (19.1°C) -- PHP General Mailing List (htt

Re: [PHP] batteling with mod_fcgi in virtualmin virtual host

2010-05-26 Thread Nilesh Govindarajan
On Wed, May 26, 2010 at 1:39 PM, Gregory Machin wrote: > Hi > I'm running php-cgi (PHP 5.3.2) and mod_fcgid (2.3.4-2.fc12) in SuExec > Apache (2.2.13). > > I'm experiencing the following > > Typical errors > > [Wed May 26 03:59:57 2010] [warn] [client 60.234.169.177] mod_fcgid: > stderr: PHP Depre

RE: [PHP] batteling with mod_fcgi in virtualmin virtual host

2010-05-26 Thread Ford, Mike
> -Original Message- > From: gregory.mac...@gmail.com [mailto:gregory.mac...@gmail.com] On > Behalf Of Gregory Machin > Sent: 26 May 2010 09:10 > To: php-general@lists.php.net > > I'm experiencing the following [] > apart from changing logging levels how should I resolve these > issu

[PHP] Problem in image placing

2010-05-26 Thread Amit Bobade
Hi, I am Using PHP 5, I am trying to place an image in the black box in proportional to that black box using the function:- *imagecopyresampled* ( ). But image is not placing proportionally. Is their another method to do that. Please tell me. -- Regards, Amit

Re: [PHP] Problem in image placing

2010-05-26 Thread Ashley Sheridan
On Wed, 2010-05-26 at 06:35 -0500, Amit Bobade wrote: > Hi, I am Using PHP 5, I am trying to place an image in the black box in > proportional to that black box using the function:- *imagecopyresampled* ( > ). > But image is not placing proportionally. Is their another method to do > that. Plea

RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-26 Thread Alice Wei
On Tue, 2010-05-25 at 15:41 -0400, Alice Wei wrote: > Date: Tue, 25 May 2010 13:40:44 -0400 > Subject: Re: [PHP] Select Values Didn't Get Passed in From Two Different Forms > From: marc.g...@gmail.com > To: aj...@alumni.iu.edu > > > I would like to take those values away into my third form, w

RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-26 Thread Ashley Sheridan
On Wed, 2010-05-26 at 08:28 -0400, Alice Wei wrote: > On Tue, 2010-05-25 at 15:41 -0400, Alice Wei wrote: > > > Date: Tue, 25 May 2010 13:40:44 -0400 > > Subject: Re: [PHP] > Select Values Didn't Get Passed in From Two Different Forms > > > From: marc.g...@gmail.com > > To: aj...@alumni.iu.edu

RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-26 Thread Bob McConnell
From: Alice Wei > On Tue, 2010-05-25 at 15:41 -0400, Alice Wei wrote: > >> Date: Tue, 25 May 2010 13:40:44 -0400 >> Subject: Re: [PHP] > Select Values Didn't Get Passed in From Two Different Forms >> > From: marc.g...@gmail.com >> To: aj...@alumni.iu.edu >> >> > > I would like to take those va

RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-26 Thread tedd
At 9:17 PM -0400 5/25/10, Alice Wei wrote: No, the fields are populated in the first and second form, form1 and form2. What I want to do is to get the selections from both forms and pass them on to the third. Does this make sense? For some reason, the text input and the semester drop down menu r

Re: [PHP] displaying database output in a table

2010-05-26 Thread tedd
At 9:27 PM -0400 5/25/10, David Mehler wrote: I'm trying to display mysql database output in a formatted table. My problem is i'm getting a blank screen with no errors. -snip- Not that this is the problem, but "@" suppresses error reporting. Cheers, tedd -- --- http://sperling.com ht

Re: [PHP] Re: Looking for PHP/Solr developer

2010-05-26 Thread Paul M Foster
On Tue, May 25, 2010 at 11:46:32PM -0300, Manuel Lemos wrote: > Hello, > > on 05/25/2010 04:40 PM Walden Bay said the following: > > We're looking for a developer that has experience with integrating Apache > > Solr with PHP. We currently have a PHP web system, but we'd like to build > > in Solr

[PHP] Convert UTF-8 to PHP defines

2010-05-26 Thread Guus Ellenkamp
We use PHP defines for defining text in different languages. As far as I know PHP files are supposed to be ASCII, not UTF-8 or something like that. What I want to make is a conversion program that would convert a given UTF-8 file with the format definetext1=this is a text in random UTF-8, proba

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-26 Thread Ashley Sheridan
On Wed, 2010-05-26 at 22:20 +0800, Guus Ellenkamp wrote: > We use PHP defines for defining text in different languages. As far as I > know PHP files are supposed to be ASCII, not UTF-8 or something like that. > What I want to make is a conversion program that would convert a given UTF-8 > file

[PHP] Google checkout nightmare

2010-05-26 Thread Ashley Sheridan
Hi All, I'm trying to get a custom shopping cart integrated with Google Checkout. I've done it before with their older API, but it's changed a lot since I last used it. The official documentation is a mix and match of bits, and doesn't seem to follow any logical structure. The code samples Google

RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-26 Thread Alice Wei
> Date: Wed, 26 May 2010 09:19:26 -0400 > To: php-general@lists.php.net; aj...@alumni.iu.edu > From: tedd.sperl...@gmail.com > Subject: RE: [PHP] Select Values Didn't Get Passed in From Two Different > Forms > > At 9:17 PM -0400 5/25/10, Alice Wei wrote: > >No, the fields are populated in the

Re: [PHP] Google checkout nightmare

2010-05-26 Thread Adam Richardson
On Wed, May 26, 2010 at 10:54 AM, Ashley Sheridan wrote: > Hi All, > > I'm trying to get a custom shopping cart integrated with Google > Checkout. I've done it before with their older API, but it's changed a > lot since I last used it. The official documentation is a mix and match > of bits, and d

RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-26 Thread tedd
Alice: You provide: Select the type of your starting point of interest: action="test_getrss.php" name="form1" method="post"> value="Apartment" name="start" onclick="check(document.form1.

RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-26 Thread Alice Wei
> Date: Wed, 26 May 2010 15:36:18 -0400 > To: php-general@lists.php.net; aj...@alumni.iu.edu > From: tedd.sperl...@gmail.com > Subject: RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms > > Alice: > > You provide: > > > > > > > Select the type of your starting point of in

Re: [PHP] Select Values Didn't Get Passed in From Two DifferentForms

2010-05-26 Thread Al
On 5/26/2010 3:50 PM, Alice Wei wrote: Date: Wed, 26 May 2010 15:36:18 -0400 To: php-general@lists.php.net; aj...@alumni.iu.edu From: tedd.sperl...@gmail.com Subject: RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms Alice: You provide: Select the type of your start

[PHP] One more time about regexes

2010-05-26 Thread Andre Polykanine
Hello everyone, Sorry, but I'm asking one more time (since it's really annoying me and I need to apply some really dirty hacks): Is there a way making preg_replace() pass through the regex one single time searching from left to right and not to erase what it has already done? I can give you a real

Re: [PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-26 Thread Nisse Engström
On Wed, 26 May 2010 11:02:10 -0400, Alice Wei wrote: [De-indented to preserve sanity] > > Bzzt. Only elements can be children of . > Select the type of your starting point of interest: > > Bzzt. You didn't close the previous . You can *not* have nested elements. >

Fwd: [PHP] One more time about regexes

2010-05-26 Thread Nilesh Govindarajan
-- Forwarded message -- From: Nilesh Govindarajan Date: Thu, May 27, 2010 at 8:40 AM Subject: Re: [PHP] One more time about regexes To: Andre Polykanine On Thu, May 27, 2010 at 3:33 AM, Andre Polykanine wrote: > Hello everyone, > > Sorry, but I'm asking one more time (since it'

Re: [PHP] One more time about regexes

2010-05-26 Thread Adam Richardson
On Wed, May 26, 2010 at 11:10 PM, Nilesh Govindarajan wrote: > -- Forwarded message -- > From: Nilesh Govindarajan > Date: Thu, May 27, 2010 at 8:40 AM > Subject: Re: [PHP] One more time about regexes > To: Andre Polykanine > > > On Thu, May 27, 2010 at 3:33 AM, Andre Polykanine