Getting getcwd() to work with my localhost (through Wordpres
Posted: Sun Apr 19, 2009 5:03 am
Hi guys,
Having a bit of trouble here with this function. Has anyone got it to pull a correct path through a localhost (I'm using XAMPP)?
I've had the script working fine on my webserver, although whenever I use the script locally instead of using as the prefix it uses my local C:drive: .
Any thoughts?
Thanks,
L
PS. Not sure if this is accepted on this forum - it's cross posting, so apologies if so - but I put this up at the Wordpress forum: http://wordpress.org/support/topic/262937?replies=2 It's the scripts I'm referring to in this post.
Having a bit of trouble here with this function. Has anyone got it to pull a correct path through a localhost (I'm using XAMPP)?
I've had the script working fine on my webserver, although whenever I use the script locally instead of using
Code: Select all
http://localhost[..]Code: Select all
C:\xampp\htdocs\wordpress/wp-content/themes/ldexterldesignAny thoughts?
Thanks,
L
PS. Not sure if this is accepted on this forum - it's cross posting, so apologies if so - but I put this up at the Wordpress forum: http://wordpress.org/support/topic/262937?replies=2 It's the scripts I'm referring to in this post.