|
||||||
| PHP Forum Use this forum to discuss all aspects of PHP Development. PHP is a server-side, cross-platform, HTML embedded scripting language that lets you create dynamic web pages. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
| Sponsored Links |
|
|
|
|||||
|
I tried going to the website that you are trying your regex against and it displayed:
https://www.novaworld.com/Players/Search.aspx Do you have to be logged in to see the page? Perhaps that is why your regex isn't working in PHP.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages! |
|
|||||
|
i dont believe you have to be loged in, i just checked it on a different computer in my house and it works fine. Perhaps the website was experience some tech difficulty at the time?
try it again and if it still dont work, type Ozymandias. (with the period) in the search filed and click the icon under the Stats table heading |
|
|||
|
Same problem for me. I typed Ozymandias. and clicked on the link. It took me to this page:
https://www.novaworld.com/Login.aspx...?UserID=428293 Which is the user logon page.
__________________
I Need Help |
| Sponsored Links |
|
|
|
|||||
|
Quote:
https://www.novaworld.com/Images/xDFBHD_75x75.gif Clicking the OzymandiasX link will bring up my account information (which you have to be registered to see) clicking the image/icon should allow you to see my stats? Im almost 100% sure you dont need to log in to see the stats because i can parse 120 other stats on that page from not only my computer but from my webhosting account (which isnt loged in) |
|
|||||
|
I get a "No players matched your search." when searching for Ozymandias.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages! |
|
|||||
|
eh i changed my username, but if you feel like give it another shot i changed it back.
anyway lets look beyond trying to get the script to work on your servers, it works on mine fine except for the regex. I think the problem arrises with the string itself. Obviousally the pattern the regex is trying to parse is different from what is being outputed when i echo the $stats string. (well thats the only thing i can conclude) So what goes on in these functions that could cause a difference in the actual content verse the echoed content? $content = file_get_contents($url); $strip = strip_tags($content); |
|
|||||
|
ok the code below works perfect, but it needs to be cleaned up a bit (dont laugh at my regex abilities
)PHP Code:
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tutorial: C# Regex | NeedHelp | CSharp Tutorials | 2 | 05-01-2007 07:44 AM |