Click here to Skip to main content
15,889,867 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Need Help With Hosting SignalR Pin
Richard Deeming11-Jul-16 8:09
mveRichard Deeming11-Jul-16 8:09 
GeneralRe: Need Help With Hosting SignalR Pin
Kevin Marois11-Jul-16 8:11
professionalKevin Marois11-Jul-16 8:11 
GeneralRe: Need Help With Hosting SignalR Pin
Richard Deeming11-Jul-16 8:15
mveRichard Deeming11-Jul-16 8:15 
GeneralRe: Need Help With Hosting SignalR Pin
Kevin Marois11-Jul-16 8:17
professionalKevin Marois11-Jul-16 8:17 
GeneralRe: Need Help With Hosting SignalR Pin
Richard Deeming11-Jul-16 8:19
mveRichard Deeming11-Jul-16 8:19 
GeneralRe: Need Help With Hosting SignalR Pin
Kevin Marois11-Jul-16 8:24
professionalKevin Marois11-Jul-16 8:24 
QuestionFind Nearby Offers Pin
Jassim Rahma7-Jul-16 14:42
Jassim Rahma7-Jul-16 14:42 
QuestionDeprecated: Function split() is deprecated Pin
Jassim Rahma7-Jul-16 14:17
Jassim Rahma7-Jul-16 14:17 
Hi,

Why I am getting above error for below code?

It was working fine when I use the PHP class only but started giving this error when I am calling the class from another PHP page.

How to fix it please?
PHP
function IPv4Tonumber($ip_to_convert)
{
    if ($ip_to_convert == "")
    {
        return 0;
    }
    else
    {
        $ips = split(".", "$ip_to_convert");
        return ($ips[3] + $ips[2] * 256 + $ips[1] * 256 * 256 + $ips[0] * 256 * 256 * 256);
    }
}

Thanks,
Jassim[^]

Technology News @ www.JassimRahma.com

AnswerRe: Deprecated: Function split() is deprecated Pin
Richard MacCutchan7-Jul-16 20:24
mveRichard MacCutchan7-Jul-16 20:24 
Questionwhy invalid IP is valid? Pin
Jassim Rahma7-Jul-16 13:53
Jassim Rahma7-Jul-16 13:53 
AnswerRe: why invalid IP is valid? Pin
Richard MacCutchan7-Jul-16 21:07
mveRichard MacCutchan7-Jul-16 21:07 
QuestionAlign controls left and right in sub div Pin
Mr Carl Cummings7-Jul-16 7:58
Mr Carl Cummings7-Jul-16 7:58 
QuestionDoes Sitefinity CMS support SAML 2.0 ? Pin
Member 10977363-Jul-16 19:27
Member 10977363-Jul-16 19:27 
AnswerRe: Does Sitefinity CMS support SAML 2.0 ? Pin
Peter_in_27803-Jul-16 19:59
professionalPeter_in_27803-Jul-16 19:59 
GeneralRe: Does Sitefinity CMS support SAML 2.0 ? Pin
Member 10977363-Jul-16 20:44
Member 10977363-Jul-16 20:44 
GeneralRe: Does Sitefinity CMS support SAML 2.0 ? Pin
Member 10977363-Jul-16 20:45
Member 10977363-Jul-16 20:45 
AnswerRe: Does Sitefinity CMS support SAML 2.0 ? Pin
Peter_in_27803-Jul-16 20:50
professionalPeter_in_27803-Jul-16 20:50 
AnswerRe: Does Sitefinity CMS support SAML 2.0 ? Pin
Kimberly Weldon4-Jul-16 2:25
Kimberly Weldon4-Jul-16 2:25 
GeneralRe: Does Sitefinity CMS support SAML 2.0 ? Pin
Member 10977364-Jul-16 20:28
Member 10977364-Jul-16 20:28 
Questionhtaccess issues Pin
V.30-Jun-16 23:41
professionalV.30-Jun-16 23:41 
AnswerRe: htaccess issues Pin
Peter_in_27801-Jul-16 12:34
professionalPeter_in_27801-Jul-16 12:34 
AnswerRe: htaccess issues Pin
Member 1070601422-Jul-16 8:15
Member 1070601422-Jul-16 8:15 
GeneralGetting a Response from an Iframe Pin
Brian Kron29-Jun-16 9:23
Brian Kron29-Jun-16 9:23 
GeneralRe: Getting a Response from an Iframe Pin
2374130-Jun-16 11:54
2374130-Jun-16 11:54 
GeneralRe: Getting a Response from an Iframe Pin
Brian Kron30-Jun-16 13:38
Brian Kron30-Jun-16 13:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.