\1" == "" ? "[*]" : "" )',
);
$string = preg_replace(array_keys($arr_replace),
array_values($arr_replace),
$string);
return $string;
}
$text = to_bbcode($text);
echo '' . "$text"
echo '' . "$text" . '';
?>
---/CODE---
However, I get the following error appearing in between the two
textareas:
---ERROR---
Warning: preg_replace() [function.preg-replace]: No ending matching
delimiter '>' found in /var/www/
there...
Cheers,
J_K9
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ways which you can resolve the problems - you've
just got to choose which path to take.
Cheers,
J_K9
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks everyone, especially Barry for that great script which I've
tested on a home server and _does_ work...
So, I'm going to wait for my external hosting company to get back to me
and alter the files there so that it'll work on my website.
Thanks again! ;-)
J_K9
--
PHP
a server.
I've already contacted my hosters, so I should receive an answer pretty
soon. As for the code - lemme get down to setting up that server ;)
Thanks guys for all your help - I'll let you know if it works out!
J_K9
--
PHP General Mailing List (http://www.php.net/)
T
Barry wrote:
J_K9 wrote:
Duncan Hill wrote:
On Wednesday 15 February 2006 11:35, J_K9 wrote:
Duncan Hill wrote:
On Wednesday 15 February 2006 11:05, J_K9 wrote:
Here's the exact 500 error I'm getting:
Standard Apache error. Look in your error log for more details
like it
Duncan Hill wrote:
On Wednesday 15 February 2006 11:35, J_K9 wrote:
Duncan Hill wrote:
On Wednesday 15 February 2006 11:05, J_K9 wrote:
Here's the exact 500 error I'm getting:
Standard Apache error. Look in your error log for more details like it
suggests?
I would, but I can
Duncan Hill wrote:
On Wednesday 15 February 2006 11:05, J_K9 wrote:
Here's the exact 500 error I'm getting:
Standard Apache error. Look in your error log for more details like it
suggests?
I would, but I can't find it. I thought it was under /var/log, but
having taken a g
a 404 Not Found error was encountered while trying to use
an ErrorDocument to handle the request.
Thanks,
J_K9
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;s the full code I'm using:
Downloads
Any idea what could be going wrong?
Thanks,
J_K9
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Barry wrote:
J_K9 wrote:
This is what I used:
As you can see, there is no output before the headers are set. In
fact, the error say that the headers were set on line 6, which is
default headers?
Thanks,
J_K9
What is before line 6?
Because the
Lines 1-10:
Downloads
Barry Krein wrote:
J_K9 wrote:
Barry wrote:
J_K9 wrote:
Curt Zirzow wrote:
On Tue, Feb 14, 2006 at 09:02:50PM +, J_K9 wrote:
Hi,
I'm currently learning PHP, and I'd like to put it into practice
to help me learn. I want to make a download script so that if the
value of
Barry wrote:
J_K9 wrote:
Curt Zirzow wrote:
On Tue, Feb 14, 2006 at 09:02:50PM +, J_K9 wrote:
Hi,
I'm currently learning PHP, and I'd like to put it into practice to
help me learn. I want to make a download script so that if the value
of a certain variable is
Curt Zirzow wrote:
On Tue, Feb 14, 2006 at 09:02:50PM +, J_K9 wrote:
Hi,
I'm currently learning PHP, and I'd like to put it into practice to help
me learn. I want to make a download script so that if the value of a
certain variable is '1', the first download is
(Reply beneath quotes)
Richard Lynch wrote:
On Tue, February 14, 2006 3:41 pm, J_K9 wrote:
"data/download1.zip",
"a1"=>"data/download2.zip");
$location = $filearray['a'.$fileid];
if($location!='') {
header("LOCATION: $loc
t;);
}
?>
But when I send it: http://example.com/download.php?file_id=0 , I get
the following error-
Warning: Cannot modify header information - headers already sent by
(output started at /public_html/download.php:6) in
/public_html/download.php on line 18
Any idea w
s/downloadme.zip
<http://example.com/hidden--files/download1.zip> will come up but
without displaying where the file is. How can I do this?
Thanks,
J_K9
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
18 matches
Mail list logo