Op woensdag 14 augustus 2002 20:57, schreef Adam Williams:
Does anyone know why it is not working with $_POST but works fine with
$_GET?
I don't know, but maybe you has to put around POST, method=POST. It
works then with GET, cause that's default.
Maybe something else is wrong, so method
hi,
after submit i use:
if (isset($submit))
header (Location: url?.sid);
i want continue my session in next page, but SID (my session's unique id) is
lost in nex page, so i can't. What's wrong ? Any ideas ?
apollo, just me
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Take a look at the pcntl functions. In particular the pcntl_fork()
function.
On Wed, 14 Aug 2002, Gustavo Almeida wrote:
I would like to know, what I have to do to make my application handle
multiple connections?
My current application only handle one user per time.
Sorry about my
I think you'll need to use header (Location: url?.print SID);
Adam
On Wed, 14 Aug 2002, apollo wrote:
hi,
after submit i use:
if (isset($submit))
header (Location: url?.sid);
i want continue my session in next page, but SID (my session's unique id) is
lost in
Wondering if any of the gurus out there have any insight...
I'm running a set of php scripts using nested output buffering +
sessions and I'm getting sporadic seg faults. If I turn off output
buffering it seems to work fine, which would be great if I didn't need
it.
I'd post code, but there's
What is wrong with the statement below? Am I using DEFAULT incorrectly?
That first column is an auto_incrementing column so i don't want any data to
get inserted there. Thanks for you help.
INSERT INTO cast VALUES(DEFAULT, 'Rick', 'Blaine', 'Humphrey', 'Bogart',
'male');
Thanks!
Alex
--
Hi people,
Again, a problem with global. Maybe you can shed a light on this one...
Consider this part of a class (with [...] I marks things I left out, which
aren't important for the problem, FAFAIK):
class FotoView
{
[...]
var $fotos;
var $cats;
var $start;
Something is VERY weird with trying to send mail. I am running Apache for
windows and trying to send mail... using a line such as
mail([EMAIL PROTECTED], My Subject, Line 1\nLine 2\nLine 3);
But I get an error of
Warning: Failed to Connect in c:\program files\apache
Alexandra Aguiar wrote:
may i use php with JAVA (note. not JAVASCRIPT , but JAVA APPLETS) !?!
Depends on what you want to achieve. As long as the final embed is
correct (i.e. the one that is sent to the client, after php-parsing), no
problem at all.
--
Kind regards,
Tim
--
PHP General
U must write:
mysql_query(INSERT INTO cast SET Rick='$Rick', Blaine='$Blaine',
Humphrey='$Humphrey', Bogart='$Bogart', male='$male');
The stuff with the $ before them are variable that contain the info u
want to put into the word that don't have the $ those words are the
cells in your database.
Alexander Ross wrote:
That first column is an auto_incrementing column so i don't want any data
INSERT INTO cast VALUES(DEFAULT, 'Rick', 'Blaine', 'Humphrey', 'Bogart',
'male');
I think you need to use NULL instead of DEFAULT... I'm not 100% sure. Just
try it :)
--
Kind regards,
Tim
--
Dave Leather wrote:
Something is VERY weird with trying to send mail. I am running Apache for
windows and trying to send mail... using a line such as
I think you need a local SMTP-server, or at least your SMTP-server
configured in PHP (don't know exactly what you need to change in php.ini
Hello, I am making an app that read from an html file outputted by MS
word (ya its for those people that need to make webpages but don't know
how o write html) anyway, using MS word is a requirement; After the user
saves their .doc file as a web page (now and htm file) the php will take
that html
Although pcntl and fork() were mentioned, you might want to look at
socket_select() as an alternative. Using socket_select(), you can set up a
multiplexer to handle multiple sockets at the same time. (Or roughly the
same time...)
J
Gustavo Almeida wrote:
I would like to know, what I
Tim's right about NULL. You can either specify what exactly are the
fields of the row you want to update/insert using SET before VALUE (seek
the manual at www.mysql.com for more info) or you can just write NULL
(without any quotes) where the fields are automatic like
*auto_increment* or like
Hello, I am making an app that read from an html file outputted by MS
word (ya its for those people that need to make webpages but don't know
how o write html) anyway, using MS word is a requirement; After the user
saves their .doc file as a web page (now and htm file) the php will take
Actually I think there is even less work to be done, the paragraph
spacing problem I talked about earlier can be avoided if I leave all
that foobar tags and erase only:
html xmlns:o=urn:schemas-microsoft-com:office:office
xmlns:w=urn:schemas-microsoft-com:office:word
Is there any way to determine if someone is logged in to a Samba Domain
using PHP? If so, how?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
do
--
echo $data[0]*$data[1]);
return ($data[0]*$data[1]);
--
i think its empty.
In the first place, i thought it was maybe impossible to call a
class-functions in your constructor. (Cause the class function don't exists
at the moment you call your constructor).
But the code below showed
Thanks, I will try to adapt this to my needs.
- Vic
-Original Message-
From: JJ Harrison [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 5:44 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: html parsing from html file through php
Hello, I am making an app that read from an
Can someone explain me more abou the usage of this code:
file_get_contents ( string filename [, int use_include_path])
I just got it from the annual, and I still don't get what they mean by
string filename
and
int use_include_path
Thanks,
This has to do with the other question I posted
string filename
The name of the file. b.e test.html or $_SERVER['DOCUMENT_ROOT'].'test.html'
int use_include_path
Optional 1 true or 0 (or nothing) false the file above is in my default
include path.
Manual: you can use the optional second parameter and set it to 1, if you
want to search for
I'm always making my inserts like this:
$Insert = INSERT INTO basket_db (name, image_id, customer_id, session_id)
;
$Insert .= VALUES ('$name', '$image_id', '$customer_id', '$PHPSESSID');
...and I'm using the SET Field = '$Value' in the Update Querys like this:
$UpdateQuery = UPDATE produkt ;
Is it possible that someone from outside can read the session stored
on my webserver for getting unencrypted password and usernames?
Schura
I did all things that you talked.
I put below in my httpd.conf those lines.
Thanks
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php403 /ver403/php
ScriptAlias /ver403/ /usr/local/php/ver403/bin
AddType
If a person 'somehow' gains read access to the directory where the sessions
are stored on your server, then yes it is possible for them to get the
session id.
Ilia
On August 14, 2002 06:41 pm, Sascha Braun wrote:
Is it possible that someone from outside can read the session stored
on my
So, if somebody gets an ftp account somehow, he will be able to get session
vars via a system() command?
- Original Message -
From: Ilia A. [EMAIL PROTECTED]
To: Sascha Braun [EMAIL PROTECTED]; PHP Mailingliste
[EMAIL PROTECTED]
Sent: Thursday, August 15, 2002 1:27 AM
Subject: Re: [PHP]
On August 14, 2002 07:03 pm, Sascha Braun wrote:
So, if somebody gets an ftp account somehow, he will be able to get session
vars via a system() command?
If their FTP client allows them to go into the directory where session ids are
stored, then that user will be able to see current session
So, the system() command allows a user only to start services in his own
home direktory?
- Original Message -
From: Ilia A. [EMAIL PROTECTED]
To: Sascha Braun [EMAIL PROTECTED]; PHP Mailingliste
[EMAIL PROTECTED]
Sent: Thursday, August 15, 2002 1:36 AM
Subject: Re: [PHP] SESSION
On August 14, 2002 07:12 pm, Sascha Braun wrote:
So, the system() command allows a user only to start services in his own
home direktory?
Uhm... I am a little confused, how does system() command relate to FTP access?
Ilia
- Original Message -
From: Ilia A. [EMAIL PROTECTED]
Mh,
right yet I have another problem. I want to select a username an a =
password from a database. The Values for tghe select are stored in a =
session variable.
And my problem is, that when I run the Query there is no difference in =
the mysql_num_rows($Result)
it both time (When the User is
Op donderdag 15 augustus 2002 01:03, schreef u:
So, if somebody gets an ftp account somehow, he will be able to get session
vars via a system() command?
You holds him in its own dir by the chroot setting of you ftpserver.
via a system();
you mean if they upload a php file?
prevent that with
Yeah,
I guess I meant that! - The Attacker just needs to upload a nice PHP Script
wich is able to spy all serverpathes, maybe via phpinfo() and then open
each
file stored in the session tmp path via dir_list() funktion, hope this was
the right funktion, but there are some, with php it's
In your database design you need the following
every username/pass comb is unique.
so a query like ... WHERE username='$testvalue' AND password='$testvalue2'
Have to give you one row for a good user/passcombination ALWAYS. And 0 rows
for a wrong combination.
If NOT your design doesn;t fit
Hi,
Can anybody tell me why I get a Parse error: parse error,
unexpected '}' in /usr/local/apache/htdocs/logbook/Functions.inc on line
17
for the following code:
Appreciate any help.
Using PHP 4.2.2 and Apache 1.3.26 on Redhat 7.3 x86
(The stuff is not part of the code.
This is my query with some dummy loginformations:
SELECT * FROM benutzer_db where Benutzername = 'Herbert' AND Passwort = 'hals'
and this is the code i use for the database transaction:
$Query = SELECT * FROM benutzer_db where Benutzername = '.$SESSION['nickname'].' ;
$Query .= AND Passwort =
Maybe something wrong with the return?
I was thinking about return What?. (U understand me?)
in Javascript a simple return does nothing. maybe you can just leave the
return out of your script.
- Original Message -
From: Mike Eales [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
Can anybody tell me why I get a Parse error: parse error,
unexpected '}' in /usr/local/apache/htdocs/logbook/Functions.inc on line
begin and end your include files with ? and ?
?
function HtmlHeader()
{
?
bllaalla
?
return;
}
?
--
PHP General Mailing List (http://www.php.net/)
I have a PHP script that queries a MySQL database,
retrieves email addresses, and sends an email to all
members of a website.
The problem is this: the PHP script times out after
sending about 5,000 mailings, and I have to restart it
10 times in order to mail the entire list!
This is an ongoing
Hello,
In the version 4.0.3 a library that made construction gif existed. You were
able to
to manipulate or to create a gif.
In them version superiors that Lib stopped doing part of PHP.
Somebody could tell me that could do to solve my problem with the
version of most recent Php.
thanks
Why is this giving me no results? (blank page with this source:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTMLHEAD
META http-equiv=Content-Type content=text/html;
charset=windows-1252/HEAD
BODY/BODY/HTML
this is the code ---
?php
$path =
Per [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Daniel Canil wrote:
I have jsut recently installed a php development kit on my windows
platform.
Im interested in using the session functions but I am recieving this
error
when I use session_start():
--- Stig Venaas [EMAIL PROTECTED] wrote:
But you're not doing what I wrote...
:) or else i won't be asking hehehe
The third parameter should be the new rdn (which is the same as the old),
and the fourth should be new parent. So it should look like this:
$r=ldap_rename($ds,
The server I'm on has php compiled with curl and with ssl, so that's not an
issue. I cannot seem to connect to authorize.net, however, using https://.
If I use http://, it works fine. Below is the code I'm using. I know
someone out there has tackled this problem before and I'm hoping you can
I've got a fully functioning socket server that I use for monitoring written in PHP...
email if you want the full script, too big to waste peoples time with here.
---
/* Neunzig neun Möglichkeiten zu sterben
// Ich bin nur ein anderer Zahn in der Maschine. */
On Wed, 14 Aug 2002 15:09:09
Hi news,
Is there any similarity global.asa in ASP at PHP ?
thank's
Hotma MS
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Mike,
i had no problems with this..
!-- index.php --
?
include('Functions.inc');
HtmlHeader();
?
# Do things
?
HtmlFooter();
?
!-- Functions.inc--
?
function HtmlHeader()
{
?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
htmlhead
I'm looking for a way to have a list of the users logged in my site (with a
session_start() ). Is it possible to do it with the php4 api?
thanks
Mattia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thursday 15 August 2002 07:35, Sascha Braun wrote:
This is my query with some dummy loginformations:
SELECT * FROM benutzer_db where Benutzername = 'Herbert' AND Passwort =
'hals'
and this is the code i use for the database transaction:
$Query = SELECT * FROM benutzer_db where
# START CODE SNIPPET ... COMMENTS BELOW (and yes I am not a db guru by
anymeans, might be easier ways to do this)
?php
session_start();
$tsid=session_id();
echo $tsig; # debug
$date=date(ymdHi);
$connect=mysql_pconnect('localhost', 'user', 'pass');
mysql_select_db('db',
I'm having the same problem from time to time as well.
Just straight up out of the blue it gives you a new SESSION id.
--I'm interested to know what version of PHP you are using
and what web server and its version too.
Thanks
Dan
-Original Message-
From: Thoenen, Peter Mr. EPS
Just compiled Apache 1.3.26 with latest php and discovered my form variables
weren't getting thru to php scripts.
Looked through archives and found ref to register_globals setting in
php.ini. Only trouble is, I can't find php.ini on my server (except in the
php source code folder).
Where should
Run a script with phpinfo() in it, and it should tell u the path to the
php.ini file for your installation. It will be different for everyone.
For what it's worth, you should look to having register globals OFF in your
scripts as a short term goal, using the $_POST, $_GET, $_COOKIE, $_SESSION
Dan Harrington wrote:
I'm having the same problem from time to time as well.
Just straight up out of the blue it gives you a new SESSION id.
As a general rule, the reason that you will find yourself with a new
session ID is that the old session ID was not properly communicated back
to the
is usually in /usr/local/lib
-Original Message-
From: Randall Perry [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 15 August 2002 11:58 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Php.ini on Solaris?
Just compiled Apache 1.3.26 with latest php and discovered my
form variables
weren't
I bet that your copy of CURL was built without SSL support, despite the fact
that PHP has SSL compiled in.
To test this, see if you have the curl shell command installed try
curl https://secure.authorize.net/gateway/transact.dll
It will probably say something like
curl built
I start a session under an SSL connection (https), do some work, and
then register some variables. I then do a header(location:
http:/somepage.php). the page is loated on the same server that was
doing the SSL work.
My question is are the session variable I registered under the SSL
Hi,
Thursday, August 15, 2002, 5:17:00 AM, you wrote:
MA Well, I actually have a full db class which has a connect and close method
MA as well as query, fetch_array, etc... What I really want to know is how to
MA use the methods in my db class from another class (myclass for example)..
MA Do I
I want to have the ereg_replace action happen many times before the
result is echoed, how do I do this? The following is the code that I
have that obviously is flawed because the later variable as afar as ai
know cancels out the first one...
$good = ereg_replace(o:p/o:p, , $str);
$good =
So pass $good into the second call instead of $str
On Wed, 14 Aug 2002 [EMAIL PROTECTED] wrote:
I want to have the ereg_replace action happen many times before the
result is echoed, how do I do this? The following is the code that I
have that obviously is flawed because the later variable as
Hi guys,
I'm looking to get a specific bit of data out of a slightly complex amount
of data.
Ok, I have this in a variable:
User : [EMAIL PROTECTED]
Dir : /home/eXtremail/mbox/i-redlands.net/3/1/liam
Forward :
Copy :
Account mapping :
User Disk Quota : 0
Disk Space
Ok, I'm having a blonde day...
If $idx == 1, 4 or 9 I don't want it to echo $results.
I have this, what's the syntax to put multiple values in there?
if ($idx != 1) {
echo$results;
}
Thanks,
Liam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Just usa an OR concatenator like:
If ($idx != '1' OR $idx != '4' OR $idx != '9'){
echo $results;
}
Remember that if you are echoing just $result, it should not be enclosed
into double quotes... just a tip.
-Original Message-
From: Liam MacKenzie [mailto:[EMAIL PROTECTED]]
Sent:
if ( ($idx != 1) || ($idx != 4) || ($idx != 9) )
{
echo $results;
}
Adam
On Thu, 15 Aug 2002, Liam MacKenzie wrote:
Ok, I'm having a blonde day...
If $idx == 1, 4 or 9 I don't want it to echo $results.
I have this, what's the syntax to put multiple values in
There are other ways of doing this, but I think you might be looking for
the logical AND operator ().
if ($idx != 1 $idx != 4 $idx != 9)
Happy hacking.
Chris
Liam MacKenzie wrote:
Ok, I'm having a blonde day...
If $idx == 1, 4 or 9 I don't want it to echo $results.
I have this, what's
Liam, when you want to post a new message to the list don't just hit the
reply button and change the subject. If you do that you message appears
in the thread of the message you replied to.
It really messes things up for people who follow message threads. And
worse you might not get any
Ok, point taken.
Sorry, I didn't know.
Also, thanks for the help, I got it :-)
- Original Message -
From: Jean-Christian Imbeault [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 15, 2002 1:52 PM
Subject: [PHP] Re: stupid question
Liam, when you want to post a new
César Aracena wrote:
Just usa an OR concatenator like:
If ($idx != '1' OR $idx != '4' OR $idx != '9'){
echo $results;
}
Actually, this statement will always evaluate to true. I think you mean
to use .
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi all,
My site maintain a list of members, which i knew their birthday, and i want
to send a email greeting to them on their birthday, of course,
automatically.
How can i do that?
Thanks in advance
Nowhereman
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hey all, got another dumb question :-)
Output text is as follows:
User : [EMAIL PROTECTED]
I do this:
$results = ereg_replace(User :, '', $results);
I get this:
User : [EMAIL PROTECTED]
But when I do this:
$results = ereg_replace(User, '', $results);
I get this:
: [EMAIL PROTECTED]
How
Ok, I'm not positive I'm right here, but have you thought about the
browser timing out - and not PHP? You may try doing an echo( ); and a
flush(); every 100 e-mails or so - and reset max exec time to a
reasonable duration while you're at it - that *might* fix it. Please
note that executing
You got a point there... unless you change the operator from != to ==
right? Missed that.
-Original Message-
From: Chris Shiflett [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 1:00 AM
To: César Aracena
Cc: 'Liam MacKenzie'; [EMAIL PROTECTED]
Subject: Re: [PHP] stupid
Just stop using ereg_replace where not needed and use str_replace
instead - it's faster and you don't risk bumping into key-chars like
you just did. While regexps are very useful when needed, people tend to
use the same functions even when they don't need regexps just out of
habit... There,
I have login = sysdata and
password = sysdata on md5 function
How to select md5 function
mysql select COUNT(*) AS result from User where login = sysdata and
password = md5(sysdata);
+---+
| result |
+---+
| 0 |
+---+
1 row in set (0.00 sec)
I wanna the result display
?
$text = User : [EMAIL PROTECTED];
$results = ereg_replace(User :, '', $text);
echo $results;
?
I get:
[EMAIL PROTECTED]
Liam Mackenzie [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó·s»D
:003a01c24410$358fd7a0$[EMAIL PROTECTED]
Hey all, got another dumb question :-)
Output text is as follows:
User : [EMAIL
I suppose you want to use PHP - just set a cron job to run wget or lynx
on that page every day. Alternatively, set a cron job to run a
command-line php every day (it's somewhat faster) - but I think there
are a couple of restrictions on the configuration, so if that doesn't
work, just fall
Ahh, I just found the problem...
This is the source of the output:
td valign=top align=leftUser : [EMAIL PROTECTED]
/td
Whoops...
Sorry guys.
The reason I'm having troubles with all this stuff is that it's all being
pulled out of a hard database using telnet. Yeah, it's the
This have been very much discussed in this list, and the only logical
way of doing this through PHP would be to have a script that reads the
actual date of the server's system once a day, but that would be just
impossible without having that script (page) reloaded at least once a
day.
I think
Show us the output of:
select login, password from user where login='sysdata';
My guess is that the password is not 1b1c2457d12dd976d4cfa556ac6661f6
- the md5 of sysdata.
Chris
Reymond wrote:
I have login = sysdata and
password = sysdata on md5 function
How to select md5 function
Hey, if you don't have access to CRON, you could try and include the page in
your index.php.
Set it so it only runs once though, per day. That means that as soon as
someone visits your site they activate it for that day. It'd only work if
you had the traffic though.
Just an idea.
Then again,
For starters, use str_replace() because you've got nothing that needs the
overhead of ereg. The : is a key character too, which is creating your
problem.
$results = str_replace('User :', '', $results);
Justin French
on 15/08/02 1:59 PM, Liam MacKenzie ([EMAIL PROTECTED]) wrote:
Hey all,
This is output...
select login, password from User where login = 'sysdata';
+-+--+
| login | password |
+-+--+
| sysdata | 1b1c2457d12dd976d4cf |
+-+--+
1 row in set (0.00 sec)
Cause I just
Upss sorry...
My password's field Varchar(20)
...
-Original Message-
From: Chris Shiflett [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 11:17 AM
To: Reymond
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] md5() ...
Show us the output of:
select login, password from user where
Not ignored Lian. That idea is great but only if you are 100% sure that
your site is going to have at least one visitor per day. If you want to
setup a script like that in your pet's dedicated page, which maybe will
not have that many visitors at first, you will probably miss a lot of
Has anyone here designed php sites that use a combination of php pages
and html pages?
What I want to know is how to pass a variable from nav_frame.php (at the
top) to itself, AND to the data.php frame (lower frame, main body)
I can pass variables to itself, (with the ?page_name=content.htm
This did indeed fix the problem, thanks for the advise.
A question though:
Why is this necessary, the include/require is called from index.php while in
PHP mode ?
The functions work fine as if I remain in PHP mode within the functions.
It is only when I go in and out of HTML mode within the
Yeah, that's a little short for md5, plus you want to allow alphabetic
characters, too.
Try varchar(32).
Happy hacking.
Chris
Reymond wrote:
This is output...
select login, password from User where login = 'sysdata';
+-+--+
| login | password |
The only way to talk to multiple frames is with javascript. yuk.
Justin French
on 15/08/02 2:37 PM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
Has anyone here designed php sites that use a combination of php pages
and html pages?
What I want to know is how to pass a variable from
Thank you...
I got it...
:)
-Original Message-
From: Chris Shiflett [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 11:44 AM
To: Reymond
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] md5() ...
Yeah, that's a little short for md5, plus you want to allow alphabetic
characters,
How can I make crypt() use blowfish encryption?
Also it seems that my system (RH7.2 Linux) doesn't support Blowfish
according to CRYPT_BLOWFISH:
CRYPT_BLOWFISH = 0
How can I add blowfish support to my system if crypt() requires it?
Jc
PS I don't want to use mcrypt(). I just want to install
I'm not sure about others, but I am glad this behavior is like this.
It is very nice for modules to stand on their own so to speak, so that
you don't have to worry about what context they are used in. If the file
you are including is plain HTML, would you want it to be parsed as if it
were
You gotta be kidding me!
- Vic
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 12:49 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] frames and variables
The only way to talk to multiple frames is with javascript. yuk.
Hi,
I've solved this problem, if u have cgi version of PHP compiled on your box I can
offer simple solution:
All e-mails are completely stored into database (MySQL) and are sent using little
daemon, also written in PHP, emails can be
automaticaly generated or written through web interface,
I can ensure ar least one visitor per day, that;s me!!
Since my server in on my local windows mechine, i can load the page at start
up.
But i have a question, how can i ensure the script only runs once though,
per day?
I think it is related to coding
Say, my index.php have a script to check
I think one of the (if not THE) best implementation of frames with
PHP/Javascript (HTML,CSS...) is phpmyadmin...
http://www.phpmyadmin.net/
Of course, there could be a lot of others...
- E
The only way to talk to multiple frames is with javascript. yuk.
Justin French
on 15/08/02 2:37
Hello,
On 08/14/2002 08:54 PM, Daren Cotter wrote:
I have a PHP script that queries a MySQL database,
retrieves email addresses, and sends an email to all
members of a website.
The problem is this: the PHP script times out after
sending about 5,000 mailings, and I have to restart it
10
when the function excecutes, it checks the current date, then looks in a
little textfile, if it's a match, it stops the script, but if the text file
says a different date, it processes the scripts then updates the text file.
Follow me?
You could also use a MySQL database.
- Original
I'd do something like this:
$str =
User : [EMAIL PROTECTED]
Dir : /home/eXtremail/mbox/i-redlands.net/3/1/liam
Forward :
Copy :
Account mapping :
User Disk Quota : 0
Disk Space Used : 0
Max In Mail Size : 0
Max Out Mail Size : 0
Autoreply : No
Mailbox Access : POP,IMAP
Created : Sat Jul 6
if last_email_date != today
{
send email
last_email_date = today
}
Happy hacking.
Chris
NoWhErEMan wrote:
I can ensure ar least one visitor per day, that;s me!!
Since my server in on my local windows mechine, i can load the page at start
up.
But i have a question, how can i ensure
Hey guys,
yep, another one...
I do this:
echo -.$dir.-;
I get this:
-/home/eXtremail/mbox/i-redlands.net/9/1/liam
-
Note the new line at the end.
Is there a way to get rid of any new lines in a string?
Because this is making my directory listing go whacko.
Cheers,
Liam
--
PHP
101 - 200 of 206 matches
Mail list logo