Guest, before posting your code please take these rules into consideration:
It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
Don't share a wall of code. All we want is the problem area, the code related to your issue.
What do you mean by this? As in running a PHP script on a different site? Or, running a PHP script on your computer which is hosted on a different site? Please clarify so I can understand better.
What do you mean by this? As in running a PHP script on a different site? Or, running a PHP script on your computer which is hosted on a different site? Please clarify so I can understand better.
You can't do that with CSS alone, you'd need a PHP engine to run that. CSS is not a great attack vector to my knowledge. JavaScript is the primary clientside vector for that.
You can't do that with CSS alone, you'd need a PHP engine to run that. CSS is not a great attack vector to my knowledge. JavaScript is the primary clientside vector for that.
This should work, but make sure that PHP sends a correct Content-Type header identifying itself as CSS. Then you can run arbitrary PHP before the CSS is returned.
This would have to be done on your own website, and it doesn't really make sense to do it.
However, in this same way, if you knew of a website that had a PHP script accessible, and you were able to get its source, you could, in your CSS file, download the other site's PHP and exec it. It's highly dangerous to do that, but you could.