[PHP] help on select

2001-02-26 Thread Yamin Prabudy
Hi there I had a problem here I got a database in mysql that contains the date format like this "Mar 12 2001" now i try to sort the database and find out how many data in my MySQL that had a date > "Mar 12 2001" how can i change that kind of format so i can compare the data in unix time stamp for

[PHP] simple session question

2001-02-26 Thread John LYC
does session_register() "over-write existing variable of the same name...? for example.. //count already registered and holds value 3. session_register("count"); print $count; //output null; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

[PHP] Re: Can't find php.ini on my Linux/Apache module install

2001-02-26 Thread Ben Peter
Hi Ken, that looks like both are being read, which I wasn't aware of. Thanks for pointing out. Setting things within the apache configuration is quite useful if you want to set them on a per-directory basis, or have different settings for .php and .phtml files, etc, etc. Cheers, Ben Ken wrote:

Re: [PHP] Can't find php.ini on my Linux/Apache module install

2001-02-26 Thread Ben Peter
Ken, if PHP is 'built in' to apache (--with-apxs, besides other ways to achieve this), it is configured through Apache. This is either httpd.conf, or .htaccess files within your web tree. The 'configuration' section in the manual is more specific on that. Cheers, Ben Ken wrote: > > I can't see

[PHP] Safe_mode and prepend/append includes

2001-02-26 Thread Kim Lindberg
Hi, I have looked at the docs and was not able to find anything covering this subject.

[PHP] User Authentication

2001-02-26 Thread Amer Alhabsi
Hi, I'm trying to use an authentication method I found in a tutorial in the net. The server prompts for username/password. But if I enter the hard coded values (or any other values) the server rejects them with a message authorization failed. I use PHP 4 as a module on IIS Thanks very much for

Re: [PHP] how to keep variable "alive" thur pages?

2001-02-26 Thread Ankur Verma
I would suggest you to use sessions. http://www.php.net/manual/en/ref.session.php or use PHPLIB if you are on PHP3 best regards Ankur Verma HCL Technologies A1CD, Sec -16 Noida, UP India - Original Message - From: "John LYC" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Se

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

2001-02-26 Thread Harshdeep S Jawanda
Hi, Steve Edberg wrote: > In your HTMLTable() function, use > > $this->attributes[] = array("border", "0"); > $this->attributes[] = array("cellpadding", "0"); > > otherwise, PHP thinks $attributes is a variable local to that > function, rather that a class variable. Yes, that di

[PHP] Resolved: Can't find php.ini on my Linux/Apache module install

2001-02-26 Thread Ken
OK, I answered my own question. After researching on php.net, I determined that the php.ini should have been in /usr/local/lib, but was missing, presumably because whoever did the install skipped the step of copying php.ini-dist to /usr/local/lib/php.ini. I downloaded a source .tar, extracted

[PHP] how to keep variable "alive" thur pages?

2001-02-26 Thread John LYC
hi all, how do i keep an array of variable "alive" thru different pages... array is assigned with value at say index.php... user will move from tat page to say index2... index3... index4.php.. in index4.php i can still access the array... thanks.. -- PHP General Mailing List (http://www.php

Re: [PHP] redirect pages

2001-02-26 Thread Yasuo Ohgaki
SNIP > > I mean, of course > header("Location: page.php"); > > Must teach fingers to wait for brain to engage :-) According to RFC2616, 'Location: ' header must be absolute URI (i.e. http://example.com/test.html), most browser works with relative URI, though. 'Content-Location: ' can be both ab

[PHP] Can't find php.ini on my Linux/Apache module install

2001-02-26 Thread Ken
I can't seem to locate the php.ini file on my system. Here's some pertinent info from phpinfo(): PHP Version 4.0.4pl1 SystemLinux i686 unknown Configure Command './configure' '--with-mysql' '--with-apxs' '--enable-versioning' Server API Apache Configuration File (php.ini) Path /usr/lo

php-general Digest 27 Feb 2001 05:04:25 -0000 Issue 536

2001-02-26 Thread php-general-digest-help
php-general Digest 27 Feb 2001 05:04:25 - Issue 536 Topics (messages 41705 through 41794): Re: isset() 41705 by: Johnson, Kirk 41727 by: Christian Reiniger Help, Perl can, Php can't ! 41706 by: Chris 41710 by: David Raufeisen 41748 by: Chris

[PHP] image file prob

2001-02-26 Thread John LYC
hi.. i have a form that allow users to upload several image files. every time they submit, i do fread them and assign them to an array... this array will be passed on until user confirmation.. then i insert into database as blob type //freed image file and assign to array. $diagram[$ind] = ad

Re: [PHP] redirect pages

2001-02-26 Thread David Robley
On Tue, 27 Feb 2001 15:15, David Robley wrote: > On Tue, 27 Feb 2001 14:58, Peter Houchin wrote: > > > can some one offer a suggestion please ... i have a > > > > if ($update) { > > $result=foo; > > } > > > > in that if statement i want to redirect them to another page after it > > has processed t

Re: [PHP] redirect pages

2001-02-26 Thread David Robley
On Tue, 27 Feb 2001 14:58, Peter Houchin wrote: > > can some one offer a suggestion please ... i have a > > if ($update) { > $result=foo; > } > > in that if statement i want to redirect them to another page after it > has processed the result .. > i tried having using > > if ($update) { >

Re: [PHP] redirect pages

2001-02-26 Thread Ankur Verma
try the header function http://www.php.net/manual/en/function.header.php for ex, if you want the user to be redirected to abc.php3 file, then use this function call header("location:abc.php3"); exit; do take all the precautions subscribed for the header function in the manual. hope that helps

[PHP] FORM module/extention for PHP4??

2001-02-26 Thread Yasuo Ohgaki
Hello all, I would like to know if anyone already wrote FORM module (not PHP class/function) that handles HTML forms (elements, validation, etc). I searched freashmeat, I couldn't find one. Thanks, -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAI

[PHP] redirect pages

2001-02-26 Thread Peter Houchin
can some one offer a suggestion please ... i have a if ($update) { $result=foo; } in that if statement i want to redirect them to another page after it has processed the result .. i tried having using if ($update) { $result=foo; echo ""; } but to no avail .. any suggestio

Re: [PHP] Question about global variables

2001-02-26 Thread Yasuo Ohgaki
Hello Zenith, SNIP > However, I am now doing a project, using PHP, I decide to write some > modules, for frequestly used. How ever, these module, have to use some > variables, whose scope is originally on only the upper most level. > If using these way (global all var in each function, even not t

Re: [PHP] How to wrap output of formatted text

2001-02-26 Thread Stephan Ahonen
There's a PHP function that does this. See: http://www.php.net/wordwrap Sig for a Day Stephan Ahonen, ICQ 491101 "That's very funny Scotty, now beam down my clothes!" Come back tomorrow for a different sig! Backspace a single "s" to reply by email -- PHP General Mailing List (http://www.php.ne

Re: [PHP] try catch in php?

2001-02-26 Thread Jason Cox
No, PHP doesn't have the extensive error handling that Java does. It's a bit more like C. Jason - Original Message - From: "Jeff" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 26, 2001 6:30 PM Subject: [PHP] try catch in php? > Is there any equivalent java try cat

Re: [PHP] Copying Files to the Web Directory

2001-02-26 Thread Jason Cox
PHP runs as the webserver user which in most cases is user nobody. For PHP to write to a directory, it has to be writable to this directory. A possible solution would be to compile a PHP executable and run a script from cron to copy the files periodically. By using cron and a cgi-version of PHP

Re: [PHP] How to wrap output of formatted text

2001-02-26 Thread Clayton Dukes
Nevermind, I got it :-) I used: function wraptext($text,$warp) { $text = explode(" ", $text); $i = 0; $length = 0; while ($i <= count($text)) { $length += strlen($text[$i]); if ($length <= $warp) { $output .= $text[$i]." ";

[PHP] How to wrap output of formatted text

2001-02-26 Thread Clayton Dukes
Hi all,   how can I tell the output from a mysql query to wrap the cols at 80 (or whatever)?   here's what I have:   $row = mysql_fetch_array($sth);     if ($row[0] != "") {  echo $row[0];   prints the data, but some of the results are long strings of text that don't wrap in the browser,

RE: [PHP] calling functions

2001-02-26 Thread Jason Murray
> Can i call a function from the action line of a form? No, since the tag needs to point to a receiving PHP script. PHP code is executed on the server side, not the browser. PHP code is executed on the server side, not the browser. PHP code is executed on the server side, not the browser. PHP c

[PHP] calling functions

2001-02-26 Thread Peter Houchin
Hiya, Can i call a function from the action line of a form? ie:

[PHP] Another question about using shmop!

2001-02-26 Thread Zenith
I read about the php manual, I find that, shmop function can let me use to store information directly on a shared segment memory. However, I have some question about these! Does it provide a faster performance, if I use these rather than store things in mysql DB, I know this might be stupid, but

Re: [PHP] firewalls & MySQL sessions

2001-02-26 Thread Yasuo Ohgaki
Hello Lee, I cannot imagin exact environtment that you have. Anyway, Are you sure that your servers (Web Server running PHP and Database server running MySQL) can talk to each other? It seems you have firewall(or like, router/proxy/etc) between your web server and your database server. Regards,

[PHP] Question about global variables

2001-02-26 Thread Zenith
hello!! I have a question about variables scope!! In the above segment, I know that, func2 won't echo anything, even I add "global var;" in func2. if, I modified the segment, so, that, it like the following!! It works!! However, I am now doing a project, using PHP, I decide to write some mo

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

2001-02-26 Thread Yasuo Ohgaki
Hello Brian, JavaScript book, that I have, mentions some NN cannot display JavaScript code correctly when user views HTML source code. To work around this, author says disable JavaScript on NN and display source. How about try this to see what the browser really get? (PHP sends the same output f

[PHP] Copying Files to the Web Directory

2001-02-26 Thread Miles Thompson
I have a customer who insists on using Front Page, but wants protection against intruders on all his web pages. I envisioned a solution where he works in Front Page, then all his files are ftp'd to a directory on the server, opened and re-written as .php files with all links changed from "some

[PHP-CVS] Invalid Address

2001-02-26 Thread postmaster
** [EMAIL PROTECTED] is no longer a valid address. Try replacing @CELL1.com with @alltel.com If your email is still not delivered, please contact the recipient and request their new email address. ***

Re: [PHP] parent functions and derived classes - the data problem

2001-02-26 Thread John Donagher
Actually, static calls aren't so static when they're calling a method which is in the inheritance tree. In other words, parent:: calls (assuming the subclass is instanciated) will operate instanciated. John On Tue, 27 Feb 2001, Tyson Lloyd Thwaites wrote: > Hi all, > > I understand that you

[PHP] try catch in php?

2001-02-26 Thread Jeff
Is there any equivalent java try catch syntax in php ? Thanks, Jeff -- 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] Weird Problem

2001-02-26 Thread David Robley
On Tue, 27 Feb 2001 05:53, Steve Segarra wrote: > 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 workin

[PHP] parent functions and derived classes - the data problem

2001-02-26 Thread Tyson Lloyd Thwaites
Hi all, I understand that you can call the parent function from within an overriding child function using the parent::method syntax. That's OK. My problem is...I need the parent's data! (I know that the class has no data, only objects of that class have data, etc etc.) I have a class that ca

Re: [PHP] PERL to PHP

2001-02-26 Thread David Robley
On Tue, 27 Feb 2001 01:28, 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 text > file ### > ### The file looks like this: > > # - > #

Re: [PHP] installation problem

2001-02-26 Thread eschmid+sic
On Tue, Feb 27, 2001 at 10:34:53AM +1030, David Robley wrote: > On Mon, 26 Feb 2001 20:52, [EMAIL PROTECTED] wrote: > > 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

Re: [PHP] Walking Through Mail Headers

2001-02-26 Thread David Robley
On Tue, 27 Feb 2001 06:28, Jason wrote: > 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 th

Re: [PHP] archive location

2001-02-26 Thread David Robley
On Tue, 27 Feb 2001 05:33, Jerry Lake wrote: > 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 nearly - marc.

[PHP] forms & functions

2001-02-26 Thread Peter Houchin
Hiya, Can i call a function from the action line of a form? ie:

[PHP-CVS] cvs: php4 /ext/standard output.c php_output.h

2001-02-26 Thread Zeev Suraski
zeevMon Feb 26 16:09:14 2001 EDT Modified files: /php4/ext/standard output.c php_output.h Log: Fix chunked output buffering support Index: php4/ext/standard/output.c diff -u php4/ext/standard/output.c:1.39 php4/ext/standard/output.c:1.40 --- php4/ext/st

Re: [PHP] installation problem

2001-02-26 Thread David Robley
On Mon, 26 Feb 2001 20:52, [EMAIL PROTECTED] wrote: > 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

RE: [PHP] Forcing htaccess login again

2001-02-26 Thread Chris Aitken
At 12:26 AM 27/02/2001, Sander Pilon wrote: >The request for a password is usually generated by a 401 header. Just do >this - > >Header("WWW-authenticate: basic realm=\"Some realm\""); >Header("HTTP/1.1 401 Unauthorized"); >exit; > >That should pop up a box. Just make sure you check the values of

[PHP] firewalls & MySQL sessions

2001-02-26 Thread Jared Howard
I'm having trouble establishing MySQL sessions when the client is running from behind a remote firewall. (I.e., the MySQL server has a static internet IP, but the remote client which is accessing, or better said, attempting to access the MySQL database via PHP in their browser can't seem to estab

RE: [PHP] php quit working

2001-02-26 Thread Jerry Lake
I used a .php extension which phpmyadmin uses also it is rather odd, it worked until I loaded phpmyadmin (i unloaded it, but nothing fixed) Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Ori

[PHP] PHP3 and Oracle 8.1.6

2001-02-26 Thread Bob Kakalec
I am trying to install and configure PHP3 with Oracle 8.1.6 and am receiving the following error when I run $ make In file included from functions/php3_oci8.h:53, from internal_functions.c:53: /stuff/oracle/product/8.1.6/rdbms/demo/oci.h:1659: ociextp.h: No such file or directory

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

2001-02-26 Thread Kath
I'd like to see this also. - Kath - Original Message - From: "colin olkowski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 26, 2001 3:58 PM Subject: [PHP] php4 as a module AND a cgi > hi all, > > thanks for the replies. many of you asked why I want to use php4 as

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

2001-02-26 Thread php3
Addressed to: <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from <[EMAIL PROTECTED]> Mon, 26 Feb 2001 15:58:19 -0500 > > 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

Re: [PHP] php quit working

2001-02-26 Thread php3
Addressed to: "Jerry Lake" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Jerry Lake" <[EMAIL PROTECTED]> Mon, 26 Feb 2001 12:58:35 -0800 > > 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 ph

RE: [PHP] Forcing htaccess login again

2001-02-26 Thread Sander Pilon
The request for a password is usually generated by a 401 header. Just do this - Header("WWW-authenticate: basic realm=\"Some realm\""); Header("HTTP/1.1 401 Unauthorized"); exit; That should pop up a box. Just make sure you check the values of $PHP_AUTH_USER/PW first before presenting those head

Re: [PHP] Mail() Problems in a heterogenous network

2001-02-26 Thread php3
Addressed to: "Parker, John (Snorkel)" <[EMAIL PROTECTED]> "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> ** Reply to note from "Parker, John (Snorkel)" <[EMAIL PROTECTED]> Mon, 26 Feb 2001 16:02:32 -0600 > The behaviour is this: When I send mail from the webserver (running as > [EMAI

Re: [PHP] Postgresql session handling

2001-02-26 Thread Bolt Thrower
I <[EMAIL PROTECTED]> wrote: > Can someone give me a simple example script that uses postgres session > handling, that works with register_globals "off"? As a followup again, it seems what I've been running into is a bug in PHP: http://bugs.php.net/bugs.php?id=8772 http://bugs.

Re: [PHP] Enumerate files in a folder

2001-02-26 Thread php3
Addressed to: "Karl J. Stubsjoen" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Karl J. Stubsjoen" <[EMAIL PROTECTED]> Mon, 26 Feb 2001 15:28:27 -0700 > > Hello, > > I need a little help getting started with my project (i'm new to PHP). I > need to enumerate all of

[PHP-CVS] cvs: php4 /ext/ircg ircg.c php_ircg.h

2001-02-26 Thread Sascha Schumann
convert_to_string_ex(p2); + + conn = lookup_irconn(Z_LVAL_PP(p1)); + + if (!conn) RETURN_FALSE; + + irc_handle_command(&conn->conn, "WHOIS", 1, Z_STRVAL_PP(p2)); + RETVAL_TRUE; +#endif +} + PHP_FUNCTION(ircg_topic) { #if defined(IRCG_API_VERSION) &&a

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 12:46:08 -0500 > > On 26 Feb 2001, at 10:21, [EMAIL PROTECTED] wrote: > > > The first thing to try is get a list of the host names that

[PHP] Forcing htaccess login again

2001-02-26 Thread Chris Aitken
Now im even getting more confused. Ive been doing some more research into the subject, and cant seem to find any answers. All of the PHP documentation about headers() talks about auth via PHP, but doesnt mention anything about htaccess as the auth system. On my main.php screen, this is where t

[PHP] Php4 and GD

2001-02-26 Thread Dale Frohman
Im trying to get GD to work on my box and i keep getting the following errors: gdttf.c:66: syntax error before `TT_Engine' gdttf.c:72: syntax error before `TT_Matrix' gdttf.c:81: syntax error before `TT_Engine' gdttf.c:87: syntax error before `TT_Glyph' gdttf.c: In function `fontFetch': gdtt

Re: [PHP] PHP4 on UNIX connect to MS SQL Server

2001-02-26 Thread Michael Stearne
This is a really common question. Check the mailing list archive for an answer. (I don't know) Michael Scott Fletcher wrote: > Anyone know of a open-source driver that would allow unlimited database > connection to connect the UNIX machine to a MS-SQL Server 7.0 and is free? > > I have see Fre

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

2001-02-26 Thread Chris
Strange, phpinfo is showing this: POST /members/plurp.asp HTTP/1.1 and a content length of 16, which is exactly right forlah=sd&dta=test but I can't seem to get to the actual data. Is there a way to see the acutal content data, like you can with perl: read(STDIN, $buffer, $ENV{'CONTENT_LENGTH

[PHP] PHP4 on UNIX connect to MS SQL Server

2001-02-26 Thread Scott Fletcher
Anyone know of a open-source driver that would allow unlimited database connection to connect the UNIX machine to a MS-SQL Server 7.0 and is free? I have see FreeTDS but it use myssql, I am looking for odbc. Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [E

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

2001-02-26 Thread Chris
Unfortuanetly, phpinfo is not telling me anything. It returns all the normal info, but it still seems to act like there was no data posted. > 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 pos

[PHP] Enumerate files in a folder

2001-02-26 Thread Karl J. Stubsjoen
Hello, I need a little help getting started with my project (i'm new to PHP). I need to enumerate all of the files in a folder, their name mostly. How would I do that? Thank you! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Re: [PHP] Mail() Problems in a heterogenous network

2001-02-26 Thread Kelly Corkill
Sounds like they have relay disabled on their SMTP server and the IP that your PHP is running on is not on an included network address. As them to verify that your ip address is ok. The mail server will accept locally destined mail but anything else is seen as a relay attempt (Spam) and blocked.

[PHP-CVS] cvs: php4 /ext/ircg config.m4

2001-02-26 Thread Sascha Schumann
sas Mon Feb 26 14:14:24 2001 EDT Modified files: /php4/ext/ircg config.m4 Log: Improve the configure part of ircg a little bit; complain when ircg-config is not found. That lead to confusion in many cases. Index: php4/ext/ircg/config.m4 diff -u

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

2001-02-26 Thread Todd Kerpelman
Sorry. Take that back. Just saw the original post. The problem is that you're doing the stuff AFTER deciding whether you want to change rows or not. Imagine going through the list below when you're on $photocount=2, which is really the third picture. while($row = mysql_fetch_array($result)) {

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

2001-02-26 Thread Todd Kerpelman
Hmmm... I'm pretty sure 1%3 is equal to 1. I'm suspecting you might be incrementing $photocount too early -- that is, before the if (($photocount % 3) == 2) statement. That would certainly explain the weirdness you're seeing. --Todd > -Original Message- > From: Johnson, Kirk [mailto:

[PHP] Mail() Problems in a heterogenous network

2001-02-26 Thread Parker, John (Snorkel)
Ok. Here's the situation: I'm running PHP on a Unix (SGI) box with Apache as a module running an Intranet web server (call it inside.mydomain.com). Sendmail is running on the machine. I'm on a network with a windows Mail server (MS. Exchange 5.5) with (I'm told) appropriate SMTP services runni

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

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

[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 "\n"; echo "\n"; $photocount = 0; while($row = mysql_fetch_array($result)) { $smallpic = $row['smallpic']; if (($photocount % 3) == 2) { echo "\n\n"; } echo "$smallpic\n"; $photocount++

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: http://www.zend.com/tips/tips.php?id=145&sing

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

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

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"

[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: php4/ext/standard/basic_functio

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 val

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

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 ma

[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

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

[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 $array[1],

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

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

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 namesp

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 A

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

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 perso

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

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

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

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

[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 +++ CVSROOT/cvsu

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() { >

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 cli

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

  1   2   >