177 Topics

Member Avatar for
Member Avatar for Clanstrom

Hi guys. It's been a third day now, I am having problems with header. I have many included files which output echo before the header, so since I can't output them after the header, I used ob_start(); and ob_flush(); but still I am getting header problems. If you wanted to …

Member Avatar for diafol
0
148
Member Avatar for Secone

I've got the following program, a header file, .cpp file, and p2.cpp, and it does not run correctly. It works when typing in a text document, but after that, it does not read the file how I want it to. I used the cout statements in main of p2.cpp to …

Member Avatar for dx9_programmer
0
263
Member Avatar for xxhaissamxx

hi i'm new to php and i have problem with header i try to redirect to home page but when i use header nothing happend i tried it in anther page and work but i don't know why it don't work here <?php session_start(); ?> <?php ob_start();?> <form action="index.php" method="POST"> …

Member Avatar for xxhaissamxx
0
151
Member Avatar for peter20

Hi , I would like to make a header in a site joining images but I would like the transition from one to another to be smooth ... How can I do this ?? Is there online header generator uploading images.. ============= And finally I search a free template for …

Member Avatar for brylle
0
177
Member Avatar for mgn2683

I am having an issue with the actual height of the main site navigation. It is not up against the main header image as it should be. The url to view the problem is: [Click Here](http://psychhealth.net/) I would greatly appreciate any help looking into this, thanks!

Member Avatar for JorgeM
0
113
Member Avatar for joshl_1995

Hello, I want to combine all my database table in to one line so i can put it all in the url e.g. Name | Times __________________________ test1 | 1 __________________________ test2 | 2 __________________________ This is how i want it to look in the url (Result.php?loggedin=true&links=test1-1_newline_test2-2)(_newline_ means that will …

Member Avatar for jstfsklh211
0
279
Member Avatar for mir.jde

Hello there... i watch the Php Academy tutorial of contact forum the thing happening is when i create it in single file it work. **BUT** When I include it in a file it echo errors Cannot modify header information - headers already sent by (output started at /home/iconspor/public_html/contact.php:11) in /home/iconspor/public_html/contact.php …

Member Avatar for almostbob
0
270
Member Avatar for viktor.jiracek.5

Hello all, I am having problems with this code. Whenever I attempt to test the login system with a valid username and password, it says this: You have successfully logged in! Warning: Cannot modify header information - headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/ucairwebsite/facultykadrmas/kadrmaspages/login_1/login_LDDB.php:1) in /Applications/XAMPP/xamppfiles/htdocs/ucairwebsite/facultykadrmas/kadrmaspages/login_1/login_LDDB.php on line 213 …

Member Avatar for puneet bassi
0
271
Member Avatar for marreameathue

help i'm rather new at this but have some understanding but am having some probs with 1>c:\users\kysinden\documents\visual studio 2008\projects\real\real\test.cpp(8) : error C2144: syntax error : 'int' should be preceded by ';' 1>c:\users\kysinden\documents\visual studio 2008\projects\real\real\test.cpp(9) : error C2447: '{' : missing function header (old-style formal list?) i am makeing an number …

Member Avatar for phorce
0
371
Member Avatar for naresh.giri.146

<?php session_start(); include "conn.php"; if (isset($_POST['submit']) && $_POST['billno']!='' ) { $bill = $_POST['billno']; $query = mysql_query("SELECT bill_no, tag_no FROM tbl_cargo_details WHERE bill_no='$bill' or tag_no ='$bill'") or die(mysql_error()); while ($row = mysql_fetch_assoc($query)) { if($bill == $row['bill_no'] || $bill == $row['tag_no']) { header("location:true.php?bill=$bill"); } else { header("location:false.php?bill=$bill"); } } else { ?> …

Member Avatar for Biiim
0
347
Member Avatar for patocardo

For security reasons, several articles recommend "do not cache pages". So I usually put the following at the beginning of my web pages header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); That works very …

Member Avatar for jmichae3
0
201
Member Avatar for edhardt

Hello all, I have a simple html/css based drop down menu. It works fine in Chrome, however it doesn't work at all in IE 8. Does anyone have a fix for this? The link to the site is: http://cecvp.net.s41035.gridserver.com/ Thanks for anyone who helps me out!

Member Avatar for drjohn
0
203
Member Avatar for DaveyMoyes

Hi everyone, I have a script running on my page that uploads a new image. I am getting the information from the mysql ok, by using if (isset($_POST['var'])) { Once the vailidation is complete, at the moment I am using header("Location: url.php"); to reload the page to display the new …

Member Avatar for dschuett
0
630
Member Avatar for jonow

I am trying to make a table scroll once it reaches the width of its parent element. In addition to this I want to make it so the `<caption>` does not scroll with the table (it stays fixed) and also the first column stays fixed. Does anyone know how to …

Member Avatar for dany12
0
117
Member Avatar for Tinier

Recently, I meet a problem that I need to insert header and footer in excel with C#, I use the following code: Worksheet sheet = workbook.Worksheets[0]; sheet.PageSetup.FullHeaderString = "E-iceblue"; sheet.PageSetup.IsPrintHeadings = true; sheet.Visibility = WorksheetVisibility.Visible; sheet.PageSetup.LeftFooter = "everlasting"; But when I launch it, the header and footer do not appear …

Member Avatar for Tinier
0
294
Member Avatar for zios007

Yes, I know that this is homework. But I need help. This is code the teacher gave us few days ago. This is a header file. And I needed to do the following: My problem is that I didn't know how to use my vecetor in my .cpp file. How …

Member Avatar for sergent
0
135
Member Avatar for joban.ali

Hi Guyz, Would like to thank you in advance for the help and support, The problem I am facing is I have a redirection script which opens the page within an iframe rather than displaying the whole page. [CODE]header("Location: http://www.domain.com/registration.php?par=$parcel&err=$error_msg&succ=$success_msg");[/CODE] I have a simple login form within an iframe when …

Member Avatar for diafol
0
860
Member Avatar for observ

Hi, I have an issue, with not being able to set the the correct header here is the operation from the WSDL: [CODE]- <wsdl:operation name="findRegistrationByID" parameterOrder="registrationID"> <wsdl:input message="impl:findRegistrationByIDRequest" name="findRegistrationByIDRequest" /> <wsdl:output message="impl:findRegistrationByIDResponse" name="findRegistrationByIDResponse" /> </wsdl:operation>[/CODE] This is also from WSDL: [CODE]- <wsdl:operation name="findRegistrationByID"> <wsdlsoap:operation soapAction="urn://url/findRegistrationByID" /> - <wsdl:input name="findRegistrationByIDRequest"> <wsdlsoap:body …

Member Avatar for observ
0
1K
Member Avatar for Quicxic

Hello, I have a problem with a header I'm trying to make. In Main.cpp, I have this function to store the combinations of the elements of vector S: [CODE=c++]template <class T> vector<vector<T> > combinations(vector<T> S, ll k) { vector<vector<ll> > combs = ncombinations(S.size(), k); vector<vector<T> > setcomb(combs.size(), vector<T>()); for(unsigned int …

Member Avatar for Quicxic
0
199
Member Avatar for Hoff123

The code can do the talking. main.cpp [CODE] #include "test.h" #include <iostream> #include <string> #define NL "\n" //"NL" = "New Line"(move the pointer to the next line) #define SL "\n\n" //"SL" = "Skip Line"(move the pointer 2 lines) int main() { Cool_Object.cool_function(); return 0; } [/CODE] test.h [CODE] #ifndef TEST_H …

Member Avatar for ItecKid
0
222
Member Avatar for nyancat

Hello, I want to add another receiver to this contact form, he has to be bcc, and not shown as receiver but still receiving the message from the contact form: [code] <?php if(isset($_POST['submit'])) { error_reporting(E_NOTICE); function valid_email($str) { return ( ! preg_match("/^([a-z0-9\+_\-]+)(\.[a-z0-9\+_\-]+)*@([a-z0-9\-]+\.)+[a-z]{2,6}$/ix", $str)) ? FALSE : TRUE; } if($_POST['name']!='' && …

Member Avatar for pritaeas
0
146
Member Avatar for DJSAN10

Any file's primary header contains some things which are common to all operating system like entry point function, time stamp etc and then other things. What is the purpose of keeping this time stamp in the header. Thanks

Member Avatar for DJSAN10
0
445
Member Avatar for jbutardo

Hi, I have this code that will import the excel sheet to the datatable then inserts it in the database, but I have this problem. I have set the HDR to yes so that the first row will be considered as its header, but the problem now is that if …

Member Avatar for jbutardo
0
939
Member Avatar for skran

Hi all! I use vb2010 and I try to filter a datagridview. I achieved to do this but not at the column of dgv like in excel.. I found information about datagriviewAutofilterColumnHeader library but i dont have this library and I dont know if it is ok fro vb2010. I …

0
104
Member Avatar for issaru07

hi everyone, i am new here and i also quite new to php. i know this issue is quite common, been spending hours try to troubleshoot for this issue earlier. i have to give up and decide to seek advice from you guys, thanks for your time. The problem actually …

Member Avatar for veedeoo
0
310
Member Avatar for nsyncpilu

Hy , I have a jTable , for printing it i`m using jTable.print(JTable.PrintMode.FIT_WIDTH). I have no problem with that. What i want to do is this (the table extends on 3 pages): On the first page the title should be "Bla bla bla" , and o the last page under …

Member Avatar for mKorbel
0
900
Member Avatar for Halogen1

Hi: I wasn't able to find the exact solution to my problem on Daniweb, although there are several posts regarding the game of life. This situation came the closest: [url]http://www.daniweb.com/software-development/cpp/threads/242338[/url] My situation is a bit different because I HAVE to use a combination of functions and a class in the …

Member Avatar for Halogen1
0
490
Member Avatar for sjsanjuan

Hi, I'm having a trouble with dynamic redirection. I've searched for everything and did $_GET and $_POST but still not working. The $id is not returning any results. Here's my code: include_once("includes/connection.php"); global $result; putenv("TZ=Asia/Manila"); $arrErrors = array(); $oid = isset($_GET['oid']) ? intval($_GET['oid']) : 0; $package_id = isset($_GET['package_id']) ? intval($_GET['package_id']) …

Member Avatar for diafol
0
345
Member Avatar for psandip

Hello everybody, While reading C++, I have been looking into iostream header file to understand a bit more about header file organization. I am not able to understand much of the code in there. For example the header starts with #ifndef _GLIBCXX_IOSTREAM. Does this check whether _GLIBCXX_IOSTREAM has been defined …

Member Avatar for Fbody
0
398
Member Avatar for dancks

I haven't coded something this complex in C++ before and I haven't had time to really review. I'm making a game (well, foundations for a game anyway), with an external game library, Allegro. But I think the problems I'm having is more fundamental to C++ in general. Included is a …

Member Avatar for dancks
0
292

The End.