Re: [PHP-DB] dl () problem

2010-01-26 Thread Christoph Rosse

stupid question ... but did you restart apache after editing php.ini ?

Sent from my iPhone

On 26.01.2010, at 16:02, Murat Beyhan bey...@deprem.gov.tr wrote:


Dear All,

I have updated apache2 and php5 then I have faced the following  
message.

I have set on Enable dl in php.ini file but still could not solve
problem.

Could you help me about this problem, please.

Fatal error: Call to undefined function dl()
in /usr/local/httpd/htdocs/zone/zone30.php on line 3

Murat Beyhan


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


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



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



Re: [PHP-DB] Redirect upon successful form submission

2009-12-15 Thread Christoph Rosse
you could also validate the form in a seperate php file with no output 
and then redirect to the error and the another page ?



Bastien Koert schrieb:

On Tue, Dec 15, 2009 at 12:48 PM, Vinay Kannan viny...@gmail.com wrote:
  

Hi,

I have 2 pages on php, the first page has a small form to accept a
membership number from the user, which checks for membership number in the
DB, if the membership no does not exist, gives an error saying 'you are not
a member click here to become a member now', this bit works fine.

The problem is the following bit 'if the user is a member, i want the user
to be directed to another page.

this is what i did to get the result since header(Location:) wont
work, as already the form has been printed on the page.

echo'META HTTP-EQUIV=refresh content=0;URL=member.php'; but the
problem is that this takes couple of seconds, till then the page is very
much visible which doesnt look good.

Any help on this is much appreciated.

Thanks,
Vinay.




What about holding the form in the buffer, and then dealing with the
buffer before sending the form?


  



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