MYSQL Issue

Soldato
Joined
12 Jan 2006
Posts
5,610
Location
UK
Would someone mind trying something for me., I download a simple intranet based phone directory and have been trying to get it working on my machine. I have mysql install along with IIS and PHP. Now i can’t for the life of me get this working. I would be grateful if someone could download it and see if they can get it working and if they don’t tell me what issues they have to see if they match mine. The link is below and it’s from source forge

http://sourceforge.net/projects/phpdir


I can get it working when i upload it to the web mind you.


www.desertwombats.com/phpdir
 
Last edited:
Doesn't look like a MySQL issue, but a PHP issue.

Looks like that particular app requires register_globals enabled:
http://sourceforge.net/forum/forum.php?forum_id=347827 said:
Not really a bug, it's just a change in the default settings of php. If you don't care about security while using this app, i.e. - if you're on a private LAN and trust the users of the app not to try to figure out ways to break things on the server, you can set "register_globals = on" in php.ini. You can read more about this at http://www.php.net/register_globals. Meanwhile, a new version of phpdir shall come in the future, and all shall rejoice. Stay tuned...
and as your uploaded version shows:
Code:
Results in "Phone" matching ""
when a search is submitted, the POST variable isn't being picked up - register_globals isn't enabled on your webhost. Which is good, because it's potentially a great big gaping security hole.

Either enable register_globals via php.ini, virtualhost or .htaccess if you so wish, or get a better coded (and actively developed) application :).
 
Looks like Augmented has it. register_globals is off by default; who knows why these folk want to use it still :s

teaboy5 said:
did you download and try and getting it working locally?
Just to hammer away my point, you're going about the problem solving entirely the wrong way. It makes zero sense to ask people to try and install it to see if their errors match yours....why not just give the actual error ;)
 
Beansprout said:
Looks like Augmented has it. register_globals is off by default; who knows why these folk want to use it still :s


Just to hammer away my point, you're going about the problem solving entirely the wrong way. It makes zero sense to ask people to try and install it to see if their errors match yours....why not just give the actual error ;)

I understand where your coming from. But the main reason is i dont know where else to get wee apps like this. And i dont have the time in work to make one myself, as there just too much to do.

Anyone know of any other sites like source forge and so on?
 
Hehee you missed my point there :D (well the first one :p)

I was having a dig at the coders, not you - the end user doesn't really care how the app is coded so long as it works with the minimum of hassle. Actually maybe in this case you do care now, since it uses a bad setting causing hassle...though as Augmented says, the last release was 2002 so maybe we can let them off :eek: :)
 
Beansprout said:
Hehee you missed my point there :D (well the first one :p)

I was having a dig at the coders, not you - the end user doesn't really care how the app is coded so long as it works with the minimum of hassle. Actually maybe in this case you do care now, since it uses a bad setting causing hassle...though as Augmented says, the last release was 2002 so maybe we can let them off :eek: :)

lol fair play. Do you know of any better sites where i can get things like that?
 
Back
Top Bottom