php and firewall issues

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
shivers3000
Forum Newbie
Posts: 4
Joined: Tue Jan 27, 2004 10:38 am

php and firewall issues

Post by shivers3000 »

first off i know zone alarm firewall is some garbage but i have a question

i am running zone alarm firewall with winxp, apache, mysql and php. when zone alarm is enable, my cookies cause the site to hang up and my sessions dont always past from form to form in a multi-form situation.

my question is:
1) is this happening because i am running zone alarm from my test machine?
2) will these same issues happen when someone logs onto my website and if so, how do i avoid this

thanks
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

The first question: No, I doubt it. If you are accessing localhost there should be no need for data to pass through your firewall.
The second question: It probably will cause problems for external users. Make sure Apache and other processes that want external access have it granted. If that fails, I'm sure someone has run into a similar problem either on these forums or on Google somewhere. Have a search around.
User avatar
a94060
Forum Regular
Posts: 543
Joined: Fri Feb 10, 2006 4:53 pm

Post by a94060 »

firewall should have no effect on how php pages are parsed. you should almost never run into firewall issues if your using php to communicate with mysql(assuming they are on same computer). as for access,all you should need open is the port that you have your webserver running on(only if you want external users to access the server)

cheers
shivers3000
Forum Newbie
Posts: 4
Joined: Tue Jan 27, 2004 10:38 am

SOLVED

Post by shivers3000 »

well... i got it fixed

it had something to do with that zone alarm. the page worked fine when it was disabled but caused major problems while active. I have since uninstall the entire thing and havent had a problem yet.

The problem more than likely came as a result of Zone Alarm causing some funky problems with my pc as oppose to really messing up my website.

But at any rate, thanks for your help

B EZ
Post Reply