[PHP] Includes

2002-10-07 Thread Rick Beckman
(possibly by password protecting [htaccess] the directory they are in)? Thanks in advance for any help. -- Kyrie Eleison, Rick Beckman www.spiritsword.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Umm... Uh-oh

2002-10-04 Thread Rick Beckman
system exposed. Yeah, that fits with my luck. :-) -- Kyrie Eleison, Rick www.spiritsword.com/phpBB2/ Rick Beckman wrote: Sarcasm aside, I do have the script set up (although I didn't note so in the last response) to not accept files with '.' or '..' in the path. The URL can accept directories

[PHP] the files I'm working with

2002-10-04 Thread Rick Beckman
it to do. When finished, the includes directory will have dozens of files (numbered 1 and up), as you can see from the dropdown list in song.php . Thanks for the help. -- Kyrie Eleison, Rick www.spiritsword.com/phpBB2/ Rick Beckman wrote: Okay, I was mistaken... There is a gaping security hole

[PHP] Re: the files I'm working with

2002-10-04 Thread Rick Beckman
Outlook Express added a .dat extension to the 1 file... The actual files I'm working with do NOT have extensions. Just wanted to clear that up. -- Kyrie Eleison, Rick www.spiritsword.com/phpBB2/ Rick Beckman wrote: song.php is the file that I'm using as my template file, and it calls

[PHP] Re: $B$($($H(B

2002-10-04 Thread Rick Beckman
The best translation I could find comes from worldlingo.com ... $B$3(B $B$l(B $B$C(B $B$F(B $B$I(B $B$(B $B$d(B $B$C(B $B$F(B solution? $B$9(B $B$k(B $B$s(B $B$G(B $B$7(B $B$g(B $B$(B? Obviously, that's not enough to help.. Sorry. However, they do offer

[PHP] Re: $B$($($H(B

2002-10-04 Thread Rick Beckman
And I see my post got butchered... Well, that's what I get for trying to help. :-\ -- Kyrie Eleison, Rick www.spiritsword.com/phpBB2/ Rick Beckman wrote: The best translation I could find comes from worldlingo.com ... $B$3(B $B$l(B $B$C(B $B$F(B $B$I(B $B$(B $B$d(B $B$C(B

[PHP] Calling Files from a different directory

2002-10-03 Thread Rick Beckman
I have a page set up that loads the contents of a text file into an HTML template using PHP. (i.e. something.com/page.php?include=1 where 1 is a simple no-extension text file in the same directoy as page.php). Is there a way to modify the PHP code in the template page to search for the included

Re: [PHP] Calling Files from a different directory

2002-10-03 Thread Rick Beckman
Sarcasm aside, I do have the script set up (although I didn't note so in the last response) to not accept files with '.' or '..' in the path. The URL can accept directories within the one the PHP script is in, but not in a different path or any directory above its own (i.e., the server files).

[PHP] Recursive Replace

2002-10-02 Thread Rick Beckman
? for ($i = 7; $i sizeof($info); $i+=1) { echo $info[$i]; } ? That line of code successfully will display lines 7 and on of an included text file into my HTML boilerplate. However, in my hundreds of source text files, br is not included at the end of the lines, therefore lines 7 and on appear

[PHP] Re: Recursive Replace

2002-10-02 Thread Rick Beckman
; } ? My mistake was leaving that I left the second '$' out of '$info[$i]'. At least I found it before I frustrated myself. Thanks anyway! :-) -- Kyrie Eleison, Rick www.spiritsword.com/phpBB2/ Rick Beckman wrote: ? for ($i = 7; $i sizeof($info); $i+=1) { echo $info[$i]; } ? That line of code

Re: [PHP] Recursive Replace

2002-10-02 Thread Rick Beckman
Thanks everyone! Works great! :-) If only I would have noticed how obvious it was before trying making it more difficult than I had to. -- Kyrie Eleison, Rick www.spiritsword.com/phpBB2/ Mike Ford wrote: -Original Message- From: Rick Beckman [mailto:[EMAIL PROTECTED]] Sent: 02

[PHP] Thanks!

2002-10-01 Thread Rick Beckman
Thanks, Erwin! -- Kyrie Eleison, Rick www.spiritsword.com/phpBB2/ Erwin wrote: On line 6, I have the list of musicians in the song. Example (ignore the quotes): Doyle Lawson -- lead vocal; Dale Perry - - bass vocal Is there a way to make it so that, when I include line 6 in my PHP

[PHP] PHP Include Help

2002-09-30 Thread Rick Beckman
I have a series of text files that are set up with each line being a different field. Line 0 is song title, 1 is artist, 2 is album, and so forth. I know how to use PHP to include those files in an HTML template so that I don't have to make a separate page for each song, however, I do have two

[PHP] Including Text File in PHP/HTML Template

2002-09-30 Thread Rick Beckman
I have a series of text files that are set up with each line being a different field. Line 0 is song title, 1 is artist, 2 is album, and so forth. I know how to use PHP to include those files in an HTML template using 'echo' so that I don't have to make a separate page for each song, however, I