[PHP] Re: Doing something wrong?

2013-05-21 Thread David Robley
Lester Caine wrote: > I've got a new machine set up with SUSE12.3 but while it has PHP5.4, > Apache is still stuck at 2.2, so I've downloaded and built 2.4.4 and > PHP5.4.15 along with the modules I need but I'm having trouble actually > getting it to load the 'Additional' .ini files. > phpinfo is

[PHP] Doing something wrong?

2013-05-21 Thread Lester Caine
I've got a new machine set up with SUSE12.3 but while it has PHP5.4, Apache is still stuck at 2.2, so I've downloaded and built 2.4.4 and PHP5.4.15 along with the modules I need but I'm having trouble actually getting it to load the 'Additional' .ini files. phpinfo is showing the change of locat

Re: [PHP] How do I remove a string from another string in a fuzzy way?

2013-05-21 Thread Tedd Sperling
On May 20, 2013, at 10:17 PM, Daevid Vincent wrote: Initially I was thinking that somehow I could use a simple regex on the > needle and haystacks to strip out all white space and str_ireplace() them > that way, but then I don't have a way to put the whitespace back that I can > see. Daevid: Go

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-21 Thread Dan Joseph
Hey guys, thanks again for the talk and education. I've purchased the book, and started reading thru the links given. Take care! -Dan On Sun, May 19, 2013 at 12:28 PM, Tedd Sperling wrote: > To all: > > Thanks to Stuart, I finally got it. > > The concept of Interface is a bit difficult to ex

Re: [PHP] Question about session_id() and session_start()

2013-05-21 Thread 孟远涛
thank you. I read the source code and it helps a lot, now I know the behavior of the code is consistent with the NOTE. I think the reason is that If the 'new' session_id we want to set already exists on the server, but does not exist on the client's cookie, the server must send a set-cookie header

Re: [PHP] totally a newbie in sending phone number to a webserver

2013-05-21 Thread Farzan Dalaee
require_once('nusoap/nusoap.php'); $client = new nusoap_client('http://smsprovider.com/post/send.asmx?wsdl' ); $err = $client->getError(); if ($err) { echo 'Constructor error' . $err; } $parameters['username'] = ""; $parameters['password'] = ""; $parameters['to'

[PHP] totally a newbie in sending phone number to a webserver

2013-05-21 Thread Negin Nickparsa
I registered a SMS web service and I have username and password and there are methods as follow which I can use: balance receive send send to all send advanced status status advanced suppose I have a form and I will get the phone number from user also I have user name,pass and url of the web serv

Re: [PHP] Question about session_id() and session_start()

2013-05-21 Thread Tim Schofield
On 20/05/2013, Maciek Sokolewicz wrote: > On 20-5-2013 22:14, Tim Schofield wrote: >> Matijn >> >> There are well over half a million lines of source code in PHP. It seems >> a >> little unhelpful to tell someone to go and read half a million lines of C >> when you could just tell them the answer?