![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| Hi all, I posted this message in another group, but didn't recieve the answer I was waiting for... --- I want to use 'location' to redirect to link to another page: <?php header("Location: http://localhost"); ?> works fine, but when i introduce start_session, all i get is a blank page: <?php session_start(); header("Location: http://localhost"); ?> Can anyone give me a hint, do I need to change my php.ini-file or something like that?? I use apache and php 4.3.1, local installed. --- Thanx!! WJ | |||
| Advertisements |
| | #2 | ||
| "wj" <ww@nl.nl> wrote in message news:1057602389.323102@newsreader2.wirehub.nl... > Hi all, > > I posted this message in another group, but didn't recieve the answer I was > waiting for... > > --- > > I want to use 'location' to redirect to link to another page: > > <?php > header("Location: http://localhost"); > > ?> > > > works fine, but when i introduce start_session, all i get is a blank page: > > <?php > > session_start(); > > header("Location: http://localhost"); > > ?> > > Can anyone give me a hint, do I need to change my php.ini-file or something > like that?? I use apache and php 4.3.1, local installed. Is there anything output between the start of the php file and the first "<?" ? > --- > > Thanx!! > > WJ > > > > > | |||
| | #3 | ||
| Hi, Have you got a example of such a script? Thanx, WJ "NotIan" <notian@shaw.ca> wrote in message news:aUROa.419415$Vi5.10932602@news1.calgary.shaw. ca... > I think technically session_start() is output so header doesn't happen, you > could use a html redirect instead of the header function > > > "slapkicksy" <slapkicksy@NOSPAMhotmail.com> wrote in message > news:JBjOa.4531$ox.35703853@news-text.cableinet.net... > > > > "wj" <ww@nl.nl> wrote in message > > news:1057602389.323102@newsreader2.wirehub.nl... > > > Hi all, > > > > > > I posted this message in another group, but didn't recieve the answer I > > was > > > waiting for... > > > > > > --- > > > > > > I want to use 'location' to redirect to link to another page: > > > > > > <?php > > > header("Location: http://localhost"); > > > > > > ?> > > > > > > > > > works fine, but when i introduce start_session, all i get is a blank > page: > > > > > > <?php > > > > > > session_start(); > > > > > > header("Location: http://localhost"); > > > > > > ?> > > > > > > Can anyone give me a hint, do I need to change my php.ini-file or > > something > > > like that?? I use apache and php 4.3.1, local installed. > > > > Is there anything output between the start of the php file and the first > > "<?" ? > > > > > --- > > > > > > Thanx!! > > > > > > WJ > > > > > > > > > > > > > > > > > > > > | |||
| Featured Websites | ||||
|
![]() |
| Tags: location |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Relative location of images | Gary | HTML | 2 | 07-01-2007 2:06 PM |
| Garmin GPS 12 Location Error | Jon | GPS | 1 | 06-25-2007 11:43 PM |
| I like his style, especially the location | Jeremy Mills | Ebay Technical Questions | 5 | 05-30-2007 2:18 AM |
| Location | Grimm | MSN questions | 0 | 05-28-2007 1:45 AM |
| Drive D: not on Location List | Ike | MSN questions | 4 | 05-28-2007 1:43 AM |
| Featured Websites | ||||
|