![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster 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 us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
holla
Join Date: Jul 2003
Location: KFC
Posts: 11,769
|
PHP Guys?
I was using a script whose order.php file was just a basic order form with no design.. so I wrote a template in html, and put the first part before the <?php and put the last part of the template after the ?> so that the order form looks just like my site..
Code:
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/**/public_html/ipanel/order/index.php:13) in /home/**/public_html/ipanel/order/index.php on line 66 Code:
<td valign="top" width="766" height="650"> Code:
session_start(); edit: i've got $5 in my paypal if whoever helps me wants it for a hamburger or something. ill brb after dinner |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Registered User
Join Date: Nov 2005
Posts: 22
|
You can't send headers once they have already been sent. Any HTML output like td or whatever starts headers, so you can't start the session after that (startign the session sends headers)
Cheers! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
holla
Join Date: Jul 2003
Location: KFC
Posts: 11,769
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Registered User
Join Date: Nov 2005
Posts: 22
|
Just put the <?php session_start(); at the very beginning of the file with no whitespace or anything sent to the browser first.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
holla
Join Date: Jul 2003
Location: KFC
Posts: 11,769
|
I did that and on line 2 when the html kicks in, it errors and says unexpected '<'
Thanks for at least trying, Jimmy, even though we're not getting anywhere |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
holla
Join Date: Jul 2003
Location: KFC
Posts: 11,769
|
I'll just seperate the html into a header file and a footer file and php include it in there
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Feb 2004
Location: If i was up your ass you'd know
Posts: 3,695
|
I'm still laughing at the 5$ part
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Mar 2004
Location: New Orleans, LA
Posts: 1,001
|
try
<?PHP ob_start() ; ?> at very top of page
__________________
PHP Programmer ICQ 215-504-788 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Damn Right I Kiss Ass!
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,409
|
You didn't close the php code.. Jimmy was right, now you need ?>
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
<&(©¿©)&>
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
|
icq: 33375924 if you still need a hand with this...
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager |
![]() |
![]() ![]() ![]() ![]() ![]() |