xgd Posted July 2, 2009 Share Posted July 2, 2009 hello people, I got this book with case studies, but when i try to use the online catalog app, i get an error of undefined variables. There are some include files etc., so i cant figue out the problem. I have contacted the author but she said she didnt know what the problem was and that the script works. So if anybody is bothered pm me your email i will send you the source so you can check it out. it will not take more then 5mins for a normal programmer i believe. HELP. p.s. I set up the database, the table and all that, all of that works, the problem is somewhere in the script, which i did not modify! Link to comment https://forums.phpfreaks.com/topic/164560-cant-get-the-source-from-a-book-to-work/ Share on other sites More sharing options...
PFMaBiSmAd Posted July 2, 2009 Share Posted July 2, 2009 This is a help forum, if you want help from the forum members, you need to post the code (edit: the relevant part, not all of it) and post any error messages. Link to comment https://forums.phpfreaks.com/topic/164560-cant-get-the-source-from-a-book-to-work/#findComment-867982 Share on other sites More sharing options...
kenrbnsn Posted July 2, 2009 Share Posted July 2, 2009 Just from reading the description, it sounds like the script is designed to work with register_globals enabled. Ken Link to comment https://forums.phpfreaks.com/topic/164560-cant-get-the-source-from-a-book-to-work/#findComment-867985 Share on other sites More sharing options...
xgd Posted July 2, 2009 Author Share Posted July 2, 2009 Hey people. I dont mind posting the code of course, but there are many include files, like 4 or 5 with functions etc., so i think it is easier just for someone to test it. One guy already offered so he might be able to figure it out. If anyone else is up to it please pm me. But register globals ARE OFF, how do i turn them on ? I guess it could be the problem. Link to comment https://forums.phpfreaks.com/topic/164560-cant-get-the-source-from-a-book-to-work/#findComment-868040 Share on other sites More sharing options...
xgd Posted July 2, 2009 Author Share Posted July 2, 2009 BTW i am testing everything locally using EasyPHP, so all my php files are in my www folder. Link to comment https://forums.phpfreaks.com/topic/164560-cant-get-the-source-from-a-book-to-work/#findComment-868043 Share on other sites More sharing options...
xgd Posted July 2, 2009 Author Share Posted July 2, 2009 Its not dependent on register globals. Anywya no use discusssing it here, if someone is bothered pm me your email if not it doesnt matter, coz it cant be solved like this. Link to comment https://forums.phpfreaks.com/topic/164560-cant-get-the-source-from-a-book-to-work/#findComment-868054 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.