Sure, you would upload them to the server the same way that you would any other file. If that doesn't make sense, then start with learning how to place HTML on your website lol. If you do not have a webhost, and you just want to test your PHP code, then I would suggest installing XAMPP on your computer. PHP runs server-side, so if you don't have a server, you don't have PHP execution.
Also, be careful with what looks to be code that you are copying for shopping cart and transaction processing. You will need more security and fault tolerance than most. Also, if you are trying to use a MySQL database, you must be knowledgable about indexing, creating relationships between tables and databases, normal forms, primary keys, foreign keys, relational integrity... and the list goes on.
|