TheJoey Posted September 21, 2009 Share Posted September 21, 2009 How do i make my links show up as urlhere.php?index or urlhere.php?login etc Quote Link to comment Share on other sites More sharing options...
Bricktop Posted September 21, 2009 Share Posted September 21, 2009 Hi TheJoey, Do you mean: urlhere.com/index urlhere.com/login If so, it's called mod_rewrite and I would recommend you have a look at http://articles.sitepoint.com/article/guide-url-rewriting Hope this helps. Quote Link to comment Share on other sites More sharing options...
TheJoey Posted September 21, 2009 Author Share Posted September 21, 2009 yeh like insted of showing the full link have something like urlhere.com/index?(1,2,3,4,5,6 all as diferent pages insted of showing urlhere.com/registration.php Quote Link to comment Share on other sites More sharing options...
Bricktop Posted September 21, 2009 Share Posted September 21, 2009 Ah, that's something different. Have a look at this article which is quite helpful in explaining how to achieve this result: http://www.webhostingtalk.com/showthread.php?t=289653 Hope this helps. Quote Link to comment Share on other sites More sharing options...
TheJoey Posted September 21, 2009 Author Share Posted September 21, 2009 thank you bricktop another question for you, i thought i could ask you insted of making a topic How would i join two .txt files and display the output could this be done with join? Quote Link to comment Share on other sites More sharing options...
trq Posted September 21, 2009 Share Posted September 21, 2009 thank you bricktop another question for you, i thought i could ask you insted of making a topic How would i join two .txt files and display the output could this be done with join? join turns array values into a string. How would i join two .txt files and display the output $joined = file_get_contents('file1.txt') . file_get_contents('file2.txt'); echo $joined; Quote Link to comment Share on other sites More sharing options...
TheJoey Posted September 21, 2009 Author Share Posted September 21, 2009 thank you thorpe Quote Link to comment Share on other sites More sharing options...
TheJoey Posted September 21, 2009 Author Share Posted September 21, 2009 thorpe only problem is @:@ @:4 $:5mo||67||joe||joe joe||67|||| it displays them all on the same line Quote Link to comment Share on other sites More sharing options...
trq Posted September 21, 2009 Share Posted September 21, 2009 So, put a new line between them. $joined = file_get_contents('file1.txt') . "\n" . file_get_contents('file2.txt'); Quote Link to comment Share on other sites More sharing options...
TheJoey Posted September 21, 2009 Author Share Posted September 21, 2009 thanks again Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.