In the php.ini file set error reporting to E_ALL & ~E_NOTICE
- Original Message -
From: "Borut Kovacec" <[EMAIL PROTECTED]>
To: "PHP Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, January 09, 2003 9:57 AM
Subject: [PHP] undefined variable notice - how to furn of
Hi
I just installed n
You are on the right track, but missed one major thing.
Anytime you want to retrieve information from a database result set you have
to follow 3 basic steps.
1) Connect to the database *you got that one
2) Execute a query *you got that one
3) Retrieve the resultset ***missed this one
See http://ww
Your local version does not have register_globals turned on in php.ini.
You can either set the value = on or access posted values by using $_POST or
$HTTP_POST_VARS depending on your version of php.
- Original Message -
From: "David Chamberlin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Se
Try viewing the source that is generated in html and I bet you will find
that it is broken html code.
- Original Message -
From: "Lightfirst" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 02, 2003 4:25 PM
Subject: [PHP] Baffling output
> Can someone explain to me why
Merry Christmas!
Joseph Ross Lee
POPS Inc (People Organization Process and Solutions)
Phone: 8077232 Mobile:+639189363808
5L WestGate Tower, Madrigal Business Park, Investment Drive, Ayala
Alabang, Muntinlupa City, Metro Manila, Philippines
--
PHP General Mailing List (http://www.php.net
No, for that use a if statement
if($fname == "Select") {
$errormessage = $error;
include( "other.html" );
exit;
} else {
//code
}
A switch works like this
switch($var) {
case 1:
//if $var==1
$thisvar = $something;
break;
case 2:
//if $var==2
$thisvar = $something2;
break;
}
~M
IIS may not have that variable.
You might want to install apache on your local machine so that you are using
the same tools.
- Original Message -
From: "rolf vreijdenberger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 18, 2002 4:00 PM
Subject: Re: [PHP] $_SERVER['
Both sites are running winXP and IIS? Both same version of IIS?
If the variable is on one and not on the other it could be either a version
conflict, or a configuration problem.
- Original Message -
From: "Rolf Vreijdenberger" <[EMAIL PROTECTED]>
To: "Joseph W. Go
Is there a difference between PHP versions on your machine and your site?
Have you looked at phpinfo() to see what variables have been set on your
system?
- Original Message -
From: "rolf vreijdenberger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 18, 2002 3:38 PM
Actually, I was mistaken. It isn't php.ini that has to be changed. I
believe it is httpd.conf.
php runs as what ever the webserver is set up to run as.
- Original Message -
From: "Joseph W. Goff" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTEC
You can set this up in the php.ini file in the /etc directory.
You can set php to run an any user and any group that you have set up on
your system. Just make sure that you set permissions properly so that it
can function in the directories that it is accessed.
- Original Message -
From: "
Your error reporting is set to E_ALL. If you change it to E_ALL & ~E_NOTICE
you will not get the notice messages anymore.
Also, if you are not getting the value, try $_POST['Test'] instead.
- Original Message -
From: "Jay Thayer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, D
You have the error_reporting set at E_ALL in the ini file. Set it to E_ALL
& ~E_NOTICE
- Original Message -
From: "Edward Peloke" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 1:29 PM
Subject: [PHP] php setup
> I recently got a laptop and was in the pr
You don't have a closing french brace for your while loop.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 12:57 PM
Subject: Re: [PHP] Re: Stumped!
Hmm, I am still getting a parse error on the last line of code
I don't know. You need to show your code.
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Joseph W. Goff" <[EMAIL PROTECTED]>
Cc: "php-general" <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 12:01 PM
Subject: Re: [PHP] URL field receivin
Whatever variable that is suppose to contain the URL is an array. If you
try to print a variable that is an array the value you get is 'Array'. You
will either have to step through it, or implode it, or something of that
nature to get what the array contains.
- Original Message -
From: <[
What happens when you remove the suppresion operator (@) from the
move_upload_file and why not just use ftp_put()?
That has always worked fine for me.
- Original Message -
From: "Marios Adamantopoulos" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 11:06 AM
Subj
It looks to me like you are trying to get an uploaded file?
If so, it isn't $HTTP_POST_VARS, it is $HTTP_POST_FILES or $_FILES if you
are using a version of PHP that has super globals.
See the PHP manual for more info:
http://www.php.net/manual/en/language.variables.predefined.php
- Original M
eeing if it matches the stored, encrypted password. There is
no way to decrypt it without brute forcing it.
So just assign a new password and mail it to the user. Hope this helps.
--Joseph Guhlin
http://www.josephguhlin.com/
Was I helpful? Let others know:
http://svcs.affero.net/rm.php?r=
I'm sorry, posted the wrong link.
It is the number_format() function.
http://www.php.net/number_format
- Original Message -
From: "Joseph W. Goff" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>; "Max Clark"
<[EMAIL PROTECTED]>
As long as the script has reading capabilities for the directory then yes.
- Original Message -
From: "Randum Ian" <[EMAIL PROTECTED]>
To: "'Kevin Stone'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, December 13, 2002 1:25 PM
Subject: RE: [PHP] FTP Listings for HTML page
> Woul
You can use the format() function for this.
http://www.php.net/format
- Original Message -
From: "Max Clark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 13, 2002 1:10 PM
Subject: [PHP] newbie - decimal places in arthimetic functions
> Hi-
>
> How can I control th
Just a small question, but why not just do this through the SQL statement
instead of using php?
http://www.mysql.com/doc/en/Date_and_time_functions.html#IDX1295
[from the mysql manual]
mysql> SELECT DATE_FORMAT('1997-10-04 22:23:00', '%W %M %Y');
-> 'Saturday October 1997'
mysql> SELECT DAT
it is set before setting it is to:
if (!isset($_SESSION['client_filter'])) {
$_SESSION['client_filter'] = $client_filter;
}
That way it will be set before the rest of the script commences.
Hope this works for you! If not, I'm not sure what the problem is and
someone el
test
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to see if it is signed by
a trusted CA?
Any suggestions?
--
Regards
Joseph Watson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to use all these methods!
I think I have it sorted out, using a variant of your original idea. Thanks!
Joseph
"Justin French" <[EMAIL PROTECTED]> wrote in message
news:B9F96111.1728F%justin@;indent.com.au...
> It still seems to me that there must be a fundamental problem
> ...press CTRL-N - there
> you go, a new window, pointing to the same page, with the addess bar showing
> exactly where the page is. I use this method quite often :)
Furthermore, disabling right-click does NOT disable the Context Menu key (you know,
the one in between the Windows
ow, paste in the
address. It's takes 3 seconds.
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
R and javascript.
However I do like your random number idea. I'll have to give it a shot.
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
he referer would still be detected.
Am I up a creek? Is there anyway for a popup window to get the page referer (in other
words, the popup opener)?
Thanks, Joseph.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Folks... when I execute the following code, I get a big black nothing. I think it's
the right size, but all black. No image is showing up. What gives?
Header("Content-type: image/tiff");
$filename = image.tif
$file = fopen("$filename",rb);
fpassthru($file);
fclose($file);
Any help would be ap
on line 58
Hello
World!
I tested this script with the 3 configuration but it's the same error
I changed $in, &inout , &out into $&in, $&out, $&inout but it's the same
error
Please help me !!!
Fabien JOSEPH
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.macromedia.com/desdev/mx/flash/articles/flashmx_php.html
http://www.phpbuilder.com/columns/hill20011214.php3
"Neil" <[EMAIL PROTECTED]> wrote in message
news:20021029140955.29707.qmail@;pb1.pair.com...
> Does anyone use this?
>
>
--
PHP General Mailing List (http://www.php.net/)
Actually, I don't think you can make a progress bar function correctly for a
file upload. The file is uploaded before control is ever given to the
script.
- Original Message -
From: "Oscar F" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 16, 2002 1:17 PM
Subject: [P
Couple good places to start...
http://www.phpbuilder.com/columns/hill20011214.php3
http://www.macromedia.com/desdev/mx/flash/articles/flashmx_php.html
Joseph
"Zeljko Bozic" <[EMAIL PROTECTED]> wrote in message
001b01c26ca2$cc79c7b0$b3411ad9@stuntssw9fdkdl">news:001b01
Never mind. Didn't realize PHP had the parse_url function. Got it!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
1) http://www.google.com
2) http://www.google.com/
3) http://www.google.com/search?sourceid=navclient&q=evil+microsoft
... would all give me http://www.google.com
Could anyone give me a hand? Thanks!
--
: Joseph Szobody :
"Computers are like airconditioners: They stop working properly
This should open up a new window for the new page
As far as passing variables from page to page, have you ever considered
sessions?
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 24, 2002 2:46 PM
Subject: [PHP] Variables and Forms
>
>
Joshua,
I learned a ton by reading this tutorial. See if it helps...
http://www.zend.com/zend/tut/tutorial-Ferrara.php
Joseph
"Joshua E Minnie" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hey all,
> I am looking
I'm trying to send mail on a Windows machine using PHP. I have made the necessary
corrections in the php.ini file for the SMTP server address, and the sendmail_from, my
problem is that my SMTP server require authentication. How do I tell PHP to provide
this?
Thanks!
Joseph
--
PHP Ge
like that. But
again, how exactly would I call the script? I certainly don't want a new browser
window to open every 15 minutes, especially if it doesn't close again.
Any insight? Thanks!
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rs);
?>
That's it. The key part are the two header lines that set the MIME-Version, and the
Content-type. Other than that it's the same.
Note... I changed all the double-quotes in the HTML code to single quotes. This way I
could use double-quotes around the whole block of HTML, and simp
PHP is open source so anyone can get the source code to it. You can find it
at http://www.php.net/downloads.php
- Original Message -
From: "Oliver Witt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 19, 2002 9:50 AM
Subject: [PHP] PHP source code
> Hi,
> Is ther
download file dialog. This is
NOT what I want, why is this? Weird.
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
says something like "Downloading from
site .blah", then says "Done". Nothing happens. I'm still on the previous page. No
error, no pdf file... nothing.
I removed the Header line, and IE prompted me to download the file. That's not what I
want.
What am I doing
PDF files (without putting them in a web-accessible folder)?
Thanks,
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rocedures (besides an encrypted connection)?
I'm pretty new to PHP security issues, can you point me in a direction?
Thanks,
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php is treating command line arguments as GET argument. So that means a +
is a space. Try rawurlencode.
- Original Message -
From: "Renato Lins" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 28, 2002 1:37 PM
Subject: [PHP] command line argument vs. urlencode ?
> H
sfully, but when the user goes to a protected page, he's
redirected to error.php?err=2. For some reason, the IP address appears to be changing.
Is this a known issue with AOL? Is the IP really changing from page to page? That
seems weird. Any way around this, or must I stop using this security
I have done this two different ways.
The first involves a function that creates a dropdown from the database.
What is special about this function is that I assign it's own condition as
part of the value for that option. Take this sql statement: select distinct
column_name from the_table
and it wou
Thanks. That's what I needed.
Joseph
"Richard Lynch" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> >I have a 5-step (5 page) process in which users must answer various
> >questions. Each page passes along the data to the next page, at the
able, it breaks the whole string. Everything after the '#' is lost.
How can I get around this? Is this something I must simply check for and strip out?
What other characters must I worry about? As you can see, I'm already putting
everything through htmlspecialchars() and addslash
Actually, M.A.Bond is right, you don't even have to enclose it, just use the
return construct.
- Original Message -
From: "Joseph W. Goff" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>; "Henry"
<[EMAIL PROTECTED]>
Sent:
You will have to enclose the code is some form of a container.
i.e. a function, while loop...
I would probably use the function, then you could exit with return
The other types of container would use break.
- Original Message -
From: "Henry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sen
You don't actually have a variable named $do at this point.
You can either have php set this variable automatically by turning on
register globals in the php.ini file or you can extract the variable or do
something like this:
foreach ($_POST as $key => $post)
{
echo "$key = $post";
$$key =
Not currently, but this will be added in the Zend2 engine. You can find out
about this on the Zend website.
- Original Message -
From: "Richard Black" <[EMAIL PROTECTED]>
To: "Php-General" <[EMAIL PROTECTED]>
Sent: Friday, August 16, 2002 9:24 AM
Subject: [PHP] OO code and private functio
preg_match('!]+>(.*)!Uis',$info,$regs);
$everything_between_divs=$regs[1];
- Original Message -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 15, 2002 11:44 AM
Subject: RE: [PHP] so nobody knows how do get rid of everything o
Is there a way for PHP to look at a local multiple-page .tiff file and find out haw
many page it has?
Thanks,
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I don't think there's a builtin that does exactly what you are looking
for, but this will do the trick:
-Joseph Rosenblum
President, 25th Street Networks
Easy, Reliable PHP Web Hosting at:
http://www.25thstreet.net/
-Original Message-
From: andy [mailto:[EMAIL PROTECT
Do you know you have a typo in that conditional there? Was that your
real code? You misspelled 'else' as 'esle'.
-Joseph Rosenblum
President, 25th Street Networks
Get Easy, Reliable PHP Web Hosting at:
http://www.25thstreet.net
-Original Message-
From: Alex M
I saw a comment in the online docs about setting the return-path for
sendmail for virtualhosts. However, the note did not say WHERE to put the
line - I attempted to put it into apache's virtual host tag and that failed.
The line was:
php_admin_value return-path "/usr/sbin/sendmail -t -i -f [EMAIL
ocessing script
access all these different values in 'list'? If I try to echo '$list' it only show
*one* of the selected items from the list. I've tried treating it as an array
($list[0], $list[1], etc), but that doesn't work either.
How do I get at the diff
Thanks folks. Worked like a charm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;;
}
I get a parse error when trying to run this code. Can I not use $i to call the $var1,
$var2, etc. variables? Is there another way of doing this?
Thanks,
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi There,
I am trying to incorporate zipping and unzipping files on a windows
platform via PHP. I came across ZZiplib but wasnt able to find any
information with regard to windows installation. Is there anyone who has
tried something similar ?
If yes, could you give me installation deta
try this:
if($type=="test1" || $type=="test2" || $type=="test3"){
Joseph
<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Is it possible to do something like this all on one line.
> What I need is if
expecting `','' or `';'' in /var/www/html/test.php on line 4
Now why didn't that come up immediately?! Any help is appreciated.
Thanks,
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
I want to grab a webpage and I use the file() function to grab it.
The URL in the file() function works OK when I typed it in my address bar.
The speed is OK.
$fcontents = file
("http://www.website.com/cgi-bin/cgifunction/webpage.cgi";);
However, when I use the above code and tried to run t
l Cruz" <[EMAIL PROTECTED]>
To: "Joseph Smith" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, April 28, 2002 4:35 PM
Subject: Re: [PHP] Autoload of cookies on Linux fails, Win32 works???
> On Sun, 28 Apr 2002, Joseph Smith wrote:
> > Assuming I
Thanks, but when I tried this..
I consistently get "No Cookie!!"
Yes, the cookie is set.. I can delete the cookies and a new one gets
created.
- Original Message -
From: "Miguel Cruz" <[EMAIL PROTECTED]>
To: "Joseph Smith" <[EMAIL PROTECTED
ing of cookies, then it prints "12345"
On linux, this does not happen. In fact, there appears to be no
autoloading of variables.
Is this intentional or is there a configuration setting I'm missing?
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
above areas and live in
Adelaide South Australia, please send resumes, relevant experience and
contact details to:
mailto:[EMAIL PROTECTED]
Please do not reply on this list!
Regards,
Joseph Blythe
Production Manager
Optcom
49a Orsmond Street
Hindmarsh SA 5007
P: (08) 8346 3311
F: (08) 8346
uggestions,
Joseph
-Original Message-
From: Tim Ward [mailto:[EMAIL PROTECTED]]
Sent: December 11, 2001 4:55 AM
To: PHP General Mailing List; Joseph Fung
Subject: [PHP] RE: @file problems w/ remote files
How about wrapping the "@file(...);" in an "if(file_exists(...)) {..
e knows of an alternate way to download a
file from a server - if that failed, set a flag and continue processing
rather than simply erroring out.
Thanks for any help - sorry for the miscommunication earlier.
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROT
least it is
a standard :)
Good luck with the install.
Regards,
Joseph
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, 26 November 2001 9:11 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] GD, PNG
Interesting. Thanks
So after untar, I will use that sequenc
freetype2 libs/includes, but if you get it compiled you should
have no problems.
Regards,
Joseph
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, 23 November 2001 5:04 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] GD, PNG
Hello, and thanks for your time, whi
,
Joseph
-Original Message-
From: Yamin Prabudy [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 24 November 2001 4:46 AM
To: Michael A. Peters; PHP
Subject: Re: [PHP] GD, PNG
I try to compile againts PNG and JPEG and for web inteface
i had install zlib
and png and jpeg
then gd
but still have no
people don't click on it and point it at its self, it just
comes up blank anyway as it does not use the dreamwaever template.
Regards,
Joseph
-Original Message-
From: Joseph Blythe [mailto:[EMAIL PROTECTED]]
Sent: Friday, 23 November 2001 2:47 PM
To: [EMAIL PROTECTED]
Cc: [
list :) I
don't need the php in the printable version so if I can either eval it or
strip it out that would be nice.
Regards,
Joseph
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: Friday, 23 November 2001 2:28 PM
To: Joseph Blythe; [EMAIL PROTECTED]
Subject: R
ose because of the escape characters...
Another option would be to find the php code evaluate it and then put the
result back in the correct position, I sort of tried this with not much
luck.
Any ideas..
Regards,
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
John,
Look in the original distribution files for php.ini-dist (or
php.ini-optimized) and copy it to c:\windows\php.ini
As far as I know php can run without a php.ini I beleive it has builtin
defaults.
Regards,
Joseph
-Original Message-
From: John Monfort [mailto:[EMAIL PROTECTED
dated? Thought there
may be some way of grabbing the stats and generate my own graph with gd or
something?
Any ideas?
Regards,
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
Thanks,
I got to recompile php to do this (me too lazy), can't I do this with the
network/filesystem functions? will keep this in mind though.
Regards,
Joseph
-Original Message-
From: Jason G. [mailto:[EMAIL PROTECTED]]
Sent: Monday, 5 November 2001 4:14 PM
To: Joseph Blythe
Su
,
Joseph
--
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]
-php-source .phps
Just a thought!
Joseph
-Original Message-
From: J W W L (Warwick) Berg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 31 October 2001 3:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: I rest my case
Hey thanks guys for the help, but it's still not happening. Apach
Not sure if you have seen this, it has been around for a while:
http://www.phpbuilder.com/columns/tim2526.php3
Regards,
Joseph
-Original Message-
From: Andy [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 27 October 2001 3:44 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Searchengine
much pain
stakingly changing all of our passwords everything seems to be ok now.
Just thought it was kind of funny that they blammed the web developer first
as I am the one who uses all the weird arsed software :)
Regards,
Joseph
-Original Message-
From: brendan [mailto:[EMAIL PROT
helps,
Joseph
-Original Message-
From: DeloX [mailto:[EMAIL PROTECTED]]
Sent: Friday, 26 October 2001 4:49 PM
To: [EMAIL PROTECTED]
Subject: [PHP] What is the best way to do this...
Let s say i have 5 pages on my site. I want some content to appear on each
page so that when i want to
ok thanks, think I fall in that category too, but doing my best to change it
:)
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Friday, 26 October 2001 4:05 PM
To: Joseph Blythe
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] security
Has been around for quite a while
just stummbled across this great study by Shaun Clowes on php security, this
is just the kind of information I have been looking for, thought others
could also benefit from it.
http://www.securereality.com.au/studyinscarlet.txt
found during google search: PHP Security
cheers,
joseph
--
PHP
active states komodo (www.activestate.com) or ZendIDE 2 (www.zend.com) I
have used both and are really good as you can debug both local and remote
scripts both are commercial though, komodo is free for non-commercial use. I
believe you can beta test them both (ZendIDE2 requires you to be ZPal) :)
dmin_value safe_mode_allowed_env_vars PHP_
php_admin_value safe_mode_protected_env_vars LD_LIBRARY_PATH
php_admin_value sendmail_from [EMAIL PROTECTED]
What am I doing wrong, any suggestions welcome on the above conf too :)
Thanks in advance,
Joseph
--
PHP General Mailing List (http://w
Thanks! What would people reccommend?
1) just using safe mode
2) using open_basedir and disable_functions
3) all of the above?
4) Just shutoff the server :)
If (2) or (3) what functions are most at risk? I understand that safe_mode
limits quite a few already.
Regards,
Joseph
-Original
gards,
Joseph
--
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]
ive done this b4 but havn't got the scripts here they at home (can't
remember the exact command line, but from memory was a little fiddly), if
you have any problems send a email to [EMAIL PROTECTED] over the weekend
and i will gladly try and dig up an example for you.
regar
Has anyone on this list developed an ad rotation program in PHP?
Joseph
--
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
Yes. I've had to do this a few times to upgrade to 4.0.6. It is a pain, but
the only way I know of.
Joseph
iWebsiteSoftware.com
-Original Message-
If I rebuild PHP, do I need to rebuild my apache???
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
Sounds like their upload script isn't setting the correct file permissions
> when creating the file. Directory permissions don't seem to be a problem
> for you.
>
> -Joe2
>
> > -Original Message-
> > From: Joseph Koenig [mailto:[EMAIL PROTECTED]]
> >
I've got a script on an NT (IIS 4.0) server that uploads a file. When
the user attempts to replace the uploaded file with a new one via the
form, the script is generating errors.
Warning: Unable to create
'D:/public/HJ/www.h-jenterprises.com/test/pics/catalog/104_2.gif':
Permission denied in
D:\p
601 - 700 of 882 matches
Mail list logo