Forum: PHP Jan 26th, 2009 |
| Replies: 14 Views: 2,010 See if changing header("Content-Disposition: attachment; filename=$name"); to
header("Content-Disposition: attachment; filename=" $name); works for you. |
Forum: PHP Jan 21st, 2009 |
| Replies: 14 Views: 631 Try:
define ("base_url", "http://mysite.com/login");
$link = base_url . 'activate.php?x=' . urlencode($e) . "&y=$a"; |
Forum: PHP Jan 21st, 2009 |
| Replies: 14 Views: 631 Never mind, I found the answer...
define("base_url", "http://foo.com");
$filepath = base_url."/foo.gif"; |
Forum: PHP Jan 21st, 2009 |
| Replies: 14 Views: 631 Try changing all instances of BASE_URL to $BASE_URL and see if that works. |
Forum: PHP Jan 21st, 2009 |
| Replies: 14 Views: 631 like BASE_URL="http://www.mysite.com/login"; |
Forum: PHP Jan 21st, 2009 |
| Replies: 14 Views: 631 I need to see the actual code line, sorry. |
Forum: PHP Jan 21st, 2009 |
| Replies: 14 Views: 631 What does BASE_URL equal? Can you put in that line of code? |
Forum: PHP Jan 21st, 2009 |
| Replies: 14 Views: 631 Your problem is BASE_URL. It isn't in a usable format. It needs to look like a variable. |