Jump to content

marm

Members
  • Posts

    17
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

marm's Achievements

Member

Member (2/5)

0

Reputation

  1. I can't seem to connect my custom made php.ini file. The shared server that I hired uses Fast/CGI gentoo (PHP 5.2.3) Apache/2.0.58. Does anybody know how to configure this ??? These are some default settings in phpinfo(); Configuration File (php.ini) Path /etc/php/cgi-php5 Loaded Configuration File /etc/php/cgi-php4/php.ini Scan this dir for additional .ini files /etc/php/cgi-php5/ext-active additional .ini files parsed /etc/php/cgi-php5/ext-active/suhosin.ini
  2. Sorry, I'd like to give more information: it says "disable-hash" in phpinfo() in the "Configure Command" section so there is no way to enable it not even with php.ini ?
  3. I'm on a shared server and they have disabled the php5 hash function. Is there any way to enable it, maybe using php.ini ?
  4. How could I replace all the commas with "commas followed by a space" only within the keywords meta tag ? (using dreamweaver's regular expressions) Turn this: <meta name="Keywords" content="word1,word2,word3,word4,word5,word6" /> into this: <meta name="Keywords" content="word1, word2, word3, word4, word5, word6" />
  5. I've googled extensively about which method to use for spaces in url names but could not find what the W3C says. Can anyone help me?
  6. Hi, can anyone recommend any PHP scripts/softwares that I could upload into my site and get uptime and downtime statistics. I saw NAGIOS but it seems too bulky and complicated. Can anyone recommend a simple PHP script/program for this purpose ?
  7. I'm trying to block access to all my .txt files except robots.txt How can I block all except robots.txt ? <files ~ "\.(htalock|htaccess|htpasswd|txt)$"> order allow,deny deny from from all </files>
  8. Hello, I'm trying to change the name of my sessions but I cannot insert a dot (period) in the name: I tried escaping the period and these two different ways but it doesn't work: session_name("PERL\.SESSION"); inside php.ini : session.name = PERL\.SESSION
  9. That's true for php.ini but what if I would like to do the same for .htaccess ?
  10. Hello, I would like to change my following server header for security concerns but I do not have access to httpd.conf. Is it possible to somehow override this header and provide another fake one ? header: Server: Apache Webserver
  11. Hello, I'm trying to prevent malicious users from knowing that I am using a php.ini file in my site. I have placed these lines in .htaccess but when you fetch headers on that file, it returns a 302 error. How can I send a 404 error instead of 302 ? <Files ~ "\.(ini)$"> order allow,deny deny from all </Files>
  12. Is there any way to specify directory indexes for all the folders in my site without having to put 1 .htaccess file in each folder ? I want 1 .htaccess file that has all specifications for directory indexes. Directory Index newindex.html
  13. hash('md5', 'string'); returns: Fatal error: Call to undefined function: hash() bin2hex(md5('string', TRUE)); returns: Warning: Wrong parameter count for md5() (these errors happen in PHP4 since they were added in PHP5)
  14. Its interesting to point out that: bin2hex(mhash(MHASH_SHA1("whatever"))); takes nearly double the time than: sha1("whatever"); Can other hashes be "built into php" like sha1 is?
×
×
  • 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.