Re: [PHP] why isn't get_browser() not working?

2001-05-01 Thread Chris Adams
On 30 Apr 2001 00:51:13 -0700, elias [EMAIL PROTECTED] wrote: hello. i'm trying to detect what browser version is there...i'm using get_browser() as it was documented: Check to see if your browscap file is being picked up - try something like this: echo

[PHP] Post XML to PHP via XMLHTTP VB Object

2001-05-01 Thread PHP
Hi, I'm trying to the MSXML DOM 3 from Visual Basic and send XML to a PHP page that sits on my Apache web server on SCO Unix. This is my VB Code: Dim xmlstr As New XMLHTTP30 Dim sXML As String sXML = Content-Type: text/xml; sXML = sXML ?xml version=1.0? sXML = sXML

[PHP] Upload from a Mac

2001-05-01 Thread JFL
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

[PHP] Logout Problem auf .htaccess-Login

2001-05-01 Thread Jochen Kaechelin
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.

RE: [PHP] String Type Unknown

2001-05-01 Thread Rudolf Visagie
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 JIMG

RE: [PHP] Logout Problem auf .htaccess-Login

2001-05-01 Thread Krznaric Michael
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]

RE: [PHP] Best Practice-HTML In Database

2001-05-01 Thread Mark Roedel
-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 creating an

[PHP] .htaccess

2001-05-01 Thread Dennis Gearon
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

Re: [PHP] template solutions?

2001-05-01 Thread Michael Kimsal
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

Re: [PHP] Get the string between custom delimiters

2001-05-01 Thread Daniel Tryba
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 title and /title (without the quotes) in the

RE: [PHP] template solutions?

2001-05-01 Thread Henning Kilset Pedersen
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: [PHP] template solutions?

2001-05-01 Thread Henning Kilset Pedersen
Fasttemplate supports loops and if's. You set a dynamic block like so: !-- BEGIN DYNAMIC BLOCK : rowset -- TR {ROWCONTENT} /TR !-- END DYNAMIC BLOCK : rowset -- And then in the PHP code that parses this html template (.tpl, for example) file, you do a $tpl-assign (.ROWCONTENT, rowdata); and

RE: [PHP] template solutions?

2001-05-01 Thread Steven Haryanto
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: !-- BEGIN DYNAMIC BLOCK : rowset -- TR {ROWCONTENT} /TR !-- END DYNAMIC BLOCK : rowset

[PHP] is CURL right for SSL post to payment processing Authenticate.net

2001-05-01 Thread Tom Beidler
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

Re: [PHP] timezones

2001-05-01 Thread Zane Appel
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

[PHP] test - pls ignore.

2001-05-01 Thread Michael Geier
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,

Re: [PHP] Problems after reversing a guestbook

2001-05-01 Thread Jason Stechschulte
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 are

[PHP] Your opinion on security issue: file extension

2001-05-01 Thread Johnson, Kirk
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

Re: [PHP] Content_Type is included in uploaded file!

2001-05-01 Thread Jason Stechschulte
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 :

Re: [PHP] Your opinion on security issue: file extension

2001-05-01 Thread Jon Rosenberg
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

Re: [PHP] Please review our coding standards [ ideas ]

2001-05-01 Thread Toby Miller
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

RE: [PHP] Logout Problem auf .htaccess-Login

2001-05-01 Thread Matt Schroebel
$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-mail:

[PHP] About MySQL

2001-05-01 Thread Hassan Arteaga
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 !!! --

[PHP] How to unsubscribe from the list???

2001-05-01 Thread Andreas Pucko
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

Re: [PHP] Loading PHP module on Win98

2001-05-01 Thread Phil Driscoll
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

Re: [PHP] replace functions add \

2001-05-01 Thread Jason Stechschulte
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 this happen? I

[PHP] File upload form

2001-05-01 Thread Boget, Chris
Below is the (very) simple form that I'm using to allow users to upload files to my site: --- html head titleUpload Attachment/title /head body br center h3Upload File/h3 You are uploading from an unsecure server.br FORM ENCTYPE=multipart/form-data

Re: [PHP] is CURL right for SSL post to payment processing Authenticate.net

2001-05-01 Thread Peter
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 and

[PHP] Re:lex error in make of PHP_4.0.2/Zend

2001-05-01 Thread Surinder Singh
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

Re: [PHP] template solutions?

2001-05-01 Thread Steven Haryanto
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

RE: [PHP] Creating Graphs

2001-05-01 Thread Grimes, Dean
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

[PHP] compare PHP with C for apache modules

2001-05-01 Thread surinder singh
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

RE: [PHP] File upload form

2001-05-01 Thread Boget, Chris
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 variable,

Re: [PHP] variables within variables

2001-05-01 Thread Jason Stechschulte
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 form

[PHP] HELP !!!!

2001-05-01 Thread Hassan Arteaga
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

RE: [PHP] HELP !!!!

2001-05-01 Thread Henning Kilset Pedersen
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

RE: [PHP] HELP !!!!

2001-05-01 Thread Altunergil, Oktay
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

[PHP] PHP Graph class/library anywhere?

2001-05-01 Thread indrek siitan
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

[PHP] split and array logic

2001-05-01 Thread Matthew Luchak
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

RE: [PHP] HELP !!!!

2001-05-01 Thread Hassan Arteaga
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

RE: [PHP] PHP Graph class/library anywhere?

2001-05-01 Thread Boget, Chris
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

RE: [PHP] PHP Graph class/library anywhere?

2001-05-01 Thread Henning Kilset Pedersen
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:

[PHP] Great for all software !!!!

2001-05-01 Thread Hassan Arteaga
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

RE: [PHP] File upload form

2001-05-01 Thread Boget, Chris
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 get

[PHP] Going crazy again ...

2001-05-01 Thread Martin Skjldebrand
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

Re: [PHP] Going crazy again ...

2001-05-01 Thread Jimmy Lantz
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

RE: [PHP] Going crazy again ...

2001-05-01 Thread Altunergil, Oktay
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:

[PHP] How to build PHP4 shared object extensions?

2001-05-01 Thread Guenter Millahn
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

[PHP] $BL4$N@$3&$X!&!&!&(B

2001-05-01 Thread [EMAIL PROTECTED]
$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

[PHP] subtracting Dates

2001-05-01 Thread Mike Mike
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

[PHP] String delimeters, arg!

2001-05-01 Thread Nick
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, ? $area_entered = yes; $date_entered = no; echo $area_entered\t\t\t$date_enteredbr; ? That outputs: yes no What am I doing wrong?! Is there

Re: [PHP] upload/download of files (This is LONG)

2001-05-01 Thread Sterling
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

[PHP] opening files

2001-05-01 Thread Joseph Bannon
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:

Re: [PHP] Going crazy again ...

2001-05-01 Thread Martin Skjldebrand
Jimmy Lantz wrote: Hej, jag hade nog inte anvnt i case men det r bara en vana, kanske du kan anvnda en dold variabel via html-formulret istllet och anvnda den i case satsen? Men det svarar ju inte p din frga men lycka till. / iImmy Fixat! Problemet lg ngon annanstans, vilket jag upptckte

RE: [PHP] String delimeters, arg!

2001-05-01 Thread Johnson, Kirk
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_enteredbr; ? That outputs: yes no What am I doing wrong?! The \n

RE: [PHP] opening files

2001-05-01 Thread Mark Roedel
-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 commands

[PHP] LDAP support for 4.0.5

2001-05-01 Thread Walgamotte, David
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

[PHP] restrict access of Copy command

2001-05-01 Thread PanDragon
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

Re: [PHP] Is PHP code software?

2001-05-01 Thread Nikhil Goyal
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

[PHP] File upload

2001-05-01 Thread Boget, Chris
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

Re: [PHP] include whole directories?

2001-05-01 Thread Nikhil Goyal
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

[PHP] mailing list

2001-05-01 Thread Nikhil Goyal
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

[PHP] xmlHTTP.send equiv?

2001-05-01 Thread Todd Kennedy
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

[PHP] Easiest Way to Upgrade PHP

2001-05-01 Thread K Old
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?

[PHP] PHP + javascript

2001-05-01 Thread Ide, Jim
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

Re: [PHP] split and array logic

2001-05-01 Thread Gyozo Papp
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

Re: [PHP] Post XML to PHP via XMLHTTP VB Object

2001-05-01 Thread Steve Meyers
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 Apache web

Re: [PHP] Do You Like This Book?

2001-05-01 Thread sono
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

Re: [PHP] subtracting Dates

2001-05-01 Thread Gyozo Papp
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 br; $r = $t - 7;

Re: [PHP] xmlHTTP.send equiv?

2001-05-01 Thread Fabian Raygosa
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 an

[PHP] adding text to a variable name

2001-05-01 Thread Jamie Saunders
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:

[PHP] is CURL right for SSL post to payment processing Authenticate.net

2001-05-01 Thread Tom Beidler
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

Re: [PHP] String delimeters, arg!

2001-05-01 Thread Gyozo Papp
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, ? $area_entered = yes; $date_entered = no; echo $area_entered\t\t\t$date_enteredbr; ? That outputs: yes no What am I doing wrong?! Is

Re: [PHP] Easiest Way to Upgrade PHP

2001-05-01 Thread Henrik Hansen
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 the

Re: [PHP] restrict access of Copy command

2001-05-01 Thread Sebastien Roy
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

RE: [PHP] PHP + javascript

2001-05-01 Thread Joseph Tate
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,

Re: [PHP] Urgent: PHP4 security (ISP setup)

2001-05-01 Thread lbergman
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

FW: [PHP] adding text to a variable name

2001-05-01 Thread Brandon Orther
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

[PHP] Problems compiling with PDF support

2001-05-01 Thread Bill Shupp
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

Re: [PHP] adding text to a variable name

2001-05-01 Thread Henrik Hansen
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 =

Re: [PHP] adding text to a variable name

2001-05-01 Thread Gyozo Papp
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 which

Re: [PHP] restrict access of Copy command

2001-05-01 Thread PanDragon
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

[PHP] FTP function in php

2001-05-01 Thread Brandon Orther
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

Re: [PHP] String delimeters, arg!

2001-05-01 Thread James, Yz
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 br, 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

Re: [PHP] FTP function in php

2001-05-01 Thread Henrik Hansen
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_rawlist();

[PHP] session_destroy()

2001-05-01 Thread Nick Adams
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_login);

RE: [PHP] session_destroy()

2001-05-01 Thread Johnson, Kirk
-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 variable

Re: [PHP] session_destroy()

2001-05-01 Thread Henrik Hansen
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);

[PHP] What's wrong?

2001-05-01 Thread Rafael Faria
What's wrong with my php file? ? if (acao == 1) { if (!copy($MyFile,c:\\temp\\$MyFile_name)) { echo can't copy; exit; } } ? html head title/title /head body bgcolor=#FF text=#00 link=#00

Re: [PHP] What's wrong?

2001-05-01 Thread Kath
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?

[PHP] Quoting an unknown string for database insert

2001-05-01 Thread Joseph Tate
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

[PHP] Fw: Netscape 4.0 Double Loads my Page

2001-05-01 Thread Karl J. Stubsjoen
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. It

[PHP] zlib.output_compression - how to turn it on

2001-05-01 Thread Robert Mena
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

[PHP] PHP.ini

2001-05-01 Thread Chris Anderson
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 /

[PHP] mod_php with Apache 2.0.16 beta?

2001-05-01 Thread Willis L. Sarka
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 --

[PHP] reverse array for mysql data

2001-05-01 Thread ktb
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 display

Re: [PHP] Quoting an unknown string for database insert

2001-05-01 Thread CC Zona
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 General

RE: [PHP] PHP.ini

2001-05-01 Thread Johnson, Kirk
-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

[PHP] This is driving me to drink...

2001-05-01 Thread Richard S. Crawford
...But my boss won't let me keep the Bushmill's at my desk. *sigh* So, assuming that $p_code is MNE and $neuroKey is 2, then $hub should be 2, right? Instead, it's coming up with 1, which is the value of $coreKey. What have I missed? $hub=$coreKey; if

Re: [PHP] This is driving me to drink...

2001-05-01 Thread Jack Dempsey
Have you tried printing the values of $p_code and $neuroKey at various stages? Perhaps there's a space or some other slight inconsistency...if you could paste in the snippet, maybe we could see what was going on before this that might have it acting strange... -jack Richard S. Crawford wrote:

  1   2   >