(PHP4) In your php.ini file: output_buffering = On
Now you can send header calls and session calls whenever you want. Also,
take a look at: http://www.php.net/manual/en/ref.outcontrol.php
Ethan
- Original Message -
From: "Alexander Wagner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sen
On Mon, 18 Jun 2001, Todd A. Jacobs wrote:
> $sql = "INSERT INTO question VALUES (NULL, $user_idx, $objective,
> '$question', '$question_type', NULL, NULL)";
>
> $result = mysql_db_query('item_db', $sql_query, $connection_id);
Thanks to all who answered. It was a simple mistake, bu
Hey Guys,
Anyone have any good starting points for delivering charts on the web?
Thanks a bunch.
Karl J. Stubsjoen
www.iexcelinlife.com
[EMAIL PROTECTED]
Phone: 602.447
replace $result = mysql_db_query('item_db', $sql_query, $connection_id);
with $result = mysql_db_query('item_db', $sql, $connection_id); or just
mysql_query($sql);
- Original Message -
From: "Todd A. Jacobs" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Monday, June 18,
I meant to say Header("Content-type: image/gif");
- Original Message -
From: "Steve" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 18, 2001 3:56 PM
Subject: [PHP] image retrival from db?
> Anyone have a pointer to a script or documentation on how to retrieve an
> image
You need to set the content type. eg: echo "Content-type: image/gif"; echo
$row[image];
Ethan
- Original Message -
From: "Steve" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 18, 2001 3:56 PM
Subject: [PHP] image retrival from db?
> Anyone have a pointer to a script o
Todd,
Did you echo $sql and examine it?
Did you try the statement at the mysql console?
Does the list of values exactly match the field list?
Did you try the alternate syntax
INSERT [LOW_PRIORITY | DELAYED] [IGNORE]
[INTO] tbl_name
SET col_name=expression, col_name=expression, ...
as in the
What the true advantage of using templates and where
can I get info on using them?
__
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/
I would like to port some Mysql code I have over to a PHP module.
To make things clean, I'd like the exported functions from my new module
to accept MySQL-Link resources as in:
$mysql_conn = mysql_connect( );
my_custom_module_func( $mysql_conn );
>From my reading of ext/mysql/php_mysql.c
Try the following,
INSERT INTO questions(user_id,objective,question,question_type)
VALUES('$uawr_idx', '$objective', '$question', '$question_type')
Define the rows you want to insert into.
Hope this helps!
Regards,
Ray
- Original Message -
From: "Todd A. Jacobs" <[EMAIL PROTECTED]>
To:
On Tue, 19 Jun 2001 08:41, Todd A. Jacobs wrote:
> PHP: 4.0.4pl1
> MySQL: 3.23.36-1
>
> I have the following code fragment, which uses the same connection
> parameters elsewhere to *successfully* to retrieve data from a
> database, so this doesn't appear to be a permissions problem with
> MySQL.
>
Hello,
First let me say its good to have this list back up and running - and now
time for the questions to keep rolling in.
I've got an email form setup on a site (well actually many of them) to
collect basic information from people which will eventually be entered into
our local database and
So sprach Clayton Dukes am Mon, Jun 18, 2001 at 05:38:26PM -0400:
> Why not just set your filter to look for [EMAIL PROTECTED] in the to
> or cc line?
Because not all filters support that, and it makes reading mails eg. via
webmail interfaces easier?
Alexander Skwar
--
How to quote: http://le
Only a small little problem.. you called your sql query $sql and then in
your mysql_db_query line called it $sql_query..call them both the same name
and it should work!
HTH,Tom
- Original Message -
From: "Todd A. Jacobs" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Tues
Hi all,
I have three tables in my (mysql) database:
videos - ID, title, description, etc..
links - ID, videoID, actorID
actors - ID, name, dateofbirth, gender, etc...
what i need to do is return a particular video and all it's staring actors
with just one query returning just one row, ie. with
Hi guys!
I have a login in my site, some pictures and links are differents depending
on being logged or not!
I thought of using sessions in the whole site, but the disadvantage is that,
we can never go back in a the previous page, when using sessions.
i thought of using a hidden input in each pa
I have a form with approximately 40 input fields. When a form is posted it
sends an email and then builds a tab delimited $txt entry for a text file on
the server.
The problem is that if a checkbox is not checked, when it's not required, I
don't get a blank entry in my tab file for the checkbox i
Dear All;
Hi, this I imagine should be an easy question for some of the ex[perts out
there so please help. I have install PHP 4.0.5 on a WIndows 2000 Server SP2
with IIS CGI; and am using the php.exe. When I try and access a page
generated using php say like http://domain.com/page.php I get the W
I have a Server Running Apache 1.3.14 and it has PHP4 running
as a module. For our customers we require that they use .cgi
for all of their scripts and so if a user wants to run a php4
script on our server they use www.blah.com/myphpfile.cgi with
of course the first line being #!/usr/local/bin/ph
"Richard Kurth" <[EMAIL PROTECTED]> wrote:
> How can I add a variable to an e-mail on the fly. Say I have a form on
> my page that the user fells in with data. but when he fills in the
> message things like Hello,$Variable are added before it is sent. Does
> this make sence
If you're using the ma
Hoo-boy. It's been a long drought. I just checked my mail and "PHP" was
BOLD. YAY!! THE LIST'S BACK UP!!
Wonderful!
More seriously ...
Can we get a report on what happened?
If this happens in the future, is there some way of putting an alternative
in place quickly? For example, could phpbuil
This should work and print out the contents of the test string
using EITHER version of the test string.
BUT, it only works when the string is one piece, and hasn't been
concatenated from other strings, at least with the contents of the
string I'm using.
Please email and let me know your vers
PHP: 4.0.4pl1
MySQL: 3.23.36-1
I have the following code fragment, which uses the same connection
parameters elsewhere to *successfully* to retrieve data from a database,
so this doesn't appear to be a permissions problem with MySQL.
However, nothing happens with inserts; no rows are added at al
Anyone have a pointer to a script or documentation on how to retrieve an
image that is stored in a database?
I can insert the image, but unable to display the image once retieved, i
apparently am missing something.
Thanks
Steve
Hiho,
Richard Kurth wrote:
> How can I add a variable to an e-mail on the fly. Say I have a form on
> my page that the user fells in with data. but when he fills in the
> message things like Hello,$Variable are added before it is sent. Does
> this make sence
Of course it does.
However, variables
Hiho,
Merio, Quinn wrote:
> So, during the time the lists were down, i was banging my head over a
> seemingly impossible error message.
>
> Warning: Cannot send session cache limiter - headers already sent
>
> What?! I exlaimed.. the first line in my page registered the session
> variable i was u
I second that motion :^)
-Mark
On Mon, 18 Jun 2001 03:40:46 -0400 (EDT) John Donagher <[EMAIL PROTECTED]> wrote:
>
>Any chance we can get the [LISTNAME] subject prefixing so all my filters
>don't break? :)
>
>John
>
>On Mon, 18 Jun 2001, Rasmus Lerdorf wrote:
>
>> We have re-enabl
So, during the time the lists were down, i was banging my head over a
seemingly impossible error message.
This was the error message:
Warning: Cannot send session cache limiter - headers already sent
What?! I exlaimed.. the first line in my page registered the session
variable i was using, so
Fair enough, I'll give you that :-)
-=]-Original Message-
-=]From: Alexander Skwar [mailto:[EMAIL PROTECTED]]
-=]Sent: Monday, June 18, 2001 6:01 PM
-=]To: Clayton Dukes
-=]Cc: bard; John Donagher; [EMAIL PROTECTED]
-=]Subject: Re: [PHP] Re: Lists are back up
-=]
-=]
-=]So sprach Clayto
As I read the sniping remarks coming from MS about open source software,
I find it necessary to say thank you to the developers of PHP and the
incredible support I have received on these PHP forums. And they say
open source applications are dangerous to companies (and MS has been
using open sourc
How can I add a variable to an e-mail on the fly. Say I have a form on
my page that the user fells in with data. but when he fills in the
message things like Hello,$Variable are added before it is sent. Does
this make sence
Best regards,
Richard
mailto:[EMAIL PROTECTED]
Title: help on mail and proxy
I developed a small system in php on a linux (redhat 7.0)
box with mysql and php 4.0, which is meant, among other things, to
send e-mails to certain people whenever a new record is added to one
of the tables.
When the computer was connected to internet throw my off
Hi,
I posted this on phpbuilders forum last week and didn't get a peep, so please let me
know if more info or clarification would help This involves exec parsing and the
foreach function in PHP4.
I'm encountering a problem with the parsing of an exec string within a foreach loop
(itself
I have a script that authorizes the user and sets a cookie but when I
run the script it takes the username and password sets the
cookie. Verifies the cookie is set and then runs the rest of the code
on the page. except it does not pass on the user name. I have to do a
manual refresh to get it to p
yeah, the 5000 emails in my inbox monthly ;)
thanks for fixing it Rasmuss :)
- Kees
> -Original Message-
> From: Jochen Kaechelin [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 18, 2001 10:14 PM
> To: PHP General
> Subject: [PHP] back again!!!
>
>
> great - something is missing withou
Why not just set your filter to look for [EMAIL PROTECTED] in the to
or cc line?
Clayton Dukes
MicroMuse, Inc.
CIC Product Engineer
CCNA, CCDA, CCDP, CCNP
(c) 904-631-4131
(o) 904-880-5996
-=]-Original Message-
-=]From: bard [mailto:[EMAIL PROTECTED]]
-=]Sent: Monday, June 18, 2001 6:00
ditto that.
On Mon, 18 Jun 2001, John Donagher wrote:
>
> Any chance we can get the [LISTNAME] subject prefixing so all my filters
> don't break? :)
>
> John
>
> On Mon, 18 Jun 2001, Rasmus Lerdorf wrote:
>
> > We have re-enabled the PHP mailing lists. They are now running from a
> > tempora
Let's Go!
m
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 19, 2001 4:15 AM
To: [EMAIL PROTECTED]
Subject: Lists are back up
We have re-enabled the PHP mailing lists. They are now running from a
temporary machine sitting on the floor of my
Quoting ckieninger ([EMAIL PROTECTED]):
> thanks
>
can you renable the gtk-php mailing list.
Thanks,
Julia
--
[ Julia Anne Case ] [Ships are safe inside the harbor, ]
[Programmer at large] [ but is that what ships are really for.]
[ Admining Linux ] [ T
On Mon, Jun 18, 2001 at 12:15:23PM -0700, Rasmus Lerdorf wrote:
> We have re-enabled the PHP mailing lists. They are now running from a
> temporary machine sitting on the floor of my spare bedroom. A more
> permanent home is in the works.
This was the best mail I have read since weeks. I have b
>
>If we didn't have Microsoft, we'd have to blame ourselves for all of our
>programs crashing
Most of my systems don't even HAVE a reset button.
:)
--
Dave's Engineering Page: http://www.dvanhorn.org
I would have a link to http://www.findu.com/cgi-bin/find.cgi?KC6ETE-9 here
in my signature
Hello,
Thank you for giving attention to this message.
The work is connected with processing and sending of electronic mail.
You can make up your own flexible schedule (we offer full-time and part-time job).
You can work at any time, which is convenient for you, at home or at office.
For
scott [gts] wrote:
> most email programs will allow you to filter
> by email address also. works great for me.
Yeah.
If Return-Path contains "php-general-return"
as a filter-rule works great.
regards
Wagner
--
Little Boy: "Mr. President, how did you become a war hero?"
President Kennedy: "I
great - something is missing without this mailing list!
--
phpArbeitsgruppe in Gruendung - Jochen Kaechelin
Stuttgarter Str.3, D-73033 Goeppingen
Tel. 07161-92 95 94, Fax 07161-92 95 98
http://www.php-arbeitsgruppe.de, mailto:[EMAIL PROTECTED]
At 12:15 PM 6/18/2001 -0700, Rasmus Lerdorf wrote:
>We have re-enabled the PHP mailing lists. They are now running from a
>temporary machine sitting on the floor of my spare bedroom. A more
>permanent home is in the works.
>
>-Rasmus
Does this also refer to the news server?
John Meyer
[EMAIL
thanks
mailto:[EMAIL PROTECTED]
http://www.packdata.net
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Montag, 18. Juni 2001 21:15
To: [EMAIL PROTECTED]
Subject: Lists are back up
We have re-enabled the PHP mailing lists. They are now running from a
temporar
most email programs will allow you to filter
by email address also. works great for me.
> -Original Message-
> From: Chad Day [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 18, 2001 4:05 PM
> To: John Donagher; Rasmus Lerdorf
> Cc: [EMAIL PROTECTED]
> Subject: [PHP] RE: Lists are back
I have a problem with the PDFLib library under PHP. The following script
should print two texts, one is "Times Roman outlined" the other "Ti mes Rom
an out lin ed". They are using different functions to do so.
Only the first text is displayed in my PDF document (which, besides that, is
shown nice
Any chance we can get the [LISTNAME] subject prefixing so all my filters
don't break? :)
John
On Mon, 18 Jun 2001, Rasmus Lerdorf wrote:
> We have re-enabled the PHP mailing lists. They are now running from a
> temporary machine sitting on the floor of my spare bedroom. A more
> permanent ho
Thank You.
Data Driven Design
P.O. Box 1084
Holly Hill, Florida 32125-1084
http://www.datadrivendesign.com
http://www.rossidesigns.net
- Original Message -
From: Rasmus Lerdorf <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 18, 2001 3:15 PM
Subject: Lists are back up
>
Title: Re: PHP version?
On 6/15/2001 5:29 AM this was written:
I wonder if you can help. One of our servers has migrated to php V 4.05 from V 4.04. Unfortunately part of the site that accesses a MySQL database no longer functions. I have checked pretty much everything and it seems OK. Is the
Hi Guys,
I wonder if you can help. One of our servers
has migrated to php V 4.05 from V 4.04. Unfortunately part of the site
that accesses a MySQL database no longer functions. I have checked pretty
much everything and it seems OK. Is there any changes in the version which could
be caus
On 6/18/2001 3:15 PM this was written:
> We have re-enabled the PHP mailing lists. They are now running from a
> temporary machine sitting on the floor of my spare bedroom. A more
> permanent home is in the works.
LOL, ya hoo!!
--
Thomas Deliduka
IT Manager
-
New
php-general Digest 18 Jun 2001 19:14:40 - Issue 706
Topics (messages 54239 through 54256):
Compiler advice please!
54239 by: Gerry
ereg function
54240 by: Jay Paulson
54252 by: CC Zona
Re: [PHP-DEV] Fork() in php? (äâà óäàðà - 8 äûðîê?)
54241 by: ~~~i LeoNi
We have re-enabled the PHP mailing lists. They are now running from a
temporary machine sitting on the floor of my spare bedroom. A more
permanent home is in the works.
-Rasmus
55 matches
Mail list logo