PDA

View Full Version : Trouble using PHP4 session_start() function


berk25
Sun 25th Jun '00, 9:53am
I've just downloaded the tryout version - to try before I buy. Imagine that.

I will need to integrate this into my site that is based on PHP4 and MySQL. I want to have access to user login variables so my users don't have to log in twice.

When I add the "session_start();" line, vBulletin does not work. The browser simply displays a blank screen. with the following as the pase source:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type></HEAD>
<BODY></BODY></HTML>

A nothing page. PHP4 is working fine on my server and I have used this command (obviously) in all of my other PHP pages.

Any help will be greatly appreciated.

berk

berk25
Sun 25th Jun '00, 12:08pm
I should have spent a bit more time staring at my code.

I had a variable name in common with the vbulletin code. I renamed mine, and its working fine.