FW: Problem with ssh2_connect Hello, I am trying connect to freebsd. I have php 5.3.2 installed. I have to connect using public keys, but without succes. Function ssh2_connect throws me following error (then I have invalid resource for function ssh2_auth_pubkey_file)... PHP Warning: ssh2_connect(): Error starting up SSH connection(-5): Unabl... 23 Jun 2010 10:38
Problem with ssh2_connect Hello, I am trying connect to freebsd. I have php 5.3.2 installed. I have to connect using public keys, but without succes. Function ssh2_connect throws me following error (then I have invalid resource for function ssh2_auth_pubkey_file)... PHP Warning: ssh2_connect(): Error starting up SSH connection(-5): Unab... 24 Jun 2010 05:18
$_SERVER['REMOTE_ADDR'] and sql injection Hi, is there a vulnerability with using $_SERVER['REMOTE_ADDR'] in sql queries? Br Tanel ... 23 Jun 2010 12:52
In what scenario an extension of a class is useful? Hello everybody :) I'm really intrigued on something... In what real-world applications could an extension of a class be really useful? Let's say I have this code: class foo { function hello_world($a) { echo 'foo hello world'; } function bye_world() { echo 'foo bye world'; } } clas... 29 Jun 2010 17:25
Stripping Characters Hello List. I need to remove characters from a string and replace them with and underscore. So instead of having something like: $moditem = str_replace("--","_","$mystring"); $moditem = str_replace("?","_","$mystring"); $moditem = str_replace("!","_","$mystring"); .....etc. For every possible characte... 23 Jun 2010 06:15
Warning messages on web page. Hello, This is my first post to this list and I am a novice at php coding. I can generally follow the code but not good at writing from scratch. I have recently been trying to add to a website which was originally developed by someone else and is written in php and mysql. I am trying to add a 'news' section ... 23 Jun 2010 12:52
fetching DB entries Hi All, This is just a bit of a 'throw it out to the masses' sort of question to see what people might recommend. At the moment, if I am retrieving a single record from the DB, my code looks like this: $query = "SELECT * FROM table WHERE id=1"; $result = mysql_query($query); while($row = mysql_fetch_array(... 21 Jun 2010 14:42
PHP & Active Directory? Folks, I'm trying to validate an email address which is entered in a form field against our Active Directory. I'm using some PHP scripting supplied by http://phpad.sunyday.net/ but it's not working, and the site doesn't seem to be supported anymore. Does anyone have any "good" method of doing ... 21 Jun 2010 12:28
Website content question This is not a direct PHP question but I will be using PHP in the website. I go to the php list because the wordpress forum does not respond to my questions and I know some of you have a lot of expertise in other areas than PHP. I wish to a my own pages to a theme. I created pages on my PC and ... 21 Jun 2010 22:31
not receiving mail from list This evening I sent two emails to the list but have not received either of them back. Checking my logs I see that the last email I got was dated 2010-06-12. Could I have been unsubscribed without my knowing about it? (My posts were received by the list since I got private replies.) -- ....He who laughs does n... 21 Jun 2010 00:26 |