Re: [PHP] Trying to View php.ini

2003-09-21 Thread Eugene Lee
On Sat, Sep 20, 2003 at 06:19:25PM -0400, Stephen Tiano wrote:
: 
: I'm on a Mac PowerBook. I'm able to locate the php.ini file. But when I 
: open it with BBEdit, it's a blank page. I just want to open it and 
: either view it, or make a copy to view. But all I have is the blank. Any 
: suggestions?

If you're talking about PHP 4.1.2 currently shipping with Mac OS X,
it does not come with a php.ini file anywhere (although you can grab
one from the source distribution and install it in /usr/lib).

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



[PHP] dynamic pop up

2003-09-21 Thread fr r
i have something like a mail system and i want whenever the user recieves a new 
message ( and its stored in the databse ) a pop up window appears telling him that he 
has a new message.
 
so i guess i want something like a daemon but i'm not working on a unix server, i'm 
working on Windows NT  platform.
 
Thx guys


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Re: [PHP] dynamic pop up

2003-09-21 Thread Becoming Digital
I, too, want many things.  Perhaps you can show us some of the code you've tried and 
we'll work from there.

Edward Dudlik
Becoming Digital
www.becomingdigital.com


wishes | www.amazon.com/o/registry/EGDXEBBWTYUU


- Original Message - 
From: fr r [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, 21 September, 2003 04:44
Subject: [PHP] dynamic pop up


i have something like a mail system and i want whenever the user recieves a new 
message ( and its stored in the databse ) a pop up window appears telling him that he 
has a new message.
 
so i guess i want something like a daemon but i'm not working on a unix server, i'm 
working on Windows NT  platform.
 
Thx guys


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

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



Re: [PHP] session_start() || shell access problem......

2003-09-21 Thread Marek Kilimajer
Sessions don't work on command line and that is how you run your script 
- from command line.

CF High wrote:
Hey Robert.

Indeed, hard to find the problem.

I don't believe it's a whitespace issue, or even a Headers sent issue,
despite the fact that I'm receiving that error.
Check it out:

test.php contains just one line: ?$text = `usr/local/bin/php
/path/to/my/php/test1.php`;?
test1.php, the file to be executed, contains just one line:
?session_start();?
There are no line breaks, spaces, etc.

Still get Headers already sent.

Pretty strange, right?

Correct me if I'm wrong, but I think the problem may be related to the fact
that when files are executed from the command line, php now looks for
include_paths, session_paths, etc. relative to the server root; not the site
root.
I can think of no other reason why include paths, starting sessions, and so
on, return errors from the command line but ork perfectly fine when run in a
browser.
Feel free to clue me in -- I know didly about shell access issues.

--Noah

Robert Cummings [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Sat, 2003-09-20 at 15:46, CF High wrote:

Hey all.

I'm running a script from the command-line php interpreter as follows:
(thanks to D. Souza for lead)
$text = `usr/local/bin/php /path/to/my/php/page.php`;

within the read file I want to enable sessions, so I session_start() at
the

top of the page:

?
session_start();
?
?
   code to execute here...
?
Regardless of how I mess around with placement of session_start(), I get
a

Headers already sent.

Why? Nothing has been output to the browser within the read file!
Furthermore, if I create a test page with just:
?$text = `usr/local/bin/php /path/to/my/php/page.php`;?

Still receive Headers already sent.

My eyes are completely fried -- anyone feel like saving my vision?
This often is difficult to detect when there's is implicit output
outside of the ? tag. Check the top of the included file or start php
script and see if there is any whitespace or newlines preceding the tag.
HTH,
Rob.
--
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'


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


Re: [PHP] Bypassing the 'open or save' dialog when outputting a docum ent

2003-09-21 Thread [-^-!-%-


 This is a client issue.


There should be an option on the dialog box that you can check to do that.

_j

=P e p i e  D e s i g n s
 www.pepiedesigns.com
 Providing Solutions That Increase Productivity

 Web Developement. Database. Hosting. Multimedia.

On Fri, 19 Sep 2003, Curt Zirzow wrote:

 * Thus wrote FLOWERS, Gareth ([EMAIL PROTECTED]):
  Hi,
 
  I'v created several pages for my company website that output php to MS Word
  and MS Excel. These work fine fine but as soon as you load the page you get
  a dialog that asks whether to open or save the document. We always select
  'open' as we want view the contents in Excel/Word applications.
  Is there a way to stop this dialog box appearing everytime - can I just open
  the document without it appearing. I know theres a checkbox at the bottom of
  the dialog you can unitck but I only want this setting to apply to certain
  pages.

 Nope, unfortunately you don't have that power, and for good reasons.
 It all depends on the client's file (mime/type) associations on
 their local computer.

 If this were the case malicious people could force visitors to
 launch an .eml file (or something containing a virus) without their
 consent.

 Curt
 --
 I used to think I was indecisive, but now I'm not so sure.

 --
 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] dynamic pop up

2003-09-21 Thread Marek Kilimajer
Do you want to run it from within browser or as php-gtk application? 
Windows have a sheduler too, you can use it for php-gtk application. If 
you want it from browser, you can have a hidden iframe that regularly 
refreshes, if thare are any new messages, send the iframe javascript 
that would pop up the window.

fr r wrote:

i have something like a mail system and i want whenever the user recieves a new message ( and its stored in the databse ) a pop up window appears telling him that he has a new message.
 
so i guess i want something like a daemon but i'm not working on a unix server, i'm working on Windows NT  platform.
 
Thx guys

-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software


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


Re: [PHP] php|cruise

2003-09-21 Thread Stevie D Peele
I would love to go, but 15 year olds don't usually have 1500
dollars.:)

Stevie



On Sat, 20 Sep 2003 23:30:51 -0400 John W. Holmes
[EMAIL PROTECTED] writes:
 Is anyone planning on going to this?
 
 http://www.phparch.com/cruise/
 
 I'm trying to go. It would be nice to put a face to the name with a 
 few 
 people out there. Let me know.
 
 -- 
 ---John Holmes...
 
 Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
 
 php|architect: The Magazine for PHP Professionals – www.phparch.com
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 

Re: [PHP] Trying to View php.ini

2003-09-21 Thread Burhan Khalid
andu wrote:

On Sat, 20 Sep 2003 18:19:25 -0400
Stephen Tiano [EMAIL PROTECTED] wrote:

I'm on a Mac PowerBook. I'm able to locate the php.ini file. But when I 
open it with BBEdit, it's a blank page. I just want to open it and 
either view it, or make a copy to view. But all I have is the blank. Any 
suggestions?


Put a file phpinfo.php with 
?php
phpinfo();
?
in your server's root and call it with the browser, it will tell you where the
php.ini is, don't think it can be empty. 

Actually, php.ini can be empty and php will start with default options.

--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Housing multiple classes under one class

2003-09-21 Thread Burhan Khalid
Gerard Samuel wrote:

[ snip ]

By having one class where they all can share each others data.
Is it just a dream?
The only way I know how is by making object/objects like 
$foo-bar-do_something()
Have you tried using inheritence?

class foo { /* class methods, objects */ } class bar extends foo { .. }

--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] PHP output|Buffer, PLEASE ADVISE

2003-09-21 Thread nabil
Hi all;

In general , when you open an html file , the browser start to display and
draw the tables, then start to display the pictures (on slow internet
connection).. but when you make your html code inside an php the output will
be different, it will buffer everything then it will pop the whole page.

I have a question.. how can I make php output and display my website as
stream html..

because I have a postnuke website and it take ages for popping all contents
, but when I saved it as html and I upload it on the same apache server ,
the home page start to be displayed picture after picture and so on ...


Please any advise  ??

Nabil

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



Re: [PHP] session_start() || shell access problem......

2003-09-21 Thread CF High
H,

Well, is there a way to pass params to file_to_be_executed in command line?

For example:

?
$my_param = 'my_include_path';
$text = `usr/local/bin/php /path/to/my/php/page.php`;
?

Somehow I need $my_param to be passed to page.php (the file to be processed
in command line).

Any ideas?

--Noah



Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Sessions don't work on command line and that is how you run your script
 - from command line.

 CF High wrote:
  Hey Robert.
 
  Indeed, hard to find the problem.
 
  I don't believe it's a whitespace issue, or even a Headers sent issue,
  despite the fact that I'm receiving that error.
 
  Check it out:
 
  test.php contains just one line: ?$text = `usr/local/bin/php
  /path/to/my/php/test1.php`;?
 
  test1.php, the file to be executed, contains just one line:
  ?session_start();?
 
  There are no line breaks, spaces, etc.
 
  Still get Headers already sent.
 
  Pretty strange, right?
 
  Correct me if I'm wrong, but I think the problem may be related to the
fact
  that when files are executed from the command line, php now looks for
  include_paths, session_paths, etc. relative to the server root; not the
site
  root.
 
  I can think of no other reason why include paths, starting sessions, and
so
  on, return errors from the command line but ork perfectly fine when run
in a
  browser.
 
  Feel free to clue me in -- I know didly about shell access issues.
 
  --Noah
 
 
  Robert Cummings [EMAIL PROTECTED] wrote in message
  news:[EMAIL PROTECTED]
 
 On Sat, 2003-09-20 at 15:46, CF High wrote:
 
 Hey all.
 
 I'm running a script from the command-line php interpreter as follows:
 (thanks to D. Souza for lead)
 
 $text = `usr/local/bin/php /path/to/my/php/page.php`;
 
 within the read file I want to enable sessions, so I session_start() at
 
  the
 
 top of the page:
 
 ?
 session_start();
 ?
 ?
 code to execute here...
 ?
 
 Regardless of how I mess around with placement of session_start(), I
get
 
  a
 
 Headers already sent.
 
 Why? Nothing has been output to the browser within the read file!
 Furthermore, if I create a test page with just:
 
 ?$text = `usr/local/bin/php /path/to/my/php/page.php`;?
 
 Still receive Headers already sent.
 
 My eyes are completely fried -- anyone feel like saving my vision?
 
 This often is difficult to detect when there's is implicit output
 outside of the ? tag. Check the top of the included file or start php
 script and see if there is any whitespace or newlines preceding the tag.
 
 HTH,
 Rob.
 --
 ..
 | InterJinn Application Framework - http://www.interjinn.com |
 ::
 | An application and templating framework for PHP. Boasting  |
 | a powerful, scalable system for accessing system services  |
 | such as forms, properties, sessions, and caches. InterJinn |
 | also provides an extremely flexible architecture for   |
 | creating re-usable components quickly and easily.  |
 `'
 
 

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



Re: [PHP] session_start() || shell access problem......

2003-09-21 Thread CF High
Thank the heavens above

Actually, thank Ben, a poster from php.net manual.

Looks like environment variables are not passed to file when it is executed
from the command line.

A workaround is:

$inc_path = $_SERVER['DOCUMENT_ROOT'] . '/';
$remaddr = getenv(DOCUMENT_ROOT);
putenv(DOCUMENT_ROOT=$inc_path);

That does the trick for what I need done now; namely, being able to include
files within my command line executed files.

Still, there must be a way to pass params to command line executed
files..

--Noah



Cf High [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 H,

 Well, is there a way to pass params to file_to_be_executed in command
line?

 For example:

 ?
 $my_param = 'my_include_path';
 $text = `usr/local/bin/php /path/to/my/php/page.php`;
 ?

 Somehow I need $my_param to be passed to page.php (the file to be
processed
 in command line).

 Any ideas?

 --Noah



 Marek Kilimajer [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  Sessions don't work on command line and that is how you run your script
  - from command line.
 
  CF High wrote:
   Hey Robert.
  
   Indeed, hard to find the problem.
  
   I don't believe it's a whitespace issue, or even a Headers sent
issue,
   despite the fact that I'm receiving that error.
  
   Check it out:
  
   test.php contains just one line: ?$text = `usr/local/bin/php
   /path/to/my/php/test1.php`;?
  
   test1.php, the file to be executed, contains just one line:
   ?session_start();?
  
   There are no line breaks, spaces, etc.
  
   Still get Headers already sent.
  
   Pretty strange, right?
  
   Correct me if I'm wrong, but I think the problem may be related to the
 fact
   that when files are executed from the command line, php now looks for
   include_paths, session_paths, etc. relative to the server root; not
the
 site
   root.
  
   I can think of no other reason why include paths, starting sessions,
and
 so
   on, return errors from the command line but ork perfectly fine when
run
 in a
   browser.
  
   Feel free to clue me in -- I know didly about shell access issues.
  
   --Noah
  
  
   Robert Cummings [EMAIL PROTECTED] wrote in message
   news:[EMAIL PROTECTED]
  
  On Sat, 2003-09-20 at 15:46, CF High wrote:
  
  Hey all.
  
  I'm running a script from the command-line php interpreter as
follows:
  (thanks to D. Souza for lead)
  
  $text = `usr/local/bin/php /path/to/my/php/page.php`;
  
  within the read file I want to enable sessions, so I session_start()
at
  
   the
  
  top of the page:
  
  ?
  session_start();
  ?
  ?
  code to execute here...
  ?
  
  Regardless of how I mess around with placement of session_start(), I
 get
  
   a
  
  Headers already sent.
  
  Why? Nothing has been output to the browser within the read file!
  Furthermore, if I create a test page with just:
  
  ?$text = `usr/local/bin/php /path/to/my/php/page.php`;?
  
  Still receive Headers already sent.
  
  My eyes are completely fried -- anyone feel like saving my vision?
  
  This often is difficult to detect when there's is implicit output
  outside of the ? tag. Check the top of the included file or start php
  script and see if there is any whitespace or newlines preceding the
tag.
  
  HTH,
  Rob.
  --
  ..
  | InterJinn Application Framework - http://www.interjinn.com |
  ::
  | An application and templating framework for PHP. Boasting  |
  | a powerful, scalable system for accessing system services  |
  | such as forms, properties, sessions, and caches. InterJinn |
  | also provides an extremely flexible architecture for   |
  | creating re-usable components quickly and easily.  |
  `'
  
  

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



Re: [PHP] PHP output|Buffer, PLEASE ADVISE

2003-09-21 Thread Rasmus Lerdorf
On Sun, 21 Sep 2003, nabil wrote:
 In general , when you open an html file , the browser start to display and
 draw the tables, then start to display the pictures (on slow internet
 connection).. but when you make your html code inside an php the output will
 be different, it will buffer everything then it will pop the whole page.
 
 I have a question.. how can I make php output and display my website as
 stream html..
 
 because I have a postnuke website and it take ages for popping all contents
 , but when I saved it as html and I upload it on the same apache server ,
 the home page start to be displayed picture after picture and so on ...
 
 Please any advise  ??

The output won't actually be different unless you have turned on 
zlib.output_compression or output_buffering in your php.ini file.  Both of 
these are off by default.  Without these PHP will not do any buffering.  
The only buffering you see is done by Apache and this buffering happens in 
your static file case as well.  It is natural that a static file version 
of a big complex page will render faster than the PHP-generated one.

You can ask Apache to flush its internal buffer by using the flush() call 
from PHP, but it really isn't advised to do that too often.  Apache is 
buffering in order to spew out full TCP packets for maximum efficiency.  
Using flush() defeats that and your application end-to-end page delivery 
time will increase.

-Rasmus

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



Re: [PHP] session_start() || shell access problem......

2003-09-21 Thread Rasmus Lerdorf
On Sun, 21 Sep 2003, CF High wrote:
 Well, is there a way to pass params to file_to_be_executed in command line?
 
 For example:
 
 ?
 $my_param = 'my_include_path';
 $text = `usr/local/bin/php /path/to/my/php/page.php`;
 ?
 
 Somehow I need $my_param to be passed to page.php (the file to be processed
 in command line).
 
 Any ideas?

Just put them after the filename and grab them out of your $argv array.

-Rasmus

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



Re[2]: [PHP] session_start() || shell access problem......

2003-09-21 Thread Tom Rogers
Hi,

Monday, September 22, 2003, 2:13:57 AM, you wrote:
CH H,

CH Well, is there a way to pass params to file_to_be_executed in command line?

CH For example:

CH ?
CH $my_param = 'my_include_path';
CH $text = `usr/local/bin/php /path/to/my/php/page.php`;
?

CH Somehow I need $my_param to be passed to page.php (the file to be processed
CH in command line).

CH Any ideas?

CH --Noah



CH Marek Kilimajer [EMAIL PROTECTED] wrote in message
CH news:[EMAIL PROTECTED]
 Sessions don't work on command line and that is how you run your script
 - from command line.

 CF High wrote:
  Hey Robert.
 
  Indeed, hard to find the problem.
 
  I don't believe it's a whitespace issue, or even a Headers sent issue,
  despite the fact that I'm receiving that error.
 
  Check it out:
 
  test.php contains just one line: ?$text = `usr/local/bin/php
  /path/to/my/php/test1.php`;?
 
  test1.php, the file to be executed, contains just one line:
  ?session_start();?
 
  There are no line breaks, spaces, etc.
 
  Still get Headers already sent.
 
  Pretty strange, right?
 
  Correct me if I'm wrong, but I think the problem may be related to the
CH fact
  that when files are executed from the command line, php now looks for
  include_paths, session_paths, etc. relative to the server root; not the
CH site
  root.
 
  I can think of no other reason why include paths, starting sessions, and
CH so
  on, return errors from the command line but ork perfectly fine when run
CH in a
  browser.
 
  Feel free to clue me in -- I know didly about shell access issues.
 
  --Noah
 
 
  Robert Cummings [EMAIL PROTECTED] wrote in message
  news:[EMAIL PROTECTED]
 
 On Sat, 2003-09-20 at 15:46, CF High wrote:
 
 Hey all.
 
 I'm running a script from the command-line php interpreter as follows:
 (thanks to D. Souza for lead)
 
 $text = `usr/local/bin/php /path/to/my/php/page.php`;
 
 within the read file I want to enable sessions, so I session_start() at
 
  the
 
 top of the page:
 
 ?
 session_start();
 ?
 ?
 code to execute here...
 ?
 
 Regardless of how I mess around with placement of session_start(), I
CH get
 
  a
 
 Headers already sent.
 
 Why? Nothing has been output to the browser within the read file!
 Furthermore, if I create a test page with just:
 
 ?$text = `usr/local/bin/php /path/to/my/php/page.php`;?
 
 Still receive Headers already sent.
 
 My eyes are completely fried -- anyone feel like saving my vision?
 
 This often is difficult to detect when there's is implicit output
 outside of the ? tag. Check the top of the included file or start php
 script and see if there is any whitespace or newlines preceding the tag.
 
 HTH,
 Rob.
 --
 ..
 | InterJinn Application Framework - http://www.interjinn.com |
 ::
 | An application and templating framework for PHP. Boasting  |
 | a powerful, scalable system for accessing system services  |
 | such as forms, properties, sessions, and caches. InterJinn |
 | also provides an extremely flexible architecture for   |
 | creating re-usable components quickly and easily.  |
 `'
 
 


Try this

?php
$args = 'hello world';
$text = `/usr/bin/php /usr/local/apache/htdocs/in.php $args`;
echo $text;
?

in.php contains:

?php
echo 'pre';
phpinfo(32);
echo '/pre';
echo $_SERVER['argv'][1];
?

That should do what you want if I understand the problem :)

-- 
regards,
Tom

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



Re: [PHP] PHP output|Buffer, PLEASE ADVISE

2003-09-21 Thread Marek Kilimajer
Check Activate compression setting in postnuke admin. You want it to 
be No. If this setting is activated, ob_start(ob_gzhandler); is 
called in pnInit()

nabil wrote:

Hi all;

In general , when you open an html file , the browser start to display and
draw the tables, then start to display the pictures (on slow internet
connection).. but when you make your html code inside an php the output will
be different, it will buffer everything then it will pop the whole page.
I have a question.. how can I make php output and display my website as
stream html..
because I have a postnuke website and it take ages for popping all contents
, but when I saved it as html and I upload it on the same apache server ,
the home page start to be displayed picture after picture and so on ...
Please any advise  ??

Nabil

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


Re: Re[2]: [PHP] session_start() || shell access problem......

2003-09-21 Thread CF High
Finally!

Thanks Tom  Rasmus for pointing me in the right direction.

God, two days of bleary eyed searching -- enough is enough.  Thank you guys
for helping out a newbie.

--Noah


Tom Rogers [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi,

 Monday, September 22, 2003, 2:13:57 AM, you wrote:
 CH H,

 CH Well, is there a way to pass params to file_to_be_executed in command
line?

 CH For example:

 CH ?
 CH $my_param = 'my_include_path';
 CH $text = `usr/local/bin/php /path/to/my/php/page.php`;
 ?

 CH Somehow I need $my_param to be passed to page.php (the file to be
processed
 CH in command line).

 CH Any ideas?

 CH --Noah



 CH Marek Kilimajer [EMAIL PROTECTED] wrote in message
 CH news:[EMAIL PROTECTED]
  Sessions don't work on command line and that is how you run your script
  - from command line.
 
  CF High wrote:
   Hey Robert.
  
   Indeed, hard to find the problem.
  
   I don't believe it's a whitespace issue, or even a Headers sent
issue,
   despite the fact that I'm receiving that error.
  
   Check it out:
  
   test.php contains just one line: ?$text = `usr/local/bin/php
   /path/to/my/php/test1.php`;?
  
   test1.php, the file to be executed, contains just one line:
   ?session_start();?
  
   There are no line breaks, spaces, etc.
  
   Still get Headers already sent.
  
   Pretty strange, right?
  
   Correct me if I'm wrong, but I think the problem may be related to
the
 CH fact
   that when files are executed from the command line, php now looks for
   include_paths, session_paths, etc. relative to the server root; not
the
 CH site
   root.
  
   I can think of no other reason why include paths, starting sessions,
and
 CH so
   on, return errors from the command line but ork perfectly fine when
run
 CH in a
   browser.
  
   Feel free to clue me in -- I know didly about shell access issues.
  
   --Noah
  
  
   Robert Cummings [EMAIL PROTECTED] wrote in message
   news:[EMAIL PROTECTED]
  
  On Sat, 2003-09-20 at 15:46, CF High wrote:
  
  Hey all.
  
  I'm running a script from the command-line php interpreter as
follows:
  (thanks to D. Souza for lead)
  
  $text = `usr/local/bin/php /path/to/my/php/page.php`;
  
  within the read file I want to enable sessions, so I session_start()
at
  
   the
  
  top of the page:
  
  ?
  session_start();
  ?
  ?
  code to execute here...
  ?
  
  Regardless of how I mess around with placement of session_start(), I
 CH get
  
   a
  
  Headers already sent.
  
  Why? Nothing has been output to the browser within the read file!
  Furthermore, if I create a test page with just:
  
  ?$text = `usr/local/bin/php /path/to/my/php/page.php`;?
  
  Still receive Headers already sent.
  
  My eyes are completely fried -- anyone feel like saving my vision?
  
  This often is difficult to detect when there's is implicit output
  outside of the ? tag. Check the top of the included file or start
php
  script and see if there is any whitespace or newlines preceding the
tag.
  
  HTH,
  Rob.
  --
  ..
  | InterJinn Application Framework - http://www.interjinn.com |
  ::
  | An application and templating framework for PHP. Boasting  |
  | a powerful, scalable system for accessing system services  |
  | such as forms, properties, sessions, and caches. InterJinn |
  | also provides an extremely flexible architecture for   |
  | creating re-usable components quickly and easily.  |
  `'
  
  


 Try this

 ?php
 $args = 'hello world';
 $text = `/usr/bin/php /usr/local/apache/htdocs/in.php $args`;
 echo $text;
 ?

 in.php contains:

 ?php
 echo 'pre';
 phpinfo(32);
 echo '/pre';
 echo $_SERVER['argv'][1];
 ?

 That should do what you want if I understand the problem :)

 --
 regards,
 Tom

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



Re: [PHP] Problem's addign a script to my web page.

2003-09-21 Thread Marek Kilimajer
Do you have shell access(ssh)? You can use that. Other way is to ask 
your ISP to change the parmissions or to enable chmod command.

stratis Aftousmis wrote:

Hello, i will be a succinct as possible. I downloaded a php script (a 
chatbox) for my web page. The web page is from my ISP, 15Mb space, you have 
to have knowledge of UNIX and Html to use the service(to create the page 
and upload to the site). I wrote the page in Html, downloaded the php 
script, intalled and changed the file extention from html to php. The site 
from which i got the php chatbox script say's i have to 'chmod' the 
directory where the file's are to be created to 777...the script create the 
file's if they don't exist with 'touch':

snip
if(!is_writable($latest) || !is_writable($archive)) {
  touch($latest);
  touch($archive)
if (!is_writable($latest) || !is_writable($archive)) {
exit($latest or $archive is not writable, please check your permission's 
and try again);
}
/snip

One problem i have is the 'chmod'command is not implemented on this site 
(SunOS 5.8):

snip
lftp [EMAIL PROTECTED]:~/public_html/ext chmod 777 archives
chmod: Access failed: 502 SITE command not implemented. (archives)
lftp [EMAIL PROTECTED]:~/public_html/ext
/snip
i then tryed to do using the php 'chmod' function to 777 on the directory in 
question, no go. (hey...don't laugh)

When i try to use the chatbox in question, i get the error's:

snip
Warning: utime failed: Permission denied in
/export/home/stratus/public_html/ext/minichat2.inc.php on line 102
Warning: utime failed: Permission denied in
/export/home/stratus/public_html/ext/minichat2.inc.php on line 103
/export/home/stratus/public_html/ext/archive/minichat2.latest or
/export/home/stratus/public_html/ext/archive/minichat2.archive is not
writable. Please check your permissions and try again.
/snip
those line's are both the touch command's, the file's are not being created, 
it won't even work if i create them myself.
I *hope* that's enough info for a diagnosis. Any help would be welcome.

stratis.

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


Re: [PHP] processing post requests

2003-09-21 Thread Vadim Bendebury
Andu,

thank you and James Johnson, who sent me an email, so much.

You guys are gentlmen and scholars, as opposed to some others who would 
lecture you wasting your (and their own!) time, stating the obvious, 
saying nothing of value, but enjoying their litte egos.

thanks again,
/vb
Andu wrote:
On Sat, 20 Sep 2003 17:28:45 -0700
Vadim Bendebury [EMAIL PROTECTED] wrote:

The web page has a form with a following element in it:

select multiple size=4 name=city
  option selected value=0no preference/option
  option value=2Paris/option
  option value=1London/option
  option value=3Madrid/option
/select


 select multiple size=4 name=city[]
   option selected value=0no preference/option
   option value=2Paris/option
option value=1London/option
option value=3Madrid/option
 /select
The intention is to be able to pick multiple cities. However, when the 
request arrives on the server, the $_POST array includes just the one 
last pick, no matter how many options are highligted when the submit 
button is hit.

What's the deal - is the an HTML code problem or PHP problem? Is it at 
all possible to have multiple choices derived from this kind of form 
element?

Thanks in advance!

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





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


Re: [PHP] processing post requests

2003-09-21 Thread John Nichel
VB wrote:
Dan Anderson wrote:

do you feel good being a moron?
  


Do you feel good being a rude ass?   

no, I don't, and I regret sending it to the list.

But I sure do think that replying with an RTFM is not a good thing to do.
You're right...it's something we shouldn't have to do to something as 
trivial as this.  Manual aside, this has been discussed MANY times, and 
a search of the archives would have given you your answer.  So 
basically, if people would take a little initiative, spend five minutes 
looking for the answer to their problem, no-one here would have to say RTFM.

Indeed, why wouldn't you guys just mention that the brackets are 
required when naming the select box. Let it even be sent along with 
your lecturing.

He was offering you help.  At least say thank you.
 

give me a break, man, saying 'read the manual' is not offering help.
You're confusing help with hand-out.

/vb

You're missing a point clearly outlined in the manual.

-Dan
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] php|cruise

2003-09-21 Thread John W. Holmes
John Nichel wrote:
John W. Holmes wrote:

Is anyone planning on going to this?

http://www.phparch.com/cruise/

I'm trying to go. It would be nice to put a face to the name with a 
few people out there. Let me know.

[snip]
The wife has been 
bugging me to bring her on a cruise for years now 
Yeah, same here. I think this is the ONLY PHP conference she'd ever 
agree to going to. :)

--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals  www.phparch.com

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


Re: [PHP] processing post requests

2003-09-21 Thread Curt Zirzow
* Thus wrote Vadim Bendebury ([EMAIL PROTECTED]):
 Andu,
 
 thank you and James Johnson, who sent me an email, so much.
 
 You guys are gentlmen and scholars, as opposed to some others who would 
 lecture you wasting your (and their own!) time, stating the obvious, 
 saying nothing of value, but enjoying their litte egos.
 

ok. first you publicly *attempt* to bash Jason, then send try to
look good by sending a apology message to the group (for sending a
flame to the list instead of personally)  Now with what you just
said I have come to believe that your original post was
intentional.

You're extended comments are unwelcomed here.

Curt
-- 
I used to think I was indecisive, but now I'm not so sure.

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



Re: [PHP] processing post requests

2003-09-21 Thread andu
On Sun, 21 Sep 2003 08:00:56 -0700
Vadim Bendebury [EMAIL PROTECTED] wrote:

 Andu,
 
 thank you and James Johnson, who sent me an email, so much.

Don't mention it.

 
 You guys are gentlmen and scholars, as opposed to some others who would 
 lecture you wasting your (and their own!) time, stating the obvious, 
 saying nothing of value, but enjoying their litte egos.

Don't expect things to change soon though.

 
 thanks again,
 /vb
 
 Andu wrote:
  On Sat, 20 Sep 2003 17:28:45 -0700
  Vadim Bendebury [EMAIL PROTECTED] wrote:
  
  
 The web page has a form with a following element in it:
 
 select multiple size=4 name=city
option selected value=0no preference/option
option value=2Paris/option
option value=1London/option
option value=3Madrid/option
 /select
  
  
   select multiple size=4 name=city[]
 option selected value=0no preference/option
 option value=2Paris/option
  option value=1London/option
  option value=3Madrid/option
   /select
  
 The intention is to be able to pick multiple cities. However, when the 
 request arrives on the server, the $_POST array includes just the one 
 last pick, no matter how many options are highligted when the submit 
 button is hit.
 
 What's the deal - is the an HTML code problem or PHP problem? Is it at 
 all possible to have multiple choices derived from this kind of form 
 element?
 
 Thanks in advance!
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
  
  
  
  
  Regards, Andu Novac
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 



Regards, Andu Novac

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



[PHP] Class inheritance behaviour

2003-09-21 Thread Gerard Samuel
Just double checking with the php crowd.
Code example:
-
?php
$bar = new second_class;
echo $bar-foo() . 'br /';
var_dump(get_class_methods('second_class'));
class first_class
{
   function foo()
   {
   echo 'foo from class first_class';
   }
}
class second_class extends first_class
{
   function foo()
   {
   echo 'foo from class second_class';
   }
}
?
---
My goal (if feasable).  To be able to house multiple classes under one 
class, and to not have copied references of one class in
another.
For example, housing ADODB, Smarty, and other misc classes under one 
class/object,
and not having a copied reference to ADODB in other child classes that 
need access to a database.
Now to my code snippet above.
What Im testing is to see if class methods behave like regular 
functions, where
it cannot be defined more than once.
Trying to define a function more than once produces an error, but it 
seems that redefining a class method overwrites the previous class 
method of the same name.
So if I were to work towards my goal, there is a possiblity that class 
methods can overwrite themselves.
So (theoritically) if Smarty and ADODB have the same class method names, 
problems would arise.

So Im looking to see if this is normal class behaviour.
If so, then I shouldn't even try to work towards my goal, as its not 
prudent.

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


Re: [PHP] Class inheritance behaviour

2003-09-21 Thread Robert Cummings
Method overriding is one of the core principles of any Object Oriented
(OO) language. By having second_class extend first_class you get all the
functionality of first_class, but generally you extend a class because
you want to inherit all of the functionality with a few differences. For
this reason method overriding is important to get the different
functionality but maintain the developer interface. So yes the behaviour
you are asking about is correct. Generally speaking I can't see a
problem occuring between Smarty and ADODB, since you are extending
these, and you can currently only extend one or the other. So it follows
that multiple definitions cannot occur unless you specifically attempt
to multiply define the same method.

HTH and HIU (Hope I Understood :)

Cheers,
Rob.


On Sun, 2003-09-21 at 12:41, Gerard Samuel wrote:
 Just double checking with the php crowd.
 Code example:
 -
 ?php
 
 $bar = new second_class;
 echo $bar-foo() . 'br /';
 var_dump(get_class_methods('second_class'));
 
 class first_class
 {
 function foo()
 {
 echo 'foo from class first_class';
 }
 }
 
 class second_class extends first_class
 {
 function foo()
 {
 echo 'foo from class second_class';
 }
 }
 
 ?
 ---
 My goal (if feasable).  To be able to house multiple classes under one 
 class, and to not have copied references of one class in
 another.
 For example, housing ADODB, Smarty, and other misc classes under one 
 class/object,
 and not having a copied reference to ADODB in other child classes that 
 need access to a database.
 Now to my code snippet above.
 What Im testing is to see if class methods behave like regular 
 functions, where
 it cannot be defined more than once.
 Trying to define a function more than once produces an error, but it 
 seems that redefining a class method overwrites the previous class 
 method of the same name.
 So if I were to work towards my goal, there is a possiblity that class 
 methods can overwrite themselves.
 So (theoritically) if Smarty and ADODB have the same class method names, 
 problems would arise.
 
 So Im looking to see if this is normal class behaviour.
 If so, then I shouldn't even try to work towards my goal, as its not 
 prudent.
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

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



[PHP] Need help with a regex

2003-09-21 Thread Adam Zey
I'm using the following regex:

/trtd class='newsitemtitle-td'([^]*)\/tdtd
class='newsitemposter-td'span
class=([^]*)([^]*)\/span([^]*)\/td\/tr trtd
class='newsitemcontent-td' colspan=2([^]*)\/td\/tr/

Everything works well, except I've ran into one problem. In the last text
field, the bulk of the newsitem, sometimes the poster includes some HTML
tags (Like br \, but others could be inserted). What I need to do is
modify that last submatch ([^]*) so that instead of matching until it
reaches a  (It catches on the br tag and ruins the match), it will match
until it reaches the entire \/td tag. Can somebody help me out with this?
I'm completely stumped about how to go about doing a match until string as
opposed to a match until character.

Regards, Adam.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.520 / Virus Database: 318 - Release Date: 18/09/2003

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



Re: [PHP] Class inheritance behaviour

2003-09-21 Thread Gerard Samuel
Robert Cummings wrote:

Method overriding is one of the core principles of any Object Oriented
(OO) language. By having second_class extend first_class you get all the
functionality of first_class, but generally you extend a class because
you want to inherit all of the functionality with a few differences. For
this reason method overriding is important to get the different
functionality but maintain the developer interface. So yes the behaviour
you are asking about is correct. Generally speaking I can't see a
problem occuring between Smarty and ADODB, since you are extending
these, and you can currently only extend one or the other. So it follows
that multiple definitions cannot occur unless you specifically attempt
to multiply define the same method.
Thanks for replying.
The idea that I have in mind is something like -
1.  Create a dummy class with no methods/variables (if neccessary).
class dummy
{
}
2.  Have ADODB extend dummy
class ADODB extends dummy
{
   function Execute()
   {
   }
}
3.  Have Smarty extend dummy
class Smarty extends dummy
{
   function display()
   {
   }
}
Repeat as neccessary for other known classes, or autoload them from a 
function.
So if method overwriting is normal behaviour, then the idea I have is 
potentially not sound as it can break interfaces.
Is it the best way to go, Im not sure at the moment.
I may just leave my code as it is.  Im passing the DB object by 
reference.  So what am I worried about
Thanks again...

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


RE: [PHP] Need help with a regex

2003-09-21 Thread esctoday.com | Wouter van Vliet
Pretty easy, just make the regex stuff a little less greedy .. ;) 


class='newsitemcontent-td' colspan=2(.*?)\/td\/tr/

That would catch it .. And yes, the question mark is both correct and
confusing. But it doesn't mean maybe in here. Now let's hope that your
post doesn't include td/tr ..

Wouter

Ps. I'm assuming you use perl compatible regexes (preg_*) and not POSIX
(ereg_*), don't know if this works for POSIX as well

-Original Message-
From: Adam Zey [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 21, 2003 7:07 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Need help with a regex

I'm using the following regex:

/trtd class='newsitemtitle-td'([^]*)\/tdtd
class='newsitemposter-td'span
class=([^]*)([^]*)\/span([^]*)\/td\/tr trtd
class='newsitemcontent-td' colspan=2([^]*)\/td\/tr/

Everything works well, except I've ran into one problem. In the last text
field, the bulk of the newsitem, sometimes the poster includes some HTML
tags (Like br \, but others could be inserted). What I need to do is
modify that last submatch ([^]*) so that instead of matching until it
reaches a  (It catches on the br tag and ruins the match), it will match
until it reaches the entire \/td tag. Can somebody help me out with this?
I'm completely stumped about how to go about doing a match until string as
opposed to a match until character.

Regards, Adam.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.520 / Virus Database: 318 - Release Date: 18/09/2003

-- 
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



[PHP] Setting Up PHP

2003-09-21 Thread Dalton Seymour
I'm trying to setup PHP support on an small 2 station Intranet for
development purposes. I'm using PWS under Win98 SE. I believe I'm
experiencing a common problem, but I seem to be unable to work my way around
it. At the suggestion of several installation tutorials, after installing
it, I have made a simple PHP file including the following statement:

?php phpinfo();?

I'm supposed to be able to test the functioning of PHP with that simple
command to confirm it's working. Yet, all I get is a security alert:

  Security Alert! The PHP CGI cannot be accessed directly.
  This PHP CGI binary was compiled with force-cgi-redirect enabled. This
means that a page will only be served up if the REDIRECT_STATUS CGI variable
is set, e.g. via an Apache Action directive.

  For more information as to why this behavior exists, see the manual page
for CGI security.

  For more information about changing this behavior or re-enabling this
webserver, consult the installation file that came with this distribution,
or visit the manual page.

I have tried for the life of me to disable the CGI.Force_Redirect or what
ever it is in the PHP.INI file but all that does is to make IE come back
with file not found.

What do I have to do to disable the security from getting in the way of
displaying PHP pages?

Sincerely,

Dalton Seymour



Re: [PHP] Class inheritance behaviour

2003-09-21 Thread Robert Cummings
Are you looking to create a single point of access to any libraries your
application may wish to use and to subsequently base this on a singleton
pattern (only one instance of the object may exist?)?

Rob.


On Sun, 2003-09-21 at 13:18, Gerard Samuel wrote:
 Robert Cummings wrote:
 
 Method overriding is one of the core principles of any Object Oriented
 (OO) language. By having second_class extend first_class you get all the
 functionality of first_class, but generally you extend a class because
 you want to inherit all of the functionality with a few differences. For
 this reason method overriding is important to get the different
 functionality but maintain the developer interface. So yes the behaviour
 you are asking about is correct. Generally speaking I can't see a
 problem occuring between Smarty and ADODB, since you are extending
 these, and you can currently only extend one or the other. So it follows
 that multiple definitions cannot occur unless you specifically attempt
 to multiply define the same method.
 
 Thanks for replying.
 The idea that I have in mind is something like -
 1.  Create a dummy class with no methods/variables (if neccessary).
 class dummy
 {
 }
 
 2.  Have ADODB extend dummy
 class ADODB extends dummy
 {
 function Execute()
 {
 }
 }
 
 3.  Have Smarty extend dummy
 class Smarty extends dummy
 {
 function display()
 {
 }
 }
 
 Repeat as neccessary for other known classes, or autoload them from a 
 function.
 So if method overwriting is normal behaviour, then the idea I have is 
 potentially not sound as it can break interfaces.
 Is it the best way to go, Im not sure at the moment.
 I may just leave my code as it is.  Im passing the DB object by 
 reference.  So what am I worried about
 Thanks again...
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

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



Re: [PHP] Need help with a regex

2003-09-21 Thread Adam Zey
Thanks, that did the trick :)

Only thing was I had to modify it for newline support:

trtd class='newsitemtitle-td'([^]*)\/tdtd
class='newsitemposter-td'span
class=([^]*)([^]*)\/span([^]*)\/td\/tr trtd
class='newsitemcontent-td' colspan=2((.|\n)*?)\/td\/tr

Regards, Adam.

Esctoday.Com | Wouter Van Vliet [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Pretty easy, just make the regex stuff a little less greedy .. ;)


 class='newsitemcontent-td' colspan=2(.*?)\/td\/tr/

 That would catch it .. And yes, the question mark is both correct and
 confusing. But it doesn't mean maybe in here. Now let's hope that your
 post doesn't include td/tr ..

 Wouter

 Ps. I'm assuming you use perl compatible regexes (preg_*) and not POSIX
 (ereg_*), don't know if this works for POSIX as well

 -Original Message-
 From: Adam Zey [mailto:[EMAIL PROTECTED]
 Sent: Sunday, September 21, 2003 7:07 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] Need help with a regex

 I'm using the following regex:

 /trtd class='newsitemtitle-td'([^]*)\/tdtd
 class='newsitemposter-td'span
 class=([^]*)([^]*)\/span([^]*)\/td\/tr trtd
 class='newsitemcontent-td' colspan=2([^]*)\/td\/tr/

 Everything works well, except I've ran into one problem. In the last text
 field, the bulk of the newsitem, sometimes the poster includes some HTML
 tags (Like br \, but others could be inserted). What I need to do is
 modify that last submatch ([^]*) so that instead of matching until it
 reaches a  (It catches on the br tag and ruins the match), it will
match
 until it reaches the entire \/td tag. Can somebody help me out with
this?
 I'm completely stumped about how to go about doing a match until string
as
 opposed to a match until character.

 Regards, Adam.


 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.520 / Virus Database: 318 - Release Date: 18/09/2003

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


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.520 / Virus Database: 318 - Release Date: 18/09/2003

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



[PHP] Re: Setting Up PHP

2003-09-21 Thread Shadow
That's Windows security you should be checking..did you look at
directory permissions?
Shadow

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



Re: [PHP] Problem's addign a script to my web page.

2003-09-21 Thread Stratis Aftousmis

--- Marek Kilimajer [EMAIL PROTECTED] wrote:
 Do you have shell access(ssh)? You can use that.
 Other way is to ask 
 your ISP to change the parmissions or to enable
 chmod command.


I had a feeling i might have to ask my ISP, they seem
cool they might do it, 
unless there is a security concern about changing the
permisson's of said 
directory. I seriously doubt they will enable the
'chmod' command, i think that 
would be a security concern. No i don't have ssh
access. I will ask them to 
change the permission's, if that doesn't work, i will
keep working on it.
Thank's for the reply marek, your a life saver, and a
*time saver*.

stratis.

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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



Re: [PHP] Class inheritance behaviour

2003-09-21 Thread Gerard Samuel
Robert Cummings wrote:

Are you looking to create a single point of access to any libraries your
application may wish to use
Yes.  Instead of juggling 5-6 objects, just move around one object.

and to subsequently base this on a singleton
pattern (only one instance of the object may exist?)?
Yes.  Currently in my code, there is the ADODB object, which is used as 
normal.
I pass this object by reference to Smarty so its plugins can access the 
DB if neccessary,
and two other classes that need DB access.  Im going on the assumption, 
that
if one doesn't have to pass by reference, then dont do it, especially 
large objects,
and having multiple copies of them.

All of this is just a thought.  Whether its feasable, is another story 
for my app

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


[PHP] Re: Setting Up PHP

2003-09-21 Thread zerof
Please see this useful article:
http://www.macromedia.com/devnet/mx/dreamweaver/articles/php_iis.html

zerof

Dalton Seymour [EMAIL PROTECTED] escreveu na mensagem
news:[EMAIL PROTECTED]
 I'm trying to setup PHP support on an small 2 station Intranet for development 
 purposes.
I'm using PWS under Win98 SE. I believe I'm  experiencing a common problem, but I seem 
to
be unable to work my way around


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



Re: [PHP] Class inheritance behaviour

2003-09-21 Thread Robert Cummings
On Sun, 2003-09-21 at 14:10, Gerard Samuel wrote:
 Robert Cummings wrote:
 
 Are you looking to create a single point of access to any libraries your
 application may wish to use
 
 Yes.  Instead of juggling 5-6 objects, just move around one object.
 
  and to subsequently base this on a singleton
 pattern (only one instance of the object may exist?)?
 
 Yes.  Currently in my code, there is the ADODB object, which is used as 
 normal.
 I pass this object by reference to Smarty so its plugins can access the 
 DB if neccessary,
 and two other classes that need DB access.  Im going on the assumption, 
 that
 if one doesn't have to pass by reference, then dont do it, especially 
 large objects,
 and having multiple copies of them.
 
 All of this is just a thought.  Whether its feasable, is another story 
 for my app

This may be seem like a shameless plug but I think it's relevant. In the
InterJinn framework i created I had a similar issue. PHP has the
horrible issue that when passing objects around it copies them (this is
fixed in PHP5 from what I hear). This causes extra processing to copy
large objects which have big data sets, and makes it extremely difficult
to properly implement a singleton pattern. In the InterJinn framework
what I did was create a wrapper class, but rather than having other
classes extend it, I have a core loader service which takes a string
name as a parameter and returns the associated object (database,
session, cache, etc.). The returned object however is not the actual
object, but rather an instance of the wrapper class with a single
instance variable called do, the do variable is a reference to the real
object. Thus if someone copies the returned object they only copy the
wrapper, and the internal reference is maintained. It makes for slightly
odd syntax:

$dbManager-do-getConnection( 'default' );

but the cost of the intermediate lookup is extremely small and it
prevents issues where copies of an expected singleton are made. In cases
where a user wants to optimize and actually work with the references,
they can always do:

$dbManager = $this-getServiceRef( 'databaseManager' )
$db = $dbManager-getConnection( 'default' );

instead of the nanoscopically slower:

$dbmanager = $this-getService( 'databaseManager' );
$db = $dbManager-do-getConnection( 'default' );

Anyways maybe that will help you with your own problem.

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

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



[PHP] Re: forcing variable expansion

2003-09-21 Thread Rich Fox
That's not Eugene from the dojo is it?

Rich


Eugene Lee [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 If I have a block of text saved in an external text file, e.g.:

 All {$badstuff} and no {$goodstuff} makes {$name} a dull {$type}.

 after reading the text into a string, is there a way to force variable
 expansion?  In a sense, it's like having a heredoc for multiline strings
 with variable expansion while not having the heredoc embedded in PHP code.

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



Re: [PHP] php|cruise

2003-09-21 Thread Becoming Digital
 I think this is the ONLY PHP conference she'd ever 
 agree to going to.

I think this is also the ONLY cruise on which single guys won't find a fling.  I smell 
a sausage party! ;)

Edward Dudlik
Becoming Digital
www.becomingdigital.com


wishes | www.amazon.com/o/registry/EGDXEBBWTYUU


- Original Message - 
From: John W. Holmes [EMAIL PROTECTED]
To: John Nichel [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, 21 September, 2003 11:40
Subject: Re: [PHP] php|cruise


John Nichel wrote:
 John W. Holmes wrote:
 
 Is anyone planning on going to this?

 http://www.phparch.com/cruise/

 I'm trying to go. It would be nice to put a face to the name with a 
 few people out there. Let me know.

[snip]
 The wife has been 
 bugging me to bring her on a cruise for years now 

Yeah, same here. I think this is the ONLY PHP conference she'd ever 
agree to going to. :)

-- 
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals  www.phparch.com

-- 
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] php|cruise

2003-09-21 Thread Robert Cummings
On Sun, 2003-09-21 at 15:25, Becoming Digital wrote:
  I think this is the ONLY PHP conference she'd ever 
  agree to going to.
 
 I think this is also the ONLY cruise on which single guys won't
 find a fling.  I smell a sausage party! ;)

While I'm not gay myself, I think you've overlooked an obvious category
of fling.

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

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



Re: [PHP] php|cruise

2003-09-21 Thread NukedWeb

  I think this is the ONLY PHP conference she'd ever 
  agree to going to.
 
 I think this is also the ONLY cruise on which single guys won't find a 
 fling.  I smell a sausage party! ;)

Oh I dunno bout that. There's more PHP chicks out there than you'd believe! 
I've talked to many, and I'm sure there are many more. =)


Re: [PHP] php|cruise

2003-09-21 Thread John W. Holmes
Becoming Digital wrote:

I think this is the ONLY PHP conference she'd ever 
agree to going to.


I think this is also the ONLY cruise on which 
 single guys won't find a fling.  I smell a sausage party! ;)

I wouldn't be worried about that. THe PHP conference goers are only 
about 300 out of 1500 people total on the boat... if I remember my 
numbers correctly.

Besides... you're a programmer... you should know you can't pick up women!

--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals  www.phparch.com

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


Re: [PHP] php|cruise

2003-09-21 Thread NukedWeb

 Besides... you're a programmer... you should know you can't pick up women!

Then there's the rest of us who're multi-talented, with strong social skills, 
that can write a mean script while still having the women offer US money... 
:-D


Re: [PHP] php|cruise

2003-09-21 Thread Becoming Digital
 Besides... you're a programmer... you should know you can't pick up women!

Whoa there.  I'm a CEO.  I just happen to program, too. lol

Edward Dudlik
Becoming Digital
www.becomingdigital.com


wishes | www.amazon.com/o/registry/EGDXEBBWTYUU


- Original Message - 
From: John W. Holmes [EMAIL PROTECTED]
To: Becoming Digital [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, 21 September, 2003 15:31
Subject: Re: [PHP] php|cruise


Becoming Digital wrote:

I think this is the ONLY PHP conference she'd ever 
agree to going to.
 
 
 I think this is also the ONLY cruise on which 
  single guys won't find a fling.  I smell a sausage party! ;)

I wouldn't be worried about that. THe PHP conference goers are only 
about 300 out of 1500 people total on the boat... if I remember my 
numbers correctly.

Besides... you're a programmer... you should know you can't pick up women!

-- 
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals  www.phparch.com

-- 
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] php|cruise

2003-09-21 Thread Becoming Digital
 While I'm not gay myself, I think you've overlooked an obvious category
 of fling.

A valid point.

Edward Dudlik
Becoming Digital
www.becomingdigital.com


wishes | www.amazon.com/o/registry/EGDXEBBWTYUU


- Original Message - 
From: Robert Cummings [EMAIL PROTECTED]
To: Becoming Digital [EMAIL PROTECTED]
Cc: PHP-General [EMAIL PROTECTED]
Sent: Sunday, 21 September, 2003 15:28
Subject: Re: [PHP] php|cruise


On Sun, 2003-09-21 at 15:25, Becoming Digital wrote:
  I think this is the ONLY PHP conference she'd ever 
  agree to going to.
 
 I think this is also the ONLY cruise on which single guys won't
 find a fling.  I smell a sausage party! ;)

While I'm not gay myself, I think you've overlooked an obvious category
of fling.

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

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



[PHP] search result

2003-09-21 Thread phpu
Hi,
I have this code that search an specify word in the database. This search is working. 
The only problem that I have is that I wanna show only 7 rows per page. When I wanna 
jump to the next page with results it shows all records in the database(7 rows per 
page).
How can i do to show only the records that match with the search word?



$rows_per_page = 7;
$sql = SELECT * FROM products;
$rezultat = mysql_query($sql);
$total_records = mysql_num_rows($rezultat);
$pages = ceil($total_records / $rows_per_page);
mysql_free_result($rezultat);
mysql_close($conectare);


if (!isset($pagina))
  $pagina = 0;
$start = $pagina * $rows_per_page;
$sql=SELECT id_products, name_product FROM products WHERE name_product LIKE 
'%.$word.%' LIMIT $start, $rows_per_page ;

$result=mysql_query($sql);
if (mysql_num_rows($result) == 0)
{
print 'iProduct not found/i';
}
while ($row=mysql_fetch_array($result))
{
some code here
}



if ($pagina  0) {
  $url = product.php?pagina= . ($pagina - 1);
  echo a href=\$url\Previous/a\n;
}

for ($i = 1; $i  $pages; $i++) {
  $url = product.php?pagina= . $i;
  echoa href=\$url\$i/a   ;
}
if ($pagina  ($pages-1)) {
  $url = product.php?pagina= . ($pagina + 1);
  echo a href=\$url\Next/a\n;
}



Re: [PHP] search result

2003-09-21 Thread phpu
Sorry but i'm new to php and i don't know how to do that. Can you help me, please?
  - Original Message - 
  From: [EMAIL PROTECTED] 
  To: [EMAIL PROTECTED] 
  Sent: Monday, September 22, 2003 1:00 AM
  Subject: Re: [PHP] search result


  whwen you jump to the next page, make sure there's a parameter that contains the 
original search term in each search result page you're loadingeither by including 
it in a URL (for a link) or hidden field for a Next button. 


Re: [PHP] search result

2003-09-21 Thread Chris Shiflett
--- phpu [EMAIL PROTECTED] wrote:
 How can i do to show only the records that match with the search word?

Use a where clause. Read this:

http://www.mysql.com/doc/en/SELECT.html

Hope that helps.

Chris

=
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/

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



Re: [PHP] search result

2003-09-21 Thread phpu
I have tried but didn't work. I think i'm going crazy. I don't know how to
do it...



$rows_per_page = 7;
$sql = SELECT * FROM products;
$rezultat = mysql_query($sql);
$total_records = mysql_num_rows($rezultat);
$pages = ceil($total_records / $rows_per_page);
mysql_free_result($rezultat);
mysql_close($conectare);


if (!isset($pagina))
  $pagina = 0;
$start = $pagina * $rows_per_page;
$sql=SELECT id_products, name_product FROM products WHERE name_product LIKE
'%.$word.%' LIMIT $start, $rows_per_page ;

$result=mysql_query($sql);
if (mysql_num_rows($result) == 0)
{
print 'iProduct not found/i';
}
while ($row=mysql_fetch_array($result))
{
some code here
}



if ($pagina  0) {
  $url = product.php?pagina= . ($pagina - 1);
  echo a href=\$url\Previous/a\n;
}

for ($i = 1; $i  $pages; $i++) {
  $url = product.php?pagina= . $i;
  echoa href=\$url\$i/a   ;
}
if ($pagina  ($pages-1)) {
  $url = product.php?pagina= . ($pagina + 1);
  echo a href=\$url\Next/a\n;
}

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



Re: [PHP] search result

2003-09-21 Thread phpu
Finally I got it.
Thanks a lot


- Original Message -
From: phpu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 22, 2003 1:36 AM
Subject: Re: [PHP] search result


 I have tried but didn't work. I think i'm going crazy. I don't know how to
 do it...


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



[PHP] advise on new class of mine

2003-09-21 Thread jsWalter
I'm in the process of building my first real class.

43 methods, 23 properties, nearly 1000 lines of codes.

What I would like to know...

Is it better to keep al this in a single file? Or break it up into
sub-classes?

This does have logical sections, so a breakup would be possible, but then
I'm not sure how I would piece it back together.

Also...

Many properties are not required at object instantiation, but I define them
none-the-less. Many are derived from multiple others.

It is better to define all properties, many may never be used, or simply
define them as they are called?

I define them all now, so there is a (ever so) slight hit on cycles for
this.

If I define them as they are called, then each needs a conditional to
process to run each time that GETTER is called.

Or is this 6 of one and half-dozen of another?

Now, this gets broken up, many of the properties correspond the different
sections. then he properties should be defined as called, because their
package would only be loaded when called.

Am I talking in circles here?

Does anyone have any advise?

Thanks

Walter

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



[PHP] Q on class failure...

2003-09-21 Thread jsWalter
I found this in the docs...

   If you want your constructor to possibly not create the object

   class A
   {
 function A()
 {
 // ...
 // some error occurred
 $this = null;
 return;
 }
   }

I tested it, it works great.

Then I read on...

   Setting $this to null isn't available in PHP 4.3.3R3 anymore. Maybe in
version below also.

Great! :/

I have 4.3.2, so I guess it would work for me.

If this feature has been removed, can someone show me a good way to
indicate a failure on object instantiation?

Thanks

Walter

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



RE: [PHP] php|cruise

2003-09-21 Thread Karen Lubrecht
Hmm! I wonder if that is the reason I've been getting Viagra spam!  :-) 

You know, I guess I've been too focused on the code to have looked at
the names. Gentlemen, there is at least one lady here. Maybe no longer a
chick, but female none the same. I'm sure there are many others who may
be lurking and would enjoy the cruise. 

Karen 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 21, 2003 3:29 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] php|cruise



  I think this is the ONLY PHP conference she'd ever
  agree to going to.
 
 I think this is also the ONLY cruise on which single guys won't find a
 fling.  I smell a sausage party! ;)

Oh I dunno bout that. There's more PHP chicks out there than you'd
believe! 
I've talked to many, and I'm sure there are many more. =)

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



Re: [PHP] php|cruise

2003-09-21 Thread Curt Zirzow
* Thus wrote Karen Lubrecht ([EMAIL PROTECTED]):
 Hmm! I wonder if that is the reason I've been getting Viagra spam!  :-) 
 
 You know, I guess I've been too focused on the code to have looked at
 the names. Gentlemen, there is at least one lady here. Maybe no longer a
 chick, but female none the same. I'm sure there are many others who may
 be lurking and would enjoy the cruise. 

I can name three others that regularly post here :)

Curt
-- 
I used to think I was indecisive, but now I'm not so sure.

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



Re: [PHP] php|cruise

2003-09-21 Thread Ryan A
Hey hey hey,
watch your languagewho are you calling gentlemen?
I guess you must be on the wrong list or something :-D

Cheers,
-Ryan


We will slaughter you all! - The Iraqi (Dis)information ministers site
http://MrSahaf.com


- Original Message - 
From: Karen Lubrecht [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 22, 2003 2:35 AM
Subject: RE: [PHP] php|cruise


 Hmm! I wonder if that is the reason I've been getting Viagra spam!  :-)

 You know, I guess I've been too focused on the code to have looked at
 the names. Gentlemen, there is at least one lady here. Maybe no longer a
 chick, but female none the same. I'm sure there are many others who may
 be lurking and would enjoy the cruise.

 Karen
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Sunday, September 21, 2003 3:29 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [PHP] php|cruise



   I think this is the ONLY PHP conference she'd ever
   agree to going to.
 
  I think this is also the ONLY cruise on which single guys won't find a
  fling.  I smell a sausage party! ;)

 Oh I dunno bout that. There's more PHP chicks out there than you'd
 believe!
 I've talked to many, and I'm sure there are many more. =)

 -- 
 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



[PHP] Q on accessing properties of parent from child class...

2003-09-21 Thread jsWalter
I've read the entire manual on classes, and I did not see an answer to my
question.

I see how to access methods of a parent from the child...

parentName::foo();

or

parent::foo();

but I would like to gain access to read and/or modify properties from the
parent.

Yes, I built getters that work, but I was wondering about a more direct
method.

Thanks

Walter

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



[PHP] regexp help please!

2003-09-21 Thread Justin French
I'm writing a PHP script inspired by smartypants and textile (but for 
PHP), which among other things does smart quoting.

However, I want to avoid smart quotes inside all tags (all quotes 
inside  and ).  Since there are numerous functions accounting for 
numerous special cases, AND the fact that there will be very few tags 
with quotes (a is all so far), I'm thinking it's be easiest to go 
back through the converted text and replace all converted smart 
characters back to stupid ones

something like

$out = 
preg_replace(/(.*?)[#8220;|#8221;](.*?)/,\\1\\\2,$in); // 
doubles
$out = preg_replace(/(.*?)[#8217;|#821;](.*?)/,\\1'\\2,$in); 
// singles

would be nice, but it isn't working, and I think this is stretching my 
skills in preg's waaay too far.

simularly, I'd like to preserver / de-convert any text contained with 
pre/pre tags

Any hints would be great!

Justin French

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


[PHP] [php] formmail.pl formmail.php

2003-09-21 Thread John Taylor-Johnston
Not that formmail.pl was the most secure idea, but it could take any variable off any 
form and mail the contents to a vriable on that form. Does anyone know of such a 
critter in existence for PHP, a script that will read in all variable on any form and 
email them. Something already created? Any use of formmail.pl these days would need 
updating to protect it from spamming. Anything available?

--
John Taylor-Johnston
-
If it's not open-source, it's Murphy's Law.

  ' ' '   Collège de Sherbrooke:
 ô¿ô   http://www.collegesherbrooke.qc.ca/languesmodernes/
   - Université de Sherbrooke:
  http://compcanlit.ca/
  819-569-2064

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



Re: [PHP] [php] formmail.pl formmail.php

2003-09-21 Thread Tom Rogers
Hi,

Monday, September 22, 2003, 11:34:25 AM, you wrote:
JTJ Not that formmail.pl was the most secure idea, but it could take any
JTJ variable off any form and mail the contents to a vriable on that form. Does
JTJ anyone know of such a critter in existence for PHP, a script that will read
JTJ in all variable on any form and email them. Something already created? Any
JTJ use of formmail.pl these days would need updating to protect it from
JTJ spamming. Anything available?

JTJ --
JTJ John Taylor-Johnston
JTJ -
JTJ If it's not open-source, it's Murphy's Law.

JTJ   ' ' '   Collège de Sherbrooke:
JTJ  ô¿ô   http://www.collegesherbrooke.qc.ca/languesmodernes/
JTJ- Université de Sherbrooke:
JTJ   http://compcanlit.ca/
JTJ   819-569-2064


Here is a class I use to get you started

?
class doFormsClass {
var $text = '';
var $vars = array();
var $emailto = '';
function doFormsClass(){
if(!empty($_POST['EmailTo'])){
$this-emailto = $_POST['EmailTo'];
$today = Date(d/m/Y H:i:s);
$this-text = Form submitted on $today\n\n;   
//$text holds the email message
$this-vars['vars']['header'] = 'Form submitted on '.$today;
$x = 0;
while (list($k, $v)=each($_POST)) { //loop through 
all the variables sent
switch($k){
 //and break on keywords 
case(EmailTo):
$this-vars['vars']['mailto'] = $v;
break;
case 'Quiet':
case 'PHPSESSID':
case 'Email2':
case 'FormBackground':
case 'FormBottomMessage':
case 'FormTopMessage':
case 'FormSubject':
case 'FormRedirect':
case 'submit':
case 'MAIL':
break; //drop all of these
default: //otherwise not a keyword
$k = ereg_replace(_, ,$k);  //get 
rid of _ and replace with a space
if($v == BR){ //if BR add a carriage 
return,used for making blank line

$this-vars['blocks']['submit'][$x]['dropif']['break'] = 'nbsp;';
$this-text .= \n;
}else{

$this-vars['blocks']['submit'][$x]['vars']['name'] = $k;

$this-vars['blocks']['submit'][$x]['vars']['value'] = $v;
$this-text .= $k : $v\n; 
//add the variable name and value to email
}
$x++;
break;
}
}
}
if(isset($_POST['FormSubject'])){
$subject = $_POST['FormSubject'];
}else{
$subject = Form submitted $today;
}
$this-vars['vars']['subject'] = $subject;
if(isset($_POST['Email']) || isset($_POST['email'])){
if(isset($_POST['Email'])):
$tail = FROM: .$_POST['Email'];
else:
$tail = FROM: .$_POST['email'];
endif;
}
else{
$tail = FROM: Unknown;
}
mail($_POST['EmailTo'],$subject,$this-text,$tail); //send 
the email
if(isset($_POST['Email2'])){
mail($_POST['Email2'],$subject,$text,$tail);//send CC if 
needed
}
}
function getVars(){
return $this-vars;
}
}


The form would start like this
?
if(isset($_POST['EmailTo'])){
  $df = new doforms(){ //will send the form off by mail
  //display form answers/thankyou message here
}else{
?
  form action=?echo $_SERVER['PHP_SELF']? method=post
  input type=hidden name=EmailTo value=email adress 

Re: [PHP] Need help with a regex

2003-09-21 Thread Curt Zirzow
* Thus wrote Adam Zey ([EMAIL PROTECTED]):
 Thanks, that did the trick :)
 
 Only thing was I had to modify it for newline support:
 
 trtd class='newsitemtitle-td'([^]*)\/tdtd
 class='newsitemposter-td'span
 class=([^]*)([^]*)\/span([^]*)\/td\/tr trtd
 class='newsitemcontent-td' colspan=2((.|\n)*?)\/td\/tr

For new line support look at the 's' modifier.  

http://php.net/manual/en/pcre.pattern.modifiers.php

Curt
-- 
I used to think I was indecisive, but now I'm not so sure.

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



[PHP] non-php issue

2003-09-21 Thread Wang Feng
hi everyone, could someone recommend a security mailing list, please? 


or you may like to answer my question below:

i'm currently using outlook express 6 on WinXP Pro, and something strange happened:

everytime when i start the computer, some messages pop up and attempts to sending the 
replies of the emails (in the
inbox) in behalf of me.

my anti-virus software doesn't work at all. what's the problem. how can i fix it?

please help


cheers,

feng



RE: [PHP] non-php issue

2003-09-21 Thread mek2600-php
*This message was transferred with a trial version of CommuniGate(tm) Pro*

First off, disconnect your computer from the Internet- RIGHT NOW.  You
do have a virus and you're gonna infect more people.  Odds are the virus
broke your scanner, so either reinstall it or go get another one.  The
best bet (since I don't know how your virus works) if to scan the hdd
from another PC to remove the problems.

Other people might have better ideas, but mine should be sufficient.
Either way get off the Net, now.  :)

MK

-Original Message-
From: Wang Feng [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 21, 2003 11:05 PM
To: [EMAIL PROTECTED]
Subject: [PHP] non-php issue


hi everyone, could someone recommend a security mailing list, please? 


or you may like to answer my question below:

i'm currently using outlook express 6 on WinXP Pro, and something
strange happened:

everytime when i start the computer, some messages pop up and attempts
to sending the replies of the emails (in the
inbox) in behalf of me.

my anti-virus software doesn't work at all. what's the problem. how can
i fix it?

please help


cheers,

feng

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



RE: [PHP] non-php issue

2003-09-21 Thread mek2600-php
*This message was transferred with a trial version of CommuniGate(tm) Pro*


Yeah, disconnect from the Internet for starters.  :)  Put the bad HDD
into a non-bad PC and scan that way.  Also, update your definitions.

MK

-Original Message-
From: Wang Feng [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 21, 2003 11:16 PM
To: mek2600-php
Subject: Re: [PHP] non-php issue


*This message was transferred with a trial version of CommuniGate(tm)
Pro* thanks. but i didn't install any anti-virus software untill the
machine got infected. and i tried to install Norton, but failed to do
that for some reason. --- no idea why.

any other suggestions?


cheers,

feng


- Original Message -
From: mek2600-php [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 22, 2003 2:07 PM
Subject: RE: [PHP] non-php issue


 *This message was transferred with a trial version of CommuniGate(tm) 
 Pro*

 First off, disconnect your computer from the Internet- RIGHT NOW.  You

 do have a virus and you're gonna infect more people.  Odds are the 
 virus broke your scanner, so either reinstall it or go get another 
 one.  The best bet (since I don't know how your virus works) if to 
 scan the hdd from another PC to remove the problems.

 Other people might have better ideas, but mine should be sufficient. 
 Either way get off the Net, now.  :)

 MK

 -Original Message-
 From: Wang Feng [mailto:[EMAIL PROTECTED]
 Sent: Sunday, September 21, 2003 11:05 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] non-php issue


 hi everyone, could someone recommend a security mailing list, please?


 or you may like to answer my question below:

 i'm currently using outlook express 6 on WinXP Pro, and something 
 strange happened:

 everytime when i start the computer, some messages pop up and attempts

 to sending the replies of the emails (in the
 inbox) in behalf of me.

 my anti-virus software doesn't work at all. what's the problem. how 
 can i fix it?

 please help


 cheers,

 feng

 --
 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] non-php issue

2003-09-21 Thread Raditha Dissanayake
You can fix all of your problems by formatting your computer and 
installing a linux distribution.

Wang Feng wrote:

hi everyone, could someone recommend a security mailing list, please? 

or you may like to answer my question below:

i'm currently using outlook express 6 on WinXP Pro, and something strange happened:

everytime when i start the computer, some messages pop up and attempts to sending the 
replies of the emails (in the
inbox) in behalf of me.
my anti-virus software doesn't work at all. what's the problem. how can i fix it?

please help

cheers,

feng

 



--
http://www.radinks.com/upload
Drag and Drop File Uploader.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] non-php issue

2003-09-21 Thread andu
On Monday, September 22, 2003, at 12:34  AM, Raditha Dissanayake wrote:

You can fix all of your problems by formatting your computer and 
installing a linux distribution.
I'm getting all these security patches in my email from Microsoft 
Corporation lately, maybe you want to use them since I run linux and 
have no use for them :).

Wang Feng wrote:

hi everyone, could someone recommend a security mailing list, please?

or you may like to answer my question below:

i'm currently using outlook express 6 on WinXP Pro, and something 
strange happened:

everytime when i start the computer, some messages pop up and 
attempts to sending the replies of the emails (in the
inbox) in behalf of me.

my anti-virus software doesn't work at all. what's the problem. how 
can i fix it?

please help

cheers,

feng





--
http://www.radinks.com/upload
Drag and Drop File Uploader.
--
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] non-php issue

2003-09-21 Thread mek2600-php
*This message was transferred with a trial version of CommuniGate(tm) Pro*



Man, once again- Outlook is not the problem.  Get the PC off the
internet and scan it until it's found.  Put the drive in another PC, use
one of the systems available for removing viruses with a boot CD/disk,
etc, but don't half-ass this.  You're now a menace and youneed to fix
things.  If it's harsh, tough.  Get it fixed by scanning like I said or
doing a complete wipe.  Besides, why save your Outlook stuff when it has
a freakin' virus in it?

Oh, and to Raditha Dissanayake who suggested Linux- do you actually
think this guys needs/can handle Linux?  :)


MK

-Original Message-
From: Wang Feng [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 21, 2003 11:41 PM
To: mek2600-php
Subject: Re: [PHP] non-php issue


thanks. i might try to delete the outlook and re-install it to see what
happen.

btw, do you know how to retrieve the old emails if i delete the outlook?

cheers,

feng

- Original Message -
From: mek2600-php [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 22, 2003 2:27 PM
Subject: RE: [PHP] non-php issue


 Yeah, disconnect from the Internet for starters.  :)  Put the bad HDD 
 into a non-bad PC and scan that way.  Also, update your definitions.

 MK

 -Original Message-
 From: Wang Feng [mailto:[EMAIL PROTECTED]
 Sent: Sunday, September 21, 2003 11:16 PM
 To: mek2600-php
 Subject: Re: [PHP] non-php issue


 *This message was transferred with a trial version of CommuniGate(tm)
 Pro* thanks. but i didn't install any anti-virus software untill the 
 machine got infected. and i tried to install Norton, but failed to do 
 that for some reason. --- no idea why.

 any other suggestions?


 cheers,

 feng


 - Original Message -
 From: mek2600-php [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, September 22, 2003 2:07 PM
 Subject: RE: [PHP] non-php issue


  *This message was transferred with a trial version of 
  CommuniGate(tm)
  Pro*
 
  First off, disconnect your computer from the Internet- RIGHT NOW.  
  You

  do have a virus and you're gonna infect more people.  Odds are the 
  virus broke your scanner, so either reinstall it or go get another 
  one.  The best bet (since I don't know how your virus works) if to 
  scan the hdd from another PC to remove the problems.
 
  Other people might have better ideas, but mine should be sufficient.

  Either way get off the Net, now.  :)
 
  MK
 
  -Original Message-
  From: Wang Feng [mailto:[EMAIL PROTECTED]
  Sent: Sunday, September 21, 2003 11:05 PM
  To: [EMAIL PROTECTED]
  Subject: [PHP] non-php issue
 
 
  hi everyone, could someone recommend a security mailing list, 
  please?
 
 
  or you may like to answer my question below:
 
  i'm currently using outlook express 6 on WinXP Pro, and something 
  strange happened:
 
  everytime when i start the computer, some messages pop up and 
  attempts

  to sending the replies of the emails (in the
  inbox) in behalf of me.
 
  my anti-virus software doesn't work at all. what's the problem. how 
  can i fix it?
 
  please help
 
 
  cheers,
 
  feng
 
  --
  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

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



Re: [PHP] non-php issue

2003-09-21 Thread Peter James
You guys running Linux sure are cocky about these sorts of things.  I have
no doubt that Linux' time will come, and then it will be the MacOS X users,
or FreeBSD users, or [insert random-os-that-still-remains-under-the-radar
here] users that think they are untouchable.

If Linux enjoyed the same type of (often less-than-computer-literate) user
base that Windows does, there'd be plenty for virus writers and
vulnerability exploiters to do.  Linux is not necessarily more secure...
just not a honeypot of large numbers of gullible users.

But that's just my 2 cents (for which I will almost certainly earn the title
of troll).

- Original Message - 
From: andu [EMAIL PROTECTED]
To: Raditha Dissanayake [EMAIL PROTECTED]
Cc: Wang Feng [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Sunday, September 21, 2003 10:46 PM
Subject: Re: [PHP] non-php issue



 On Monday, September 22, 2003, at 12:34  AM, Raditha Dissanayake wrote:

  You can fix all of your problems by formatting your computer and
  installing a linux distribution.

 I'm getting all these security patches in my email from Microsoft
 Corporation lately, maybe you want to use them since I run linux and
 have no use for them :).

 
  Wang Feng wrote:
 
  hi everyone, could someone recommend a security mailing list, please?
 
  or you may like to answer my question below:
 
  i'm currently using outlook express 6 on WinXP Pro, and something
  strange happened:
 
  everytime when i start the computer, some messages pop up and
  attempts to sending the replies of the emails (in the
  inbox) in behalf of me.
 
  my anti-virus software doesn't work at all. what's the problem. how
  can i fix it?
 
  please help
 
 
  cheers,
 
  feng
 
 
 
 
 
  -- 
  http://www.radinks.com/upload
  Drag and Drop File Uploader.
 
  -- 
  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


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



Re: [PHP] Q on class failure...

2003-09-21 Thread Raditha Dissanayake
hi,

It's generaly considered that constructors are supposed return an 
instance of that class. Use a factory instead if you want to return nulls;



jsWalter wrote:

I found this in the docs...

  If you want your constructor to possibly not create the object

  class A
  {
function A()
{
// ...
// some error occurred
$this = null;
return;
}
  }
I tested it, it works great.

Then I read on...

  Setting $this to null isn't available in PHP 4.3.3R3 anymore. Maybe in
version below also.
Great! :/

I have 4.3.2, so I guess it would work for me.

If this feature has been removed, can someone show me a good way to
indicate a failure on object instantiation?
Thanks

Walter

 



--
http://www.radinks.com/upload
Drag and Drop File Uploader.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] non-php issue

2003-09-21 Thread Raditha Dissanayake
relax guys,

I have been dying to say  You can fix all of your problems by 
formatting your computer and installing a linux distribution.  On this 
list for ages :-)

but the fact remains that an out of the box installation of any of the 
linux distros are far more secure than anything putout by that redmond 
company.

Peter James wrote:

You guys running Linux sure are cocky about these sorts of things.  I have
no doubt that Linux' time will come, and then it will be the MacOS X users,
or FreeBSD users, or [insert random-os-that-still-remains-under-the-radar
here] users that think they are untouchable.
If Linux enjoyed the same type of (often less-than-computer-literate) user
base that Windows does, there'd be plenty for virus writers and
vulnerability exploiters to do.  Linux is not necessarily more secure...
just not a honeypot of large numbers of gullible users.
But that's just my 2 cents (for which I will almost certainly earn the title
of troll).
- Original Message - 
From: andu [EMAIL PROTECTED]
To: Raditha Dissanayake [EMAIL PROTECTED]
Cc: Wang Feng [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Sunday, September 21, 2003 10:46 PM
Subject: Re: [PHP] non-php issue

 

--
http://www.radinks.com/upload
Drag and Drop File Uploader.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] non-php issue

2003-09-21 Thread Robert Cummings
On Mon, 2003-09-22 at 01:09, Raditha Dissanayake wrote:
 relax guys,
 
 I have been dying to say  You can fix all of your problems by 
 formatting your computer and installing a linux distribution.  On this 
 list for ages :-)
 
 but the fact remains that an out of the box installation of any of the 
 linux distros are far more secure than anything putout by that redmond 
 company.

All security advantages aside, I prefer linux because everytime I
install a new program or service I don't need to reboot :)

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

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



Re: [PHP] non-php issue

2003-09-21 Thread Robert Cummings
On Mon, 2003-09-22 at 01:08, Robert Cummings wrote:
 On Mon, 2003-09-22 at 01:09, Raditha Dissanayake wrote:
  relax guys,
  
  I have been dying to say  You can fix all of your problems by 
  formatting your computer and installing a linux distribution.  On this 
  list for ages :-)
  
  but the fact remains that an out of the box installation of any of the 
  linux distros are far more secure than anything putout by that redmond 
  company.
 
 All security advantages aside, I prefer linux because everytime I
 install a new program or service I don't need to reboot :)

Yeeek, that should say ONE of the reasons I prefer linux. There
are in actual fact many, many, many, many more reasons :)

Rob
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

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



Re: [PHP] non-php issue

2003-09-21 Thread John Nichel
Peter James wrote:
You guys running Linux sure are cocky about these sorts of things.  I have
no doubt that Linux' time will come, and then it will be the MacOS X users,
or FreeBSD users, or [insert random-os-that-still-remains-under-the-radar
here] users that think they are untouchable.
If Linux enjoyed the same type of (often less-than-computer-literate) user
base that Windows does, there'd be plenty for virus writers and
vulnerability exploiters to do.  Linux is not necessarily more secure...
just not a honeypot of large numbers of gullible users.
Not as cut and dry as that.  By design, Linux IS more secure.  Great 
deal of that security lies in the fact that it IS a true multi-user 
system (like just about every other non-MS OS out there), with a real 
permission / user / group mindset.

But that's just my 2 cents (for which I will almost certainly earn the title
of troll).
Not a troll, just misinformed.

--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] non-php issue

2003-09-21 Thread Peter James
Not saying that there aren't lots of reasons to like and run Unix.  I run
FreeBSD as my webserver, for instance, because I think its the right OS for
the job.  I run WinXP on my desktop, though, because it has the applications
I want to use, is familiar and comfortable to me, and I have the hardware to
make it an enjoyable experience.  I run the dreaded Outlook Express, and I
(usually) love the integration present in Windows.  Sure, that integration
makes it easier to do stoopid things, but remember it's people that kill
people, not guns.

Because I use FreeBSD, I know a lot of BSD gurus--you know the type: long
hair, longer beard, eyes that look like pissholes in the snow.  You should
hear what these guys have to say about Linux.  It's just a big daisy-chain
of supposed superiority.

I'm not trying to stand on a soap box and defend Windows... I just think
that mocking others for using what they like/know/have is not a good idea,
whether it's Windows, Linux, BSD, whatever.  And in this case, mocking
someone who has AIDS is probably not as useful as helping him to prevent
spreading it, which is sorta what he was asking (IINM).  Though this is
probably not the venue for his question...

Cheers,
Pete.

- Original Message - 
From: Robert Cummings [EMAIL PROTECTED]
To: Raditha Dissanayake [EMAIL PROTECTED]
Cc: Peter James [EMAIL PROTECTED]; PHP-General
[EMAIL PROTECTED]
Sent: Sunday, September 21, 2003 11:08 PM
Subject: Re: [PHP] non-php issue


 On Mon, 2003-09-22 at 01:09, Raditha Dissanayake wrote:
  relax guys,
 
  I have been dying to say  You can fix all of your problems by
  formatting your computer and installing a linux distribution.  On this
  list for ages :-)
 
  but the fact remains that an out of the box installation of any of the
  linux distros are far more secure than anything putout by that redmond
  company.

 All security advantages aside, I prefer linux because everytime I
 install a new program or service I don't need to reboot :)

 Cheers,
 Rob.
 -- 
 ..
 | InterJinn Application Framework - http://www.interjinn.com |
 ::
 | An application and templating framework for PHP. Boasting  |
 | a powerful, scalable system for accessing system services  |
 | such as forms, properties, sessions, and caches. InterJinn |
 | also provides an extremely flexible architecture for   |
 | creating re-usable components quickly and easily.  |
 `'

 -- 
 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] non-php issue

2003-09-21 Thread Wang Feng
Hey, man. This is NOT AIDS. And it will be fixed anyway. :-)


- Original Message -
From: Peter James [EMAIL PROTECTED]
To: PHP-General [EMAIL PROTECTED]
Sent: Monday, September 22, 2003 3:33 PM
Subject: Re: [PHP] non-php issue


 Not saying that there aren't lots of reasons to like and run Unix.  I run
 FreeBSD as my webserver, for instance, because I think its the right OS
for
 the job.  I run WinXP on my desktop, though, because it has the
applications
 I want to use, is familiar and comfortable to me, and I have the hardware
to
 make it an enjoyable experience.  I run the dreaded Outlook Express, and I
 (usually) love the integration present in Windows.  Sure, that integration
 makes it easier to do stoopid things, but remember it's people that kill
 people, not guns.

 Because I use FreeBSD, I know a lot of BSD gurus--you know the type: long
 hair, longer beard, eyes that look like pissholes in the snow.  You should
 hear what these guys have to say about Linux.  It's just a big daisy-chain
 of supposed superiority.

 I'm not trying to stand on a soap box and defend Windows... I just think
 that mocking others for using what they like/know/have is not a good idea,
 whether it's Windows, Linux, BSD, whatever.  And in this case, mocking
 someone who has AIDS is probably not as useful as helping him to prevent
 spreading it, which is sorta what he was asking (IINM).  Though this is
 probably not the venue for his question...

 Cheers,
 Pete.

 - Original Message -
 From: Robert Cummings [EMAIL PROTECTED]
 To: Raditha Dissanayake [EMAIL PROTECTED]
 Cc: Peter James [EMAIL PROTECTED]; PHP-General
 [EMAIL PROTECTED]
 Sent: Sunday, September 21, 2003 11:08 PM
 Subject: Re: [PHP] non-php issue


  On Mon, 2003-09-22 at 01:09, Raditha Dissanayake wrote:
   relax guys,
  
   I have been dying to say  You can fix all of your problems by
   formatting your computer and installing a linux distribution.  On
this
   list for ages :-)
  
   but the fact remains that an out of the box installation of any of the
   linux distros are far more secure than anything putout by that redmond
   company.
 
  All security advantages aside, I prefer linux because everytime I
  install a new program or service I don't need to reboot :)
 
  Cheers,
  Rob.
  --
  ..
  | InterJinn Application Framework - http://www.interjinn.com |
  ::
  | An application and templating framework for PHP. Boasting  |
  | a powerful, scalable system for accessing system services  |
  | such as forms, properties, sessions, and caches. InterJinn |
  | also provides an extremely flexible architecture for   |
  | creating re-usable components quickly and easily.  |
  `'
 
  --
  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

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



Re: [PHP] non-php issue

2003-09-21 Thread Peter James
 Hey, man. This is NOT AIDS.

Oh, sorry... wrong list. :-)

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