Jump to content

Domain Name


vchris

Recommended Posts

does it have an index.html page that contains the message you are seeing when you go to your subdomain? Are you on a linux server? Does Linux have a /home folder already? Are you sure this was created only when you made the subdomain?

Link to comment
Share on other sites

  • Replies 231
  • Created
  • Last Reply

Top Posters In This Topic

no it doesn't contain an index.html with the message I am seeing. Yes linux server. I don't think there was a home folder already since it says that I am the owner of the home folder which is basically a shortcut to my website.

Link to comment
Share on other sites

Yeah I know what the problem is. It was that flash animation, well more the code to insert it. View the "Top" topic in the CSS category.EDIT: Anyway that 2px spacing is fixed not. Let me know if you guys see anything else wrong.EDIT2: Actually <embed src="/flash/header.swf" width="470" height="140"></embed> does not validate. embed does not have src, width or height...

Link to comment
Share on other sites

How did you guys use php to create absolute paths?EDIT: Is there a way to get a certain string in a string. If you have a string like this /www/var/home is there a way to only get the string after the last / ? In this case it would be home, in other cases it could be something else.

Link to comment
Share on other sites

I figured it out. I was talking to my buddy and it seems like my site is really really dark on certain monitors. I'm not sure what to do with the colours now... I could make everything lighter but that's not exactly what I want. It looks perfect on my monitor. You guys got some suggestions (new lighter design, change colours a bit, ...) ?

Link to comment
Share on other sites

I was thinking about this and I'm gonna need another button. An "about me" button where I can offer my resume, talk about myself... The problem is I don't have much space for another button...

Link to comment
Share on other sites

EDIT: Is there a way to get a certain string in a string. If you have a string like this /www/var/home is there a way to only get the string after the last / ? In this case it would be home, in other cases it could be something else.
Did you get an answer to that? If not, you would want to use explode like this:
$chunks = explode("/", $str);$last = array_pop($chunks);

Link to comment
Share on other sites

I did find the answer. Thanks anyway. I may have to redesign the site since it seems like on some monitors it is very hard to see (too dark) and also I need a button for About Me...

Link to comment
Share on other sites

I did change the image but I thought it looked better in a rectangular shape with this new layout. I might create some sort of effect on hover. How do you like the new layout? Well it's more like the new colours.

Link to comment
Share on other sites

Something I don't understand is why does the border-bottom: 1px dotted #ffffff; of the "information" h2 not appear in IE6???

Link to comment
Share on other sites

  • 2 weeks later...

Can anyone view my site with IE6 and please tell me if they see the latest work section and if the background of that section is dark gray. For me it seems like the top of that section is just black but it's kinda buggy, sometimes it's dark gray.Can anyone test this?

Link to comment
Share on other sites

There is something I don't understand. How come absolute paths don't work?I have this include_once("../includes/header_e.php"); , the absolute path to header.php is /includes/header_e.php but php can't find the file when I use absolute path. I create a variable called $abspath (http://www.vchris.net/). I should be able to do include_once($abspath."includes/header_e.php); right? Am I missing something?

Link to comment
Share on other sites

There is something I don't understand. How come absolute paths don't work?I have this include_once("../includes/header_e.php"); , the absolute path to header.php is /includes/header_e.php but php can't find the file when I use absolute path. I create a variable called $abspath (http://www.vchris.net/). I should be able to do include_once($abspath."includes/header_e.php); right? Am I missing something?
I'm guessing you don't use your own computer as a server, but rather use the hosting provided by the domain register. And you're probably on a shared Apache server, right? If so, this most obviosly means they've used mass virtual name based hosting (different site for each domain - same IP). Therefore, PHP and other S3Ls get the value of the main documentRoot as a real value, rather then your directory. Let me clarify. Let's say the host site is in
D:/my_site/

and users' sites are in

D:/hosting/*domain*/

when PHP uses an absolute path, it starts from

D:/my_site/

rather then

D:/hosting/*domain*/

but a relative path starts from the current location, no matter where it is.In order to avoid this problem, there are is some mod_rewrite things to do, and/or some others I think. Anyhow, it's the host's fault and they should try to fix it. Contact them. Suggest them those pages. Also, if they use Apache 1.*, suggest to them to update to Apache 2.*.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...