well.
On Sun, Oct 18, 2009 at 1:24 PM, Tommy Pham wrote:
> - Original Message ----
> > From: mbneto
> > To: php-general@lists.php.net
> > Sent: Sun, October 18, 2009 8:31:53 AM
> > Subject: [PHP] Using setters/getters with array of objects
> >
> > Hi
Hi,
Thanks. I'll probably do the addEmail method. I was hoping to do as with
the other "non-array" properties.
On Sun, Oct 18, 2009 at 1:00 PM, Andy Shellam (Mailing Lists)
wrote:
> Hi,
>
>
> $u->emails[] = $e;
>
>
> I would hazard a guess because $u->emails isn't a concrete object (whereas
Hi,
I have two classes User and Email where one User can have many Emails so
I've done like this
class Email
{
protected $_email;
public function __get($name)
{
$property = '_' . $name;
return $this->$property;
}
public function __set($name, $value)
{
Hi,
I've checked all pages and downloaded the php5.2.5.release1.tar.gz (the
latest I found) but I get the same errors
httpd: Syntax error on line 484 of /private/etc/apache2/httpd.conf: Syntax
error on line 8 of /private/etc/apache2/other/entropy-php.conf: Cannot load
/usr/local/php5/libphp5.so i
Hi,
I've developed a simple script that among other things sends a fax using
hylafax's sendfax program. If I test it calling directly from the command
line it works fine.
If I let it run from cron it executes everything fine except the fax.
I am using the system call and in order to debug I a
a full-blown GET.
There shouldn't be a HEAD done before a POST...
Are you sure you are doing a CURLOPT_POST and not CURLOPT_GET...?
On Mon, April 16, 2007 4:43 pm, mbneto wrote:
> Hi,
>
> I am tring to use curl to access, via POST, a remote 'service'.
> I've
&g
Hi,
I am tring to use curl to access, via POST, a remote 'service'.I've
managed to test it fine but when I use real data to feed the curl it gives
me strange results.
When I check the logs of the remote web server one thing that alarms me is
that with test data I see
A.B.C.D - - [16/Apr/200
Hi Frank,
The problem gets stranger...
I've downloaded the 5.1.6 and guess what? the ./configure --with-mssql runs
fine in the same machine...
5.0.4
./configure --with-mssql
...
checking for MSSQL support via FreeTDS... yes
configure: error: Cannot find FreeTDS in known installation directories
Hi Frank,
Thanks for the reply but the tds.h is located under /usr/include/freetds
but the error persists.
Any other ideas?
On 1/10/07, Frank M. Kromann <[EMAIL PROTECTED]> wrote:
Hi,
--with-mssql=/usr or --with-mssql=shared,/user should work with your
configuration. It's looking for /usr/i
Hi,
I am trying to compile php 5.0.6 with mssql support with no luck.
I have freetds, freetds-devel but no luck so far.
I've tried the simplest form and some variations variations
./configure --with-mssql
./configure --with-mssql=/usr
./configure --with-mssql=shared,/usr
./configure --with-mssq
ectly. Of course you would
after
that need to decode the variables with base64_decode in your PHP script
DS!
-Original Message-----
From: mbneto [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 29, 2006 2:57 AM
To: php-general@lists.php.net
Subject: [PHP] Problems with UTF
Hi,
I have a php base
Hi,
I have a php based script that is called from a html page via ajax.
Everything runs fine except when I use characters such as á that ends up
like A!
After searching and testing I found that if I remove the
encodeURIComponentfrom the javascript and replace with
escape everything works fine.
Hi,
I did that but my apache+php still does not recognize the mysql extension.
I get no error messages while staring the server but phpInfo does not show
the mysql support...
php 5.1.4, mysql 5.0.22, apache 2.0.58
On 6/27/06, Jeremy Schreckhise <[EMAIL PROTECTED]> wrote:
Here is the direct do
ochem Maas <[EMAIL PROTECTED]> wrote:
mbneto wrote:
> Hi,
>
> I'd like to enable safe mode in my current setup but it seems that I am
> doing something wrong.
have a look at the open_base_dir ini setting.
IIRC safe_mode is being depreciated and will eventually be phased
Hi,
I'd like to enable safe mode in my current setup but it seems that I am
doing something wrong.
I have configure a webmail (IMP) and I can access my messages fine but when
I try to send a new one I get error message in my log
Jul 12 15:00:44 HORDE [error] [imp] sendmail [/var/www/phpexecdir/
Hi,
I am facing a strange problem. I have a script that runs fine in one server
but simply locks up in another.
I´ve managed to find that when the curl_exec is called the problem appears,
so I decided to use a sample script with the same example found at
ww.php.net and got the same results.
Th
by package I mean an external program (outside apache).
On 5/25/06, Jay Blanchard <[EMAIL PROTECTED]> wrote:
[snip]
I'd like to use GD instead of ImageMagick beacuse I would not want to
install extra packages if I can.
[/snip]
GD is an extra package.
Hi,
Is this a non documented api?
http://www.php.net/manual/en/ref.image.php does not show this.
On 5/23/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Mon, May 22, 2006 5:10 pm, mbneto wrote:
> I am looking for sample code/class that can generate a thumbnail (can
> be a
>
Jay,
I am not quite sure if you've made sarcastic comments but to make things
more clear...
I'd like to use GD instead of ImageMagick beacuse I would not want to
install extra packages if I can.
When I mentioned that I use convert I said 'when GD is not available...' So
I have alternatives: if
Hi Jay,
I know the imagemagick tools. I use convert when I need to perform
operations on images and gd is not available.
I'd like an alternative without having to install any extra packages
specially that in this case the scripts will be hosted in a win32 machine
(windows xp).
On 5/22/06, Jay
Hi,
I am looking for sample code/class that can generate a thumbnail (can be a
png/jpeg) image from a tiff image. So far I've only found examples using
png/jpg/gif as input.
Any tips?
Hi,
If all you want to do is this as a suggestion (altough not php
related) you could call wget from your php script to fetch this image
without having to worry with other things.
Something like this
exec ('/path/to/wget http://www.foo.com/bar.jpg');
Of course you'd have to check if everything
Hi,
is it possible to use sqlite with php 4.4 ? What do I have to do ?
I could not find and option in ./configure.
tks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I've looked at php.net but could not find info regarding if/when are
we going to have further 5.0.x versions and what will change in php
5.1.
Any pointers (besides the php-devel) ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Phinney <[EMAIL PROTECTED]> wrote:
> * mbneto <[EMAIL PROTECTED]>:
> > I am trying the phpunit2 for unit testing but the examples found in
> > the documentation are few and do not address, for example, tests when
> > database access is involved.
> >
> > Perhaps
Hi,
I am trying the phpunit2 for unit testing but the examples found in
the documentation are few and do not address, for example, tests when
database access is involved.
Perhaps this belongs to a more general question (i.e strategies for
unit testing) so any urls, docs would be great.
--
PHP Ge
t; >> On Thu, May 12, 2005 6:58 am, Shaun said:
> >>
> >>>$_SERVER['HTTP_HOST']
> >>>
> >>>"Mbneto" <[EMAIL PROTECTED]> wrote in message
> >>>news:[EMAIL PROTECTED]
> >>>Hi,
> >&g
Hi,
I need to access a website (written in php) using two different
domains (www.foo.com and www.bar.com). I must see the same content.
Since the site uses session and cookie variables I was wondering if
(and how) it's possible to create a session id that is valid for the
domains I'll be using...
Hi,
I'd like to generate reports (with tabular data) to print from php.
Now I am using a mixed solution where I save the data in a reports
database and I have a delphi app installed pooling the db for pending
reports and print it.
My plan is move away from the current solution but I am still con
Hi,
I'd like to make a script that opens my maildir
(~login/Maildir/.Junk/cur) and forwards all messages to a specific
address in order to train the spam engine.
Any tips about this ?
tks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I've downloaded the 5.0.4 targz and installed on a new server using
the same ./configure settings I use in a nother server that runs php
5.0.3.
I did a make/make install and everything runs fine excepth the fact
that I can no longer pear install because there is no pear in
/usr/local/bin
hi,
I used to visit zend.com for the weekly summary but it seems that it
has not been updated in a while.
Besides the php-devel is there any other source of information about
php's development ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
Simply.
My server has moved from php4 to php5 and my webmail program IMP can't
be upgraded before I find out how to do that safely for my users.
Now I have sites that need php5 and only one that does not work with it (imp).
That's why I'd like to stick with apache2 + php5 default and
apache2+php
Hi Hans,
What I am trying to avoid is having 2 copies of the same program installed...
- mb
On Sun, 13 Mar 2005 22:06:15 -0500, Hans Zaunere <[EMAIL PROTECTED]> wrote:
>
> > Any tips regarding the configuration of php and/or apache ?
>
> Per option 1 below, they were saying two installs of Ap
Hi Hans,
Do you mean by using virtual host directives of apache ?
But how about the configuration to make requests for certain
directories to be handled by php4 or php5.
For ex.
/var/www/html/site needs php5 but /var/www/html/legacy does not
support php5 so I have to run php4.
Any tips regardi
es so when the user fills the values I'd replace such
occurencies and generate de pdf.
On Sun, 27 Feb 2005 15:14:12 +0100, Jochem Maas <[EMAIL PROTECTED]> wrote:
> mbneto wrote:
> > Hi,
> >
> > I have a bunch of M$ WORD documents (rtf and doc) that I'd like
Hi,
I have a bunch of M$ WORD documents (rtf and doc) that I'd like to
transform to pdf.
It would simple except that I'd like to allow the user to fill a
couple of variables (name, email, telephone) and replace this before
if generates the pdf.
After searching the net I found some classes but in
Hi,
I am trying to upgrade my server from 4.3.10 to 5.0.3 without luck.
The compile goes fine, I install the libphp5.so and switch the
LoadModule. When I restart apache it loads fine (service httpd
status) but even a simple phpInfo() call aborts.
When I call the cli with the same php script, ev
Hi,
I'd like to create a script that will act as a daemon.
Now I simply add while() { do stuff }
But this forces me to call it script.php &. Is there a way to make
this work without the &
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
39 matches
Mail list logo