Jump to content
vchris

Domain Name

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

possibly but I am pretty sure /home is the same as My Documents so it makes sense that you would own it. I am out of ideas.How are you managing your website? cPanel???

Share this post


Link to post
Share on other sites

I don't think that's cpanel. They don't mention the name of the app anywhere...

Share this post


Link to post
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...

Share this post


Link to post
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.

Share this post


Link to post
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, ...) ?

Share this post


Link to post
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...

Share this post


Link to post
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);

Share this post


Link to post
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...

Share this post


Link to post
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.

Share this post


Link to post
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???

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

The color looks the same as it does in Opera, but the background under the "Latest Work" text is broken up.

Share this post


Link to post
Share on other sites

I already have IE6, IE7, FF, Opera...

Share this post


Link to post
Share on other sites
I already have IE6, IE7, FF, Opera...
Sorry... When I read
Can anyone view my site with IE6 and please tell me...
I assumed you didn't have it installed. :)

Share this post


Link to post
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?

Share this post


Link to post
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.*.

Share this post


Link to post
Share on other sites

Thanks Boen I'll contact them. Any idea why html absolute path work but not php?

Share this post


Link to post
Share on other sites

I am not too good with apache or php.ini but I believe both can set a root path...maybe they are different???

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...