Jump to content

ethanh

Members
  • Posts

    15
  • Joined

  • Last visited

ethanh's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. You can always use this website: http://validator.w3.org to validate your HTML code - it'll tell you what errors you have.
  2. Could you give an example? I am relatively new to iptables and am not quite sure what I am doing (just using it on a router to restrict access not going through our proxy).
  3. I am using the following iptables script to redirect packets on port 443 to a proxy server: iptables -t mangle -A PREROUTING -p tcp --dport 443 -j MARK --set-mark 2 I am redirecting it to my proxy server later on, which is working. For one host, however, I need to remove the iptables mark (i.e. the packets will not be redirected.) I tried the following: iptables -t mangle -A PREROUTING -p tcp -s 192.168.0.47 --dport 443 -j ACCEPT I have also tried (attempting to rewrite the mark to a different number): iptables -t mangle -A PREROUTING -p tcp -s 192.168.0.47 --dport 443 -j MARK --set-mark 1 However none of them are working. Is there a --remove-mark? I couldn't find anything on Google. Any help would be appreciated.
  4. I tried Chrome but since Apple requires all third-party browsers on iOS to use their web-rendering engine it also didn't work.
  5. Hi, Through a proxy server, all videos are blocked by denying all mime types starting with video/. I have found that I can rename a video to .docx and then when I download it I can change the extension again, allowing me to watch the video. I would like to have it play in an HTML5 video player instead of having to download it. I have used the following code to do this: <video width='320' height='240' controls> <source src='video.docx' type='video/mp4'> Your browser does not support the video tag. </video> Which works fine on Safari on my computer, however when I try to play it (same file) on iOS I get a broken play icon. Note that when I use a video file with the correct mime type and extension (server side) I can get it to play on iOS. Since I cannot change the mime type back to a video (blocked) how can I get it to play on iOS? I am jailbroken and using iFile I can download the file manually and rename it, which will allow it to play, but it is much faster to just have it play in the browser window. Thanks!
  6. You are using your quotes incorrectly. When referencing a variable you can either do it straight from the string using double quotes or put a string and variable together using a '.' Here is an example for how to add variables to a string: $name = 'Bob'; //Following outputs: My name is Bob echo "My name is $name"; //Following outputs: My name is $name echo 'My name is $name'; //Following outputs: My name is Bob echo 'My name is '.$name; For what you are doing you need to change some quotes. Either one of these should work for you. $myusername = 'Bob'; //Outputs: "Welcome, Bob!" echo '<div id="welcome_username">"Welcome, ' . $myusername . '!"</div>'; //Outputs: Welcome, Bob! echo '<div id="welcome_username">Welcome, ' . $myusername . '!</div>';
  7. ethanh

    Dns Issues

    Is it possible that Stevie DNS is also down? My website on Stevie says server not found, however I can still access cPanel from https://stevie.heliohost.org:2083
  8. Yup it is. Thank you very much for the fast replies. I've deleted the file.
  9. Could you tell me the location of the files?
  10. My account was suspended today and I would like to know the reason why. All I am hosting is two small (1 min) videos that have been viewed maybe 50-100 times in the last week. I also have a IM running off of MySQL however that I have had for a long time without problems and is not used very much. Thanks, ethanh
  11. I do not believe in evolution. Scientists say there are many reasons to support evolution, however there are lots of things that just don't add up. Here are many reasons of why evolution is hard to believe. Louis Pasteur did experiments that proves life can only come from life – this scientific law has never been broken. How could life come from a big bang? No one has found fossils of the stages between apes and humans that have been proven. If evolution is true, it would have been happening everywhere and there would have been at least one fossil to prove it. They would have already found the “Missing Link”, if it existed. If we came from a big bang, where would our sense of right and wrong come from? What is the purpose of our life? There is no purpose if we came from a big bang. Evolutionists say how can God be eternal? If you don't believe that God is eternal you must believe in eternal matter. DNA cannot create itself. The microevolution (adaptations) in organisms we observe today are NOT evidence of evolution. Instead they are changing with what is already programmed in their DNA to better live in their environment. If DNA cannot create itself, because of how complex it is and that you need intelligence to create it then how could humans evolve from apes? Evolution would have to create DNA. Lots of scientists today do believe in creation, not evolution. For example John Woodmorappe http://www.rae.org/pdf/johnw.pdf Check out this site: http://www.icr.org/
  12. I am using mysql_connect() I only connect once every page that needs MySQL.
  13. I am connecting to my MySQL server using PHP and getting the error: Warning: mysql_connect() [function.mysql-connect]: Too many connections in file on line # Failed to connect to server: Too many connections I am using mysql_close() when I redirect or when the script stops. Why am I getting this error? Is there anyway to prevent this from happening?
  14. I own a top level domain (ex: example.com). I would like to use SSL on it, so I generated my own crt file and uploaded it to the server in the SSL/TLS manager. It doesn't work. In Google Chrome I get SSL connection error and in Firefox I get the certificate file is over the max length. Any suggestions?
  15. Every few hours I get a 500 error without changing anything. Then after a little while it fixes itself. Is there any way to fix this?
×
×
  • Create New...