Re: [PHP] OOP in PHP

2007-08-15 Thread Robert . Degen
> Theoritically if Class "koneksi" is being initialized than it > prints "koneksi berhasil (connection succeeded)" but it doesn't. What "does" it? Just nothing? No warnings at all? Possibly disabled? so far rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

[PHP] [EMAIL PROTECTED]: Re: [PHP] what is my dns ip address]

2007-09-01 Thread Robert Degen
>> Or read the contents of /etc/resolv.conf I'm not familiar with, but does any MS product have any comparable file? I remember a "host(s)" ... file somewhere below system32\etc\... but is there any resolv.conf ? I got no win machine here with me, so I can't look it up :-) > Faster for static

Re: [PHP] question about making modules

2007-09-01 Thread Robert Degen
Maybe you should deal with some things like * Plugin-Architecture * Extension Points * States !? A look at wikipedia might give most information you need. Regards rob On Sa, Sep 01, 2007 at 11:23:31 +0200, Mark wrote: > Hey, > > i've been trying alot to make php modules (php based.. not r

Re: [PHP] cant mail

2007-09-06 Thread Robert Degen
Connection/Firewall ?! -- Run telnet 25, type EHLO and see if he talks to you No anonymous relaying ?! Set the From header, caus maybe your smtp doesn't relay for everyone :-) mail ($addressee, $sub, $body, 'From: [EMAIL PROTECTED]'); or write it

Re: [PHP] accessing one object's attribute from another

2007-09-09 Thread Robert Degen
Perhaps I misunderstood the problem, but I would simply... On So, Sep 09, 2007 at 10:06:15 -0400, Larry Brown wrote: > Hi all, I've be developing with a structured approach for a long time > and am working at improving my site by adding some classes etc. I > however, am running into an odd thing

Re: [PHP] How to get the child name from within the parent?

2007-09-10 Thread Robert . Degen
- Ursprüngliche Nachricht - Von: Mathijs <[EMAIL PROTECTED]> Datum: Montag, September 10, 2007 3:19 pm Betreff: [PHP] How to get the child name from within the parent? An: php-general@lists.php.net > Hello there, > > Is there a way to get the child class name from within the parent > me

Re: [PHP] Is it possible to restart Windows Apache (service) on a PHP script?

2007-10-19 Thread Robert Degen
Why don't you try a passthru('net apache restart') perhabs another parameter order, but I think It won't work. Stopping it might work, but restarting... On Fr, Okt 19, 2007 at 04:32:45 +0800, Louie Miranda wrote: > Is it possible to restart Windows Apache (service) on a PHP script? > > i

Re: [PHP] Newbie question - current date - time

2007-11-14 Thread Robert . Degen
Check out "date" function. Prints out nice local time, what you need can be made by changing the "r" option. Have a look at the manual for alternatives to "r" liek Y for year, etc... so far - Ursprüngliche Nachricht - Von: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Datum: Donnerstag, No

Re: [PHP] I need help handling form posting

2007-11-15 Thread Robert . Degen
> Jon Westcot wrote: > > > Is there a way that I can intercept the click of the "Upload" > > button, have it update a field (probably a hidden one) with a > > date/time stamp, and then have that value included in the $_POSTed > > values? > > Sure, javascript is the answer. But don't for

Re: [PHP] how do i get a printout of original multipart post data

2007-11-26 Thread Robert . Degen
If you're with linux try netcat (nc) at listening mode. Something like (not exactly) nc -vtlp 80 and then submut against any localhost url. greetings - Ursprüngliche Nachricht - Von: Olav Mørkrid <[EMAIL PROTECTED]> Datum: Montag, November 26, 2007 1:52 pm Betreff: [PHP] how do i

Re: [PHP] How to create multipart e-mail bodies?

2007-12-07 Thread Robert . Degen
Well, the implementation problem could be fixed by "copying" PEAR into your source folder. That should work even with PHP4 but without the nice class architecture. I just can recommend - PEAR is state of the art, and it works perfectly. But think about switching to PHP5. My hosting provider ser

Re: [PHP] How to create multipart e-mail bodies?

2007-12-07 Thread Robert . Degen
Hi! You should take a look at... http://pear.php.net/package/Mail http://pear.php.net/package/Mail_Mime http://pear.php.net/manual/en/package.mail.mail-mime.php !!! http://pear.php.net/manual/en/package.mail.mail-mime.example.php !!! This should give you a perfect intro... My 2 cents. Rob --

Re: [PHP] acerca de extensiones SQL Server

2007-07-14 Thread Robert Degen
Hi, I think you should install at least php5-mysql and if you're using PEAR's db connection you'll need php-db too. Robert On Sa, Jul 14, 2007 at 10:39:40 -0400, Lic. Eduardo R. Hern?ndez Osorio wrote: > > > Hi: > > I need use the SQL extension on PHP to connect to any SQL Server d

Re: [PHP] Comment modes behavior in HTML and PHP

2007-07-28 Thread Robert Degen
On Sa, Jul 28, 2007 at 03:40:07 +0100, C.R.Vegelin wrote: > I have a PHP script, as follows: > > > As expected, the browser shows nothing, > but when I view Source in the browser, I see: > > > Shouldn't it be just: , without the echo result ? > I don't expect PHP to be active between . No, yo