RE: [PHP] Re: Retrievable weather service info?

2005-06-15 Thread Clive Zagno

Hi Murray

Ive managed to get the local weather in cape town or for any airport 
that has a ITIA code.


the webservice is provide by:
http://www.capescience.com/webservices/globalweather/index.shtml

you will need to get nusoap from sourceforge to make use of the webservice.

regards

clive

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] linux php editor

2005-06-06 Thread Clive Zagno
what php GUI editors do you recommend. Ive used bluefish before, any 
other recommendations, thanks


clive

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] linux php editor

2005-06-06 Thread Clive Zagno
the truth is Ive been developing on windows, because of some .net 
developments.


Ive been starting most new projects as web applications and using 
php/mysql. On windows I used ultredit, then I found a product called 
phpedit, which I liked, now Im trying to move to linux.


what I really want is a app that can do that predictive text thing, you 
know when it start showing me the possible php syntax as Im typing it 
in. Two reasons for this is it help with debugging as I get the syntax 
correct the first time and secondly I think its cool.



clive

Rory Browne wrote:

Cut the red, connect the blue, and green..

In seriousness though I like vim, and Kate.

On 6/6/05, John Nichel [EMAIL PROTECTED] wrote:


Greg Donald wrote:


On 6/6/05, John Nichel [EMAIL PROTECTED] wrote:



You newbies and your fancy editors.  Back in my day, you got vi, and you
were happy with it.  ;)



# dd if=/dev/tty of=/dev/hda1


Now we just need the punch card people to speak up.

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php







--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Copy to network share

2005-06-01 Thread Clive Zagno

sorry I ment to send to email to the list

I tried the code bellow on my windows machine. I have a mapped network 
drive on my windows machine (i: drive) that links to a samba share (my 
htdocs directory on my linux dev machine). It worked fine.


echo getcwd();
chdir('i:');
echo br;
echo getcwd();

clive



Jeff McKeon wrote:

Yes, doesn't work either

Jeffrey S. McKeon
Manager of Information Technology
Telaurus Communications LLC
[EMAIL PROTECTED]
+1 (973) 889-8990 ex 209




-Original Message-
From: Clive Zagno [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 01, 2005 8:19 PM

To: Jeff McKeon
Subject: Re: [PHP] Copy to network share


Hi

jave you tried creating a mapped network drive on windows?

clive


Jeff McKeon wrote:

I've got PHP 4.3 running on a Win2k IIS 5.0 web server.  I need to 
upload a file and then copy it to a samba share (share 


level security) 


on a linux box across the network.

I can

$dirhandle = opendir(server\\share);
Readdir($dirhandle);

With no problem but I can't changed to the that dir to copy the 
uploaded files to it.


I've tried

Chdir(server//share);

Chdir(server\\share);

But it always returns:

Warning: chdir(): No such file or directory (errno 2)

Is what I'm trying to do possible and if so, how?

Many thanks,

Jeff









--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Copy to network share

2005-06-01 Thread Clive Zagno

its on my local machine, in your case it will your w2k box.

clive

Jeff McKeon wrote:

Is that drive mapped on your local machine or on the web server?

Jeff



-Original Message-
From: Clive Zagno [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 01, 2005 8:31 PM

To: Jeff McKeon; php
Subject: Re: [PHP] Copy to network share


sorry I ment to send to email to the list

I tried the code bellow on my windows machine. I have a 
mapped network 
drive on my windows machine (i: drive) that links to a samba 
share (my 
htdocs directory on my linux dev machine). It worked fine.


echo getcwd();
chdir('i:');
echo br;
echo getcwd();

clive



Jeff McKeon wrote:


Yes, doesn't work either

Jeffrey S. McKeon
Manager of Information Technology
Telaurus Communications LLC
[EMAIL PROTECTED]
+1 (973) 889-8990 ex 209





-Original Message-
From: Clive Zagno [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 01, 2005 8:19 PM
To: Jeff McKeon
Subject: Re: [PHP] Copy to network share


Hi

jave you tried creating a mapped network drive on windows?

clive


Jeff McKeon wrote:



I've got PHP 4.3 running on a Win2k IIS 5.0 web server.  I need to
upload a file and then copy it to a samba share (share 


level security)



on a linux box across the network.

I can

$dirhandle = opendir(server\\share); Readdir($dirhandle);

With no problem but I can't changed to the that dir to copy the
uploaded files to it.

I've tried

Chdir(server//share);

Chdir(server\\share);

But it always returns:

Warning: chdir(): No such file or directory (errno 2)

Is what I'm trying to do possible and if so, how?

Many thanks,

Jeff







--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php








--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Templating engines

2005-04-29 Thread Clive Zagno
Wait -  doesn't smarty 'compile' the php file and the tpl file into 
another php file. If you look into templates_c directory you find some 
'compiled' templates.

clive
Robert Cummings wrote:
On Thu, 2005-04-28 at 13:20, Ryan A wrote:
On 4/28/2005 7:08:00 PM, Evert | Rooftop Solutions
([EMAIL PROTECTED]) wrote:
Ryan A wrote:
So just because you use smarty you think you are smart and have the right
to be smart..who the hell do you think you are??

Sorry, just giving an example of how a jackass with extreme opinions
would write on this holy war's volatile topic. no offense meant
:-)

I would go for a xml-style template engine (start flaming right below
this thread)
Flaming??? who has time to start flaming after reading what you wrote?
am busying banging my head against the wall.

To state the obvious... the above is in actuality a flame disguised as
an excuse.
I use InterJinn, smarty, and PHP as template engines depending on what
the client wants and how much work they want done, and how much
elegance, modularity, and maintainability they want. Of the three I like
smarty the least which is probably why I wrote my own engine :) Oh wait,
I've also used eztemplate which by far takes the cake of horrible
horrible templating. While PHP is itself usable as a templating engine,
it's not what I would call clear and concise when used that way (but
maybe that's because I've come across too many instances where the
previous developer mixed business logic with display logic and then I
had to rework the functionality which was a nightmare :). When using
InterJinn I save the overhead of run-time includes incurred by using PHP
as a templating engine, and I save the overhead of cache checks incurred
by systems like smarty since InterJinn compiles to PHP source code and
does not use a cache (although it can be set to automatically recompile
pages when dependencies change).
At any rate I don't generally post about InterJinn here anymore since
some of the regulars tend to get annoyed ;)
Mind you I don't post much at all anymore since I became a father a year
and a half ago... priorities you know :)
Cheers,
Rob.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Templating engines

2005-04-28 Thread Clive Zagno
Hi all,
What templating engines do you use with php and why?
Ive been using smarty (http://smarty.php.net)
Clive.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Re: Templating engines

2005-04-28 Thread Clive Zagno
Hi,
I dont mind seeing php and html together, but designer generally hate 
it, so I would want to seperate php code from html as much as possible.

clive
Jason Barnett wrote:
Clive Zagno wrote:
Hi all,
What templating engines do you use with php and why?
Ive been using smarty (http://smarty.php.net)
Clive.

PHP itself is a templating engine, i.e. it can be used to filter input 
and format it into output.  But Smarty is nice if you want your people 
to be able to create a template without giving them all of the 
additional PHP coding abilities.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] mailing lists

2005-04-19 Thread Clive Zagno
Hi
does anyone use any cool php mailing list software.
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Re: mailing lists

2005-04-19 Thread Clive Zagno
Hi
i should of added, that it shoud preferable be free and opensource.
I found these guys http://www.webinsta.com  seem to be what i want, 
unless anyones got some comments.

clive
Mike Hummel wrote:
Sonic Mail Pro is very usable, and very easy to setup.
I have some very non-technical clients using it effectively.
http://www.sensationdesigns.com/products/scripts/smpro/index.php

Clive Zagno wrote:
Hi
does anyone use any cool php mailing list software.
clive

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php