"David Caplan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> From what I understand, both smarty and patTemplate are popular and both
> have supporters and detractors, is one template significantly faster or
more
> stable than the other?
>
> If I just use
hi all, i've only begun learning php around 1 week ago, i'm having trouble
with this code,
Untitled Document
";
echo "$subject[1]"; }
else { $subject[0] = "Enter Subject A";
$subject[1] = "Enter Subject B"; } ?>
i got the body code from www.linuxguruz.org
but i can't seem to get m
with using header?
you mean like this--> Header("location: http://url";);
-Original Message-
From: Daniel Guerrier [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 7:00 AM
To: php user group
Subject: [PHP] Redirect without header or javascipt
Is there any to redire
thanks it working now
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 20, 2003 2:40 PM
Subject: Re: [PHP] array values format
> On Thursday 20 February 2003 13:36, Michael P. Carel wrote:
> > as per testing it doesnt delete th
Try using a for loop instead of a while loop...
example:
for( $i = 0, $tot = count($tmpparts); $i < $tot; $i++ ) {
$content = "?>".$tmpparts[$i];
eval($content);
foreach($command as $name => $cmds) {
if($tmpcmds[$i] == $name) {
$docmd = $cmds;
On Thursday 20 February 2003 13:36, Michael P. Carel wrote:
> as per testing it doesnt delete the last comma, i'm doing something like
> this:
>
> for($i=0;$i {
> $pictures .="\"./archive/bannerimages/".$bid[$i]."/".$images[$i]."\"".",";
> }
> preg_replace("/,$/","",$pictures);
> echo $pictures;
>
as per testing it doesnt delete the last comma, i'm doing something like
this:
for($i=0;$i
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 20, 2003 12:42 PM
Subject: Re: [PHP] array values format
> Hi Michael,
>
> Something like this should work:
>
> for($i=0; $i {
> $data .= $array[$i] . "
Hi,
I'm having a couple of problems getting PHP to accept my post data.
Specifically, the data I am sending is not with POST, put with PUT and
PROPFIND. I'm implementing WebDAV within PHP.
How to I get PHP to set $HTTP_RAW_POST_DATA for all methods where content is
sent, not just post?
Thanks,
While debugging my code, that seems to work fine, I see hundreds of these
notices, many different ones with different offset numbers same line number.
(I know I can turn notices off)
Notice: Undefined offset: 2 in
D:\apps\www\test\themes\Family\includes\autotheme.inc.php on line 275
I would like
Ahhhfinally did it with usort. Thanks to those who gave me that
answer. Now here is a question for that. I would like to re-use my "cmp"
function without having to rewrite it each time. Can it be written so that
instead of "divname" being hard coded, that I can pass the sort field in
th
hi to all
I have a problem here in array manipulations. I need an output like this
from the queried data :
"data1","data2","data3"
Any idea how? thanx in advance
mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Guys, Guys, why are you harrasing this poor chap?
one sure simple way is..
at the begining
Throws out all the buffered output to the browser at the other end.
now add header info any place before ob_end_flush(); and get no errors !!!
Lord Loh
--
PHP General Mailing List (http://www.php.net/
I want to define 3 constants
DOC_HOME_PATH
IMG_HOME_PATH
CTL_HOME_PATH
So that I can just do this
Click Here
**do I need to echo?
**not everything goes to "stuff"
Right now I have
define ("DOC_HOME_PATH", "d:/is/projects/killerspin/web/store/");
define ("IMG_HOME_PATH", "d:/is/projects/kil
ini_set doesn't seem to work for me. I am trying with:
ini_set("display_errors","Off");
The manual says this one should be able to be set this way. I have tried it
with all combinations of " and " and with Off or 0. It doesn't give an error,
but it has no effect either. I can set it to off in php
Chris.. you are 100% correct, that took care of it.
Thanks for the help,
Bryan
-Original Message-
From: Chris Cook [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 10:44 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] Skipping Image Upload if Filename is blank
An alternative...
1. register_globals off
use the command
import_request_variables("PC","_p");
now you can get the variables like user as $p_user.
The get variables will be ignored!
Still, If a user developes a special browser, exclusively to hack, he may be
able to send post variables...
Any c
Is there any conflict with the server Keep-Alice time ?
That is usually not more than a minute...
Thank You
Lord Loh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have had this problem before. Try to echo out
$_FILES['imagefile']['tmp_name'] when the field is blank. Then you will know
what to control for... If I recall correctly, the file name is "none" if
there is no uploaded photo. Thus, it exists and that is why the program
enters your if statement
You forgot this one...
http://swish-e.org/
- Original Message -
From: "olinux" <[EMAIL PROTECTED]>
To: "David Otton" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 4:53 AM
Subject: Re: [PHP] internal site search
> Option 2b. - there are several great open
OS Commerce is pretty popular and will do all you ask
http://www.oscommerce.com
There are lots of quality options, both open source
and commercial
Here's a couple links to get you started
http://www.hotscripts.com/PHP/Scripts_and_Programs/E-Commerce/Shopping_Carts/
http://php.resourceindex.com/
You had it pretty close but try and make a few minor changes to it I've
tested the function below and it works for what you are trying to do. I
am not sure of a way to test for the null with eregi other than putting
and or statement in.
if (eregi('^[0-9]+$', $_POST["gamt_$i"]) || $_POST["gamt_$
phpShop.org
not sure about XML, but everything else is covered
Justin
on 20/02/03 1:06 PM, Chris Knipe ([EMAIL PROTECTED]) wrote:
> Lo all,
>
> Is there any good already developed PHP based commerce solutions out there?
> I'm preferably looking for something with catalogues (product pics,
> d
Lo all,
Is there any good already developed PHP based commerce solutions out there?
I'm preferably looking for something with catalogues (product pics,
descriptions, ratings, buyer comments, etc), online payment options, xml
support (to sell via partners for example), etc etc etc.
Thanks,
--
me
Louwtjie-
In a word: "Speed".
Lets say that you have a PHP page generating semi-dynamic content (only
changes significantly once a day). The dynamic generation process is always
guaranteed to be up-to-the-minute, but it takes some amount of time to
generate (search through the database, form
Hi!
I´m building an application that extracts information from some html pages
from differents sites and formatting. I´m doing it with preg but i´d like
to know if is possible to design a template system that will match to files
and retrive the values like in the following example:
EXAMPLE OF THE
If you only want one email do a select distinct email that way only one
email address will be brought back from you query.
>$query=mysql_query("select company, Email from members");
$query = mysql_query("select company, distinct(Email) from members");
if you want a good book for this check out M
I have a form for uploading images. If the browse field is empty I would
like it to not process the following copy command, thus eliminating the
error message it displays. I thought this would work.. but I have been
proven wrong. Anyone have any insight?
**snip**
if ($_FILES['imagefile']['tmp_n
Hello folks,
I'd like to verify input data transferred from a form and make sure it
is numeric data or null before my program executes. I am using this
syntax, which doesn't work:
for ($i=1;$i<=3;$i++)
{
if (ereg('[0-9]+','$_POST["gamt_$i"]'))
{
continue;
}
else
{
die("Non-n
MORE INFORMATION:
http://www.w3schools.com/sql/sql_distinct.asp
-Original Message-
From: larry [mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, 20 February 2003 12:31 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: excluding same field values in mysql
In your query
In your query throw a 'DISTINCT' in right after your 'SELECT';
Sunfire <[EMAIL PROTECTED]> wrote:
> hi
> im making a mailing system for a company. i have to find all email addresses
> in a table and send email to all of them. the problem comes in when more
> than 1 company has the same email addr
That is a very vague question, but I am pretty sure
the answer is yes it does support many networking functions – of course it
all depends on what you would actually like to accomplish. As for the database ‘stuff’
there is a lot of info available in the manual that can get you going in a
ji
if you check on the FIRST insert (the primary table that holds "master"
usernames) to ensure the uname doesn't exist, THEN do the other queries,
there shouldn't be a problem.
I think the key here is that you're using the username as the unique key,
and putting that username in multiple tables...
hi
im making a mailing system for a company. i have to find all email addresses
in a table and send email to all of them. the problem comes in when more
than 1 company has the same email address (owned by same person). what i
have to do is if more than 1 company has the same email address only use
I agree with the solution offered, but I’d love
to know why one would want to extract info from a database to a HTML page and then archive it *again*… Please note I am not being an
Ogre here… I would just really like to know.
Regards,
Louwtjie Taljaard
Services:
* IT Security
I have looked into this once before, and If I remember correctly, there is
a way but PHP has to be compiled as CGI and not as a module. Then you would
be able to use suEXEC to force it to run as a user other than what the web
server is running.
Try Qmail as your mail server, this has a lot of
setuid is a UNIX command.
try 'man setuid' on a *nix box..
LW
-Original Message-
From: Patrick Armour [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 20 February 2003 11:36 AM
To: Jason Sheets
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Root Commands
Great idea. However, that opens up a who
MySql should insert a value into that column when you update if you are using an
auto_increment field. this value will always be unique. period.
-Chris
-Original Message-
From: Chad Day [mailto:[EMAIL PROTECTED]]
Sent: Wed 2/19/2003 1:16 PM
To
Great idea. However, that opens up a whole other can of worms that I'm not
really prepared to dive into yet.
I searched php.net for the setuid function, but didn't find anything. Is
this a php function? Do you know where any documentation on it is?
Thanks again
Patrick
- Original Message
If you're using apache you can do it by twiddling with the Action and
Handler configuration options...
-philip
On Thu, 20 Feb 2003, Sam Minnee wrote:
> Hi,
>
> I want to get PHP to handle the HTTP methods PROPFIND, PUT, DELETE, MKCOL,
> RENAME, MOVE, and COPY. I've coded up a WebDAV server in P
use the fopen, fputs, fclose commands.
look up in PHP manual on php.net.
Luke Woollard
-Original Message-
From: Jonathan Moore [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 20 February 2003 9:43 AM
To:
Subject: [PHP] PHP file writing to static HTML file. PLEASE HELP
hello,
i am in a bin
hello,
i am in a bind..
i need to know how to make a dynamic php page write to a static html page.
example: a php file pulls info from a database, such as name and location.
once it grabs this information, it needs to write the data to a static html
file for archiving.
i have explored different
Did you even bother to look on the site?
To prove a point, I did a seach for the word "number" on PHP, and found this
result within SECONDS:
http://www.php.net/manual/en/function.number-format.php
Justin French
on 20/02/03 9:54 AM, Dennis Cole ([EMAIL PROTECTED]) wrote:
> I am writing a s
BE CAREFUL WITH PHP_ADMIN_VALUE AND OPENING FILES FROM /tmp DIRECTORY ON
*NIX SYSTEMS.
YOU WILL NOT BE ABLE TO OPEN UPLOADED FILES FOR EXAMPLE UNLESS YOU USE THE
'upload_tmp_dir' OPTION AS ANOTHER php_admin_value...
--
You can configure this values for independent VirtualHosts.
Just p
Most ways require a program
a with root access to execute (setuid root) this is very insecure.
I would look at enabling your email program to get the account
information from a database like mysql or postgres, that way you need
just insert a record into the database.
Jason
On Wed, 2003-02-19 at 1
I assume you talking about a logged in, validated user -- because there's no
way to prevent a user from deleting their cookies, or changing their IP, or
using a different computer to access the site.
My only suggestion is that you create a user/pass login system, maintain it
with sessions, and mak
On Wed, 19 Feb 2003, Joachim Krebs wrote:
> How do I set the php.ini setting open_basedir on a per-directory
> basis? Ideally, I would like to set it using .htaccess files...
open_basedir can only be set in php.ini or httpd.conf.
You might be able to set it in stanzas within your httpd.conf,
bu
on 20/02/03 1:08 AM, Christian Ista ([EMAIL PROTECTED]) wrote:
> Is there a better way to be sure, I have the IP address of the user (the ISP
> ip address)
No.
IP address' can be faked, they can be part of a firewall/network, and the
browser can choose not to send them. They are helpfull, but n
G'day all,
I have a directory with an "" (mac Option-F) in the name which PHP
processes as "Ä". This change renders the files in the directory unopenable
(the path is bad).
Is there some sort of encoding/unencoding which will handle this character
correctly? I've tried every form of encoding I
Many thanks Jason.
TR
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I'm designing a site with about 100 different pages. I'm debating whether to
use a template mechanism such as smarty or patTemplate vs just creating
pages and including the body templates based on the url parameters. I
realize you get a layer of abstraction using the template mechanisms, but
w
I am trying to use a form (password protected of course) that will allow an
administrator to add POP accounts to a linux box. The problem that I seem to have is
that the form is trying to give the commands as user 'nobody' and they need to be
given by either root or a superuser.
Is there any w
More safe mode questions:
I'm using the standard binary distribution of PHP on Mac OS X -- the
one managed by Marc Liyanage, not the one that ships with OS X -- and
can't seem to get safe mode working. I can turn it on and it doesn't
generate any errors, but it doesn't restrict access to fil
Hi,
I want to get PHP to handle the HTTP methods PROPFIND, PUT, DELETE, MKCOL,
RENAME, MOVE, and COPY. I've coded up a WebDAV server in PHP to do things
that mod_dav cannot (store content in a database or filesystem, call event
handlers, filtering the file list, more sophisticated permission
conf
I'd say no.. but if this is about limitations of for example the
header() function (where it needs to be called before anything should be
output to the browser) then you could buffer your output with: ob_start()
and ob_end_flush()
Hans
"Daniel Guerrier" <[EMAIL PROTECTED]> schreef in beri
Do you ever want to show more then .00 in the decimals place?
If not, strip everything off of the number after the decimal including the decimal.
then format the number on retrieval by using number_format($number,2);
HTH
RVW
Quoting Dennis Cole <[EMAIL PROTECTED]>:
### I am writing a script tha
There are a lot of other handlers that can call your function:
onChange, onFocus, onBlur, onMouseOver, onKeyDown, etc..
gl :)
"Van Andel" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
m...
Try this.
void function MyExampleFunction(theelement) {
theelement.focus()
}
The v
I am writing a script that will take amount out of a database then display
them on the page. But, some of these are like "46.0" or "46" or "46.005",
and they all need to look like "46.00". Is there an easy way to do this.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
I'm recalling this from memory, and I may not be 100% right, but it
should put you on the right path. You will need to install the Oracle
client libraries on the box with php (you can find these on the Oracle
discs used to install the actual database). However, if I remember
correctly, the Or
Hi all,
I am working on PHP project with a MySQL backend. However, we would like
update the MySQL database periodically with an Oracle database not on our
server. What should I do to interface with Oracle? Do I need to install
anything on our server (OS X Server running Apache)?
Thanks for any
Thanks Kevin for your advice:
The form included into the index.php had declared the 'action' parameter
this way:
action="index.php" , and the error ocurred.
I took your advice and changed this value by
action = "http:///system/index.php".
In asp, action="index.php" works normally, but the philo
I have an idea that might work in theory. Provided that you have php running
on a Unix based OS. You could forward all emails to an email that sits on a
Unix server. There they are stored as plain text files, then just parse what
you need on a daily basis and truncate that file to 0 bytes.
BUT it
On my website there are a couple places where people can sign up ..
The querys after the sign up process look like
$blahblah = query(insert firstname lastname) values (blah blah blah)
$userid = mysql_insert_id($blahblah);
$insertintoothertable = query(userid, blah blah blah) etc.
it then uses t
Thanks Ray but i've found the problem and sorted it. :-)
Steven M
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I want to define 3 constants
DOC_HOME_PATH
IMG_HOME_PATH
CTL_HOME_PATH
So that I can just do this
Click Here
**do I need to echo?
**not everything goes to "stuff"
Right now I have
define ("DOC_HOME_PATH", "d:/is/projects/killerspin/web/store/");
define ("IMG_HOME_PATH", "d:/is/projects/kil
Thanks Kevin for your answer:
I emphasize that require ("../index.php") works because I see the page
index.php finally in the browser, the problem is when this page calls itself
to authenticate the user, It's seems like the page tries to find itself into
the /system/subd1/ directory.
When I calle
Having to query the DB again and/or create my own function is what I
wanted to avoid, but looks I'll have to do it.
Thanks for the replies...
---> Jonathan
-Original Message-
From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 2:45 PM
To: [EMAI
Hi Johnathan
Thanks I've got it now, hidden fields did the trick. :-)
Steven M
"Jonathan Villa" <[EMAIL PROTECTED]> wrote in message
004301c2d851$24ac2fd0$8600a8c0@inhocvince">news:004301c2d851$24ac2fd0$8600a8c0@inhocvince...
> How is the information being kept? Sessions? You'll either want to
Howdy list,
I'm trying to install a PHP CMS package that requires GD
and TrueType.
I installed the latest PHP production release (4.3.1) with
the following configure line:
./configure --with-mysql=/usr/local/mysql \
--with-apxs=/usr/local/apache/bin/apxs \
--en
Do a search at google for "cron jobs tutorial"...
http://www.google.com/search?q=cron+job+tutorials
That should give you lots to read... :)
--
Ray
On Wed, 2003-02-19 at 13:36, Pushpinder Singh Garcha wrote:
> Hello All,
>
> I need to ask you about some resources for "cron" jobs. Please sugges
At 21:28 19.02.2003, Jonathan Villa spoke out and said:
[snip]
>Using MySQL, one can use mysql_insert_id to get the value of an
>auto_increment column.
>
>How would I do this using ODBC and Access?
[snip]
Assuming the
Looks like there is not a function for it built in but you should be
able to query the sequence and get the number from there by writing your
own function...
--
Ray
On Wed, 2003-02-19 at 13:28, Jonathan Villa wrote:
> Using MySQL, one can use mysql_insert_id to get the value of an
> auto_incremen
On Wed, Feb 19, 2003 at 03:36:33PM -0500, Pushpinder Singh Garcha wrote:
>
> I need to ask you about some resources for "cron" jobs. Please suggest
> some online help
This isn't really a PHP thing. But you can always read man pages, the
documentation that comes with every unix-style operating s
Please provide more information...ie source code so we can find the
problem.
Ray
On Wed, 2003-02-19 at 13:14, Steven M wrote:
> Hi,
>
> I have created a form that passes details to the next page so the user can
> see the details they have submitted before clicking confirm to submit to the
> dat
Hello All,
I need to ask you about some resources for "cron" jobs. Please suggest
some online help
Thanks
Pushpinder Singh Garcha
_
Web Architect
Using MySQL, one can use mysql_insert_id to get the value of an
auto_increment column.
How would I do this using ODBC and Access?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I don't know for sure but I believe commands like (../) may not work in the
require() or include() functions. Just code the exact path from the home
directory and you should be good to go..
require("/var/www/html/system/index.php");
By the way I'd think twice about the way in which you're authen
PHP seems to automatically be escaping quotes on my $_POST variables.
magic_quotes_gpc is set to On in your php.ini file. You can use
stripslashes()to undo its effect or alter this behavior on a
script-by-script basis using ini_set().
Larry
--
PHP General Mailing List (http://www.php.net/)
T
How is the information being kept? Sessions? You'll either want to
store them in a session or create hidden fields on the confirmation
page, then when they click on confirm, you'll have access to the fields
on the new page, (the page where your processing script is)
---> Jonathan
-O
when I try to connection to the access file using Microsoft Jet Engine. it
come up with following error!
can anyone help me?
$conn = new COM("ADODB.Connection");
$conn->Open("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=$database");
$query = "SELECT * FROM user";
$result = $conn->Execute($que
Hi,
I have created a form that passes details to the next page so the user can
see the details they have submitted before clicking confirm to submit to the
database. The problem is that the details dont seem to get passed to the
script after they have appeared on the confirmation page. I know th
Okay, found a workaround. This doesn't really answer my original question,
which may not have an answer, but this did what we wanted:
http://www.phpbuilder.com/mail/php-general/2001032/1269.php
It may also be necessary to use HttpServletResponse.encodeRedirectURL
before using sendRedirect in you
Hi everyone:
Suppose please this example:
/var/www/html/system/index.php
/var/www/html/system/subd1/page1.php
The users should call index.php to see the other pages into the
/var/www/html/system/ directory
the index.php calls itself using a form to authenticate the user
Inside page1.php I wrote
--On Wednesday, February 19, 2003 19:42:00 + Joachim Krebs
<[EMAIL PROTECTED]> wrote:
PHP seems to automatically be escaping quotes on my $_POST variables.
Am I talking rubbish, or is this some setting? It is annoying me
greatly.
check the smart_quotes_gpc stuff.
--
PHP General Mailing
PHP seems to automatically be escaping quotes on my $_POST variables.
Am I talking rubbish, or is this some setting? It is annoying me
greatly.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks. I'll take a look at it. It seems, though, as if the basic PHP
installation with the mail() function and base64 encoding support ought
to be able to do this without the need for such an extensive API. As I
said, I've got the mail to the point where all the different parts are
recognized
My apologies for the prior html version, I forgot to change back to txt.
Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388
On Wed, 19 Feb 2003, Larry Brown wrote:
> How do you determine whether or not it is faster/more efficient to run a
> complicated query or to run multiple simple queri
On Wed, 19 Feb 2003, Larry Brown wrote:
> How do you determine whether or not it is faster/more efficient to run a
> complicated query or to run multiple simple queries and join / manipulate
> the results with PHP?
By empirical methods ...
--
PHP General Mailing List (http://www.php.net/)
To
It sounds like you're asking for triggers, which are available yet. But
you could setup a cron job to run every night to update the database. It
would be no different than doing a nightly dump for backup. You could
even have it email you the accounts that were closed and those that will
be clos
How do you determine whether or not it is faster/more efficient to run a
complicated query or to run multiple simple queries and join / manipulate
the results with PHP?
Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388
Anthony -
The column list is a comma seperated list, the last column cannot have a
comma after it or the SQL server will expect another column to be listed.
However in that code segment it is not trying to determine if there is
or is not a column, it is simply attempting to add the (length)
at
no i tried that :( i think it somthing with my apache server
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Thursday, February 20, 2003, 3:34:31 AM, you wrote:
AR> This is what I was getting at.
AR> The following is correct mysql syntax in which a comma must be added after
AR> each field - except for the last field - in this case price:
AR> i.e.,
AR> .
AR> CREATE TABLE chairs(
AR>
http://www.php.net/fopen
fopen("filename","w");
On Wed, 2003-02-19 at 13:13, Beauford.2002 wrote:
Hi,
I want to be able to check to see if a file exists and if so I want to be
able to overwrite it. If it doesn't exist I want to be able to create it and
Hi,
I want to be able to check to see if a file exists and if so I want to be
able to overwrite it. If it doesn't exist I want to be able to create it and
then make sure it is writable. A lot of this I have found in the PHP manual,
but I can't find anywhere on how to just create the file or overwr
How do I set the php.ini setting open_basedir on a per-directory
basis? Ideally, I would like to set it using .htaccess files...
Joachim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Store the timestamp of their first login to a database. Also store the
number of days (3, 90, 365) that there account is valid. Setup a script
to nightly go through the database and for any records where:
first_login_timstamp + number_of_days < right_now
is true invalidate their login and send
Okay, saw the other posting I made earlier today and someone spoke about
using the 5th parameter, '[EMAIL PROTECTED]'. So, I tried it and it work
with the "Return-Path:" and "Error-To:"... Finally!!! I have been working
on the sendmail problem for a week and now I'm glad to see it coming to an
Hello Everyone,
My php/mysql application needs to keep track of the first time that a
User logs on to the site. Afterwards the User should be allowed either
3 days / 3 months/1 year of access to the site. Once the stipulated
time period is over the system should invalidate the login of the us
The reason for this is due to the fact that PHP can override Sendmail but
Sendmail can not override the Unix/Linux Operating System. So, once
sendmail work without a problem in O/S, including inside the domain on the
local network where hte machine reside and outside of the local network
then you
--- Chris Hayes <[EMAIL PROTECTED]> wrote:
> At 15:33 19/02/03, you wrote:
> >I have a script which adds header information to a different page, on my
> >server I get a Cannot add header information - headers already sent by.
> >But on other servers it works fine, does any1 know why??
>
> Are yo
1 - 100 of 196 matches
Mail list logo