I have a problem with a piece of code that uses the mail function in a for loop. It
sends out mail to all the users in the database but it has a problem with attaching
their specific name into the message. What happens is the first user in the database
will get their name in the e-mail (Dear
On Wed, 20 Mar 2002, David Johansen wrote:
> I was just wondering what was the best way to handle a multipage form. Would
> the best way be to keep passing the variables through the forms as hidden
> values or should I use sessions and store all the values as session
> variables? What's the best w
Try this:
If ($button != "")
{
$t = mysql_query("SELECT * from AddExisting");
$number_of_customers = mysql_num_rows($t);
for($i=0; $i<$number_of_customers;$i++)
{
$r = mysql_fetch_array($t);
Opps, last messages had the definition of $originalMessage in the wrong
place. Try this:
If ($button != "")
{
$t = mysql_query("SELECT * from AddExisting");
$number_of_customers = mysql_num_rows($t);
$originalMessage = $message;
for($i
Try including a in the cell
- Original Message -
From: "Vlad Kulchitski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 20, 2002 1:11 PM
Subject: [PHP] HTMLnetscape issue
Hi,
Sorry for repeating myself, but am lost and still can't find a solution
to
On Wed, 20 Mar 2002, Kris Vose wrote:
> I have a problem with a piece of code that uses the mail function in a
> for loop. It sends out mail to all the users in the database but it has
> a problem with attaching their specific name into the message. What
> happens is the first user in the databa
On Wed, 20 Mar 2002, ROBERT MCPEAK wrote:
> $sql = "UPDATE mytable SET
> img_url=$img_url,visitdate=$visitdate,img_group=$img_group,display=$display,
> caption=$caption where id = $id";
You need to surround non-numeric values with 'single quotes'.
$sql = "update mytable s
On Thursday 21 March 2002 03:53, chris allen wrote:
> Hello,
>
>
> I am looking for a standard way to compare to dates. I have a date/time
> stored in a field in a mysql table as
> date_added TIMESTAMP(14). (IE mmddhhmmss).
>
> I want to delete all records in this table if date_added is ol
I was wondering if there is a way to access CVS from a PHP script.
Obviously there's some way to do it, SourceForge does it. What I'm
wondering is how --
Somebody commits an XML file to CVS. Later, somebody else accesses the
PHP script. The PHP script "queries" CVS for the latest version o
Look for CHORA on the net. It is a PHP thing that somehow accesses a CVS
respository. I discovered it as part of phpGroupWare. It works well and
should serve as a decent guide.
On Wed, 20 Mar 2002, Erik Price wrote:
>-I was wondering if there is a way to access CVS from a PHP script.
>-Obv
We are trying to find a php code generator like Macromedia Ultradelv to
develope a web base app. Can someone recommend a few.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you can find a fairly decent PHP extension for ultra dev at the below link.
http://www.interakt.ro
> I need to take what is presented to the user (ie, the data less the
> HTML tags but maintaining the formatting) and turn it into a PDF
> file.
I found the solution with HTMLDoc (http://www.easysw.com/htmldoc/)
It was very easy to set up and use. I heartily recommend it for anyone
who has the s
Hello,
David Johansen wrote:
>
> I was just wondering what was the best way to handle a multipage form. Would
> the best way be to keep passing the variables through the forms as hidden
> values or should I use sessions and store all the values as session
> variables? What's the best way to hand
What I'm trying to do:
I have a log table called 'access'. When a user comes to my website there
IP is logged, along with there DNS name.
When they return with the same IP number the accessVIEW is updated +1 and
the last number is assigned to them.
Heres the Code:
Can anyone help me. This s
I am kind of confused by an error I am getting when trying to destroy a
session. Here is the error that I am receiving along with the code that is
causing the problem.
Warning: Cannot send session cache limiter - headers already sent (output
started at /home/www/wildwebtech/cumc/default.php:9) i
I find sessions to be the best solution in these situations. I like to
compile the problem into a single multi-dimensional array of pages and
form inputs such as..
$forms = array (
'contact' => array ($company, $name, $email, $addr, $phone),
'creditcard' => array ($full_name, $num, $type, $confi
There must be some whitespace in the script before the opening http://www.lightwood.net
> I am kind of confused by an error I am getting when trying to destroy a
> session. Here is the error that I am receiving along with the
> code that is
> causing the problem.
>
> Warning: Cannot send sess
I'd like to determine the selected option in a select list based on a
passed variable. The code below won't work, but I can't figure out why.
Any guesses?
echo "";
echo "";
echo "Display";
echo "Don't Display";
echo "";
echo "";
Thanks!
"on line 10"? Curious, you don't even have 10 lines there. Do you
have lines above the PHP tag mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 12:53 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Sessions
I am kind of confused by this error that I am receiving when I try to
logout
of a ses
Sorry bringing Netscape issue up again but I seem to have found
something...
Here's the issue, I am talking about image-background in table cell
... the problem is that one of the cells shows background, one
of them does... the index.html file attached...
This cells shows background:
This d
Whoops! Still won't work but that code should read:
echo "";
echo "";
echo "Display";
echo "Don't Display";
echo "";
echo "";
>>> ROBERT MCPEAK 03/20/02 04:20PM >>>
I'd like to determine the selected option in a select list based on a
pass
The contents of $display are a string so you must have quotes
aroud it in the comparison statement.
if ($display == 'false') // should work.
Alternatively you could do.
True
False
Now the contents of $display is an integer which will can be interpreted
as a boolean value (true or false). Th
Hello,
I read a ton of replies to this already, and there was a lot of good
advice.
However, it should be worth noting (and I don't think anyone did already)
that you have a misspelling in this code:
> $password = "";
> // . . .
> $query = "select * from medlemmer where bruker = '$bruk
Still doesn't work. What gives?
>>> "Kevin Stone" <[EMAIL PROTECTED]> 03/20/02 04:31PM >>>
The contents of $display are a string so you must have quotes
aroud it in the comparison statement.
if ($display == 'false') // should work.
Alternatively you could do.
True
False
Now the contents o
got it:
";
echo "";
echo "";
echo "Display";
echo "Don't
Hi All,
In appreciation of the fine contributions found on this list I thought I'd post
remarks about a new system I'm trying that shows some promise.
The system purpose is to enable a third party [an administrator] to check the software
version for a php driven software application [which yo
Could be a browser cache issue. Open just the image in the browser
(http://kulchitski.com/problem/images/bottomcell_bg.gif) and hit
Ctrl+Refresh. Go back to the page and see if it doesn't show up.
Attractive looking page by the way. :)
-Kevin
-Original Message-
From: Vlad Kulchitski
Jennifer,
The SMTP option in php.ini is for Windows only.
On other platforms you should specify a delivery program (sendmail).
If you still want to use an external server, there are classes available
that
send mail through an SMTP server without using mail().
bvr.
Jennifer wrote:
> sorry..
On Wednesday, March 20, 2002, at 04:23 PM, ROBERT MCPEAK wrote:
> Whoops! Still won't work but that code should read:
>
> echo "";
> echo "";
> echo " if ($display==true){echo "selected";}
> echo ">Display";
> echo " if ($display==false){echo
A number of problems. First and foremost you're extracting multiple
rows from the database table are you not? Therefore you must increment
through them in some way. I like to embed my mysql_fetch_xxx()
functions in a while() loop.
---
while ($row = m
At 20.03.2002 13:38, you wrote:
>STILL DOESN'T WORK :(
>
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: 20 ÂÅÒÅÚÎÑ 2002 Ò. 13:29
>To: [EMAIL PROTECTED]
>Subject: Re: [PHP] HTMLnetscape issue
>
>At 20.03.2002 13:11, you wrote:
> >
> >Hi,
> >
> >Sorry for re
Hello,
A release candidate for PHP 4.2.0 has just been packed. This build is used
for testing the readiness of the release branch. By providing feedback to
this build, we can make sure the actual release (planned for April,
22nd) has as few bugs as possible. This release candidate is NOT meant
If I enable safemode I get an error each time a function in the PHP
repository is used, something like:
access for the file with UID xxx is not allowed to
/usr/local/lib/php/PEAR.php with UID 0
It's clear why this happens but it doesn't make any sense to shut off
access to this directory. Obv
Where can we read a description of what is in this release?
TIA
Kirk
> A release candidate for PHP 4.2.0 has just been packed.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all!
I'd like to hear from a single one of you who isn't tired of code similar to
or else
How about a new asignment operator which would shut up all those Python
enthusiasts - let's say the new operator would be caret - and we could
replace the first example with
and the second exam
On Thu, Mar 21, 2002 at 12:36:26AM +0200, Bogdan Stancescu wrote:
> Hi all!
>
> I'd like to hear from a single one of you who isn't tired of code similar to
i'm solving this with some little knowledge of shortcuts evaluation ...
> if (!$whatever) {
>$whatever=something;
> }
> ?>
(($wh
http://www.php.net/manual/en/function.pack.php
The manual page describes format string "d" as:
d double (machine dependent size and representation).
Is there an easy way of forcing the binary to be representated
little endian even with hosts which are bi
Hello,
I also have been seeing file upload problems with version 4.1.2. It seems that the
(phpinfo()) default settings of:
upload_tmp_dir = no value no value
... are not in agreement with [online documentation] the anticipated temporary upload
folder named "/tmp".
$upload_tmp_dir = "/tmp
There seems to be a parse error in your code. The words "Python" and
"enthusiast" can not exist together in the same substr. This will
result in the "LMAO error" you've been receiving. :)
-Kevin
-Original Message-
From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, Marc
At 21.03.2002 00:36, you wrote:
>Hi all!
>
>I'd like to hear from a single one of you who isn't tired of code similar to
>
> if (!$whatever) {
>$whatever=something;
> }
>?>
>
>or else
>
> if ($whatever)
> {
>$somethingelse=$whatever;
> }
>?>
>
>How about a new asignment operator whic
That's fine. I already got it going (somebody helped me). Thanks for that
tip anyhow.
"Mike Gohlke" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Are you hitting enter while in one of the fields or clicking the submit
button. I've seen versions of IE that woul
At 20.03.2002 16:28, you wrote:
>
>Sorry bringing Netscape issue up again but I seem to have found
>something...
>And to illustrate the problem, here's the file:
>http://kulchitski.com/problem/
Hi Val,
for me it looks OK, no fault to see. (NS405,451,475)
I´d suggest, that you enclose your width
From: "Enrico Weigelt" <[EMAIL PROTECTED]>
> On Thu, Mar 21, 2002 at 12:36:26AM +0200, Bogdan Stancescu wrote:
>
> > Hi all!
> >
> > I'd like to hear from a single one of you who isn't tired of
code similar to
>
> i'm solving this with some little knowledge of shortcuts
evaluation ...
>
> > > i
Hey [EMAIL PROTECTED],
I am doing small simple voting script for my site..and i don't want to
refresh whole site how should i refresh only the form? i can't find
info anywhere... so i am trying over hare..i am new so i dunno what is
this cong about. and i am using DB for my voting poll
t
Hi,
I was sourgeforge.net looking at the PHP stuff, I saw something call phpfx,
but it not clear what it is or what it does. Has anyone mess with it?
Also I am looking for a php program that was written so that you can do a
BBS, I wanted to use Ultimate Bulletin Board, but they no longer support
Chuck \"PUP\" Payne wrote:
> Also I am looking for a php program that was written so that you can do a
> BBS, I wanted to use Ultimate Bulletin Board, but they no longer support the
> freeware verision, you have to pay almost $500 for it. The verision I have
> the date is not Y2K, so the dates co
On Wed, 20 Mar 2002, Ashley M. Kirchner wrote:
> Chuck \"PUP\" Payne wrote:
>
> > Also I am looking for a php program that was written so that you can do a
> > BBS, I wanted to use Ultimate Bulletin Board, but they no longer support the
> > freeware verision, you have to pay almost $500 for it.
Can anyone tell me why this isn't working? What its ment to do is add an IP number to
the database. if the IP is all ready in the database then it would update a counter.
Philip J. Newman
PhilipNZ :: Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
ICQ# 20482482
+64 25 6144012
Hi everyone!
I am so happy tonight because it worked!
All I had to do is to convert the image to JPEG and it worked!
I think it would be useful to know it in the future.
Have a good one,
Vlad
Kulchitski.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
Hi All
I have a rather interesting thought for a website I'm currently working on.
I imagine this is not
going to be possible, but here goes:
- Visitors can go to a page http://www.whatever.com, log in, and get a list
of files in their home
directory.
- They click a link for a document (for exa
On Thu, 21 Mar 2002 [EMAIL PROTECTED] wrote:
> It can be accomplished using HTTP PUT to a script which receives it and
> then copies it back to its relevant location (in the users home
> directory). However, the difficult part would be to cause Microsoft Word
> to trigger the upload whenever a use
You can also give YaBB SE a shot http://www.yabb.info
- Original Message -
From: "Chuck "PUP" Payne" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Wednesday, March 20, 2002 7:11 PM
Subject: [PHP] Phpfx, what is it?
> Hi,
>
> I was sourgeforge.net looking at the PHP st
You can also try FUDforum (http://fud.prohost.org/forum/)
Ilia
On March 20, 2002 07:11 pm, Chuck \"PUP\" Payne wrote:
> Hi,
>
> I was sourgeforge.net looking at the PHP stuff, I saw something call phpfx,
> but it not clear what it is or what it does. Has anyone mess with it?
>
> Also I am lookin
Hi All,
Is it possible to store/fetch blobs/clobs with the oracle (ORA not
OCI8) functions?
Cheers,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks I have four PHP "WebPortals" or what I use to calling BBS, but I
still don't have a clue about phpfx. Oh, well. Nor on a good site that shows
how to add color to my php code.
I am sorry that I am still usig I grew in the dark ages of 8-bit computers
when Atari 800 and Apple IIE where king
This may be the worst place to put this but here goes:
Does anyone know of a Perl NewsGroup?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anyone have a PHP project that you need more help on?
"David Duong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> The objective of this foundry is to develop scripts that will be usefull
to
> anyone.
>
> We will be producing scripts from scratch when w
Dont' know about phpfx, but there's www.phorum.org for a bulletin board
system...
On Wed, 20 Mar 2002, Chuck "PUP" Payne wrote:
> Hi,
>
> I was sourgeforge.net looking at the PHP stuff, I saw something call phpfx,
> but it not clear what it is or what it does. Has anyone mess with it?
>
> Also I
This is an HTML question and not a php question. The answer is yes.
--
Gaylen
PHP KISGB v4.0.2 Guest Book http://www.gaylenandmargie.com/phpwebsite/
"Balaji Ankem" <[EMAIL PROTECTED]> wrote in message
000201c1c98c$dd246980$[EMAIL PROTECTED]">news:000201c1c98c$dd246980$[EMAIL PROTECTED]...
> H
As noted before and on their website, it only works in IE.
--
Gaylen
PHP KISGB v4.0.2 Guest Book http://www.gaylenandmargie.com/phpwebsite/
"Qartis" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> If you want a popup window that lacks a border entirely, check
Actually, it sort of works for other browsers. It just isn't as cool the
window that is opened on netscape is just a normal bordered popup window,
with no toolbars.
- Original Message -
From: "Gaylen Fraley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 20, 2002 6
try using GET Method instead of POST.
It solves the problem, however, the parameters that you pass through will be
shown in the address bar. If someone know a way to avoid that page with
POST, please let me know too!
- Original Message -
From: "Gonzalez, Zara E" <[EMAIL PROTECTED]>
To:
A quick search on google told me this:
phpfx is a website with the goal of providing free and quality open
source php scripts
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Philip Hallstrom [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 20
Actually I have that working fine. I was just looking to add to the code a
confirmation box of some sort. either typing in YES or clicking a YES NO
BOX.
Thanks for your post.
**DAN**
Hi All,
I am having an issue where I can update an entry, then when I go back to
view the updates they do not show up. But if I go and look at the actual
database the update has been made. Even after refreshing and clearing the
cache, the entry still shows no change. Now he is something also r
In article <001001c1d070$76ef8dd0$0401a8c0@philip>,
[EMAIL PROTECTED] says...
> Can anyone tell me why this isn't working? What its ment to do is add an IP number
>to the database. if the IP is all ready in the database then it would update a
>counter.
>
>
>
> $proxy_ip=getenv('REMOTE_ADDR
Take a look at this PHP extension and see if it will help solve your
problem. It doesn't work on Windows yet though...
http://pwee.sourceforge.net
Lance
-Original Message-
From: Warrick Wilson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 2:49 PM
To: [EMAIL PROTECTED]
Sub
what about a common include file?
-Original Message-
From: Lance Lovette [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 4:00 PM
To: Warrick Wilson; [EMAIL PROTECTED]
Subject: RE: [PHP] Creating a global variable for all PHP pages?
Take a look at this PHP extension and see if
Hi
Try this:
$query = "select * from medlemmer where bruker = '$bruker' and passord
='$passord'";
$result = mssql_query( $query );
while($line = mssql_fetch_row($result)):
if( $line["bruker"] == $bruker && $line["password"] ==
$passord) echo "hei $bruker.";
else echo "FEIL";
end
Hi everybody,
I am having a problem with GET variables. Basically I have not
found a way to clear them so they are reset to "" if the user reload
the page.
Here is the speudo code:
>?php
session_start();
If ($Faction=="Add to Data")
{ Add_to_data(); }
...
..
The above speudo scrip
The short answer - efficiency. The FAQ has a more elaborate explanation.
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 12:14 AM
To: 'Lance Lovette'; Warrick Wilson; [EMAIL PROTECTED]
Subject: RE: [PHP] Creating a global variable for all P
Hi!
Is there any possibility to get PHP page viewer's ip address..
for example
$addr=some_function_that_returns_viewer's_address()
or something like that?
Thanks,
Maris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 21 Mar 2002, Maris Kalnins wrote:
> Is there any possibility to get PHP page viewer's ip address..
> for example
>
> $addr=some_function_that_returns_viewer's_address()
$REMOTE_ADDR
You might want to play with phpinfo() - it tells you a lot.
miguel
--
PHP General Mailing List (http:
Hello all
I have been scratching my head for the last two days about this regular
expression problem. I would be really VERY happy if someone could help me!
I have the following text in the file 'text.htm', for example:
--
Cow, Cow, Cow, Cow, Cow
Cow, Cow, Cow, Cow, Cow
Cow, Cow, Cow, Cow, C
preg_match_all();
Niklas
-Original Message-
From: Stefen Lars [mailto:[EMAIL PROTECTED]]
Sent: 21. maaliskuuta 2002 7:28
To: [EMAIL PROTECTED]
Subject: [PHP] Returning mutliple matches of a regex with preg_match()
Hello all
I have been scratching my head for the last two days about
use preg_match_all();
the var_dump($matches); to see what happened.
Best regards,
Andrey Hristov
- Original Message -
From: "Stefen Lars" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 21, 2002 7:27 AM
Subject: [PHP] Returning mutliple matches of a regex with preg_m
I was wondering if there was a way to do validation of the values in forms.
I know that I could just check it all after it's been submitted with a post,
but is there any way to do it as they're entering the data or when they
click the button right before it sends the data? Thanks,
Dave
--
PHP
On Thu, 21 Mar 2002, David Johansen wrote:
> I was wondering if there was a way to do validation of the values in forms.
> I know that I could just check it all after it's been submitted with a post,
> but is there any way to do it as they're entering the data or when they
> click the button right
Anyone know of a good apache group?
I want to hide the structure of a directory when there is no idex.html
present
J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
101 - 180 of 180 matches
Mail list logo