Jump to content

[SOLVED] Quick help


waynew

Recommended Posts

I have a statement like so:

 

if(!preg_match("~http://www\.bebo\.com/Profile\.jsp\?PreviewSkinId=\d+$~",$link)
            && !preg_match("~http://bebo\.com/Profile\.jsp\?PreviewSkinId=\d+$~",$link)
            && !preg_match("~http://www\.bebo\.com/Profile20\.jsp\?PreviewSkinId=\d+$~",$link)
            )

 

And it's working fine. The thing is, I'm wanting to add another to deal with another possibility

!preg_match("~http://www\.bebo\.com/Profile\.jsp\?ArtistMemberId=\d+$&PreviewSkinId=\d+$~",$link)

 

I've also tried

!preg_match("~http://www\.bebo\.com/Profile\.jsp\?ArtistMemberId=\d+$\&PreviewSkinId=\d+$~",$link)

 

But none of them work as I'm basically guessing here. The link that I need to be validated is: http://www.bebo.com/Profile.jsp?ArtistMemberId=4153429001&PreviewSkinId=5631914766

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/161036-solved-quick-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.