Problem with SOAP and authentication? SoapFault exception: [HTTP] Unauthorized Hi, I am trying to access a webservice using php's soapclient but I keep getting the error SoapFault exception: [HTTP] Unauthorized If I try using a web browser I can authenticate using the same credentials used by the php code. I've searched but the only mention that I found led to a 'won't fix' bug regist... 29 Jun 2010 10:46
Using fopen or SQL to check image Hi, I'm making a Facebook application that can generate images to user's albums. To publish a story a thumbnail of this image is stored on my server. Since this server currently is very limited I want to be able to clean these thumbnails pretty often. To not get broken links in older facebook stories t... 26 Jun 2010 06:32
Returning a Recordset from a Funtion Hi Folks, Upon occasion, I have the need to hit our MS MSL database from our PHP/mySQL server. So I've created a function, but I'm not sure if you can return a recordset from a function. My code is below... In the calling page I code: <?php include('../includes/mssql.php'); hitMSSQL("server",... 25 Jun 2010 13:12
Attachment to email from form. I am trying to have an attachment to an email from a form. Email is working fine, am unable to get attachment. The attachment will be a word.doc. I am getting error message Warning: file_get_contents(attachment.zip) [function.file-get-contents]: failed to open stream: No such file or directory in /home/one... 28 Jun 2010 11:44
in_array - what the... If I have an array that looks like array(1) { ["mac_address"]=> string(2) "td" } and I call if (in_array($name, self::$aboveArray)) with $name as string(11) "mac_address" what should be the result? Because it is *false* and it is driving me nuts! This despite the fact that if I do $f... 25 Jun 2010 15:24
Making a Password Confirmation in PHP This is very straight forward, if password a and b are not equal to each other, how can I let the user know that with out losing all of the entered information on the registration form? I was trying this: ---$p1 = "<input type=\"password\" name=\"usr_p1\" />"; $p2 = "<input type=\"password\" name=\"usr_p2\" />"; ... 25 Jun 2010 09:54
Quick session question Hi guys, I always start new projects with the following session code-snippet: (In other words this is how I initialize my sessions in the index.php file.) ### START CODE SNIPPET ######################################################## <?php session_start(); setcookie(session_name(),"",0,"/"); unset($_COOK... 25 Jun 2010 02:16
Problem with ssh2_connect - finished Hi, so I have (hope) finished. There is problem with rsa keys in function ssh2_connect (probably bug, I dont see any problem on my side), so I created two pairs - rsa and dsa. rsa method isnt working, but dsa method without problems. Its little complication, because I have everwhere rsa keys, but I change it to dsa, I... 24 Jun 2010 05:18
IIS, PHP and HTML Greetings All, I am at a new Gig. So this is the existing setup so changing it at least in the short term is not an option. We are in an IIS shop. We have a bunch of files that are html, and in need of php functionality. And that would be a BUNCH of files. I am interested in setting if I can set up IIS to ... 23 Jun 2010 20:38
Invoice Software Now that I'm finally landing some freelance PHP work, I am in need of some software that I can add clients, enter estimates, keep track of hours, and create invoices with. I'd like it to be Web-based. I could write my own, of course, but why do it if it's already done?! Does anyone know of such a package? Thanks!... 23 Jun 2010 12:52 |