Re: [PHP] Re: Dated/Timed actions

2001-10-02 Thread paharito

But what if your server can't give you cron perms?

It would be useful if I could send an e·mail every monday... but can I do
this without the cron?

Thanks... and Hi!! to the group. I'm the New from Spain... ;)

- Original Message -
From: Henrik Hansen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 12:27 PM
Subject: [PHP] Re: Dated/Timed actions


 [EMAIL PROTECTED] (Stephane Besnard) wrote:

   Hi,
  
   Does anybody know how to generate 'dated/timed actions' with PHP?
  
   By this I mean, for instance, automatically sending an email to a
   group of people when a specific date and time is reached: sending a
   happy birthday message to a users.

 use a cronjob

 http://alt-php-faq.org/#id81

 --
 Henrik Hansen

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: Dated/Timed actions

2001-10-02 Thread paharito

Well, it maybe posibble... but how can be it done by a php script?

I mean:

- The job is to send a mail to the mail-list of my web every monday, but I
cannot use the crontab

I think I can do this script:

- At every visit at my index page, I check the system date, and if it is
equal to 0:00am of monday, send the mail, and maybe, set a variable = 1 (1
means Send, for example), so the next visit won't active the script that
sends the email...

But if there are 2 simultaneos visits at 0:00am or mayor, the php will
execute 2 times the script...

so... is there a good script as efective as a cron job?

Thanks :)

PD: yes, my english sux XD

- Original Message -
From: Henrik Hansen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 2:27 PM
Subject: Re: [PHP] Re: Dated/Timed actions


 [EMAIL PROTECTED] (Duncan Hill) wrote:

   On Tue, 2 Oct 2001, paharito wrote:
  
  But what if your server can't give you cron perms?
 
  It would be useful if I could send an e·mail every monday... but can
  I do this without the cron?
  
   Try  at   instead.

 if you dont have cron access I dont think you have at perms either.

 maybe set a job up on your local computer?

 --
 Henrik Hansen

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] how to decrease serverload easily?

2001-10-02 Thread paharito

Can you think a site with 250.000 visitis (uniques ip) each day?

We have very troubles with the mysql server... The, because there is only 1
mysql server... I'm interesting in the solution you pourpose... Where can I
get more information about that?

thanks

- Original Message -
From: Rasmus Lerdorf [EMAIL PROTECTED]
To: Martin Lindhe [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 5:32 PM
Subject: Re: [PHP] how to decrease serverload easily?


  We're developing a web platform based on PHP, running under Apache. We
have
  realized that we need a way of split up the serverload to multiple
  machines if it gets too high. We've come up with PHP solutions to the
  problem but are looking for better ones, especially in Apache
configuration.
  Is there any easy way of doing this? Anyone have previous experience?
 
  Software versions and OS'es is of no concern, we'll use what's required.

 Have a look at http://conf.php.net/sdphp and have a look at slides 46
 through 48.

 Basically, I would suggest a Squid reverse proxy as a front-end to your
 system.  Have it use a redirector like SquidGuard to distribute requests
 across multiple backend web servers, and if you need to distribute your
 database load as well, set up a single master mysql server which
 replicates to read-only servers on each of the load balanced Apache
 servers.  And if you are getting really crazy traffic, you could round
 robin across multiple frontend squid servers.  But I would be very
 surprised if you are doing anything that is getting that much traffic.

 How many hits per second are you expecting?

 -Rasmus


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] how to decrease serverload easily?

2001-10-02 Thread paharito

hehehe... are you going to travel to Spain?

You can title like: the Rasmus World Tour ;)

- Original Message - 
From: Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED]
To: 'Rasmus Lerdorf' [EMAIL PROTECTED]; 'ReDucTor' [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 6:29 PM
Subject: RE: [PHP] how to decrease serverload easily?


 
 What about in Europe and Japan. I live between Italy and Tokyo. I only
 met Zeev Suraski and Doron (the CEO of Zend) representing my company on
 a meeting in Tokyo this June. What about you? Are there any speeches you
 do in my locations?
 
 
 Maxim Maletsky
 www.PHPBeginner.com
 
 
 
 
 -Original Message-
 From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] 
 Sent: martedi 2 ottobre 2001 18.21
 To: ReDucTor
 Cc: [EMAIL PROTECTED]
 Subject: Re: [PHP] how to decrease serverload easily?
 
 
  Would be nice and fun to goto one of them, but I live in Australia and
 
  I doubt, thats where you go  :D hehe
 
 I have given talks in Australia.  Both in Sydney and Canberra.  And I
 will be at linux.conf.au in Brisbane in February.
 
 -Rasmus
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED] To
 contact the list administrators, e-mail: [EMAIL PROTECTED]
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]
 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] How can I suppress my variables from showing up in the address bar?

2001-10-02 Thread paharito

Like this:

FORM METHOD=post

Whit post, the variables are not shown.

You maybe use this:

INPUT TYPE=hidden NAME=the_name VALUE=? echo $var; ?

;)

- Original Message -
From: Salty Marine [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 7:57 PM
Subject: [PHP] How can I suppress my variables from showing up in the
address bar?



 Greetings to All of You on the List:

 How can I suppress my variables from showing up in the address bar?  I
have
 a form that's passing information to a script of mine, via the address
bar.


http://foobar.com/EmailList.php3?Newsletter_ID=4732Subscription_Action=Remo
 ve[EMAIL PROTECTED]

 How can I suppress my variables from showing up in the address bar?

 Regards,
 Salty


 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]