|
by: Stijn Goris |
last post by:
hi all,
I have this strange error: when I need to use the database on a page I
include connectionDB.php with inculde_once("connectionDB.php");
The connectionDB.php looks like this:
<?
$db = mysql_connect("localhost", "xxxxxx, "xxxxxx");
mysql_select_db("xxxxx",$db);
?>
|
by: Nabeelah Ali |
last post by:
session_start()
session_destroy();
echo "<center><font color=red>You are now logged
out!</strong></font></center><br />";
header("Location: index.php");
Can somebody tell me why this bit of code in my logout script doesn't
work? what it's supposed to do is destroy the current session and then
redirect to the home page, but it says that 'Headers already sent' when
i try to do the redirect .
|
by: Tom Petersen |
last post by:
Here is a little more info, sorry should have explained what my final goal
was. I am creating a .vcs file from a form to import into Outlook. I was
just testing the output on screen then pasting that into a file, after
removing the extra white space, and inserting line breaks. The data is
valid, but the formatting into the file isn't working. Was I doing the
formatting right if I was generating a file? I need it to create the .vcs...
|
by: Andreas Klemt |
last post by:
Hello,
I get this error Message "cannot redirect after http headers have been sent"
when I do this
response.redirect ("home.aspx")
How can I find out with vb.net if already a http header has been sent like
If response.IsSentHttpHeader then
....
|
by: shara |
last post by:
Hello there,
I used 'header' function to call a php page.The output of this page should be sent to a different directory as a file in the directory.
My code is like this
header('location:full_report_exporting.php?test_runid='.$test_runids);
Now full_report_exporting.php generates a xls file which i have to store in a directory(name-xls files).
I'm quite new to php and dont know in depth.Can anybody help me with how to achieve ...
|
|
by: Devine123 |
last post by:
Hi, I’m creating a perl script that takes incoming http/s requests, logs the standard input, output and error, before returning the output to the client. The input, output and error log is appended after each HTTP request.
The problem I’m having is that I’m trying to add a header line to the log files each time they are appended. For example if a new http request is made, a header will be added to each of the logs before the new standard...
|
by: jools |
last post by:
I'm having trouble modifying some code written by someone else.
The code is very dense and obscure but does work fine. However I need to
insert a block of my own and I've hit what I assume is a buffering
problem.(If there's another answer I'd be grateful ...)
The problem is PHP is refusing to do things in the correct sequence.
I've tried all the variations of flushing I can think of without success.
Can anyone suggest how I can force...
|
by: JRough |
last post by:
I'm trying to use output buffering to cheat so i can print to excel
which is called later than this header().
header("Content-type: application/xmsdownload");
header("Content-Disposition: attachment;
header("Pragma: no-cache");
header("Expires; 0");
print "$header\n$data";
|
by: JRough |
last post by:
On Sep 26, 3:23 pm, Captain Paralytic <paul_laut...@yahoo.comwrote:
without the exit I get this again:
Warning: Cannot modify header information - headers already sent by
(output started at /home/allrail/public_html/header.php:40) in /home/
allrail/public_html/header.php on line 39
as well as this:
Fatal error: Cannot redeclare maketr() (previously declared in /home/
allrail/public_html/templates/menu.php.html:24) in /home/allrail/...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|