MyBB Community Forums

Full Version: Help with PHP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey all. I hope that you can help me with this problem.

I want to be able to take info from this page where it says "Total of 6 files", and post it on another page. I am hoping to display on my site how many signatures are currently hosted. If you need the source code, you can feel free to ask.

Also, if this is needed, This was a Open Source Script that I took and modified a bit.

Thanks in advance,
Chasingu
Well how does that page count the number of sigs?
Since you can't "include()" files in signatures, you'd have to make an image with GD.
Its going to be displayed on a area on the site, not a actual signature. TommyK, If I really knew all of that, I would have written my own code.
Get the page using file_get_contents() then use a regex with preg_match() to find the number. I hope that starts you in the right direction.
If your not making an image just use include() Smile