Jump to content

mrjcfreak

Members
  • Posts

    85
  • Joined

  • Last visited

    Never

About mrjcfreak

  • Birthday 06/03/1987

Contact Methods

  • Website URL
    http://www.gofish.org.uk

Profile Information

  • Gender
    Not Telling
  • Location
    UK

mrjcfreak's Achievements

Member

Member (2/5)

0

Reputation

  1. Hello everyone; I'm looking for an application that will impersonate a mailserver (listening on port 25) so I can test php scripts which use the mail() function. Ideally something which logs what the mail would have been like, or pops up with details... any ideas, anyone?
  2. As well as checking the efficiency of code check the usage of it. It's probably a good idea too to pipe clean all your forum stats, logs, dead/spam users. If you have a spam bot hammering your forum trying to register all the time then try adding a human check if you don't already have one. Delete old unused accounts, make shorter posts per page views etc.
  3. Yep. My extensions are all in c:\php\ext as well. I have also deleted all other php.ini's from the whole of C:\ As I mentioned in my post I addressed all the other common issues mentioned in the sticky. Anywho, the problem isn't prescient at the moment, as the entire web server has fallen over, and wont even boot from network into RAM- and as we're not in the same country we can't fix it. MySQL is the least of our problems!
  4. Can't do that- I can restart the service with skipped grant tables, but when i try to get in as root, I get "access denied for user root@localhost
  5. I can't reset the root password for my sql... I'm following the instructions in the manual, so I've restarted the mysql daemon with -init-file=/tmp/yadah ( where yada contains SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpass') ) and yet I can't log in to the mysql CLI as root using that new password. Any ideas? I'm running fedora 4, and I've tried both as root and 'mysql' (our user for mysql)
  6. I can't get into the mysql CLI on my fedora core 4 box. I have tried killing the service and resetting the password, and i still can't access it. I'm root.
  7. Hi folks; I have PHP running on apache 2 (on fedora) and it's configured properly so that php files in htdocs are parsed. However, it's not configured so that files in httpsdocs are parsed... Can anyone help? P.S. I only have command line access
  8. Hey folks; php wont load either of the my sql, that is, their functionality isn't available, and the configuration isn't mentioned in phpinfo(); I have 1) uncommented the extension include lines in the correct* php.ini 2) made sure the libraries are in the extensions folder defined** (c:\) 3) copied the library to c:\windows and c:\windows32 for good measure 4) Recycled the web service *i.e. the php.ini pointed to by "Loaded Configuration File" in phpinfo(), which does affect php **as quoted by phpinfo() And still no luck...
  9. first up, use is_file() to check the path is correct, and even if you're fussy use getimagesize() - this will tell you if your path is right. Second- check permissions. chmod the image to 0777 and see if your script will delete it.
  10. If magic quotes is on, then all your quotes will be escaped, hance them looking like \' - use stripslashes() to undo it - i.e. undo them just before outputting to browser, make sure they are escpaed in SQL queries.... Check out the manual: http://uk.php.net/manual/en/security.magicquotes.php
  11. Please post the code you are trying to debug. It's handy if you have an error on line1 for us to see what line 1 has on it
  12. Guilty gear is correct; are you asking for help or not? Reading the manual here: http://uk.php.net/manual/en/language.types.array.php (Scroll down to Array do's and dont's) explains you can't use $foo[bar] but rather $foo ["bar"]. You really can't do anything you really want to.
  13. Hey folks; Does anyone know if there is a program which as far as PHP is concerned , acts like a mail server would but instead of sending an email visually outputs what the mail server would have done- i.e. a program for debugging and testing mail() functions in PHP...?
  14. 1) Has the file uploaded correctly? 2) Is it in the right place (i.e. in a subdirectory called upload which is in the same file as your script 3) Have you used $qry['ext'] = $_GET['file'] to set the value of the link? 4) Please post more code
×
×
  • 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.