Posts by Conde • 63 points
5 posts
-
4
votes2
answers1397
viewsA: Dynamic subdomain system
Good and simple solution via . htaccess: RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.yourwebsite.com RewriteCond %{HTTP_HOST} ([^.]+)\.yourwebsite.com RewriteRule ^(.*)$…
-
0
votes2
answers519
viewsA: Showing the result according to loading and do not wait for the script to finish to display the results on the screen
This is a very easy example of interpretation and translation. See: <?php ob_implicit_flush(true); set_time_limit(0); $results=1200; for($i=0;$i<1200;$i++) { ob_start(); echo $i; sleep(1);…
-
2
votes3
answers398
viewsQ: Declare Css for multiple identifiers
I have some Divs where your CSS are equal, but your identifiers are different due to Jquery. I need to simplify the repeating CSS. It’s possible? See that they’re all the same. <style>…
-
0
votes1
answer35
viewsQ: Code reduction and variable declaration
Good morning. I have 8 different variables with the same functions. However, the functions assigned to these variables are equal. I feel like I’m being repetitive in the code. There is some way to…
-
0
votes0
answers154
viewsQ: Monitor external HTTP requests within the page
Good morning gentlemen. It is possible to monitor page requests? I say: All the files that are called there, example: css, js, img, video, mp3, iframe... Any request HTTP.…