On Tue, July 12, 2005 5:03 am, Angelo Zanetti said:
> Is it possible to determine if a mail was sent successfully or not
> delivered using PHP? Obviously using PHP to send the emails.
> thanks in advance
No.
You can get the return code to see if YOUR mail software is even going to
try to send it.
LacaK wrote:
Thanks for reply,
In documentation is stated, than "zlib.output_compression" is
changeable at PHP_INI_ALL. If there is no possibility to change it in
script, why it is not PHP_INI_SYSTEM|PHP_INI_PERDIR ?
And at second :
When I set "zlib.output_compression=on" in php.ini, then I
Yes, I tried setting it to 1 and also "on" and 4096 /*buffer size*/, but
the same result.
phpinfo() says, that zlib.output_compression=on, but page is not compressed.
I have checked source code of php, but I am not able to find, why it
does not work ?
Can any one explain, why is possible set zl
Rasmus Lerdorf wrote:
Please search the archives for the complete and authoritative answer to
that. The short version is that munging the reply-to header is
technically incorrect and from a usability point of view it errors on
the side of exposing someone's potentially private email.
Oh I've
Hello
I'm looking for away to block login to my web site from different computers on
the same username,
In other word:
Only one person can be logged on to the web site with a username,
if anyone else tries to log on while the first person is still logged on he
will be blocked until the f
Yaron,
You could store a 'logged in/out' status flag in a db...then reference
it upon login, and use a chron job to tidy up any loose sessions every
so often.
raz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bruno B B Magalhães wrote:
That's my problem: I have a configuration files with the following
structure...
$vars['varname'] = 'varvalue';
If you trust the config file:
Jasper
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bruce Gilbert wrote:
Hello,
I am trying to add a PHP search to my site and the read me file says to:
2. In the server, create a database in MySQL to hold Sphider data.
a) at command prompt type (to log into MySQL):
mysql -u -p
Enter your password when prompted.
b) in MySQL, type:
CREATE DATA
Hi jeffrey,
On 7/13/05, Jeffrey <[EMAIL PROTECTED]> wrote:
> Is it worth encrypting data on the database tables when anyone who can
> access the application itself - or better still the server - could
> readily access the encrypted data? Assuming SSL connections, secure
> server, etc, would you a
Hi
I am developing web application using php html javascript and postgresql.
I designed my web page using html frames. 1 head frame,2 centres frame,3
side frame. My problem is I have placed logout option in head frame. While
user has loged in their session will be registered.
Since i have placed
On 7/13/05, Richard Lynch <[EMAIL PROTECTED]> wrote:
> I think you need to call session_name() *BEFORE* session_start() but I
> could be wrong about that...
totally right! in the php manual,
"The session name is reset to the default value stored in session.name
at request startup time. Thus, you
In looking at my Apache (2.0.52) error log normal errors have a timestamp
(see below):
[Wed Jul 13 05:36:07 2005] [error] [client 192.168.123.1] File does not
exist: /var/www/thenewagesite/test.html
However PHP generated errors to the Apache error log do not give a
timestamp:
[client 217
Hi Suma,
On 7/11/05, suma parakala <[EMAIL PROTECTED]> wrote:
> Since i have placed logout in head frame its being logged out from head
> frame only. How i can log out from all three frames. anyone please help me
> Thanks
Redirect the user to another page, which loads in the main window (not
in a
Well after a bit of tweaking of my script I realized it was not the code
that was causing the problem. It was a php.ini setting, I run a few
virtual hosts on my webserver and it turned out to be the
session.referer_check was set to 0, modify this to equal
session.referer_check = and it worked fine
Yaron,
The Lampshade framework handles this for you. Any given user for an
application can only log in from one place at a time; otherwise they'll
be signed out from all of their other sessions.
If you're interested, take a look:
http://www.thinkcomputer.com/software/lampshade/free.html
Aar
Richard Lynch wrote:
On Tue, July 12, 2005 1:30 pm, timothy johnson said:
I am trying to use a font on my webpage that I have on my system only
after a friend sent it to me. But its a neat little font that I want
to use in a couple place on my site, like some of the headers. So I
have two optio
Hi ,
i have a set of queries which i have placed them in one .sql file.i want to run
this file using php's mssql and oracle(oci) functions.
any idea pls.
thanks.
babu
-
How much free photo storage do you get? Store your holiday snaps for FREE
Can you use mysqli_multi_query for mysql in php5?
hth
-Original Message-
From: babu [mailto:[EMAIL PROTECTED]
Sent: 13 July 2005 16:39
To: php-general@lists.php.net
Subject: [PHP] How to run .sql files using php
Hi ,
i have a set of queries which i have placed them in one .sql file.i
I think it's better to split the SQL into pieces
line 1: create table
line 2: insert into .
$sql = 'create table'
$sql = 'insert into ...'
2005/7/13, Shaw, Chris - Accenture <[EMAIL PROTECTED]>:
>
>
> Can you use mysqli_multi_query for mysql in php5?
>
> hth
>
> -Original
Ok, I thought I had installed PHP correctly on my Win2003 server, using
ISAPI. I added the extension, and mapped it to the php4isapi.dll file,
added a path to my /php folder in Win2003, edited my php.ini file which
I copied to my /windows/system32 folder.
In IIS, I made sure that the application
Hello Steve,
Wednesday, July 13, 2005, 5:11:58 PM, you wrote:
GSII> Ok, I thought I had installed PHP correctly on my Win2003 server, using
GSII> ISAPI. I added the extension, and mapped it to the php4isapi.dll file,
GSII> added a path to my /php folder in Win2003, edited my php.ini file which
G
Hi:
1. did you copy php4isap.dll to /php folder?
2. in local disk?
2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>:
>
> Ok, I thought I had installed PHP correctly on my Win2003 server, using
> ISAPI. I added the extension, and mapped it to the php4isapi.dll file,
> added a path to my /p
Hello all,
As I am trying to take my PHP code in a more enterprise direction with
strict model/logic/view layers, I have been working with DAOs and the
matching VOs.
So I am running into a problem that I could really use some direction on:
DAO/VO works great with single tables, but I tend to m
Yes, the dll file is on the server, in the /php directory
Steve
-Original Message-
From: glumtail [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 10:18 AM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - why???!!
Hi:
1. did you copy php4isap.dll to /php folder?
2.
Regular .htm files work just fine. Its kinda strange..
-Original Message-
From: Richard Davey [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 10:18 AM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - why???!!
Hello Steve,
Wednesday, July 13, 2005, 5:11:58 PM,
I'd like to generate a list of time zones (EST, CDT, whatever) for a popup.
Seems like it should be easy...
This is so the Sales guy can just plug in the time and zone of who he's
gotta call back, and I stuff that in the database, and he gets a morning
report of who to call.
$z\n";
}
?>
What
Hello Steve,
is the ISAPI loaded success?
what's your PHP version? Version 4.x works fine.
2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>:
>
> Regular .htm files work just fine. Its kinda strange..
>
> -Original Message-
> From: Richard Davey [mailto:[EMAIL PROTECTED]
> Sent
I guess I'm not sure how to tell if its loading correctly. Can you tell
me how to confirm that it is?
I'm using PHP 4.x as well.
Steve
-Original Message-
From: glumtail [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 11:00 AM
To: php-general@lists.php.net
Subject: Re: [PHP] 4
On 7/13/05, Richard Lynch <[EMAIL PROTECTED]> wrote:
> I'd like to generate a list of time zones (EST, CDT, whatever) for a popup.
>
> Seems like it should be easy...
>
> This is so the Sales guy can just plug in the time and zone of who he's
> gotta call back, and I stuff that in the database, a
Jed R. Brubaker wrote:
> So I am running into a problem that I could really use some direction
> on: DAO/VO works great with single tables, but I tend to make my
> database work for its existance, and joins ar eeverywhere. What I
> don't understand is how to approach DAO/VO when table joins are
> i
Hello Steve,
Administrator tools -> Internet Services Manager -> Default Web Site ->
ISAPI
2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>:
>
> I guess I'm not sure how to tell if its loading correctly. Can you tell
> me how to confirm that it is?
>
> I'm using PHP 4.x as well.
>
Ohthat!! :)
-Original Message-
From: glumtail [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 11:10 AM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - why???!!
Hello Steve,
Administrator tools -> Internet Services Manager -> Default Web Site ->
ISAPI
20
Hello,
I have a list of mails taken from my old host in cPanel
Now i want read this messages, and they are in text plain.
Wath i can do ?
I submit each message to me BD MySQL, but when i do this:[PHPNET]SELECT
* FROM mails WHERE...[/PHPNET] And
after[PHPNET]imap_fetchstructure($mail);[PHPNET]Th
Ok, I don't think it is loaded. I manually added it, restarted w3svc,
and the status still shows as *unknown*
-Original Message-
From: glumtail [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 11:10 AM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - why???!!
Hell
Ok, now it appears the ISAPI is loaded, I get the green up arrow, but
the priority always shows as 'unknown'.
Still get the 404 errors when trying to view .php pages
Steve
-Original Message-
From: glumtail [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 11:10 AM
To: php-genera
Hello,
it seems that your ISAPI is ok.
1. with full permission? e.g: execute,write and so on...
2. how about asp file?
2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>:
>
> Ok, now it appears the ISAPI is loaded, I get the green up arrow, but
> the priority always shows as 'unknown'.
>
>
OK, you lost me, execute/write on which file?
I don't use asp, I use Coldfusion, and .htm, I'm only installing PHP so
I can use the phpBB system.
-Original Message-
From: glumtail [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 12:05 PM
To: php-general@lists.php.net
Subject: Re:
On Jul 12, 2005, at 6:50 AM, Chris Shiflett wrote:
As far as allowing [red] goes, you can just as easily add to
the list of available tags and not have to come up with a
replacement for every other HTML tag that already exists.
but what about the poor bastards that'll go around trying
Steve, I may have missed this response, if this is a repeat please
excuse me...
Make sure you have the correct mysql and php versions to run phpBB. I
had 404 errors with a blogging/forum application where the index file
moved to another page. But because there were some errors in setup the
pa
I appreciate the try, but no, I still get a 404 error. :)
This is killing me!!
-Original Message-
From: Joseph [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 12:34 PM
To: Grosz, Steve (IPG IT)
Cc: php-general@lists.php.net
Subject: Re: [PHP] 404 error - why???!!
Steve, I may
I'd like to generate a list of time zones (EST, CDT, whatever) for a popup.
Seems like it should be easy...
This is so the Sales guy can just plug in the time and zone of who he's
gotta call back, and I stuff that in the database, and he gets a morning
report of who to call.
$z\n";
}
?>
What
Hello,
on 07/13/2005 01:28 PM Jed R. Brubaker said the following:
As I am trying to take my PHP code in a more enterprise direction with
strict model/logic/view layers, I have been working with DAOs and the
matching VOs.
So I am running into a problem that I could really use some direction on
In installing PHP4 on Win2003/IIS 6, I have noticed that only 1 dll file
is used on the ISAPI install.
What is the php4ts.dll file used for? And do I need to add it into my
ISAPI area within IIS or just use the php4isapi.dll file...
Steve
Grosz, Steve (IPG IT) wrote:
In installing PHP4 on Win2003/IIS 6, I have noticed that only 1 dll file
is used on the ISAPI install.
What is the php4ts.dll file used for? And do I need to add it into my
ISAPI area within IIS or just use the php4isapi.dll file...
Steve
Well, as per the inst
I'm trying to issue a 404 header on one of my pages. But it does not
redirect. I figured, with many function calls before it, that it might
be outputting something to the screen before the header() command was
issued. So, I tried issuing a 404 header from a new page, consisting of
this cod
I'm afraid it didn't help. I know the php4ts.dll need to be in the
path, and the instructions say that if that file is in the /php
directory, and there is a Path to that directory, all should be fine.
I'm curious if within IIS I use php4isapi.dll for my extension and
ISAPI filter.
-Original
Dear Steve:
php4ts.dll is needed by php4isapi.dll.
if you can visit your pages in wwwroot folder, just try to rename that page
to php extension.
e.g: rename postinfo.html to postinfo.php
C:\PHP
│ install.txt
│ license.txt
│ magic.mime
│ news.txt
│ php-cli.exe
│ php.exe
│ php.gif
│ php.ini
│ php.
I tried that, renamed a txt file to .php, but when I try to get the .php file,
I just get a 404 error.
-Original Message-
From: glumtail [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 2:15 PM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - DLL files needed ??
Dea
Does anyone have a step by step, screenshots would be great, of how to
install PHP 4.x on a Win2003 SP1 server?
I've tried going through the install instructions on PHP.net's site for
windows, but its still not working, so I think I'm missing something
somewhere along the way.
Thanks!
Steve
Scott Taylor wrote:
I'm trying to issue a 404 header on one of my pages. But it does not
redirect. I figured, with many function calls before it, that it might
be outputting something to the screen before the header() command was
issued. So, I tried issuing a 404 header from a new page, cons
On 7/13/05, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]> wrote:
> I tried that, renamed a txt file to .php, but when I try to get the .php
> file, I just get a 404 error.
Grosz, this might very well be your webserver invoking. By default,
IIS 6.0 all webserver extensions (like PHP). To check if your
Tjoekbezoer,
I can tell you that it is there, because I manually added it, and it is
set to 'allowed'.
Steve
-Original Message-
From: Tjoekbezoer van Damme [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 3:52 PM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - DLL
We just set up a new webserver using Apache 2 and PHP5. When I
transferred all the files over from my old server, I saw that none of
the PHP files are being rendered (i.e. I see the PHP source instead of
the resulting HTML).
Here is the PHP.conf file we are using:
#
# PHP is an HTML-embedded sc
Never mind, I answered my own question. I added "AddType
application/x-httpd-php .php" to the bottom of php.conf and that fixed
the problem. We did not have that with our old system running php4.
[EMAIL PROTECTED] wrote on 07/14/2005, 12:40:02 AM:
>
> We just set up a new webserver using Apac
I have a script that generates, creates, and updates dynamic banner
images for users of a service.
Recently I have run into a problem with file permissions... that has
thoroughly annoyed me. I found a solution to fix the problem, however,
it was then hit with another problem, and I'm not sure
I have an array setup as such: *$arr['generated text']='generated number';*
What would be the best way to echo the key in a loop?
Seems pretty easy but I've never attempted...
Thanks all!
Matt Darby
Matt Darby wrote:
I have an array setup as such: *$arr['generated text']='generated number';*
What would be the best way to echo the key in a loop?
Seems pretty easy but I've never attempted...
Thanks all!
Matt Darby
I'm not sure I understand the question.
You could do foreach($arr as $key =
Is there a PHP built-in function to retrieve only the alphanumeric
characters from a given string?
I know that I can check for alphanumeric characters using the
function ctype_alphanum () but it won't retrieve the alphanum characters.
I also know that I can use str_replace to replace an array
Computer Programmer wrote:
Is there a PHP built-in function to retrieve only the alphanumeric
characters from a given string?
I know that I can check for alphanumeric characters using the function
ctype_alphanum () but it won't retrieve the alphanum characters.
I also know that I can use str
59 matches
Mail list logo