PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
SteveO
Forum Newbie
Posts: 12 Joined: Wed Nov 19, 2003 2:27 am
Post
by SteveO » Thu Jan 08, 2004 12:32 am
$dir_name = "$_POST[directory]/"; <--- this is the code
I need it to stop looking for the directory in the file that sent the directory name, how can i do this?
ghost007
Forum Commoner
Posts: 49 Joined: Sat Nov 22, 2003 10:10 am
Post
by ghost007 » Thu Jan 08, 2004 2:08 am
but it should be:
$dir_name = $_POST['directory'];
cheers
Siech
SteveO
Forum Newbie
Posts: 12 Joined: Wed Nov 19, 2003 2:27 am
Post
by SteveO » Tue Jan 13, 2004 9:14 pm
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/webkin/public_html/steve/list_func.php on line 5
SteveO
Forum Newbie
Posts: 12 Joined: Wed Nov 19, 2003 2:27 am
Post
by SteveO » Tue Jan 13, 2004 9:18 pm
directory is the name of the value that is being sent to that page.......
Nay
Forum Regular
Posts: 951 Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia
Post
by Nay » Tue Jan 13, 2004 11:52 pm
You might want to show us more code, so we can figure out what 'is' going on.
-Nay