After doing authentication we can retrieve the username using PHP_AUTH_USER
wish to determin what that user's home directory is on the server from within
PHP... obviously working the
'pw usershow '.$PHP_AUTH_USER
through exec results in permission problems (web uid not allowed to run PW
Problem;
call external perl script with variables as arguments when variables may have
spaces or other restricted characters.
Details;
script needs to process $name $phone $creditcard (as examples)
normally this would easily be solved passing the command as
$command="myscript.pl $name
text file
[other stuff]
#%start dynamic %#
#%start site [identifier] %#
[contents]
#%stop site [identifier] %#
#%start site [identifier] %#
[contents]
#%stop site [identifier] %#
#%start site [identifier] %#
[contents]
#%stop site [identifier] %#...
#%stop dynamic %#
[other stuff]
already have t
currently only offer full php, postgres, mysql, et al access with virtual server
accounts (chrootd hacks, or jailed environments) these are cumbersome though.
Anyone have input regarding the potential security concerns with allowing users
(right now only chrooted ftp users with no permissions) t
what is the logic behind requiring the header?
for example, to avoid using cookies and yet ensuring security, we pass a
loginkey for all pages.
every page has
include('securitycheck.php');
which parses the loginkey, uncompresses/decode it to get the userid and
timestamp, and prompts for
to tie in web based scripts and database updates with some server side
maintenance and authentication issues, we need to have a PHP script be
called from another program. The program expects a return or exit
value to be transmitted back on completion or termination of the
script. 0 indicating su
yes I know, PHP wasn't meant for this task... the question has been
asked a number of tmes since V2...
we have exit() which, all though you can place a variable or string in
it, only prints it to the screen prior to killing itself (not sending
as an exit code)... same with die AFAIK.
is there
PHP is doing what it should to your form input. It automatically
performs "addslashes" to all form input so that the variables are
parsed correctly on the receiveing end.
do a "stripslashes" to get rid of it.
read the manual on these two and it will all be explained.
Dave
-Original Messag
almost didn't respond to this given the wide dissemination and the
broad nature of the question
can't be done with any accuracy.
you could, create a session or uservariable... have that transmitted
with a screen refresh, or anytime your consultant moves within the
site resetting an internal tim
anyone have an idea what the limit either in addresses or string
length that sendmail can handle in a to, cc, or bcc field?
Dave
--
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 ad
and then someone always asks why this isn't included as part of PHP
and how dumping such a task out to cron is stupid and it should be
incorporated into PHP... blah blah blah.
to preempt that. cron does it fine, low overhead, and the function of
PHP is not in the realm of cron's function. if yo
1) talk to the customer, in person if at all possible - get a CLEAR
picture of exactly what they want.
2) write down every aspect of what they want
3) take each element of the site and estimate how many hours it will
take you to accomplish it.
4) double the amount (your customer will cause that)
or cname the main PHP site that way we don't have to bog down/rely on
the primary PHP servers. jobs.php.net
Further to the other conversations on this topic:
We always investiate any companies that are looking for CGI, Perl,
and ASP solutions since many of them are just going off of what
13 matches
Mail list logo