Hi all
Sorry to bother you, but this problem is getting really urgent
for us (ISP). We are trying to setup PHP in a secure way but without
restricting the users too much, and up to now we didn't come to
an acceptable solution.
We are running PHP 4.0.3pl1 with Apache 1.3.12 on a Linux/Suse6.4
pla
Has anyone any idea why I can not upload a gif file from a Mac ?
I can upload the file, but it is not a gif when I receive it.
--
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 adm
Hello List!
Is it possible to unset $PHP_AUTH_USER and $PHP_AUTH_PW after
a successfull '.htaccess-login'?
I wan't to give all users the possibility to 'logout'.
I will destroy all sessions and unset $PHP_AUTH_USER,
but Apache still knows that there was a successfull login
a few minutes before.
Hi Nathan,
It's a hex dump and it reads:
ÿÿúÀÿÿÿí sr java.util.Properties9ÿÿý§càÿÿÿ~ L defaultst
Ljava/util/Properties;xr java.util.Hashtableÿÿû°òR ÿÿÿäÿÿûEUR0 $`
¦ÆöDf7F÷$ -F?&W6?öÆG??@ w t imaget Jhttp://mediabank.edventures.com/edventures/labs/bricks_web.jpg";
Don't quote me on this, but I think if you send the user a header saying
he's unauthorized then apache will remove the PHP_AUTH_* information.
Mike
-Original Message-
From: Jochen Kaechelin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 01, 2001 4:30 AM
To: PHP General
Subject: [PHP] Log
php-general Digest 1 May 2001 16:06:58 - Issue 660
Topics (messages 50944 through 50952):
Trouble loading Extensions in PHP 4.0.5
50944 by: John Monfort
Re: template solutions?
50945 by: Christian Reiniger
Re: why isn't get_browser() not working?
50946 by: Chris Ad
> -Original Message-
> From: John Monfort [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 30, 2001 5:08 PM
> To: Mark Roedel
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Best Practice-HTML In Database
>
>
> Yes, I will need to provide searching capabilities.
>
> Basically, I'm creatin
can you guys give me some good things to put into my .htaccess file for
my highest directory in a PHP/MySQL/Apache project?
--
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 administr
The 'security' angle is the only one I consider terribly valid, an was
what I had in mind when I said I can't think of too many reasons why a
packaged' template' solution is in order. Obviously it is for you.
I still believe that in most cases it doesn't make much sense to use one,
for most pe
On Mon, Apr 30, 2001 at 02:06:50PM +0100, Matthew Ralston wrote:
> Is there a nice easy function that could be used to get a sub string that
> lies in between two other sub strings in one big string.
>
> For example... get the text that lies in between "" and ""
> (without the quotes) in the code
Nope, it doesn't support nested loops (or dynamic blocks, as it's called
now). But PHPLib templates supports this. PHPlib covers a lot of other stuff
as well, but I haven't bothered to take a look at that yet, as Fasttemplate
is good enough for my use ;-)
http://phplib.netuse.de is their URL.
Re
Fasttemplate supports loops and if's.
You set a dynamic block like so:
{ROWCONTENT}
And then in the PHP code that parses this html template (.tpl, for example)
file, you do a $tpl->assign (.ROWCONTENT, "rowdata");
and loop over that. the .ROWCONTENT means that you're ADDING data to a
vari
Cool. I didn't know that.
Does FastTemplate support nested loop and ifs?
Steve
At 5/1/2001 10:33 PM, Henning Kilset Pedersen wrote:
>Fasttemplate supports loops and if's.
>
>You set a dynamic block like so:
>
>
>
> {ROWCONTENT}
>
>
>
>And then in the PHP code that parses this html template (.t
I'm wondering if anyone has experience using CURL and could advise if it's
the best direction for creating a SSL to a payment processing service.
I'm trying to connect an existing PHP form to a payment processing service
called Authorize.net. Using there direct response method requires a Secure
S
If you want to do it correctly it is much more difficult to calculate
the TZ than you think. The problem is that different time zones shift
to daylight savings at different times and some do not shift at all.
Therefore simply adding the offset will work for a while and then you
will get problems i
Michael Geier
CDM Sports Systems Administration
EMail: [EMAIL PROTECTED]
Phone: 314.991.1511 x 6505
--
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
On Sun, Apr 29, 2001 at 01:03:15AM +0200, Mogens Nielsen wrote:
> Now the problem: If I post a message with a line of text, a newline (as in
> hitting the return-key), some more text and newlines, these
> newline-separated text-lines show before the posting itself after reversing
> because they ar
I would like opinions on a security question.
A co-worker suggested we rename our application files to some extension
other than .php (for example, .htm). The reasoning being that the .php
extension tells a cracker that we are using PHP, and not ASP, or ColdFusion,
etc. The cracker can focus imme
On Sat, Apr 28, 2001 at 05:58:45PM -0500, Siamak Amirghodsi wrote:
> When I upload a file with php 4 and apache using the
> call move_upload_file(-,-);
>
> the file gets uploaded, but the file ( which is just a text file ) at
> the server side contains
> some extra lines at the top :
>
Not really, I mean it may deter a very novice hacker. But, if the people
want in, they can very easily find out what server and server software you
are running. For example, goto www.netcraft.com and click on 'What's that
site running?' and put in your www.domain.com address. It will tell ou
ev
What I always do would probably fill both needs. My filenames usually look
like this:
URL Files - can be accessed directly through the browser
filename.php -> Normal PHP files
Non-URL Files - are hidden from the browser either by means of .htaccess or
by
$PHP_AUTH_USER="" ought to do it.
> From: Jochen Kaechelin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 01, 2001 4:30 AM
> Is it possible to unset $PHP_AUTH_USER and $PHP_AUTH_PW after
> a successfull '.htaccess-login'?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
Hello to all:
I installed mySQL in my PC running Win98, PHP and PWS..I ran an example and
all Ok!!! But I have not still been able to run MS SQL'S example, I didn't
understand very well that I should make..in spite of the help that friends
of the list have offered me.
Thanks again !!!
--
Hi there,
I would like to unsubscribe from the phplist and it doesn't work.
How do I do that? I already sended a mail to unsubscribe.
Any sugestions?
Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
>I downloaded the distribution from www.php.net, so it's from the same
>distribution but it doesn't work. What should I do?
Try again with 4.0.5 when once the binary zip appears on the downloads page.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://w
On Mon, Apr 30, 2001 at 10:16:13AM -0700, Kasten, Holger wrote:
> I have a strange problem.
> I tried ereg_rplace and str_replace:
>
> $to_test = 'This is a test';
> $to_test = str_replace ("test","little test",$to_test);
> echo $to_test;
>
> the result is: "This is a \little test"
> Why does thi
Below is the (very) simple form that I'm using to allow users
to upload files to my site:
---
Upload Attachment
Upload File
You are uploading from an unsecure server.
Close
Window
---
The proble
Hi Tom
Yep, php_curl is the way to go. I have used exactly the same method to
connect to WorldPay. Check out php_curl on php.net.
Cheers
Peter
"Tom Beidler" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm wondering if anyone has experience using CURL
Hi all,
I got php_4.0.2 build went smooth on my Solaris8/SPARC.
It required a few GNU utilities that i got ready made from sunfreeware.com. It is
hosting most of the binaries of GNU utilities for Solaris. Thus time saving and
cleaner install using solaris packages avilable there. If you want t
At 5/1/2001 06:49 PM, Michael Kimsal wrote:
>The 'security' angle is the only one I consider terribly valid, an was
>what I had in mind when I said I can't think of too many reasons why a
>packaged' template' solution is in order. Obviously it is for you.
>
>I still believe that in most cases it
phpBarGraph is a bargraphing class for PHP. It allows one to have an
arbitrary number of bargraphs. phpBarGraph scales the bars to fit the area
you set. It is possible to cycle through colors for each bar. Each bar can
be its own color or they can all be the same color. Multiple bar graphs
can be
Hi,
What are benefits and losses of having a PHP module for apache instead of of a C
module if PHP modules are without xml and mysql support.
Opinions!
- Surinder
Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/
--
PHP General Mailing List (http://www.php.
> The problem that I'm experiencing using the above form is that when
> some users (and the problem is consistent for those users) submit the
> above form, *none* of the POST variables are getting passed to the
> receiving page. None of the hidden variables, not the "input
> type = file" variabl
On Sat, Apr 28, 2001 at 07:12:15PM +0100, Robert Morrissey wrote:
> I have a form on one page with a text box called 'emailtext'. This gets
> passed to a php script that gets info from a database (such as $name,
> $email, etc) and mails selected email addresses; my problem is this:
>
> Say, the
Hi all !!!
I need URL to download some visual tool to create Databases, tables,
etc..for mySQL
Thanks
--
M. Sc. Hassan Arteaga Rodríguez
Microsoft Certified System Engineer
Network Admin, WEB Programmer
FUNDYCS, Ltd
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To un
http://www.scibit.com
Mascon - it's great for MySQL, but doesn't support any other databases. If
you want for other DB's as well, use something like Embarcadero ER/Studio at
http://www.embarcadero.com - that's horrendously expensive, though.
--
Henning Kilset Pedersen
Anarchy Online Ser
Try this if you are using Windows.
http://www.anse.de/mysqlfront/
This is a Windows GUI for MySQL. It is very well done but it still has some
issues. I don't think you will have a problem if all you'll be doing is
creating tables , databases etc.
You can also try installing phpMyAdmin on the s
Hi,
is there a PHP class/library available anywhere, that supports
dynamic creation of different graphs? I need 2D bar graph and
pie graph support.
i found the VH Graph (http://www.vhconsultants.com/graph/graph.htm),
but they want $100 for their 2.x version. i'd prefer a free one
(i'm sure there
I can't quite get the logic to create my own associative arrays:
if:
$stuff[0]="165.33.114.63 anonymous Mozilla/4.0"
$stuff[1]="213.35.354.93 anonymous Mozilla/4.0"
how do I end up with:
$stuff[0][user]="165.33.114.63"
$stuff[0][browser]="Mozilla/4.0"
Thanks to Oktay and Henning !!!
--
M. Sc. Hassan Arteaga Rodríguez
Microsoft Certified System Engineer
Network Admin, WEB Programmer
FUNDYCS, Ltd
[EMAIL PROTECTED]
-Original Message-
From: Altunergil, Oktay [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 01, 2001 3:03 PM
To: 'Hassan Art
> is there a PHP class/library available anywhere, that supports
> dynamic creation of different graphs? I need 2D bar graph and
> pie graph support.
> i found the VH Graph (http://www.vhconsultants.com/graph/graph.htm),
> but they want $100 for their 2.x version. i'd prefer a free one
> (i'm sure
http://www.zend.com --> Resources --> Code Gallery --> Look Around ;-)
There's tons of them in there.
--
Henning Kilset Pedersen
Anarchy Online Server Operations
Oracle, PHP, e-Commerce etc.
Funcom Oslo AS
-Original Message-
From: indrek siitan [mailto:[EMAIL PROTECTED]]
Sent:
thanks again !!!
--
M. Sc. Hassan Arteaga Rodríguez
Microsoft Certified System Engineer
Network Admin, WEB Programmer
FUNDYCS, Ltd
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
> > Again, any help would be greatly appreciated!
> could be a browser specific issue. have you checked into the
> possibility that people having problems are all using the same
> browser?
I don't know what all of them are using, but most are using
IE. I don't know how feasable it would be to
Going grey haired again. In this code only the first case is working
(adding stuff to tables). The second and third are producing - Warning:
Supplied argument is not a valid MySQL-Link resource in
/chroot/htdocs/diarium/settings.php on line 31 (which is $query_res /ms)
error:
I've even cop
Hej, jag hade nog inte använt åäö i case men det är bara en vana, kanske du kan
använda en dold
variabel via html-formuläret istället och använda den i case satsen?
Men det svarar ju inte på din fråga men lycka till.
/ iImmy
Martin Skjöldebrand wrote:
> Going grey haired again. In this code onl
I was actually interested in the answer to this. I believe one can write in
English if one can read English. (PS: It's not my first language either)
oktay
-Original Message-
From: Jimmy Lantz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 01, 2001 3:14 PM
To: [EMAIL PROTECTED]
Subject: Re
Hello all!
I try to build additional extension modules for PHP4 (4.0.5RC6) on
Debian Linux 2.2r3 for connecting to commercial databases like
Sybase, Oracle8, and IBM DB/2.
But all what I get is a big PHP4 module with all additional
interfaces linked in (I use APXS from Apache 1.3.19).
Can anyb
$B!z!z!z!z!z!z!z!!(BJust in Mail $B!z!z!z!z!z!z!z(B
$B>pJsDs6!4k6HL>(B : G-Spot.com
$B"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!(B
$B:#=5$N$*>)$a%5%$%H$r$*CN$i$;$$$?$7$^$9(B
http://sv.g-spot.to/check/mail.html
$B(B $B!#(B
$B!z!z!z!z!z!z!z!!(BJust in Mail
Hello,
I am trying to make a hit counter graph that will have
7 days to it. Monday thru Friday.
I'm having problems getting the last 7 days.
For instance today is 05-01-2001 I would like to
determan the previous 7 days from that date. In VB
Date - 7 = 04-24-2001 I would like this to work for
an
Hello PHP'ers
I am having a problem with string delimiters. For some reason no matter what I do I
can not get them to process correctly!!
For example,
";
?>
That outputs:
yes no
What am I doing wrong?! Is there something I need to set in the php.ini file? I would
like to be able to type \n
H-
Some things to consider.
You might want to do a search and replace for any spaces and special
characters and replace them with the underscore for all files. This way
you won't get the Netscape error messages and it also might be affecting
IE.
For instance.
Provoke - Quick Blast.mp3 would
How do you open a text file and put all the contents into a variable like
$filecontent?
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: [EMA
Jimmy Lantz wrote:
>
> Hej, jag hade nog inte använt åäö i case men det är bara en vana, kanske
> du kan använda en dold variabel via html-formuläret istället och använda
> den i case satsen? Men det svarar ju inte på din fråga men lycka till.
> / iImmy
Fixat!
Problemet låg någon annanstans, vi
> I am having a problem with string delimiters. For some reason
> no matter what I do I can not get them to process correctly!!
> For example,
>
> $area_entered = "yes";
> $date_entered = "no";
> echo "$area_entered\t\t\t$date_entered";
> ?>
>
> That outputs:
> yes no
>
> What am I doing wr
> -Original Message-
> From: Joseph Bannon [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 01, 2001 2:33 PM
> To: PHP (E-mail)
> Subject: [PHP] opening files
>
>
> How do you open a text file and put all the contents into a
> variable like $filecontent?
You use some combination of the
Can anyone direct me as to what source is needed to compile ldap support
into php ? I get the error ldap.h not found when performing a configure
*options on php4.0.5. The server does not have an LDAP directory installed
which makes perfect sense. I need to find an opensource solution that works
we
I am running an apache server with virtual hosts and need to prevent the php
Copy command from being able to copy from one virtual host dir to another.
The server is in php safe mode and the doc_root, and basedir are set
correctly, at least they prevent "includes" and "opendir" and such from
work
I read about a PHP compiler for windows some time back - that qualifies PHP
as software, or actually code analogous to C/++ right?
"Kath" <[EMAIL PROTECTED]> wrote in message
002201c0cf58$c26d7980$[EMAIL PROTECTED]">news:002201c0cf58$c26d7980$[EMAIL PROTECTED]...
> Food for thought: Is PHP code s
>From the manual:
"Handling file uploads Uploading multiple files
Common Pitfalls
Not validating which file you operate on may mean that users
can access sensitive information in other directories. "
What is meant by the above? How would you "validate" that
you weren't operating on the
you could create a common include file for each directory, for e.g.
functions/auth.inc.php would contain:
include ("auth/auth1.php");
include ("auth/auth2.php");
...
later you could just include() the auth.inc.php file, and all the rest qould
get included as well
"andrew" <[EMAIL P
Hello people,
I came with this problem to the group a while back, got some suggestions,
and have been working on them since then. I know post the query again from a
new perspective
I have a mysql database, which contains a lot of email addresses and various
other fields. My PHP code generates a
Does anyone know of an equivilent for ASP's xmlHTTP.send command for
PHP?
i need to send a XML string out to an HTTP server without using user
interaction (from the inside of a script).
please respond via email at [EMAIL PROTECTED]
thanks
--
PHP General Mailing List (http://www.php.net/)
To
Hello all,
Quick question. I'm wondering what the easiest way to upgrade PHP is? For
instance, right now I have PHP 3 installed on a RH6.1 box and would like to
upgrade to the latest version. Even though it was installed using RPMs can
I use the tar.gz and build it to apply the upgrade? An
Hi -
I want to use javascript to validate some fields on a form.
The javascript code will take the value the user typed
into the form and search for it in an array. If the value
is found in the array, then the value is ok, otherwise
an alert() message will be displayed.
The amount of data in t
I can't quite get the logic to create my own associative arrays:
if:
$stuff[0]="165.33.114.63 anonymous Mozilla/4.0"
$stuff[1]="213.35.354.93 anonymous Mozilla/4.0"
how do I end up with:
$stuff[0][user]="165.33.114.63"
$stuff[0][browser]="Mozilla/4.0"
$stuff[1][user]="213.35.354.93"
$stuff[
Try using the $HTTP_RAW_POST_DATA array.
--
Steve Meyers
[EMAIL PROTECTED]
""PHP"" <[EMAIL PROTECTED]> wrote in message
9clmgq$2fc$[EMAIL PROTECTED]">news:9clmgq$2fc$[EMAIL PROTECTED]...
> Hi,
>
> I'm trying to the MSXML DOM 3 from Visual Basic and send XML to a PHP
page
> that sits on my Apac
Yah I got it.
I thought it was excellent. Goes into quite a lot of detail and pretty
advanced php programs with good descriptions of how to implement it.
Don't look to this book if you want a howto on how to set up mysql etc..
I thought it was a great book otherwise.
Great for edpereince progra
> Hello,
> For instance today is 05-01-2001 I would like to
> determan the previous 7 days from that date. In VB
> Date - 7 = 04-24-2001 I would like this to work for
> any date using php.
> Here is what I have so far...
> $t = (date ("m-d-Y"));
> echo $t; // output 05-01-2001
> echo "";
> $r =
I was also going to post this question from below, if anyone has an answer
please reply to me as well.
Thanks
- Original Message -
From: "Todd Kennedy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 01, 2001 1:37 PM
Subject: [PHP] xmlHTTP.send equiv?
> Does anyone know of
Hi,
Is it possible to add text onto the end of a variable name?
e.g. to add the word 'code' onto the variable $field so it would be $fieldcode
Thanks
Jamie Saunders
Mail: [EMAIL PROTECTED]
Web: http://jamie-s.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [
Apologies if this went through twice. The original got bounced back.
I'm wondering if anyone has experience using CURL and could advise if it's
the best direction for creating a SSL to a payment processing service.
I'm trying to connect an existing PHP form to a payment processing service
called
Hello PHP'ers
I am having a problem with string delimiters. For some reason no matter what I do I
can not get them to process correctly!!
For example,
";
?>
That outputs:
yes no
What am I doing wrong?! Is there something I need to set in the php.ini file? I would
like to be able to type \
Just do this:
$fieldcode = field;
Brandon
-Original Message-
From: Jamie Saunders [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 01, 2001 6:46 AM
To: [EMAIL PROTECTED]
Subject: [PHP] adding text to a variable name
Hi,
Is it possible to add text onto the end of a variable name?
e.g. t
"K Old" <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> Quick question. I'm wondering what the easiest way to upgrade PHP is?
> For instance, right now I have PHP 3 installed on a RH6.1 box and
> would like to upgrade to the latest version. Even though it was
> installed using RPMs can I use
Hi,
There is a section in the php.ini where you can specified the function you
don't whant to use :
disable_functions : copy; ...
I never used it, but I think it's what you are looking for.
Regards,
Sebastien Roy
[EMAIL PROTECTED]
PanDragon wrote:
> I am running an apache server with vir
This is usually handled by the browser automatically. (Nobody likes to see
out of date content when browsing the web). Users can set their browser
settings to check for new things once per session, every time, or never (or
some variation of these). Most users use once per session. Otherwise, a
On Tue, 01 May 2001, you wrote:
My ftp server saves uploaded files as the uid that was logged in at the time.
It is proftpd. If I log in as user/pass and then do a mput and upload files it
saves them as user.user. This is confirmed by an ls -la on the user's home dir.
The other alternative is to c
Sorry Syntax error.
Correct: $fieldcode = $field;
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 01, 2001 2:06 PM
To: PHP User Group; Jamie Saunders
Subject: RE: [PHP] adding text to a variable name
Just do this:
$fieldcode = field;
Brandon
---
Hello,
I've been scouring the archives, but none of the solutions presented are
helping me...
I've got php 4.0.5 and am trying to compile support for pdflib-4.0.0.
Here's how I compiled pdflib:
./configure
make
make install
Looks successful, right?
ldconfig -v | grep libpdf
libpdf.so.
I was doing this a while back with Authorize.net and using cURL with
PHP let me ditch the C CGI I had been using to accomplish this. Not
quite as clear-cut a solution as something like the PayFlow extension,
but it's quite doable. Main gotcha is having to compile cURL against
the same
Jamie Saunders <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is it possible to add text onto the end of a variable name?
> e.g. to add the word 'code' onto the variable $field so it would be $fieldcode
Look variable variables up in the manual, I think that would solve
your problem.
example:
$var =
From: "Jamie Saunders" <[EMAIL PROTECTED]>
Subject: [PHP] adding text to a variable name
> Is it possible to add text onto the end of a variable name?
> e.g. to add the word 'code' onto the variable $field so it would be $fieldcode
I think you want to do it in an automatic way for each variable
Thanks for the suggestion, but I need to be able to use the copy command, I
just do not want it to be able to read from one virtual host to another. I
would imagine that lots of web hosters running php with virtual hosts would
have the same problem.
Sebastien Roy <[EMAIL PROTECTED]> wrote in m
Hello,
I am making a script that makes .htaccess files for websites. When I use
ftp_nlist(); It doesn't show the files with a . in front of them. Does
anyone know how to show hidden files when listing a directory?
Thanks
Brandon
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
Hi Nick,
to delete a cookie, simply use set_cookie("cookie_name"); without appending
any values.
Possible solutions for the \t and \n :
For \n to , use:
$string = nl2br($string);
Not sure whether or not there a similar function for \t, though you could
perhaps use some method to replace \t wit
"Brandon Orther" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am making a script that makes .htaccess files for websites. When I use
> ftp_nlist(); It doesn't show the files with a . in front of them. Does
> anyone know how to show hidden files when listing a directory?
Maybe use ftp_rawlis
Just curious if anyone knows how to properly destroy a session.
I tried doing this,
session_start();
session_unregister("logged_in");
session_unregister("username");
session_unregister("password");
session_unregister("accesslevel");
session_unregister("emailaddress");
session_unregister("last_lo
> -Original Message-
> From: Nick Adams [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 01, 2001 3:47 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] session_destroy()
>
>
> Just curious if anyone knows how to properly destroy a session.
As I understand it, session_unregister() removes a va
"Nick Adams" <[EMAIL PROTECTED]> wrote:
> 1. (*) text/plain
>
> Just curious if anyone knows how to properly destroy a session.
> I tried doing this,
>
> session_start();
>
> session_unregister("logged_in");
> session_unregister("username");
> session_unregister("password"
What's wrong with my php file?
File
---
---
[ r a f a e l f a r i a] _
[EMAIL PROTECTED]
WebMaster Universo
Don't you need a $ before acao on the line:
if (acao == 1) {
?
- Kath
- Original Message -
From: "Rafael Faria" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 01, 2001 6:08 PM
Subject: [PHP] What's wrong?
>
>
> What's wrong with my php file?
>
Is there a function that I can call that is similar to perl's DBI::quote
function that will take arbitrary text and quote it so that it is safe to
insert into a database?
I'm using PHP 4.0.4pl1 on Apache 1.3.14 with postgresql 7.0.2
Joseph
--
PHP General Mailing List (http://www.php.net/)
To
Originally posted at an HTML newsgroup, but no response : (
Anyone here have any suggestions on the following problem?
> Hello All,
>
> Anyone have any ideas why Netscape 4.0 would be double refreshing my
pages?
> This also occurs, this double refresh, when the page loads for the first
> time. I
Hi, after downloading and compiling php4.0.6dev (from
cvs) I've decided to try the new "much improved" zlib
output support (already enabled in 4.0.5).
The announcement from the changelog says check the
zlib.output_compression ini.
I've searched the php.net site as well as the mailing
lists but c
Is there a way for each user on a server to have their own php.ini
settings? If so...how? Thanks
Chris Anderson aka "Null"
PHP Developer / Nulltech
PHP-GTK Grunt / gtk.php.net
STA-DoD, TO and DDay Administrator / www.stronger.org
DOD Co-Owner / www.d
Greetings,
Just a general question, I am experimenting with Apache 2.0.16 beta.
Reading the manual that comes installed from the source, it seems that
third party modules like PHP will not work. Is there a development
version of PHP designed to work with Apache 2.0?
Thanks in advance,
Will
--
I'm new at programing and not getting very far with this. I've looked
at "array_revers" and "array_multisort" and can't get anything to work.
What I have is a mysql table laid out like:
item number | title | body text | subject heading
What I want to do is pull the top 7 entries off and displa
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Joseph Tate") wrote:
> Is there a function that I can call that is similar to perl's DBI::quote
> function that will take arbitrary text and quote it so that it is safe to
> insert into a database?
http://php.net/addslashes
--
CC
--
PHP Ge
> -Original Message-
> Is there a way for each user on a server to have their own php.ini
> settings? If so...how? Thanks
>
> Chris Anderson aka "Null"
If you are using Apache, see the documentation for .htaccess files. These
files allow you to set individual php.ini settings on a per
1 - 100 of 143 matches
Mail list logo