Some Php's tigger info output to client before you set header.try this
code first
---
ob_start();//first line write this code
some code for your self
header(location:index.php);
ob_end_flush();
On Fri, 2009-08-28 at 17:32 +0800, Keith wrote:
I have a user sign up page that collects sign up information from user with
form.
This form will then be submitted to another process.php page for setting up
the user account and send email to the user.
After the email been sent out, the user
I have a user sign up page that collects sign up information from user with
form.
This form will then be submitted to another process.php page for setting up
the user account and send email to the user.
After the email been sent out, the user will be directed back to homepage
with
Another solution would be to use JavaScript. In your process.php
script you could do this:
printhere
script language=javascript
window.location.href=index.php
/script
here;
Not strictly a PHP solution but it works.
Take care,
Floyd
On Aug 28, 2009, at 5:34 AM, Ashley Sheridan wrote:
On Fri, Aug 28, 2009 at 9:36 AM, Floyd Resler fres...@adex-intl.com wrote:
Another solution would be to use JavaScript. In your process.php script
you could do this:
printhere
script language=javascript
window.location.href=index.php
/script
here;
Not strictly a PHP solution but
On Fri, 2009-08-28 at 10:34 -0300, Martin Scotta wrote:
Actually there aren't a safe way to make a redirect
We have 4 alternatives (correct me if I miss anything) to do a safe
redirection.
Erm wtf?!
The best bet is always going with a header() redirect. The only time
I've seen that
Hi all,
Yes, you are right, it was due to echo for testing purpose not been
commented out prior to header().
However, there is hidden root cause too -- PHPMailer will echo invalid
address to the screen.
When I have tested with 1 valid email address and 1 invalid with
someth...@locahost,
On Fri, Aug 28, 2009 at 10:39 AM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
On Fri, 2009-08-28 at 10:34 -0300, Martin Scotta wrote:
Actually there aren't a safe way to make a redirect
We have 4 alternatives (correct me if I miss anything) to do a safe
redirection.
Erm wtf?!
2009/8/28 Martin Scotta martinsco...@gmail.com:
On Fri, Aug 28, 2009 at 10:39 AM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
On Fri, 2009-08-28 at 10:34 -0300, Martin Scotta wrote:
Actually there aren't a safe way to make a redirect
We have 4 alternatives (correct me if I miss
Which format should I used for log file? *.log or *.txt?
Doesn't matter to PHP -- but you do need to provide a local path, not a URL.
[http://domain.com/log/logfile.*] or
No...
[C:\some_path\domain.com\log\logfile.*] or just
Yes!
Ben
--
PHP General Mailing List (http://www.php.net/)
To
On Fri, 2009-08-28 at 09:28 -0700, Ben Dunlap wrote:
Which format should I used for log file? *.log or *.txt?
Doesn't matter to PHP -- but you do need to provide a local path, not a URL.
[http://domain.com/log/logfile.*] or
No...
[C:\some_path\domain.com\log\logfile.*] or just
Ash, Ben, Thanks!
For my web server, I can access to:
./httpdocs
./httpsdocs
all the http documents are stored inside httpdocs and SSL documents inside
httpsdocs.
The web root you mean here is referred to ./httpdocs and ./httpsdocs or the
parent directory of them?
If I put the logfile inside
12 matches
Mail list logo