php-general Digest 19 Sep 2009 20:50:59 -0000 Issue 6347
Topics (messages 298175 through 298180):
Re: PHP Header issue
298175 by: Angus Mann
Re: Does anyone here use TCPDF?
298176 by: Ralph Deffke
×©× × ××××!
298177 by: Nitsan Bin-Nun
298179 by: Dotan Cohen
298180 by: LuKreme
Re: how i assign a js variable to a php variable
298178 by: tedd
Administrivia:
To subscribe to the digest, e-mail:
[email protected]
To unsubscribe from the digest, e-mail:
[email protected]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
Your code does not make sense (to me anyway).
It flags an error because you are sending HTML before the header command. Don't
bother looking for whitespace etc...the <html><head><title> etc is more than
enough to produce this error.
Using "Location" redirects to another URL. It does not make sense to redirect
in the middle of a page.
I think instead of header, you meant to use "include" or "require" (same thing.)
Is your intention to "include" the file "advertise2.php" in the body section?
If so, get rid of the header line, and use this :
<?php include("..path..to../advertise2.php"); ?>
Good luck with it!
----- Original Message -----
From: Ernie Kemp
To: [email protected]
Sent: Saturday, September 19, 2009 2:39 AM
Subject: [PHP] PHP Header issue
<html>
<head>
<title>Contact Us</title>
</head>
<body>
<?php header("Location: advertise2.php"); ?>
</body>
</html>
The above is just snippet of the code but even this simple example throws the
Header Warning / Error.
Warning: Cannot modify header information - headers already sent by (output
started at /home/content/g/t/a /html/yourestate/advertise.php:6)
in/home/content/g/t/a /html/yourestate/advertise.php on line 6
The anwser may be simple but I have looked a blanks or spaces around the
<?php ?> with no success.
Ready need your help.
Thanks,
Ernie Kemp
Phone: 416 577 5565
Email: [email protected]
...man will occasionally stumble over the truth, but usually manages to pick
himself up, walk over or around it, and carry on.
Winston S. Churchill
--- End Message ---
--- Begin Message ---
have a look in the archive of this list. there is a topic "writing japanese
test in an excisting pdf" its of 31. of August, this should helph u
[email protected]
"Dave M G" <[email protected]> wrote in message
news:[email protected]...
> PHP List,
>
>
> I posted this question on the TCPDF forum on SourceForge, but it's
> getting no response. I'm not even sure how active their list is.
> http://sourceforge.net/projects/tcpdf/forums/forum/435311/topic/3400663
>
> So I'm hoping someone here might be able to help if they are using
> TCPDF. I just need to get the key details to get started, and then I can
> probably start to roll on my own.
>
> This is the question:
>
>
> Forgive me for what I would assume is a very obvious question, but I can
> not locate any clear instructions on what I want to do.
>
> Simply, I want to take an existing PDF and write text on top of it.
>
> The PDF is a single page, and it is a form that people fill out. What I
> need to do is fill out some of the fields in the form before sending it
> to the recipient.
>
> So I need to do two simple tasks. One is to load an existing PDF file.
> The second is to place short lines of text into specific locations on
> the page (A4 size).
>
> I know these two functions must be dead simple, and yet I am lost in the
> documentation.
>
> If someone could tell me the right function calls or point me to the
> right place so that I can RTFM on my own, I would be very grateful.
>
> Thank you for any advice.
>
> --
> Dave M G
>
>
--- End Message ---
--- Begin Message ---
[image: http://blog.tapuz.co.il/sleightofhand/images/765254_81.jpg]
*שנה טובה ומתוקה!!!!
ממני,
ניצן*
--- End Message ---
--- Begin Message ---
ניצן, תזהר לא לכלול את תפוצות הדואר כשאתה שולח דברים אלו. תודה.
שנה טובה!
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
--- End Message ---
--- Begin Message ---
On Sep 19, 2009, at 10:09, Dotan Cohen <[email protected]> wrote:
ניצן, תזהר לא לכלול את תפוצות הדואר
כשאתה שולח דברים אלו. תודה.
שנה טובה!
I think this is an English language list.
--- End Message ---
--- Begin Message ---
At 2:16 AM +0700 9/18/09, saeed ahmed wrote:
hello guys,
i'm new here in this list. guys i need a help. i can't assign a js variable
value to a php variable. how can i do this?
saeed:
Considering that js is client-side and php is server-side, you need
to pass the value via a communication mechanism between the two. Your
choices are the standard GET/POST or ajax.
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--- End Message ---