| | |
using dreamweaver templates with session_start
Thread Solved |
hi all,
I'm using dreamweaver templates to make my site, however when I want to use the session_start(); function in php, the headers have already been sent because dreamweaver writes the following into the page:
and so I am having to put in the session_start function manually at the top of every page before the above code. Is there any way to get around this?
Thanks in advance!
Max.
I'm using dreamweaver templates to make my site, however when I want to use the session_start(); function in php, the headers have already been sent because dreamweaver writes the following into the page:
PHP Syntax (Toggle Plain Text)
<!-- InstanceBegin template="/Templates/index.dwt.php" codeOutsideHTMLIsLocked="false" -->
and so I am having to put in the session_start function manually at the top of every page before the above code. Is there any way to get around this?
Thanks in advance!
Max.
| IPCopy |
The only google chrome extension that lets you copy your IP to the clipboard with one click.
https://chrome.google.com/extensions...ogchjmmgjjfola
The only google chrome extension that lets you copy your IP to the clipboard with one click.
https://chrome.google.com/extensions...ogchjmmgjjfola
damn. okay thanks anyway
| IPCopy |
The only google chrome extension that lets you copy your IP to the clipboard with one click.
https://chrome.google.com/extensions...ogchjmmgjjfola
The only google chrome extension that lets you copy your IP to the clipboard with one click.
https://chrome.google.com/extensions...ogchjmmgjjfola
Forgot to add, you could have written it like:
php Syntax (Toggle Plain Text)
<?php session_start(); ?> <!-- InstanceBegin template="/Templates/index.dwt.php" codeOutsideHTMLIsLocked="false" -->
![]() |
Other Threads in the PHP Forum
- Previous Thread: Need Immediate Help With PHP
- Next Thread: PHP Scripts
Views: 1654 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for PHP
access ajax apache array beginner box buttons cakephp check checkbox class cms code cookies database date directory display download dropdown drupal dynamic echo email error file files folder form forms function functions header hosting href htaccess html image images include insert ip java javascript joomla jquery limit link list login loop mail menu methods mlm mod_rewrite multiple mysql order parse password paypal php problem query radio random redirect regex remote results script search security select server session sessions shopping soap sort sorting source sql string system table unicode update upload url user validation variable video web website wordpress xml zend






