Jump to content

GB_001

Members
  • Posts

    187
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

GB_001's Achievements

Regular Member

Regular Member (3/5)

0

Reputation

  1. Hello, I am currently going to purchase a reseller account that allows WHM and Admin access. Would it be possible for me to make a public folder (read only) on the server that contains PHP files that can access the other sites located on the server and vice-versa? Also what about sites not located on the server, what type of authentication would I need?
  2. Hello, I'm trying to set up a dynamic virtual host for the first time. Is it posible for be to implement some sort of folder sorting system? For example the first ten sites are in: /Vhosts/1/ The next ten in : /Vhosts/2/ And so on, in order to reduce indexing load and having 400 folders in one directory.
  3. How would I be able to do it via .htaccess? Also users would only be able to edit their PHP files via editor I provide them so I don't think they'd be able to edit the .htaccess.
  4. That'd work if I were using virtual hosts, but I'm not as I'm just using a different folder per User where their individual PHP files are kept.
  5. So basically I'd have to do something like: [PATH=/path/to/Users/] open_basedir = /path/to/Users/ If so, wouldn't the Users be able to possibly access another User's folder?
  6. Hi, I was wondering how I would go about stopping PHP files from altering things outside of it's directory. Say [user X] creates a PHP script that script automatically saves to [user X]'s folder located within Localhost/Users/ where all user folders are located. But none of [user X's] files can access access any folder above it's own. How would I be able to specify this in PHP or the PHP.ini? Example Things like "$fp=fopen($_SERVER['DOCUMENT_ROOT'] ."/Users");" would be bad. Thankyou, GB.
  7. Hello, how would I be able to calculate screen.availheight without the inclusion of the address bar/toolbar height? Because right now screen.availheight is giving me my full vertical screen res (Address bars and all). Thankyou, -GB. Note: (I can't use $(window).height() because I need the maximum available height of the browser window).
  8. Hello, On my site I am allowing users to post HTML and I'm in the planning phase. I'm already written REGEX to get rid of <script> and <frame> tags, but I have ran into a problem regarding <embed> it seems as though in browsers such as chrome <embed> acts like an <iframe> tag. The problem is that with this sort of behavior users may link to potentially harmful sites like infinite alert boxes ect. How will I bee able to make sure users don't embed websites instead of flash? Alternate Question: Also if I do allow users to include websites, how could I disable alert boxes?
  9. Just in case I have alot of entries, it's just a precaution to prevent query slowdowns because this table will be accessed the most.
  10. Hi, I'm working on a project which may be trying if it had alot of users and I'm wondering if this is an efficient way to partition the tables: Short Story of what I did: I converted the usernames into "numbers" using an algorithm, then found the standard deviation and the highest number using a random name generator and another algorithm I made. After that I made the table code and partitioned by range using the standard deviation, with this I was able to get 10 partitions. Do you think this would be efficient enough if I had say 50 million user entries? example: mysql_query("CREATE TABLE XXXXX ( ID INT AUTO_INCREMENT PRIMARY KEY, XXXXXXX VARCHAR(32), XXXXX VARCHAR(32), XXXXX TEXT, XXXXXXX VARCHAR(32), XXXX INT, ) ENGINE = MYISAM PARTITION BY RANGE(XXXXX) ( PARTITION p0 VALUES LESS THAN(40), PARTITION p1 VALUES LESS THAN(80), PARTITION p2 VALUES LESS THAN(120), PARTITION p3 VALUES LESS THAN(160), PARTITION p4 VALUES LESS THAN(200), PARTITION p5 VALUES LESS THAN(240), PARTITION p6 VALUES LESS THAN(280), PARTITION p7 VALUES LESS THAN(320), PARTITION p8 VALUES LESS THAN(360), PARTITION p9 VALUES LESS THAN(MAXVALUE) )"); Thankyou, GB.
  11. Hi, is it possible for me to inject html like <html><head></head><body></body> into an iframe src, instead of make the src an actual file? Thankyou, -GB.
  12. Probably sometime in June, mostly due to the fact that it needs polish and that I have to gain funds to host the website on a server that can handle it.
  13. Hi, my website isn't open to the public yet but I made a promo video to try and show off it's features. I'm not sure about it's effectiveness though. Video: Thankyou. -GB.
  14. Hello, how would I go about capturing the page anchor in the address bar without the onload function and without page refresh? Thankyou, -GB.
×
×
  • 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.