Re: [PHP] hmm sockets (again)

2001-05-01 Thread Mukul Sabharwal
Hi, I might have missed a follow up or your original message, but have you tried socket_set_blocking() ? --- Joseph Blythe <[EMAIL PROTECTED]> wrote: > Hey all, > > Just looked through the changelog for 4.0.5 and was > suprised to see that > the socket functions had not been fixed, > (set_nonb

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

2001-05-01 Thread Yasuo Ohgaki
I think expose_php = Off is first thing to do instead of changing association. (As well as disabling server signature) extension does not tell much, but expose_php tells PHP version also, if you care about crackers. Crackers will notice you care about security somewhat. It does not protect your

Re: [PHP] IMAGE

2001-05-01 Thread heinisch
At 23:30 01.05.01 -0300, you wrote: >Hy guys >how can i know the width and height of an image? >[ r a f a e l f a r i a] _ >[EMAIL PROTECTED] >WebMaster Universo Online - http://www.uol.com.br try GetImageSize(string filename, array[imageinfo]); oliver -- PHP General M

Re: [PHP] How to compile PDFLIB in FreeBSD 4.3

2001-05-01 Thread heinisch
At 11:25 02.05.01 +0800, you wrote: >I try to use configure to config pdflib in FreeBSD >when i make it, i got a error messages > >cd bind/php && make >make: no target to make. >*** Error code 2 (ignored) >-- first you have to make the pdflib then you have to make install (the include and lib file

[PHP] hmm sockets (again)

2001-05-01 Thread Joseph Blythe
Hey all, Just looked through the changelog for 4.0.5 and was suprised to see that the socket functions had not been fixed, (set_nonblock does not seem to work under linux), I have retried my scripts under the new version but nothing seems to have changed, For the time being I am going back to

Re: [PHP] a bit off the list but....

2001-05-01 Thread B. van Ouwerkerk
>It is a bit off the list here but is theer anybody know what is SAP? I >mean, is that a script language or OS or a DB software? SAP is a piece of ERP (=Enterprise Resource Planning) software. You can adapt it to fit the companies needs. For more info visit the SAP and BAAN websites.. they bo

Re: [PHP] Managing Multiple Conditions in a MySQL Query

2001-05-01 Thread Tomasz Abramowicz
Recent Signatures\n"; $query = "SELECT FirstName,LastName,CityState FROM phPetition WHERE Public='yes' AND Verified='yes' ORDER BY ID DESC LIMIT 0,5"; $result = mysql_query( $query ) or die("never expect your query to work: $query"); while ( $row = mysql_fetch_array( $result ) ) { echo

Re: [PHP] Problems compiling with PDF support

2001-05-01 Thread Bill Shupp
on 5/1/01 11:43 PM, Yasuo Ohgaki at [EMAIL PROTECTED] wrote: > "Bill Shupp" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> Hello, > > SNIP > >> --with-png-dir=/usr/local \ >> --with-pdflib=/usr/local/lib > > --with-pdflib=/usr/local/ > > if you have pdf

[PHP] PHP as MODULE & CGI Version of PHP

2001-05-01 Thread Thomas Edison Jr.
I was going through this fantastic tutorial on HTTP Authentication at Zend.com! It mentioned that to have this working, PHP must be "Installed as a Module" and NOT as "CGI Version". Because it will not work in CGI version. Tell me something, how and from where can i install PHP as a Module on my

[PHP] Managing Multiple Conditions in a MySQL Query

2001-05-01 Thread Mike Gifford
Hello, I'd like to verify two conditions are true in the results that I pull out of my MySQL database. In this case I wanted Verified and Public both to be listed as 'yes' in the DB before they were displayed. The code I tried to use is as follows: Recent Signatures\n"; $individuals_query = m

[PHP] PDF online

2001-05-01 Thread Chris Schneck
I'd actually like to see a site that uses php to create PDF's, anyone have any good examples? -- 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 PROTECT

Re: [PHP] a bit off the list but....

2001-05-01 Thread Donald Goodwill
SAP, is a company producing a small little program called R/3 and also known as "Enterprise Software", which costs several $million to several $billion to implement. It is used by Microsoft, General Motors and other monster companies. I don't know what it is written in, but SAP software comes with

php-general Digest 2 May 2001 04:41:51 -0000 Issue 661

2001-05-01 Thread php-general-digest-help
php-general Digest 2 May 2001 04:41:51 - Issue 661 Topics (messages 50953 through 51076): Re: Best Practice-HTML In Database 50953 by: Mark Roedel .htaccess 50954 by: Dennis Gearon Re: template solutions? 50955 by: Michael Kimsal 50957 by: Henning Kilset Pe

Re: [PHP] Problems compiling with PDF support

2001-05-01 Thread Yasuo Ohgaki
"Bill Shupp" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, SNIP > --with-png-dir=/usr/local \ > --with-pdflib=/usr/local/lib --with-pdflib=/usr/local/ if you have pdflib in /usr/local/lib You have /usr/local/lib in ld.so.conf, right? then you

Re: [PHP] a bit off the list but....

2001-05-01 Thread [EMAIL PROTECTED]
So what is SAP really? Jack [EMAIL PROTECTED] "There is nothing more rewarding than reaching the goal you set for yourself" - Original Message - From: Pierre-Yves Lemaire <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 01, 2001 5:17 PM Subject: RE: [PHP] a bit off the list b

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

2001-05-01 Thread Yasuo Ohgaki
"Robert Mena" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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

[PHP] How to compile PDFLIB in FreeBSD 4.3

2001-05-01 Thread Ivan
I try to use configure to config pdflib in FreeBSD when i make it, i got a error messages cd bind/php && make make: no target to make. *** Error code 2 (ignored) -- Thanks & Best Regards Ivan Chen ³¯Åb¤å IT Department ¸ê°TºÞ²z³¡ Direct Line 886 2 27747875 ±M½u 886 2 27747875 Jardine Consumer Ma

RE: [PHP] a bit off the list but....

2001-05-01 Thread Pierre-Yves Lemaire
There is these two SAP vendors talking to each other. The first one says: "I finnally convinced company xyz to buy our products". The second one says: "It took them a long time to see the light!!". The first one replies: "Ya, now here comes the darkness..." ha ha ha py At 11:04 PM 5/1/01 -0400,

RE: [PHP] a bit off the list but....

2001-05-01 Thread Jack Dempsey
don't know if its what you're talking about, but try www.sap.com also, search google... -jack -Original Message- From: Jacky [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 10:28 AM To: [EMAIL PROTECTED] Subject: [PHP] a bit off the list but It is a bit off the list here b

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

2001-05-01 Thread Samantha Savvakis
Hi, I tried the HTTP_RAW_POST_DATA array, but it doesn't appear to exist. Then I just tried to access it like a variable and it's empty. Have I not got something setup correctly for PHP? Thanks, Sam "Steve Meyers" wrote in message <9cn71i$d03$[EMAIL PROTECTED]>... >Try using the $HTTP_RAW_POST

Re: [PHP] mod_php with Apache 2.0.16 beta?

2001-05-01 Thread Yasuo Ohgaki
Try 4.0.5. Configure with --with-apxs2. Regards, -- Yasuo Ohgaki ""Willis L. Sarka"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Greetings, > > Just a general question, I am experimenting with Apache 2.0.16 beta. > Reading the manual that comes installed

[PHP] a bit off the list but....

2001-05-01 Thread Jacky
It is a bit off the list here but is theer anybody know what is SAP? I mean, is that a script language or OS or a DB software? cheers Jack [EMAIL PROTECTED] "There is nothing more rewarding than reaching the goal you set for yourself"

[PHP] IMAGE

2001-05-01 Thread Rafael Faria
Hy guys how can i know the width and height of an image? --- [ r a f a e l f a r i a] _ [EMAIL PROTECTED] WebMaster Universo Online - http://www.uol.com.br Phone # +55 11 3038-8665 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL P

[PHP] Edit a file from a PHP form

2001-05-01 Thread Allen May
I would like to edit a list from a PHP form. Can someone point me to a good tutorial?? I have walked-through a tutorial that showed me how to successfully pull the contents of text file and display the whole contents. I want to view the contents and then edit a specific line of in a list. So, i

RE: [PHP] Hosts.

2001-05-01 Thread Chris Schneck
Good luck, let me know how your search goes. I would also like to find someone who would do that. -Original Message- From: David Bruce [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 7:02 PM To: [EMAIL PROTECTED] Subject: [PHP] Hosts. My host is Windows 98, Xitami and unstable My

Re: [PHP] date list

2001-05-01 Thread Chris Fry
OOOps! I got my stuff from the annotated manual - that'll teach me. Chris Tomasz Abramowicz wrote: > ahem > $daysinmonth = date('t'); > > - Original Message - > From: "Chris Fry" <[EMAIL PROTECTED]> > To: "Jon Rosenberg" <[EMAIL PROTECTED]> > Cc: "PHP List" <[EMAIL PROTECTED]> > Se

RE: [PHP] Going crazy again ...

2001-05-01 Thread Martin Skjöldebrand
Altunergil, Oktay wrote: > 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) > AS it was my question I'll answer. He said that he was sceptical about using our accented character in code and t

[PHP] Hosts.

2001-05-01 Thread David Bruce
My host is Windows 98, Xitami and unstable MySQL and Perl/CGI. I'm looking for a *free* host, with CGI, Perl 5+, MySQL access, SSI & PHP. Thanks, Owen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] re : date list

2001-05-01 Thread Jon Rosenberg
Thanks everyone for the help! -- 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]

Re: [PHP] date list

2001-05-01 Thread Tomasz Abramowicz
ahem $daysinmonth = date('t'); - Original Message - From: "Chris Fry" <[EMAIL PROTECTED]> To: "Jon Rosenberg" <[EMAIL PROTECTED]> Cc: "PHP List" <[EMAIL PROTECTED]> Sent: Wednesday, May 02, 2001 3:06 AM Subject: Re: [PHP] date list > Jon, > > Just had to do almost exactly this - here's

Re: [PHP] date list

2001-05-01 Thread Chris Fry
Jon, Just had to do almost exactly this - here's one solution. The tricky bit was getting the number of days in the month - you have to look at next month! This generates a list for 12 months starting with the current month and outputs display stuff as well. In our scenario this is passed to a s

[PHP] date list

2001-05-01 Thread Jon Rosenberg
I need to make a select list for a web page in the following format: 01/01/01-01/07/01 01/08/01-01/14/01 01/15/01-01/21/01 etc etc till the end of 2002 and further in the future eventually I'd like to make PHP generate this for me so I don't have to handcode it for each year in the future. I've

RE: [PHP] reverse array for mysql data

2001-05-01 Thread Alok K. Dhir
You're looking in the wrong place. What you want to do should be handled at the database level. I.e. your SQL query should be something like: select title,body from junkyard order by item_number desc, limit 7 Since you refer to what you want as the 'top 7' entries, there is presumably

Re: [PHP] HELP !!!!

2001-05-01 Thread Tomasz Abramowicz
(www.phpwizard.net) > Try phpMyAdmin > > Chris > > Hassan Arteaga wrote: > > > 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 > >

Re: [PHP] HELP !!!!

2001-05-01 Thread Chris Fry
Try phpMyAdmin Chris Hassan Arteaga wrote: > 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 > [EMAI

[PHP] http_post_files not returning file type

2001-05-01 Thread Tomasz Abramowicz
this is taken straight from phpinfo(), as you can see its all there except for type. I was wondering why wouldnt my RH7.0, Apache 1.3.12 w/ PHP4.0.4pl1 know what the file type was... HTTP_POST_FILES["userfile1"] Array ( [name] => palazzina1.jpg [type] => [tmp_name] => /tmp/phpewzSB

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

2001-05-01 Thread Ralph Guzman
$p_code = "MNE"; $hub=$coreKey; if ($p_code=='MNE' || $p_code=='SN' || $p_code=='PM') { $hub = "$neuroKey"; } else if ($p_code=='MAI') { $hub = "$allergyKey"; } else if ($p_code=='SPS' || $p_code=='MCC') { $hub = "$dermKey"; } echo "$hub"; -Original Message- From

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

2001-05-01 Thread Richard S. Crawford
Problem solved. Boy, that was easy. The database was adding trailing spaces to the codes (so that "MNE" was actually "MNE " and so on). $p_code=trim($p_code) did the trick. I could still use that Bushmill's, though. At 03:57 PM 5/1/2001 -0700, Richard S. Crawford wrote: >...But my boss won

Re: [PHP] reverse array for mysql data

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

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

2001-05-01 Thread Johnson, Kirk
Do you have some echo statements on $p_code and $neuroKey right before the if statement, to make sure your assumptions are true? Kirk > -Original Message- > From: Richard S. Crawford [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 01, 2001 4:58 PM > To: [EMAIL PROTECTED] > Subject: [PHP]

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:

[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 (($p_code=="MNE")||(

[PHP] Emanuel virus

2001-05-01 Thread Miles Thompson
Somehow I picked up a copy of the emanuel virus, and like a damned fool, clicked on it last night. It immediately started Eudora and tried to distribute itself to anything that looked like an email address. Fortunately Eudora is set so that emails don't go out without me looking at them first.

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

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 Ge

[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 displa

[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] 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 / www.d

[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 c

[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. I

[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

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] What's wrong?

2001-05-01 Thread Rafael Faria
What's wrong with my php file? File --- --- [ r a f a e l f a r i a] _ [EMAIL PROTECTED] WebMaster Universo

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"

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 va

[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_lo

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_rawlis

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 , 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

[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 unsubscri

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 m

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

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] is CURL right for SSL post to payment processing Authenticate.net

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

[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 libpdf.so.

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 ---

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 c

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, a

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 vir

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

RE: [PHP] adding text to a variable name

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

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, "; ?> 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 \

[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 called

[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: [

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

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 ""; > $r =

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 progra

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 Apac

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" $stuff[

[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 t

[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? An

[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] 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

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 P

[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] 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 s

[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 work

[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 we

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

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_entered"; > ?> > > That outputs: > yes no > > What am I doing wr

Re: [PHP] Going crazy again ...

2001-05-01 Thread Martin Skjöldebrand
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

[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: [EMA

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 would

[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, "; ?> 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

[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 an

php-general@lists.php.net

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!#(B $B!z!z!z!z!z!z!z!!(BJust in Mail

[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 anyb

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: Re

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 onl

[PHP] Going crazy again ...

2001-05-01 Thread Martin Skjöldebrand
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

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

  1   2   >