Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1406 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

go back one step with folders in php

Thread title: go back one step with folders in php
     
    Thread tools Search this thread Display Modes  
Prev Previous Post   Next Post Next
11-23-2009, 12:18 PM
#1
.Cyanide is offline .Cyanide
Status: Senior Member
Join date: Mar 2006
Location: Stockholm,Sweden
Expertise: Web Design, Coding
Software: Phoshop CS3
 
Posts: 757
iTrader: 4 / 100%
 

.Cyanide is an unknown quantity at this point

Send a message via MSN to .Cyanide

  Old  go back one step with folders in php

Hey,

So I have this script where I need to include() a file which is located in a folder previous to the one I'm including from. Now I've tried:

include('./functions.php');

but that didn't work.

This is the structure of my root folder

root

/mufnacka
- lots of files

/cms
- lots of files
- functions.php (file i want to include in...)

/startsida
- admin_start (...this document)



Thanks!

Reply With Quote
     


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed