aspnetguy Posted February 1, 2007 Share Posted February 1, 2007 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 More sharing options...
vchris Posted February 1, 2007 Author Share Posted February 1, 2007 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 More sharing options...
aspnetguy Posted February 1, 2007 Share Posted February 1, 2007 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??? Link to comment Share on other sites More sharing options...
vchris Posted February 1, 2007 Author Share Posted February 1, 2007 I don't think that's cpanel. They don't mention the name of the app anywhere... Link to comment Share on other sites More sharing options...
pulpfiction Posted February 1, 2007 Share Posted February 1, 2007 vchris, did you modify something, cos its displaying fine, no overlaps or any mis alignment..... seems like its fixed now. Link to comment Share on other sites More sharing options...
vchris Posted February 1, 2007 Author Share Posted February 1, 2007 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 More sharing options...
vchris Posted February 5, 2007 Author Share Posted February 5, 2007 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 More sharing options...
vchris Posted February 5, 2007 Author Share Posted February 5, 2007 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 More sharing options...
vchris Posted February 7, 2007 Author Share Posted February 7, 2007 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 More sharing options...
justsomeguy Posted February 7, 2007 Share Posted February 7, 2007 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 More sharing options...
vchris Posted February 7, 2007 Author Share Posted February 7, 2007 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 More sharing options...
vchris Posted February 8, 2007 Author Share Posted February 8, 2007 I've been working on something. Let me know what you think. I will add another button in the top nav.http://vchris.net/home/indextest_e.php Link to comment Share on other sites More sharing options...
pulpfiction Posted February 8, 2007 Share Posted February 8, 2007 Are you asking about the new image on the left, its nice... but I liked the the image effect in http://vchris.net/home/index_e.php where it turns to color from black n white..... Link to comment Share on other sites More sharing options...
vchris Posted February 8, 2007 Author Share Posted February 8, 2007 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 More sharing options...
pulpfiction Posted February 8, 2007 Share Posted February 8, 2007 Rectangle shape is good, but the hover effect for the image can make it better.... with more of blue and white, page looks brighter.... nice. Link to comment Share on other sites More sharing options...
vchris Posted February 8, 2007 Author Share Posted February 8, 2007 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 More sharing options...
vchris Posted February 21, 2007 Author Share Posted February 21, 2007 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 More sharing options...
justsomeguy Posted February 21, 2007 Share Posted February 21, 2007 The color looks the same as it does in Opera, but the background under the "Latest Work" text is broken up. Link to comment Share on other sites More sharing options...
jah-dev Posted February 22, 2007 Share Posted February 22, 2007 See http://w3schools.invisionzone.com/index.ph...ost&p=60142 for testing in older versions of IE... Link to comment Share on other sites More sharing options...
vchris Posted February 22, 2007 Author Share Posted February 22, 2007 I already have IE6, IE7, FF, Opera... Link to comment Share on other sites More sharing options...
jah-dev Posted February 22, 2007 Share Posted February 22, 2007 I already have IE6, IE7, FF, Opera...Sorry... When I readCan anyone view my site with IE6 and please tell me...I assumed you didn't have it installed. Link to comment Share on other sites More sharing options...
vchris Posted February 26, 2007 Author Share Posted February 26, 2007 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 More sharing options...
boen_robot Posted February 26, 2007 Share Posted February 26, 2007 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 inD:/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 More sharing options...
vchris Posted February 26, 2007 Author Share Posted February 26, 2007 Thanks Boen I'll contact them. Any idea why html absolute path work but not php? Link to comment Share on other sites More sharing options...
aspnetguy Posted February 26, 2007 Share Posted February 26, 2007 I am not too good with apache or php.ini but I believe both can set a root path...maybe they are different??? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now