Hi Martin,
> I thought that if there's no "reply-to", then email clients will use the
> "from" as the reply to ??
yes, correct, but the "from" is the address of the original sender,
so when someone hit reply, the email will goes to the original sender
only, not to this mailing list.
--
Jimmy
~~
doesn't seem to work for multidimensional array.
$yourarray looks like this in my case
$yourarray[0] => array()
$yourarray[1] => array() //i'm looking for distinct
elemtns in the inner array
--- Bogdan Stancescu <[EMAIL PROTECTED]> wrote:
> $distincts=array();
> while (list($key,$val)=each($yo
Hi,
I've looked here:
http://download.php.net/manual/en/function.imagecolortransparent.p
hp
I've read this:
http://www.wdvl.com/Authoring/Languages/PHP/BeginningPHP4/tra
nsparent.html
But they lose me when they suddenly jump to PNG. I got their
code but it doesn't work for me. I have all the
Thanks for your reply...
I thought about making that join however in this case, the coach data is
only needed for the player info.
Jason.
-Original Message-
From: Mehmet Kamil ERISEN [mailto:[EMAIL PROTECTED]]
Sent: January 7, 2002 1:41 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Hi Jason,
I am not too familiar with IF statements in SQL, but one thing may be the reason you
see the incorrect results:
You have three tables, player, coach and co_bookmarks, but you only join player and
coach. Shouldn't you join coach with co_bookmarks.
I hope this helps.
erisen
SELECT
AFAIK, you need the ScriptAlias line in your httpd.conf
if you are running PHP as a CGI...
Safer to run it as an SAPI module if you can and remove
that ScriptAlias line.
-GED
> "LaserJetter"
> - Re: PHP Security Alert for Apache/Win32
> - Sun, 6 Jan 2002 20:16:39 -
>
> Can
Your code works perfectly as a .php file
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I am working on a program that allows users to "bookmark" a particular item
that they view. The bookmarks are stored in the database.
I would like to use an IF statement in the mysql query so when the user logs
in and views the items, the option to bookmark the record has been removed
if they hav
Since PHP lives on the server and is not interpreted by the browser, you
can't use PHP to script events. You'll need to use JavaScript.
Specifically, in this case, what you need to do is something like this:
The best thing that you can do in this situation is to have PHP generate
the JavaSc
> My problem is that I want to use events in my forms but I do not know how
to
> use php as a script for an event. Say I wanted to do something as simple
as
> (within a form): 'testing, testin 123';?>>
>
> Essentially, when a click this button in a form it prints out testing.
PHP is a server-s
My problem is that I want to use events in my forms but I do not know how to
use php as a script for an event. Say I wanted to do something as simple as
(within a form): >
Essentially, when a click this button in a form it prints out testing.
A more sophicisticated problem i had, was i wanted t
Is there any way, through PHP, to get the:
server uptime
processor type
number of cpu's
I'm trying to find a compatable solution for both win32 and *nix. Thanks!
--
Gaylen
[EMAIL PROTECTED]
Home http://www.gaylenandmargie.com/
PHP KISGB v3.02 Guest Book http://www.gaylenandmargie.com/phpwebsit
I thought that if there's no "reply-to", then email clients will use the
"from" as the reply to ??
-Original Message-
From: Jimmy [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 07, 2002 3:22 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] no reply-to header?
Hi All,
I just
Hi All,
I just realize there's no reply-to header in this mailing list.
No wonder I never receive my own email when I reply to any mail here.
Does it purposely set this way? Or is this a glitch?
--
Jimmy
Mistakes show us what we need to learn.
--
PHP General Maili
Thank you ,Jimmy .
-ÔʼÓʼþ-
·¢¼þÈË: Jimmy [mailto:[EMAIL PROTECTED]]
·¢ËÍʱ¼ä: 07 January, 2002 12:13
ÊÕ¼þÈË: [EMAIL PROTECTED]
Ö÷Ìâ: Re: [PHP] How to read/write form/into certain place in a text file
Hi Leon,
> For example,read form letter 5 to 10 in line 4 ,and after some procedu
Hi Leon,
> For example,read form letter 5 to 10 in line 4 ,and after some procedure
> ,write into the same place.
if the file is not too big, you can use file() function which will
return an array containing the content of the file per line.
combine this with substr() to read from specific colum
Thanks. That was it!
Gaylen
[EMAIL PROTECTED]
Home http://www.gaylenandmargie.com/
PHP KISGB v3.02 Guest Book http://www.gaylenandmargie.com/phpwebsite/
- Original Message -
From: "Jason Murray" <[EMAIL PROTECTED]>
To: "'Gaylen Fraley'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Su
> When you run phpinfo(), the first line of detail has the OS
> version. What variable produces this?
Thats the output from "uname -a" on the command line... at least,
under *nix it is...
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
When you run phpinfo(), the first line of detail has the OS version. What
variable produces this?
--
Gaylen
[EMAIL PROTECTED]
Home http://www.gaylenandmargie.com/
PHP KISGB v3.02 Guest Book http://www.gaylenandmargie.com/phpwebsite/
--
PHP General Mailing List (http://www.php.net/)
To unsub
Why would you want to use Javascript? Just have some code at the top of
each page which
-checks for the cookie
-if it doesn't exist
-identify customer, login page or however you choose
-set cookie
-update database
-if it does exist
-update the database with some information perti
Dear List,
I is always a good idea to check out the manual before asking questions.
The answer to Leon's question about files is in the manual as well as the answer to
this questions. I hope the following links help.
File Operations:
http://www.php.net/manual/en/ref.filesystem.php
Bcc can be f
Inadvertedly only sent to me...
Original Message
Subject: Re: [PHP] bcc
Date: Mon, 7 Jan 2002 11:46:07 +0800
From: Jimmy <[EMAIL PROTECTED]>
To: Bogdan Stancescu <[EMAIL PROTECTED]>
References:
<[EMAIL PROTECTED]><00b701c1972b$68cae5c0$[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
> I
Does anybody know
this?
Please give me
some advice,any help will be appreciated.
-ÔʼÓʼþ-·¢¼þÈË: Zhang, Leon (STHK/Zh)
[mailto:[EMAIL PROTECTED]]·¢ËÍʱ¼ä: 07 January, 2002
9:56ÊÕ¼þÈË: [EMAIL PROTECTED]Ö÷Ìâ: [PHP] How to
read/write form/into certain place in a text file
What do you mean? Supported in what way? (I take it you're referring to
the e-mail blind carbon copy feature).
Bogdan
"Deependra B. Tandukar" wrote:
> Greetings !
>
> Is Bcc supported in PHP?
>
> Looking forward to hearing from you.
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
php-general Digest 7 Jan 2002 03:33:33 - Issue 1096
Topics (messages 79610 through 79642):
Re: What can I use instead?
79610 by: Gerald Artman
Internal Server Error?
79611 by: GoodFella
79615 by: Kraa de Simon
... [PHP] Stupid question alert
79612 by: tim
Note: Please disregard this message as it was restated and resent recently.
"Richard Spangenberg" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Does anyone have experience using Javascript on remote pages to ca
Does anyone have experience using Javascript on remote pages to capture data
in a PHP MySQL database. I would like to build a customer profile database
for a customer using a permanent cookie on a site visitor's machine to ID
them and track their usage.
Any suggestions would be appreciated.
Mode
Greetings !
Is Bcc supported in PHP?
Looking forward to hearing from you.
Warm Regards,
DT
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECT
Hello, - for something a little different...
Does anyone have experience using Javascript on remote server html delivered
pages to capture data in a PHP MySQL database resident at my domain.
I would like to build a customer profile database for a customer using a
permanent cookie on a visitor's
On Sun, 2002-01-06 at 16:01, Tyler Longren wrote:
> I have checked the manual. A few times actually.
>
> I have setcookie("usename", "$username");
> Will that cookie never expire? Or will it expire at the end of the browsing
> session? I couldn't find any details on that in the manual.
>
> Ty
I have checked the manual. A few times actually.
I have setcookie("usename", "$username");
Will that cookie never expire? Or will it expire at the end of the browsing
session? I couldn't find any details on that in the manual.
Tyler
- Original Message -
From: "George Nicolae" <[EMAIL
Hi all,
I'm a newbie to PHP and mySQL and I'm currently running PHP+mySQL on my
Linux 2.2.16 kernel. Every time I try to connect to mySQL from a php page, I
get this error message:
ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mys
ql.sock' (111)
FYI: mysqld was
> Does anyone know, by the way, if there's a port of PostreSQL to Windows
> 2000? Or can I run it in Cygwin?
I've seen it in the package list for Cygwin, there may be a full port as
well, check Postgres' web site.
-Adam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
Hello,
James Arthur wrote:
>
> Hi
>
> I need a user to be able to enter submit HTML code (also perhaps containing
> PHP code) via a web form, which will then be entered into a database.
>
> The data is typed in to a textarea, which is then posted to my script. I
> notice that some special char
I've used a combination of addslashes() and stripslashes() along with
htmlspecialchars() to perform just that sort of thing, though I used MySQL
instead of PostreSQL.
Does anyone know, by the way, if there's a port of PostreSQL to Windows
2000? Or can I run it in Cygwin?
At 03:45 PM 1/6/200
hi,
A text file has
been formatted ,how to read/write form/into certain place in a text
file.
For example,read form letter 5
to 10 in line 4 ,and after some procedure ,write into the same
place.
Another question is that
if a user has opened the file to read and write ,what will happen
Hi
I need a user to be able to enter submit HTML code (also perhaps containing
PHP code) via a web form, which will then be entered into a database.
The data is typed in to a textarea, which is then posted to my script. I
notice that some special characters come out of this process escaped, bu
I tried playing with ScriptAlias settings, but i given up. I now use the the Apache
module instead of cgi.
To change over to the Apache module:
copy php4ts.dll to the windows/system(win9x/Me) or winnt/system32(winNT/2000/XP)
directory.
then inside httpd.conf:
LoadModule php4_module c:/php/sap
There may be a difference but even if it is, it's so small you shouldn't
consider it. Imagine how much it takes for a (generally) cached document to
be checked for " Newbie question:
>
> Is there any performance hit on a page with muliple PHP tags inserted
> throughout HTML, compared with trying t
You may check out IMP for a program. The functions you're looking for are
listed in the documentation under IMAP mail (it's a generic set of functions
for both IMAP and POP).
Bogdan
Jason Caldwell wrote:
> Is there a way I can * download * emails and save them to disk (as
> individual emails) w
Yoep wrote:
> I use this one too... its just 20$ or so though, and is a very great and
> convient editor. I do all my PHP coding in it.
ACK. phil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
Is there a way I can * download * emails and save them to disk (as
individual emails) with PHP? I know I can send (SMTP) -- but has anyone
written a PHP program that receives emails?
Thanks.
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
Austin,
Thanks for your input regarding the date(z) question. I did try
ceil(date(z)) but the output using 'z' is an integer. I just used date(z)+1
and moved on.
Thanks again,
Hugh
- Original Message -
From: Austin Gonyou <[EMAIL PROTECTED]>
To: Hugh Danaher <[EMAIL PROTECTED]>
Sent: Sat
Use IBMs DB2 Connect client and compile php --with-db2. I use the server and
the client on linux platforms and have never been so happy with database work
;).
I've alse used iODBC with the db2 libraries to talk to DB2 with no real
performance change.
- Casey
On Wednesday 02 January 2002 08:
Here's a compilation of some recent conclusions I've gotten from the same
discussion:
This is how I chose to set the variables:
// $username and $password are passed from a previous page's form.
$time = mktime()+1800;
$date = gmdate("D, d-M-Y H:i:s", ($time));
$password = md5 ($password);
head
This is probably not what you want but I found at
http://www.php.net/manual/en/install.configure.php something like that:
--with-ibm-db2[=DIR]
Include IBM DB2 support. DIR is the DB2 base install directory, defaults to
/home/db2inst1/sqllib.
Maybe you can make use of it, I don't run IBM DB2.
Ma
Can you not just delete the ScriptAlias line?
What does that line actually do apart from create an Alias?
LJ
"David" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Wow!, i tried it and it really works, this is serious man! is there a fix
around it without saf
You could use the following preg statement:
preg_match_all( "/(.*(?=<\/table>))/", $string, $output,
PREG_SET_ORDER );
This would put all matches of some code, text, whatever into
the $output array. however you would start to have problems when you come
across nested tables. You'd need somethi
man first of all look in the manual. there it is very clear...
http://www.php.net/manual/en/function.setcookie.php
--
Best regards,
George Nicolae
IT Manager
___
X-Playin - Professional Web Design
www.x-playin.f2s.com
"Tyler Longren" <[EMAIL PROTECTED]> wrote in message
0009
That means the sql is not correct and the mysql_query()(mysql at all) didn't succeded
to execute it
Check you sql statement.
Regards,
Andrey Hristov
- Original Message -
From: "Gurhan Ozen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 06, 2002 9:52 PM
Subject: [PHP
Newbie question:
Is there any performance hit on a page with muliple PHP tags inserted
throughout HTML, compared with trying to concatenate all of the PHP
scripting into one set of tags?
Thanks for any advice!
Marvin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
Hello,
I need to set a cookie to store a username, password, and passcode forever
(never expires). I don't really know how to use the setcookie() function.
Could someone show me the proper way to use the setcookie() function to do
this?
Thanks,
Tyler
--
PHP General Mailing List (http://www.p
This only works if PHP is installed as an Apache module on the Linux/UNIX
platforms.
>From the docs:
One additional note about PHP: if PHP is installed as an Apache module on
the Linux/UNIX platforms, there are additional global variables available to
your PHP script:
$PHP_AUTH_USER -- Authent
array_keys(array_count_values($foo));
--
Best regards,
George Nicolae
IT Manager
___
X-Playin - Professional Web Design
www.x-playin.f2s.com
"Kancha ." <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> An array contains various values eg: lis
The answer to your question is the relational model of databases.
So instead of one big table, you have to use 2. Say first table is employee and the
second - companies.
in the employee we have some fields and one of them is company_id,
this id corresponds to a single row in the companies table.
Thanks for everyone's comments. If I understand what you are saying it
should be possible to fill the content of a layer by issuing some sort of
server include command.. (?) So, for example, rather than have a something
that looks like this:
Hello,
Does anybody have any ideas why the code below is giving me internal server errors?
if (!isset($PHP_AUTH_USER)) {
header('WWW-Authenticate: Basic realm="XYZ Company Admin Area"');
header('HTTP/1.0 401 Unauthorized');
echo 'Authorization Required.';
exit;
} else if (isset($PHP_AUTH_U
On 1/6/02 10:15 AM, "Mark Evans" <[EMAIL PROTECTED]> wrote:
> I am writing a piece of code that uses contstant names that are dynamic.
Is this an oximoron?
Just a thought...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
php-general Digest 6 Jan 2002 15:32:57 - Issue 1095
Topics (messages 79592 through 79609):
To you know-it-all's out there...
79592 by: Torkil Johnsen
79593 by: Manuel Lemos
79603 by: nico_netcourrier
Re: regular expressions
79594 by: Michael Sims
795
Hi
I am writing a piece of code that uses contstant names that are dynamic.
My first solution was to use the
constant() function from within PHP.
My problem now is that the code needs to be compatible with PHP 3.018 and
early versions of PHP 4.
Can anyone offer a better way of doing things?
Try array_unique()
Regards,
Andrey Hristov
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
$distincts=array();
while (list($key,$val)=each($yourarray)
{
if (!in_array($val,$distincts))
{
$distincts[]=$val;
}
}
"Kancha ." wrote:
> An array contains various values eg: list of fruits.
> Now i want to retrieve only unique fruits from the
> array. The array may contain duplicate
Wow!, i tried it and it really works, this is serious man! is there a fix around it
without safe mode like GED suggested?
>Folks running Apache/Win32 should read this:
>
>http://www.securiteam.com/windowsntfocus/5ZP030U60U.html
>
>If you run in CGI mode you likely have a line similar to >the
> I don't know if this is actually it, but the line
> $num_vals[$i] = mysql_fetch_array($result);
> seems strange to me - doesn't mysql_fetch_array return an array?
> You should try
> list($num_vals[$i]) = mysql_fetch_array($result);
> and see if you get any improvements...
No, that was not it. I
An array contains various values eg: list of fruits.
Now i want to retrieve only unique fruits from the
array. The array may contain duplicate names. How can
i achieve this?
__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo
La page XML ne peut pas être affichée
Impossible d'afficher l'entrée XML en utilisant la feuille de style .
Corrigez l'erreur, puis cliquez sur le bouton Actualiser ou réessayez
ultérieurement.
Aucun espace blanc
Folks running Apache/Win32 should read this:
http://www.securiteam.com/windowsntfocus/5ZP030U60U.html
If you run in CGI mode you likely have a line similar to the
following in your httpd.conf:
ScriptAlias /php/ "C:\php\"
Also, if you run SAPI mode (apache plugin mode) and used
to run CGI, make
I'm using flock to manage the access of a file. I've noticed that php seems to
wait for the file to be freed up. Is there a ordered que that each request goes
into? And a timeout period, or does it just wait?
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMA
68 matches
Mail list logo