[PHP] squirrelmail php memory

2006-01-19 Thread maillists
Hi,

I am using php to drive my webmail service (squirrelmail) and it seems
really buggy. many times just clicking on links it logs me out, hangs,
returns 404's etc. I think it has somthing to do with the amount of
memory limited by php.

Here is a sample error that appears sometimes in the pages:

snip
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
allocate 35 bytes)
in /var/www/mail.gmnet.net/html/functions/imap_mailbox.php on line 66

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
allocate 40 bytes) in Unknown on line 0

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
allocate 44 bytes) in Unknown on line 0
/snip

Is this something that I can fix with a php config? if so where do I
start?

Thanks
Rick

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



[PHP] Test

2005-04-04 Thread maillists
Test

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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



Re: [PHP] Game development approach

2005-03-25 Thread maillists
On Tuesday 22 March 2005 21:13, Alexandre wrote:
 Hi there,

 I'm developing an online game (using PHP+MySQL, and being totally
 interfaced via web) which needs to have a game cycle running. For
 example, the player is flying a plane, so he sets the plane speed to 10%,
 then the game cycle needs to keep moving the plane forward (i.e. updating
 position), while the player doesn't order it a full stop. The point is how
 to implement this game cycle?

 I've done some research on the web and haven't found a feasible approach to
 this idea.

 Thanks in advance for any help.

 []s
 Alex

I am no expert and someone may have already answered you.

I would try C, JavaScript, PostgreSQL (instead of MySQL), and XML along with 
your PHP

-- 
Win a Vespa Scooter or a Dell Gift Card worth $3,000.00
http://www.morningstarcom.net/raffle-contest.php

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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



Re: [PHP] Download Link !

2005-03-25 Thread maillists
On Friday 25 March 2005 14:25, [EMAIL PROTECTED] wrote:
 Hello,

 When I purchased a website template from templatemonster.com, they sent
 the download link to my email, this link was active for only 2 or 3 days
 then it became inactive.

 Now I'm writing a script for selling website templates, the templates
 are uploaded to a certain folder, when someone buys a template a
 download link must be sent to his/her email address, and must  be active
 for only 2 or 3 days..

 Anyone have an idea how to start or where to start?
 Any link, any tutorial?

http://www.oscommerce.com has what you need.

-- 
Win a Vespa Scooter or a Dell Gift Card worth $3,000.00
http://www.morningstarcom.net/raffle-contest.php

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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



Re: [PHP] header(Location: page.php target=_parent)?????

2005-03-25 Thread maillists
On Friday 25 March 2005 08:57, Jacques wrote:
 Also, can I save a frameset page with a .php extension?  I have tried it
 out and it seems to work.  Maybe perhaps I should not do this as there  may
 be some implications later on???

I have not had any problems with .php ext frameset pages.  I have had 3 
different sites set up this way for about a year an no problems.

-- 
Win a Vespa Scooter or a Dell Gift Card worth $3,000.00
http://www.morningstarcom.net/raffle-contest.php

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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



Re: RES: [PHP] Game development approach

2005-03-25 Thread maillists
On Friday 25 March 2005 09:37, Alexandre wrote:
 I mean like a script I would start and it would keep running
 constantly, checking for new commands in a queue, updating objects status,
 can it be done or the server would kill it?

 Kind regards,
 Alex

PHP is server script and you would need a client script to keep the commands 
running.  JavaScript and PHP together might do it.  You could use the 
JavaScript to keep executing the PHP script.

-- 
Win a Vespa Scooter or a Dell Gift Card worth $3,000.00
http://www.morningstarcom.net/raffle-contest.php

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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



Re: [PHP] redirection, same host, two domains

2005-03-25 Thread maillists
On Friday 25 March 2005 11:36, Alexandru Martin wrote:
 Okay, here is my problem. I had a site hosted on a sub domain
 (mysite.domain.com) , now I registered my own domain, mysite.com . The
 thing is mysite.com is still hosted on mysite.domain.com. What i want to
 do is :  If people type in their browsers mysite.domain.com redirect to
 mysite.com and if they type mysite.com to display the page.
 I'm guessing it should be something like this : if ( refferer =
 mysite.domain.com ) { redirect to mysite.com } else { my html code }

This probably would be better accomplished through apache and DNS

-- 
Win a Vespa Scooter or a Dell Gift Card worth $3,000.00
http://www.morningstarcom.net/raffle-contest.php

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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