server restrictions, work around? [solved-ish]
Posted: Tue Sep 13, 2005 6:46 pm
i have free hosting at t35.com and it has dissallowed the use of certain functions in php
i can't say im suprised, its free!
but, what im trying to do is work around the restriction of the file() and get_file_contents() functions
i need to do this because im making a random user profile lookup script for a forum based website
each user on the site has an 6-7 digit number that is used for eveything ont he site (PMs, profiles, posting)
and i have successfully generated the random number script and a link to the random user profile
but
alot of accounts on the forum are dead (0 posts)
i was planning to use file() or get_file_contents() to snoop ahead and loop back
so that if a random user's profile was for a dead user then it would generate a new random user number
but
as i said above, fil() and get_file_contents() would seem to be disabled on my free hosting
any ideas about how to look ahead for dead accounts without using file() or get_file_contents()?
i can't say im suprised, its free!
but, what im trying to do is work around the restriction of the file() and get_file_contents() functions
i need to do this because im making a random user profile lookup script for a forum based website
each user on the site has an 6-7 digit number that is used for eveything ont he site (PMs, profiles, posting)
and i have successfully generated the random number script and a link to the random user profile
but
alot of accounts on the forum are dead (0 posts)
i was planning to use file() or get_file_contents() to snoop ahead and loop back
so that if a random user's profile was for a dead user then it would generate a new random user number
but
as i said above, fil() and get_file_contents() would seem to be disabled on my free hosting
any ideas about how to look ahead for dead accounts without using file() or get_file_contents()?