Jump to content

tampaphp

New Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by tampaphp

  1. Make sure port 80 isn't being used. If you have skype on while you try to launch WAMP, WAMP will not launch
  2. RewriteEngine on # if a directory or a file exists, use it directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # otherwise forward it to index.php RewriteRule . index.php RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.yoursite.com/$1 [R,L]
  3. If that doesn't work create a .htaccess file RewriteEngine on # if a directory or a file exists, use it directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # otherwise forward it to index.php RewriteRule . index.php RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://yoursite.com/$1 [R,L]
  4. In your queryies, add a check for mysql_errors()) $result = mysql_query($sql,$con) or die(mysql_errors());
  5. If you use the advanced template with Yii2, it creates a login, registration, and forgotten password function for you. www.yiiframework.com/download/
  6. Out of all four I would go with Laravel. They have a ton of tutorials at laracasts.com that make it really easy to learn. On another note, I would seriously consider looking into Yii2, before making a final decision
  7. If you want to go the Node.js route, checkout socket.io, they have demo of a live streaming chat on their homepage http://socket.io/demos/chat/ If you want to stick with PHP and jQuery, just create a setInterval script to update your chat box every 10 seconds or so. <div id="chatContainer"></div> <script> setInterval(function(){ $.post('getChat.php', postData, function(data){ $("#chatContainer").html(data.msg); }, 'json'); }, 10000); </script>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.