php-general Digest 30 Dec 2007 09:03:36 -0000 Issue 5207

Topics (messages 266364 through 266368):

Re: php.ini in php5.2.1
        266364 by: jekillen

Re: Unix date (even more bazaar)
        266365 by: Børge Holen

Re: [PHP-DEV] Sayonara PHP
        266366 by: tedd

Re: script stoped working over christmas ?
        266367 by: Joker7

Question regarding linking PHP Parser library into my private Http server
        266368 by: Talya Nevo

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---

On Dec 28, 2007, at 10:40 PM, Jochem Maas wrote:

jekillen schreef:
Hello;
I have not had the necessity to deal with php.ini files for some time.
Now, because I switch from Sendmail to Postfix on one system I
need to adjust the sendmail path variable.

are you sure you need to change it? doesn't postfix come with some kind of compatibility wrapper [script] that takes the place of sendmail itself ...
IIRC most MTAs are sendmail compatible in that way.

I cannot find a php.ini file
in the specified location. That is not a problem because I can use
ini_set(). What is puzzling is that my system,
I built and installed from source on a number of different systems and
seem to remember that the process creates a php.ini file. Maybe I have
it wrong but in the past I seem to remember being able to find one to
make sure register variables was set to off. (or maybe I ignored it because
that is the default now). So, is the fact that this file is missing
something
I should be concerned about?

php uses it's defaults if it can't load an .ini file - the only concern
is whether this bothers you.

note that you can also set .ini settings via webserver configurations files
(e.g. in apache's httpd.conf or .htaccess files)


No, it does not bother me accept if I should have had a file created by the install. I can create on with all the values I want to change, right? I have been looking at my copy of the manual. Postfix sendmail path is different than default sendmail path in php (at least on my system) and does not use options to invoke it. This is to send a confirmation message to an address entered into a registration from.
Thanks for your reply.
Jeff K

--- End Message ---
--- Begin Message ---
On Saturday 29 December 2007 17:59:01 Daniel Brown wrote:
> On Dec 29, 2007 11:43 AM, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > On Sat, 2007-12-29 at 11:37 -0500, tedd wrote:
> > > At 4:58 PM +0100 12/29/07, Zoltán Németh wrote:
> > > >2007. 12. 29, szombat keltezéssel 09.42-kor Daniel Brown ezt írta:
> > > >  > > I wish to create my website www.manonivas.org so as i f anyone
> > > >  > > wish to enter in it they should pay a payment to my bank
> > > >  > > account online. As soon as they transfered money to my account
> > > >  > > then
> > > >>  >
> > > >>  > only they have to login my site and enter the link
> > > >>  > www.manonivas.org/radial_remedies.htm .
> > > >>  > Then login session expires after 24 hours and if they wish to
> > > >>  > reenter they have to pay the same amount.
> > > >>  > Please send me a script and other designing details to create my
> > > >>  > website as above described format.
> > > >>  > Please send the reply to my email ID: [EMAIL PROTECTED] or as a
> > > >>  > reply for this message.
> > > >>  > Regards
> > > >>  > N. Manohara Kurup
> > > >  >
> > > >  >     Yeah, like that's going to happen.
> > > >
> > > >I didn't even receive this one...
> > >
> > > That's OK, because I received two of them.
> > >
> > > Where do people that that come from?
> >
> > You guys answered this wrong...
> >
> > I have the solution for you, to get it you will need to log into my site
> > and make a large payment. That will get you to the first line of the
> > solution. To see the next line, or after 5 minutes you will need to log
> > in again and make another large payment. This process will continue for
> > a while, specifically until I have all your money or you have all my
> > solution.
>
>     I've received six exact copies of the same email.  Some people are
> ignorant.

butbut... I just got this one

>
>     And sure, I'm one of them.... just not this time.  And that feels
> pretty good.  ;-P
>
> --
> Daniel P. Brown
> [Phone Numbers Go Here!]
> [They're Hidden From View!]
>
> If at first you don't succeed, stick to what you know best so that you
> can make enough money to pay someone else to do it for you.



-- 
---
Børge Holen
http://www.arivene.net

--- End Message ---
--- Begin Message ---
At 1:17 AM -0300 12/29/07, Martin Alterisio wrote:
That's all. I don't think that rant may be of use to anyone, but at least it
felt nice to let go of some steam.

Best Regards and Happy New Year,

Martin Alterisio

Good luck with your gaming programming -- not that I regret my decision, but I often wonder where my gaming would have taken me, if I had stayed with it, after writing gnop gnip (ping pong) in 1971. That's a few years before Pong, which was the same game. But, Pong wasn't invented by me either -- it was developed by Bell Labs (I think, or Westinghouse) back in 1956.

Luck, talent, and opportunity -- if you happen to be on the cusp of all three, the world can change in a heartbeat.

Cheers,

tedd
--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--- End Message ---
--- Begin Message ---
In news: [EMAIL PROTECTED] - "Zoltán Németh"  wrote :
>> 2007. 12. 29, szombat keltezéssel 11.23-kor Joker7 ezt írta:
>>> Can anyone see why this has stopped working...
>>
>> what does it mean stopped working?
>> what error message do you get?
>> etc etc
>>
>> greets
>> Zoltán Németh
>>
>>> latest.php is used with <?
>>> include("/home/sever2/public_html/teaup/article/article_summary.php")
>>> ?> to show the latest news articles.
>>>
>>> Cheers
>>> Chris
>>>
>>> config.php
>>> <?php
>>> $max_summary = 6;
>>> $max_latest = 7;
>>> $summary_template = "t_summary.tp";
>>> $article_template = "t_article.tp";
>>> $password = "password";
>>>>
>>>
>>> latest.php
>>> <?php
>>>
>>>   require('config.php');
>>>
>>>  $filename = "article_summary.php";
>>>
>>>  #- open article summaries
>>>  if(file_exists($filename)){
>>>   $fh = fopen($filename, "r");
>>>   $old_news = fread($fh, filesize($filename));
>>>   fclose($fh);
>>>  }
>>>
>>>     #- get article
>>>  $articles = explode("<!--ARTICLE-->", $old_news);
>>>  $i=0;
>>>  foreach ( $articles as $article ){
>>>   if(count($articles)>$i){
>>>    if($max_latest >= $i++){
>>>     print $article;
>>>    }
>>>   }
>>>  }

No error message it's as if it working ,but not ,if I change the path or any 
thing else I get the apporiate error message.

Chris

-- 
Cheap As Chips Broadband http://yeah.kick-butt.co.uk
Superb hosting & domain name deals http://host.kick-butt.co.uk 


--- End Message ---
--- Begin Message ---
Hi,

I am porting my software from Linux to µC/OS-II OS.
On Linux I ran the Boa Web server with PHP.
The µC/OS-II has a basic open source Http Server that does not support PHP or 
CGI.

What I was able to do - is from the Http server, each time an http request is 
received, call using 'System' function the PHP interpreter program (like from 
cli) with input the requested page.
This seams to basically work but it is not efficient at all.

What I would like to do is to link the Http Server to the basic PHP parser 
library and call the 'parse' function each time the server gets an http request.
   
Is this possible?
Does anyone know how to do this - which library to link to, which function to 
call, maybe an example.

Thanks for your help.

Talya Nevo
[EMAIL PROTECTED]

--- End Message ---

Reply via email to