gobbly2100 Posted January 3, 2007 Share Posted January 3, 2007 Hello there, I have been doing websites for along time now but I have only just thought about getting into PHP and well I just wanted to know why the book I am using says in the php.ini I need to set the directory to "C:\php5\ext" Why does it say use backslash or is that not correct?Should I be using "/" or this "\" because I would usualy think anytime you point to a directory it would be with foward slashes like "C:/php5/extThankyou in advance for any help. Link to comment https://forums.phpfreaks.com/topic/32713-solved-just-starting-please-help/ Share on other sites More sharing options...
gerkintrigg Posted January 3, 2007 Share Posted January 3, 2007 on your own hard drive I normally use c:\whatever/blah blah blahDunno why... force of habit i guess... I think they both work the same anyway. Link to comment https://forums.phpfreaks.com/topic/32713-solved-just-starting-please-help/#findComment-152272 Share on other sites More sharing options...
craygo Posted January 3, 2007 Share Posted January 3, 2007 It depends on which operating system php is running on. Windows uses "\" and Unix systems use "/" So if you are running php on a windows box your paths to directories in the php.ini file should be with the backslashes "c:\php\ext"Ray Link to comment https://forums.phpfreaks.com/topic/32713-solved-just-starting-please-help/#findComment-152277 Share on other sites More sharing options...
gobbly2100 Posted January 3, 2007 Author Share Posted January 3, 2007 Ok I really feel stupid now, I actualy just realised that the backslash is how things have always been but I have never taken note of that in the past.I wish this thread was never seen it was so stupid :-[lol thanks anyway Link to comment https://forums.phpfreaks.com/topic/32713-solved-just-starting-please-help/#findComment-152279 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.