[PHP] register stop working with a site

2001-02-26 Thread Plamen Slavov
Hi all, i was wondering if someone has any idea about how to register that a client has stopped working with my site and log him/her out? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] My system don't store session data, anybody can help me!!

2001-02-26 Thread Securez
In my system i have apache-1.3.17, (i probe 1.3.14 but the problem persist), when i register a variable the session is generatet and a file sess_f5g ... is generated under /tmp but the file is empty size=0, and no data is stored. ?php session_start(); if( !isset( $c)) {

[PHP-CVS] cvs: php4 /ext/midgard snippetdir.c

2001-02-26 Thread David Guerizec
davidg Mon Feb 26 01:45:04 2001 EDT Modified files: /php4/ext/midgard snippetdir.c Log: fixed bug #121 Index: php4/ext/midgard/snippetdir.c diff -u php4/ext/midgard/snippetdir.c:1.5 php4/ext/midgard/snippetdir.c:1.6 --- php4/ext/midgard/snippetdir.c:1.5

Re: [PHP] a good hosting experience

2001-02-26 Thread Michael A. Peters
Wow. Julie is on this list! // send note to self to modify filter and sort for good tips... Hi Julie. LOVED your book. With regard to Hurricane Electronic- we (Abriasoft) use them for our colocating, and they have always been very proffesional and fair to deal with. They have a really nice

[PHP] Newbie: why do I get this error?

2001-02-26 Thread Harshdeep S Jawanda
Hello everybody, I am a newbie, so please help me out with my rather basic question. Please take a look at the following code snippet: class HTMLTable extends HTMLElement { var $attributes; function HTMLTable() { $attributes[] = array("border", "0"); $attributes[] =

Re: [PHP] php4 as a module AND a cgi

2001-02-26 Thread Michael A. Peters
colin olkowski wrote: hi all, my question is this, how would one install PHP4 as a module and as a cgi? somewhere in the install notes for php4 (redhat) the docs clearly say do not install both, yet my old hosting company was able to do it. btw, i just moved from the world of virtual

[PHP] installation problem

2001-02-26 Thread [EMAIL PROTECTED]
I'm a beginner but...I can't install php-4.o.4pl1 on my linux mandrake..why? When I run configure ,the program checks all the files... there are some missing..but it never return an error it return a warning 'you will need bison if you want to regenerate the php parsers' and after other check..it

Re: [PHP] php4 as a module AND a cgi

2001-02-26 Thread Jason Brooke
I have to ask, though, why would you want to run it as a cgi? Its slower as cgi and runs more security risks. I'd only run it as a cgi if that was my only choice. It's probably less of a security risk when utilised via the cgi actually, at least when using Apache as the webserver because you

Re: [PHP] Newbie: why do I get this error?

2001-02-26 Thread Harshdeep S Jawanda
Hi all, I changed function HTMLTable() { $attributes[] = array("border", "0"); $attributes[] = array("cellpadding", "0"); // and some other things } to $attributes = array(array("border", "0"), array("cellpadding", "0")); but am

Re: [PHP] Download PHP from Linux machine?

2001-02-26 Thread Rick Hodger
Joe Stump [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... lynx -source http://www.php.net/do_download.php?download_file=php-4.0.4pl1.tar.gzsource_ site=www.php.net php-4.0.4pl1.tar.gz will work - also try wget Why do so many people apparently not bother to

[PHP] multiple file upload..

2001-02-26 Thread John LYC
i have a situation. i hope im clear abt this. i need to post multiple set of data elements into php. each set consists of data elements of text, textarea, radio buttons, checkboxes and even a file(image). most fields are optional. all sets are not subset of each other but belongs to the same

RE: [PHP] My system don't store session data, anybody can help me!!

2001-02-26 Thread Securez
This is a correction: I create a new dir /usr/local/tmp with this perms: rwxrwxrwtrootroot and change the dir for store session data to /usr/local/tmp and works, but in certain situation the some data aren't sotored, :(. in /tmp don't store data why?? I set loogin to a file if i set

Re: [PHP] Newbie: why do I get this error?

2001-02-26 Thread Yasuo Ohgaki
Hi all, I changed function HTMLTable() { $attributes[] = array("border", "0"); $attributes[] = array("cellpadding", "0"); // and some other things } to $attributes = array(array("border", "0"), array("cellpadding",

Re: [PHP] My system don't store session data, anybody can help me!!

2001-02-26 Thread Christian Reiniger
On Monday 26 February 2001 10:26, Securez wrote: ?php session_start(); if( !isset( $c)) { session_register("c"); $c = 1; } echo $c . "br"; ? a href="index.php"reload/A this example that works fine in other system with the same configuration, don't work in my machine,

[PHP] FreeHostage:PHPMySQL

2001-02-26 Thread Bruno Mário Amaral Almeida
Hi everyone, Can anyone tell me where can i find a place where to put my PHP/MySQL applications for free? Many thanks Bye Bruno

[PHP] Fopen only absolute IP

2001-02-26 Thread Paolo Ciraci
I can't use any filesystem function (fopen, file, fsockopen, etc.) to open a remote file (fopen wrapper is obviously on). For example if I try the following: $S = file ("http://www.yahoo.com/"); I obtain the error: "Bad file descriptor" If I use an absolute IP address: $S = file

Re: [PHP] multiple file upload..

2001-02-26 Thread Yasuo Ohgaki
snip questions: 1. if file is not declared, what does the file elements holds?... i sometimes get null value, sometimes get "none" I get following output with PHP4.0.4pl1 w/ Linux (I set php.ini to store uploaded files info to $HTTP_UPLOAD_FILES. You will get different output if you don't)

[PHP] setcookie don't work well...

2001-02-26 Thread Nuno Costa
I try to use this function to prevent that the same visitor vote for more than one time in a hour but it don't work, the code is this: if($vote!=1) { $time=time(); $time=$time + 36000; setcookie("vote","1",$time); } If the visitor vote, the vote counts, than if he try to vote again the vote

Re: [PHP] FreeHostage:PHPMySQL

2001-02-26 Thread Michael A. Peters
Are you looking for a place to host your site- or a place for people to download apps you've written? Bruno Mrio Amaral Almeida wrote: Hi everyone, Can anyone tell me where can i find a place where to put my PHP/MySQL applications for free? Many thanks Bye Bruno --

[PHP-CVS] cvs: php4 /ext/standard string.c

2001-02-26 Thread James Moore
jmoore Mon Feb 26 05:04:01 2001 EDT Modified files: /php4/ext/standard string.c Log: Fix for bug #9449 to stop infinate loop in wordwrap. Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.191 php4/ext/standard/string.c:1.192 ---

RE: [PHP] FreeHostage:PHPMySQL

2001-02-26 Thread PHPBeginner.com
Have you tried www.isamillionaire.com ? they have php4 / mySQL support, they are free and have no banner ads. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Bruno Mrio

RE: [PHP] PHP4 directives in httpd.conf not working

2001-02-26 Thread PHPBeginner.com
try these: php_value include_path "/my/phpinc/path" but why instead not to create a .htaccess file, or if you don't want it to be modified by user to make a one single auto_prepend with: $file = "$DOCUMENT_ROOT/my/phpinc/path"; if(file_exists($file)) include_once($file); this wouyld

RE: [PHP] mysql_info()

2001-02-26 Thread PHPBeginner.com
Yes you are wrong, what you can do is to search for the SQL queries in tutorials which will return you that information. also phpinfo() has some very little and necessary coverage of basic php-mysql configurations, if you download phpmyadmin you will have this option there (even with edit).

RE: [PHP] Printing long strings

2001-02-26 Thread PHPBeginner.com
Yes, you could use stripslashes($string) on it's output, in this way it will be no different as it was inputted. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Clayton

RE: [PHP] Using one invocation of PHP executable to generate multiple pages?

2001-02-26 Thread PHPBeginner.com
Could you please be more specific on your need? Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Jim Lum [mailto:[EMAIL PROTECTED]] Sent: Monday, February 26, 2001 9:21 AM To:

RE: [PHP] Simple String Replace Question

2001-02-26 Thread PHPBeginner.com
Would $string_new = ereg_replace("\n[ \t\r\n]*\n", "\n", $string); work for you? Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Jeff Oien [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] FreeHostage:PHPMySQL

2001-02-26 Thread PHPBeginner.com
Use SourceForge.com, in case you still are building your OpenSource application, you can then host it and use it there. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From:

[PHP] null@terra.com.br - should get removed

2001-02-26 Thread Maxim Maletsky
Mensagem Automatica do Terra [[EMAIL PROTECTED]] Could anyone please remove this guy? his mailbox has exceeded by size, guess he didn't know how many subscribers are on this list Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED]

RE: [PHP] FreeHostage:PHPMySQL

2001-02-26 Thread Jeff Oien
http://www.f2s.com/ is another option. Jeff Oien Hi everyone, Can anyone tell me where can i find a place where to put my PHP/MySQL applications for free? Many thanks Bye Bruno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] ftp connection

2001-02-26 Thread Jon A
I need some help... I try to do a ftp connection with php, but when i run the script it claims that ftp_connect is "call to undefined function. I have done a call to phpinfo, and it shows that ftp IS enabled! - Whats wrong? Here is what i use: $conn_id = ftp_connect("MyFtpSite");

[PHP] AS400/Java Toolkit and PHP

2001-02-26 Thread Conover, Ryan
I am using php 4.0.4pl1. I added the AS400 toolkit to the JVM so I can interface with an AS400. but for some reason when I go to use a class in the JVM it says. Fatal error: Cannot instantiate non-existent class: java in c:\Inetpub\wwwroot/AS400/testtoolbox.php on line 11 Below is the

[PHP] DNS Lookups Fail

2001-02-26 Thread Scott Rothgaber
PHP 4.0.4 pl1, Apache 1.3.17, BSD/OS 4.1 pl37 Good Morning! Please forgive me if this has been covered ad nauseum, but I have searched high and low for an answer with no luck. After building PHP as a module, following the online instructions, Apache complained that it could not resolve

[PHP] PERL to PHP

2001-02-26 Thread Clayton Dukes
Hi :-) Can someone tell me how to do the equivalant of this Perl script in PHP? ## This function prints all lines between the dashes read in a text file### ### The file looks like this: # - # Somedata: something # Someother: something else #

Re: [PHP] setcookie don't work well...

2001-02-26 Thread Chris Lee
you have to set to path and the domain name too... setcookie('vote', '1', $time, '/', '.someite.com'); -- Chris Lee Mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 [EMAIL PROTECTED] ""Nuno Costa"" [EMAIL PROTECTED] wrote in message

[PHP] Very strange Nutscrape behavior - PHP/JS/DHTML???

2001-02-26 Thread Brian V Bonini
This could be a JS issue but right now I'm really not sure. I have this code, } elseif ($cat == 'bikes' $sub_cat == 'Road') { $i = 1; while ( list($type,) = each($bikes[$sub_cat])) { echo "TDIMG SRC=\"images/spacer.gif\" WIDTH=\"25\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"/TD\n";

Re: [PHP] PERL to PHP

2001-02-26 Thread kevin1
your can use the PCRE functions in php - much better than ereg and all that - if you know perl already... Clayton Dukes wrote: Hi :-) Can someone tell me how to do the equivalant of this Perl script in PHP? ### ### This function prints all lines between the dashes read in a

Re: [PHP] PERL to PHP

2001-02-26 Thread Clayton Dukes
How? I don't know perl all that well, I am just trying to convert some scripts. - Original Message - From: "kevin1" [EMAIL PROTECTED] To: "Clayton Dukes" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, February 26, 2001 10:29 AM Subject: Re: [PHP] PERL to PHP your can use the

[PHP-CVS] cvs: php4 /ext/imap config.m4 php_imap.c php_imap.h

2001-02-26 Thread Dan Kalowsky
kalowskyMon Feb 26 07:17:12 2001 EDT Modified files: /php4/ext/imap config.m4 php_imap.c php_imap.h Log: Correctly checks for the proper header files, and excludes the QUOTA functions from non-imap2000 systems (unavailable for testing at this

[PHP] mcrypt and encrypted field length

2001-02-26 Thread Hardy Merrill
First, can anyone point me to a good "mcrypt" primer or tutorial? Second, how can I determine what type and length I should make a database field that will hold encrypted data? Is there some table somewhere which tells how long a resulting encrypted field will be based on the encryption type

[PHP-CVS] cvs: php4 / NEWS

2001-02-26 Thread Dan Kalowsky
kalowskyMon Feb 26 07:20:53 2001 EDT Modified files: /php4 NEWS Log: #Just adding in proper id (forgot to do it on the initial) PR: Submitted by: Reviewed by: Obtained from: Index: php4/NEWS diff -u php4/NEWS:1.599 php4/NEWS:1.600 ---

[PHP-CVS] cvs: php4 /ext/iconv iconv.c

2001-02-26 Thread Rui Hirokawa
hirokawaMon Feb 26 07:41:38 2001 EDT Modified files: /php4/ext/iconv iconv.c Log: ob_iconv_handler changed to use for text data only. Index: php4/ext/iconv/iconv.c diff -u php4/ext/iconv/iconv.c:1.6 php4/ext/iconv/iconv.c:1.7 ---

[PHP] Browser?

2001-02-26 Thread Paulson, Joseph V. \Jay\
Is there a way to tell what browser is being used by the client in php? Thanks, Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Making a variable

2001-02-26 Thread Clayton Dukes
How can I make this a variable? ie: foreach (file("$file.txt") as $line) { print ("" . trim(str_replace("'", "''", $line)) . "\n"); } changed to: $data = foreach (file("$file.txt") as $line) { print ("" . trim(str_replace("'", "''", $line)) . "\n"); } Simply adding the $data = in

Re: [PHP] php (cgi version) with Apache and suexec - help

2001-02-26 Thread jhagan
The php.ini file has safe-mode = Off so I don't think that is the problem. Suexec is checking to see that the php binary has the same uid/gid as the virtual host user running the php script. Since the php binary is owned by the web server user and the script is owned by one of the virtual

[PHP] header() and require()

2001-02-26 Thread Jason Jacobs
Hi. In some of my files, I have a require statement to get some global stuff accessable. I also have some header() redirects. They don't work (they worked before I added the requires). I moved the require under one of the header()s and that one works now, but I can't move it under the other

[PHP-CVS] cvs: php4 /ext/standard string.c

2001-02-26 Thread Andi Gutmans
andiMon Feb 26 07:49:38 2001 EDT Modified files: /php4/ext/standard string.c Log: - Fix whitespace Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.192 php4/ext/standard/string.c:1.193 --- php4/ext/standard/string.c:1.192Mon

RE: [PHP] Making a variable

2001-02-26 Thread Dan Olsen
you can concatentate the variable inside the foreach loop. foreach (file("$file.txt") as $line) { $data .= ("" . trim(str_replace("'", "''", $line)) . "\n"); } -Original Message- From: Clayton Dukes [mailto:[EMAIL PROTECTED]] Sent: Monday, February 26, 2001 8:17 AM To: [EMAIL

[PHP] hiding .php

2001-02-26 Thread MaD dUCK
hi, i would like to set up a script "forum" such that you can call a url http://www.server.com/forum/general and it will php-parse forum and pass /general as PATH_INFO. it's easy to get done as http://www.server.com/forum.php/general, but i would like to disclose the script name for reasons of

Re: [PHP] Making a variable

2001-02-26 Thread Clayton Dukes
Thanks! - Original Message - From: "Dan Olsen" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 26, 2001 11:39 AM Subject: RE: [PHP] Making a variable you can concatentate the variable inside the foreach loop. foreach (file("$file.txt") as $line) { $data .= ("" .

Re: [PHP] Making a variable -Trim output

2001-02-26 Thread Clayton Dukes
Thanks again, Is there a way I can tell it to print all but the first 13 lines and the last two lines of the text file? -Clayton - Original Message - From: "Dan Olsen" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 26, 2001 11:39 AM Subject: RE: [PHP] Making a variable

[PHP] How to enable GD with PHP

2001-02-26 Thread SED
Hi, I downloaded the GD libary and want to enable it with PHP but I cant figure out how to do that - can anyone tell me how to do it? Do I have to put the path to GD-libary inside the PHP.ini and if so, where? Regards, Sumarlidi Einar Dadason SED - Graphic Design

[PHP-CVS] cvs: php4 /main php.h

2001-02-26 Thread Daniel Beulshausen
dbeuMon Feb 26 08:32:57 2001 EDT Modified files: /php4/main php.h Log: nuke warnings Index: php4/main/php.h diff -u php4/main/php.h:1.132 php4/main/php.h:1.133 --- php4/main/php.h:1.132 Sun Feb 25 22:07:31 2001 +++ php4/main/php.h Mon Feb 26

Re: [PHP] Detecting JavaScript

2001-02-26 Thread Dave Goodrich
Nothing tested, just off the top of my head. The single most reliable way to do that would be to have a page that runs JavaScript. For instance, if the JavaScript executes, it redirects to your JavaScript enabled page, if not, the page does a refresh to a non JavaScript enabled page.

RE: [PHP] Making a variable -Trim output

2001-02-26 Thread Dan Olsen
yes but you might want to use a for() loop instead since you know what you want. $arrayoflines = file(“$file.txt”); $arraysize = sizeof($arrayoflines); $limit = $arraysize - 2; for (i=0; i$arraysize; i++) { if ( (i12) (i$limit) ) { $output .=

RE: [PHP] Detecting JavaScript

2001-02-26 Thread Dan Olsen
this is a function that is BUILT-IN to HTML for the last few versions. script //some script here /script noscript meta http-equiv=refresh content='5;url=http://some.nonjavascripting.page' /noscript -- this will redirect non-javascript browsers to a non-javascript page. DanO -Original

php-general Digest 26 Feb 2001 17:00:56 -0000 Issue 535

2001-02-26 Thread php-general-digest-help
php-general Digest 26 Feb 2001 17:00:56 - Issue 535 Topics (messages 41650 through 41704): Re: Simple String Replace Question 41650 by: Jeff Oien 41679 by: PHPBeginner.com Re: PHP4 directives in httpd.conf not working 41651 by: David Robley 41675 by:

RE: [PHP] isset()

2001-02-26 Thread Johnson, Kirk
Wow, I hope you all will forgive me for one last go around on this thread :) Technically, what does "set" mean? It is not the same as "is registered" or "has a value", right? What is "is set"? Is it "introduced to the global namespace"? TIA Kirk Except that it will throw a warning in PHP4 if

[PHP] Help, Perl can, Php can't !

2001-02-26 Thread Chris
I am trying to post some info to my php script using the microsoft internet control: strurl = http://www.myserver.com/test.asp strdata = "lah=sddta=test Inet1.Execute strurl, "POST", strdata PHP returns HTTP_POST_VARS as being empty. Yet, if I use PERL, I can read the posted info

RE: [PHP] Browser?

2001-02-26 Thread Brian V Bonini
HTTP_USER_AGENT http://php.net/manual/en/language.variables.predefined.php -Brian -Original Message- From: Paulson, Joseph V. "Jay" [mailto:[EMAIL PROTECTED]] Sent: Monday, February 26, 2001 11:16 AM To: [EMAIL PROTECTED] Subject: [PHP] Browser? Is there a way to tell what

Re: [PHP] mysql.sock

2001-02-26 Thread Phillip Bow
The problem I had with this in the past is that I didn't have permission to write to the dir mysql.sock was supposed to be in so when Mysql tried to start it would fail. -- phill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] DNS Lookups Fail

2001-02-26 Thread php3
Addressed to: "Scott Rothgaber" [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from "Scott Rothgaber" [EMAIL PROTECTED] Mon, 26 Feb 2001 09:45:42 -0500 PHP 4.0.4 pl1, Apache 1.3.17, BSD/OS 4.1 pl37 Good Morning! Please forgive me if this has been covered ad nauseum,

Re: [PHP] Help, Perl can, Php can't !

2001-02-26 Thread David Raufeisen
Put phpinfo() in the script to see what is going on.. On Monday, 26 February 2001, at 09:12:11 (-0800), Chris wrote: I am trying to post some info to my php script using the microsoft internet control: strurl = http://www.myserver.com/test.asp strdata = "lah=sddta=test

Re: [PHP] Making a variable -Trim output

2001-02-26 Thread Clayton Dukes
Dan... You are the man, thanks! :-) - Original Message - From: "Dan Olsen" [EMAIL PROTECTED] To: "Clayton Dukes" [EMAIL PROTECTED] Sent: Monday, February 26, 2001 12:30 PM Subject: RE: [PHP] Making a variable -Trim output clayton- the only problems were syntactic. there was an

Re: [PHP] header() and require()

2001-02-26 Thread php3
Addressed to: "Jason Jacobs" [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from "Jason Jacobs" [EMAIL PROTECTED] Mon, 26 Feb 2001 11:28:37 -0500 Hi. In some of my files, I have a require statement to get some global stuff accessable. I also have some header()

[PHP-CVS] cvs: php4 /ext/imap php_imap.c

2001-02-26 Thread Dan Kalowsky
kalowskyMon Feb 26 08:36:08 2001 EDT Modified files: /php4/ext/imap php_imap.c Log: # Bad patch job on the last commit by me. I take the BAD_CODER award for # the day. Removes two unnecessary REGISTER_MAIN_LONG_CONSTANT's. # what should be

[PHP] PHP trace route?

2001-02-26 Thread Brandon Orther
Hello, I am looking for a php trace route that I can have get the IP of the person browsing the site and do a trace route from the server. Then I want to reverse the results so It looks like they are doing a trace route on the server rather than the server doing a trace route on them. Thank

[PHP] Sessions question

2001-02-26 Thread Evelio Martinez
How can I have an new session id without closing the browser? session.inc contains basically the postgresql session functions (user handler) in http://www.php.net/manual/en/ref.session.php I have change pg_pconnect for pg_connect and I have added pg_destroy_session. 1. There is a

Re: [PHP] Logging out a user

2001-02-26 Thread Douglas Winslow
On Mon, 26 Feb 2001, Chris Aitken wrote: Okay, I got a bit of a curley one that I havent been able to solve by looking at the archives and in the manual. Its kind of a PHP/Apache question. I have a system where a user logs in through .htaccess, it queries my mysql database, sets a cookie

[PHP] [PHP-DB] To use paradox??..

2001-02-26 Thread Rene Maldonado
Hi All, I have been using PHP for the last 5 months, and it's great, Unitl now, I have been using connections to informix and everything is OK. Now I need to connect from a linux-apache server to a paradox db in other machine (Windows NT), so the question is, What do I need to make the

RE: [PHP] [PHP-DB] To use paradox??..

2001-02-26 Thread Andrew Hill
Rene, You can use OpenLink's Multi-Tier driver. We don't directly support Paradox, but there is a MS driver on most NT systems that we can work with, in a 'piggyback' method. Use the iODBC-PHP HOWTO at http://www.iodbc.org/odbc-phpHOWTO.html Install the OpenLink Multi-Tier drivers for linux

Re: [PHP] Newbie: why do I get this error?

2001-02-26 Thread Steve Edberg
At 3:47 PM +0530 2/26/01, Harshdeep S Jawanda wrote: Hello everybody, I am a newbie, so please help me out with my rather basic question. Please take a look at the following code snippet: class HTMLTable extends HTMLElement { var $attributes; function HTMLTable() {

[PHP-CVS] cvs: php4 / configure.in /ext/gettext php_gettext.h /ext/icap php_icap.c /ext/imap php_imap.h /ext/mcal php_mcal.c /ext/mcrypt php_mcrypt.h /ext/mhash php_mhash.h /ext/midgard php_midgard.h /ext/ovrimos php_ovrimos.h /main internal_functions.c.in internal_functions_win32.c php.h /sapi/cgi cgi_main.c

2001-02-26 Thread Andi Gutmans
andiMon Feb 26 10:14:32 2001 EDT Modified files: /php4 configure.in /php4/ext/gettext php_gettext.h /php4/ext/icap php_icap.c /php4/ext/imap php_imap.h /php4/ext/mcal php_mcal.c /php4/ext/mcryptphp_mcrypt.h

[PHP] Screen Size?

2001-02-26 Thread Jason Bryner :: Focus Design Group, Inc.
How do you determine a user's screen size (resolution)? Isn't there a variable/function for this? -- Focus Design Group, Inc. http://www.focusdesigngroup.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [PHP] Screen Size?

2001-02-26 Thread Todd Kerpelman
How do you determine a user's screen size (resolution)? Isn't there a variable/function for this? I doubt you could do this in PHP, since your browser doesn't normally include screen size information in the headers it sends across to web servers. However, JavaScript can do this -- there's a

[PHP] archive location

2001-02-26 Thread Jerry Lake
What is the newsgroup archive location ? marc.themaesgroup.something ? Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] phpAtlanta User Group

2001-02-26 Thread Stephen VanDyke [OPIDO]
Hello everyone, I know this is a bit of an deviation from the normal type of email this list gets, so I'll keep it short. If you are reading this, then you have probably judged by the title that this has to do with a user group, in Atlanta. If you live in Atlanta, GA (or close enough that you

[PHP] Weird Problem

2001-02-26 Thread Steve Segarra
Hi everyone, First, let me explain I am a very knowledgable php developer. I'm not someone trying to write their first script. I have been working on a very large and complex problem for some time now when it suddenly stopped working. I did not change anything in any configurations or

Re: [PHP] PHP trace route?

2001-02-26 Thread Julian Wood
Use passthru to run traceroute on the ip of interest, then output the results of that command, line by line, starting with the last line. J on 2/26/01 9:48 AM, Brandon Orther at [EMAIL PROTECTED] wrote: Hello, I am looking for a php trace route that I can have get the IP of the person

Re: [PHP] Change dir mode to writable for uploading..

2001-02-26 Thread Charlie Llewellin
Another neat trick is to use ftp to upload, avoiding the need to change permssions. - Original Message - From: "Dhaval Desai" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 24, 2001 12:25 AM Subject: [PHP] Change dir mode to writable for uploading.. Hi! I have

[PHP-CVS] cvs: CVSROOT / cvsusers

2001-02-26 Thread Sascha Schumann
sas Mon Feb 26 10:34:07 2001 EDT Modified files: /CVSROOTcvsusers Log: update email address of eskaly Index: CVSROOT/cvsusers diff -u CVSROOT/cvsusers:1.228 CVSROOT/cvsusers:1.229 --- CVSROOT/cvsusers:1.228 Sun Feb 25 16:25:35 2001 +++

Re: [PHP] Printing long strings

2001-02-26 Thread Christian Reiniger
On Monday 26 February 2001 14:38, PHPBeginner.com wrote: Yes, you could use stripslashes($string) on it's output, in this way it will be no different as it was inputted. -Original Message- From: Clayton Dukes [mailto:[EMAIL PROTECTED]] Sent: Monday, February 26, 2001 9:57 AM

Re: [PHP] isset()

2001-02-26 Thread Christian Reiniger
On Monday 26 February 2001 18:07, Johnson, Kirk wrote: Wow, I hope you all will forgive me for one last go around on this thread :) Technically, what does "set" mean? It is not the same as "is registered" or "has a value", right? What is "is set"? Is it "introduced to the global namespace"?

[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4

2001-02-26 Thread Rasmus Lerdorf
rasmus Mon Feb 26 11:34:09 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: Doc account for Julio Cesar Carvalho Rocha Index: CVSROOT/avail diff -u CVSROOT/avail:1.103 CVSROOT/avail:1.104 --- CVSROOT/avail:1.103 Sun Feb 25 16:25:35

[PHP] File Upload Strangeness

2001-02-26 Thread Jason Murray
Hi there, We are currently using 3.0.16 (I know :(). I have a form action pointing to $PHP_SELF. After submitting the form information, $userfile contains what I expect in $userfile_name. I have had all sorts of troubles with file uploads lately, but eventually they start working. Not this

[PHP] 2 columns same name cuz of a join

2001-02-26 Thread Jason Jacobs
Hi again. :) Does anyone know how to reference a value in an array or object if the returned table has 2 fields of the same name. IE, I am querying 2 tables and returning an id value from each. On both tables, the id fieldname is "id". I know I can access the vals like $array[0] and

[PHP] mod_php4

2001-02-26 Thread styles
Greetings - FYI: I have WinNT + Apache + PHP Does anyone know the difference between the cgi version of php4 (php.exe) as opposed to setting up php4 as a server's module? I have both versions installed its just that I do not know what is the difference when it comes to functionality. Does the

[PHP] Lets nock off any numbers at the begging of a string...

2001-02-26 Thread Brandon Orther
Hello, Is there a way to remove the first numbers of a string? Here is an example: $string1 = "12 this is number twelve"; when done: " this is number twelve"; $sting1 = "123 this is number one twenty three" when done: " this is number one twenty three"; Thank you,

[PHP] Walking Through Mail Headers

2001-02-26 Thread Jason
Hi, I need a way to walk through mail headers and search for a specific string in the subject. If the message contains the string, it will be forwarded to a different account, otherwise it will trigger an autoresponse with a certain message to the sender. Does anyone have any infomation on doing

Re: [PHP] Walking Through Mail Headers

2001-02-26 Thread Kelly Corkill
On the surface this sounds like a job for procmail (www.procmail.org). On Mon, 26 Feb 2001, Jason wrote: Date: Mon, 26 Feb 2001 11:58:53 -0800 From: Jason [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] Walking Through Mail Headers Hi, I need a way to walk through mail

[PHP] Payflow Pro

2001-02-26 Thread Dan Harrington
Hello, I am attempting to install php4.04 and apache1.3.14 php configure commands: ./configure --with-apache=../apachessl-1.3.14 \ --with-jpeg-dir=/usr/local/lib --with-pgsql --with-gd \ --with-ttf=/usr/local/lib --with-t1lib=/usr/local/lib \ --enable-gd-imgstrttf --with-pfpro=/usr/local/lib

Re: [PHP] 2 columns same name cuz of a join

2001-02-26 Thread Jason Murray
Jason Jacobs wrote: Hi again. :) Does anyone know how to reference a value in an array or object if the returned table has 2 fields of the same name. IE, I am querying 2 tables and returning an id value from each. On both tables, the id fieldname is "id". I know I can access the vals

[PHP-CVS] cvs: php4 /ext/standard basic_functions.c

2001-02-26 Thread Sascha Schumann
sas Mon Feb 26 12:26:07 2001 EDT Modified files: /php4/ext/standard basic_functions.c Log: Provide proper function aliases, if the sendmail functions don't exist. Submitted by: Nadir Amra [EMAIL PROTECTED] Index:

Re: [PHP] Lets nock off any numbers at the begging of a string...

2001-02-26 Thread Mark Maggelet
On Mon, 26 Feb 2001 11:57:04 -0800, Brandon Orther ([EMAIL PROTECTED]) wrote: Hello, Is there a way to remove the first numbers of a string? Here is an example: $string1 = "12 this is number twelve"; when done: " this is number twelve"; $sting1 = "123 this is number one twenty three" when

[PHP] php4 as a module AND a cgi

2001-02-26 Thread colin olkowski
hi all, thanks for the replies. many of you asked why I want to use php4 as a cgi. basically it boils down to this, using PHP as CGI you can run PHP scripts via cron tab, which eliminates the need for shell scripting (yeah baby). i did some investigation a few months ago (when I was on a

[PHP] php quit working

2001-02-26 Thread Jerry Lake
I just installed php as an apache DSO module on the first try of a phpinfo(); it worked just as it should, then I loaded phpmyadmin and now when I make a request for a php file it tries to download, my httpd.conf file seems to be in order...any ideas? Jerry Lake- [EMAIL PROTECTED]

[PHP] RE: Join causing Error?

2001-02-26 Thread Johnny Withers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maybe this will help: Break the query up into a variable so PHP can string it together better. Exec. the query, check the result, if good, check the results for rows, if results, display results, else, do nothing, if query faield, set err to 1 and

Re: [PHP] hiding .php

2001-02-26 Thread MaD dUCK
also sprach Fredrik Arild Takle (on Mon, 26 Feb 2001 10:34:11PM +0100): did you get answers to your problem? not from the list. but i found two solutions, both of which require modification of httpd.conf, and both of which are ergo apache-specific:

[PHP] Table looking odd as a result of while loop?

2001-02-26 Thread James, Yz
Hi all, This is probably something dumb I'm missing, but I am using the following code: echo "table border=\"0\"\n"; echo "tr\n"; $photocount = 0; while($row = mysql_fetch_array($result)) { $smallpic = $row['smallpic']; if (($photocount % 3) == 2) { echo "/tr\ntr\n"; } echo

RE: [PHP] Table looking odd as a result of while loop?

2001-02-26 Thread Johnson, Kirk
Is it because 1 % 3 is 0 with a remainder of 2? Looks like the code is doing just what it is written to do. The "if" evaluates to true on the second picture. Kirk -Original Message- From: James, Yz [mailto:[EMAIL PROTECTED]] Sent: Monday, February 26, 2001 2:55 PM To: [EMAIL PROTECTED]

RE: [PHP] php and apache protected directories

2001-02-26 Thread Krznaric Michael
Yes, try lib cURL it supports authentification and even SSL. http://www.php.net/manual/en/ref.curl.php Mike -Original Message- From: Marius David [mailto:[EMAIL PROTECTED]] Sent: Friday, February 23, 2001 5:33 PM To: [EMAIL PROTECTED] Subject: [PHP] php and apache protected directories

  1   2   >