clonetrooper9494 Posted November 18, 2007 Share Posted November 18, 2007 I know a SQL can connect with PHP, but is there another way? I am on a free hosting site, and they don't offer SQL (its free, and has a ton of space!). I was wondering, could I make a login table and allow people to sign up like a real site with a data base, with out one? On my site, I found using PHP would be safer, as you can not see the user info. I have made a PHP code that takes the username, and then echos different infomation depending on the username. And that works, but the there is no way for a person to sign up with out me going in and changing it.Like I said before, the site won't allow SQL data bases. Is there a way to have PHP (or some other script) to change the content of another page that I make? Link to comment Share on other sites More sharing options...
Ingolme Posted November 18, 2007 Share Posted November 18, 2007 With fopen() and fwrite() and other file functions you can do it. Link to comment Share on other sites More sharing options...
clonetrooper9494 Posted November 18, 2007 Author Share Posted November 18, 2007 Would somebody post an example of that code? I am a little confused on how to use it. Link to comment Share on other sites More sharing options...
Ingolme Posted November 18, 2007 Share Posted November 18, 2007 Here's a tutorial explaining how to read and write files with PHP:http://www.tizag.com/phpT/files.php Link to comment Share on other sites More sharing options...
dimitar Posted November 19, 2007 Share Posted November 19, 2007 You can sign up on other hosting site tha gives mysql base too, and you will use only the db from that hosting. You can try with awardspace.com as they have mysql on other server, so instead of "localhost" when you connect to the base you'll write the adress. Link to comment Share on other sites More sharing options...
clonetrooper9494 Posted November 19, 2007 Author Share Posted November 19, 2007 I don't really want to get mixxed up with all that SQL and DataBase stuff any ways. I am reading the tutorial... Thanks every one! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.