Jump to content


Photo

I don't get it..


  • Please log in to reply
3 replies to this topic

#1 Emma ...x

Emma ...x
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 26 July 2006 - 11:27 AM

Hey, i wasnt sure wether i had to post somewhere before making a topic.. so correct me if i'm wrong.

Well, i'm pretty new to php and i'm not into the proper technical stuff, just using a header/footer and includes to organise my site.
i recently got a cpanel etc.. and in my ftp i was told to upload to the folder "www" and i wanted to make new folders saying site, me etc.. then put the php files in there so i wouldn't have to scroll through the whole ftp to find the right file i wanted to edit..
Now i looked around on other sites and i can't find any help, it's probably a stupid problem thats why.

Okay, so i want to link to tagme.php and thats in the folder called "site" so i put /site/tagme.php and when i click that i get..

Actually i'll give you the link to the page, click tagme and you'll see what happens.

http://www.too-fresh.net/site.php

what am i doing wrong?

#2 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 26 July 2006 - 11:35 AM

Hey, i wasnt sure wether i had to post somewhere before making a topic.. so correct me if i'm wrong.

Nope, post away!

But on to your issue. I think the problem is most likely that you are not referencing your other files correctly within tagme.php. to include, for example, your header.php (which I guess is stored in the directory above 'site') you would have to reference it as '../header.php' instead of just 'header.php'. Without seeing your code, that would be my best guess.

By the way, your site doesn't work correctly in FireFox.

#3 Emma ...x

Emma ...x
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 26 July 2006 - 12:16 PM

Okay.. thanks i'll try that. Hmm.. not sure what to do about the firefox thing :/

#4 ozPATT

ozPATT
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 26 July 2006 - 01:49 PM

haha, welcome to the world of cross-broswer compliance! ;)

as for your file issue, i agree with the above, but as i don't see any tagme link on the main site, I'm not sure either what the problem is exactly.

In your ftp program, you should be able to set it up so that when you log in, it goes straight to the www folder, saving you the hassle of searching through everything.

then in that, if you put all your main files in there, then have an 'images' folder, and an 'includes' folder, it should keep everything pretty straight forward.

hope that helps!

Patrick




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users