[PHP] Problem: Sybase, PHP and multiple result sets

2001-08-15 Thread Herouth Maoz
I have started working with Sybase lately, and it has come to my knowledge that a single query can return multiple result sets in Sybase, especially when using stored procedures. Now, in ASP (sorry...), there are calls that allow retrieving the next result set from the current result set. So

[PHP] `pwd` - what does this mean?

2001-08-15 Thread Scott Mebberson
Hi Guys, I actually know what it means. Well, I think it means the current directory? Anyway... what exactly is it and where can I find some more information about it? I couldn't find much on php.net - also, is there any other ones(whatever it is) like this? Thanks. Scott. -- PHP General

[PHP] Re: searching arrays

2001-08-15 Thread Raphael Pirker
Hi Richard, Thanks a lot for your prompt reply!! I get a parse-error, however, on line 77 (marked below): function search_the_array($array) { global $search_tmp; $result = array_search($search_tmp, $array, TRUE); reset($array); Line77:while

[PHP] Re: `pwd` - what does this mean?

2001-08-15 Thread Raphael Pirker
my guess would be Parent Working Directory, but i'm not sure... -- 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] `pwd` - what does this mean?

2001-08-15 Thread Joseph Blythe
how about typing man pwd on a unix box? -Original Message- From: Scott Mebberson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 15 August 2001 4:08 PM To: [EMAIL PROTECTED] Subject: [PHP] `pwd` - what does this mean? Hi Guys, I actually know what it means. Well, I think it means the

RE: [PHP] Re: `pwd` - what does this mean?

2001-08-15 Thread Lawrence . Sheed
pass working directory [or] path to working directory. PWD is a unix command See man pwd for more details. eg http://campuscgi.princeton.edu/man?pwd#toc3 -Original Message- From: Raphael Pirker [mailto:[EMAIL PROTECTED]] Sent: August 15, 2001 2:49 PM To: [EMAIL PROTECTED] Subject:

[PHP] Re: php upload on MAC

2001-08-15 Thread Herouth Maoz
Jason wrote: I wrote a script that clients can upload files to our server and download files but there is one small problem. Mac users can't upload all of their files. I am guess there is no file extensions. Anyone have any ideas? Jason Well, in Mac, there are indeed no mandatory file

[PHP] Re: `pwd` - what does this mean?

2001-08-15 Thread Scott Mebberson
I typed it on my server (SunOS 5.7) and it said, it returns the current working directory. So this is a unix command executed from PHP? Is there any other useful unix commands which can be executed from PHP? Does anybody have a list? Scott Mebberson [EMAIL PROTECTED] wrote in message [EMAIL

RE: [PHP] Re: `pwd` - what does this mean?

2001-08-15 Thread Joseph Blythe
actually says: pwd - print name of current/working directory in the man page (c: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 15 August 2001 4:18 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Re: `pwd` - what does this mean? pass working

RE: [PHP] Problem: Sybase, PHP and multiple result sets

2001-08-15 Thread Warren Vail
The ability to select a set from a previously selected set is possible in Sybase because the database supports creation of temporary tables and the select insert. PHP (which is often packaged with MySQL) does not attempt to mix database (SQL) with it's own scripting language (unless someone is

RE: [PHP] `pwd` - what does this mean?

2001-08-15 Thread Don Read
On 15-Aug-2001 Scott Mebberson wrote: Hi Guys, I actually know what it means. Well, I think it means the current directory? It executes the Unix command pwd. pwd - print working (current) directory. Anyway... what exactly is it and where can I find some more information about it? I

Re: [PHP] Problem: Sybase, PHP and multiple result sets

2001-08-15 Thread Herouth Maoz
On Wednesday 15 August 2001 10:07, Warren Vail wrote: The ability to select a set from a previously selected set is possible in Sybase because the database supports creation of temporary tables and the select insert. No, you seem to have missed my point entirely. So I'll explain in a little

Re: [PHP] `pwd` - what does this mean?

2001-08-15 Thread Scott Mebberson
Thanks for your reply but what does this (man -k | grep (1)) do? Thanks Don Read [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On 15-Aug-2001 Scott Mebberson wrote: Hi Guys, I actually know what it means. Well, I think it means the current directory?

[PHP] urgant reply soon

2001-08-15 Thread ashok sundaram
hi, i am facing problem while using the following code even the socket dosent work i am using php 4... web server xitami os min ME note :- what is GD . how to check it exist or not in the below code i am get fatel error(function imagecreate() not found) ////

Re: [PHP] Re: `pwd` - what does this mean?

2001-08-15 Thread David Robley
On Wed, 15 Aug 2001 16:25, Scott Mebberson wrote: I typed it on my server (SunOS 5.7) and it said, it returns the current working directory. So this is a unix command executed from PHP? Is there any other useful unix commands which can be executed from PHP? Does anybody have a list? Well

Re: [PHP] Re: searching arrays

2001-08-15 Thread David Robley
On Wed, 15 Aug 2001 16:17, Raphael Pirker wrote: Hi Richard, Thanks a lot for your prompt reply!! I get a parse-error, however, on line 77 (marked below): function search_the_array($array) { global $search_tmp; $result = array_search($search_tmp, $array, TRUE);

[PHP] compression help

2001-08-15 Thread Kiat Kin
It is possible for me to use the zlib library to compress multiple files in a gz file and after get the original files by decompress it? What i can do now is just compress / decompress a single file only with zlib library. TIA kin -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] session security issue

2001-08-15 Thread Renze Munnik
On Tue, Aug 14, 2001 at 02:32:03PM -0700, David Price wrote: Sean, That is a very interesting suggestion. How would you call that using PHP? Thanks, David Price $HTTP_SERVER_VARS{SSL_SESSION_ID} Another thing I found with phpinfo() is $HTTP_SERVER_VARS{UNIQUE_ID}. I don't know (yet)

Re: [PHP] urgant reply soon

2001-08-15 Thread David Robley
On Wed, 15 Aug 2001 17:13, ashok sundaram wrote: hi, i am facing problem while using the following code even the socket dosent work i am using php 4... web server xitami os min ME note :- what is GD . how to check it exist or not in the below code i am get fatel error(function

[PHP] PHP and Java InputStream object

2001-08-15 Thread Kiat Kin
Is it possible use php to read a file and then using it to construct a java.InputStream object? TIA Kiat Kin -- 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,

[PHP] a bit off the list but should be easy

2001-08-15 Thread Jack
Hi people It is about html, that when I go to some sites that ask me to download their font like Japanese or chinese font, in order to read their language, what do they put in the page for that kind of detection? Jack [EMAIL PROTECTED] Love your enemies, it will drive them nuts

RE: [PHP] a bit off the list but should be easy

2001-08-15 Thread Lawrence . Sheed
Most people do it like this Specify the charset in the document. e.g. Simplified Chinese meta http-equiv=content-type content=text/html; charset=gb2312 Traditional Chinese meta http-equiv=content-type content=text/html; charset=big5 You can also specify the language type in the web server -

Re: [PHP] a bit off the list but should be easy

2001-08-15 Thread Jack
Thanks :-) that is really helpful. Jack [EMAIL PROTECTED] Love your enemies, it will drive them nuts - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 3:33 AM Subject: RE: [PHP] a bit off the list but should be easy

[PHP] Income on the Net!

2001-08-15 Thread Noel Hadfield
Here is an opportunity that you can take up FREE. If you join as an affiliate, we'll teach you how to build a profitable business on the Internet, using our system to create an income stream and earn income globally, 24 hours a day. Don't let this opportunity slip past you - our organization

[PHP] button on PHP page

2001-08-15 Thread Michael McNeice
Hi How do i use a form button to call a php function? Thanks -- 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] important linuxtoday article: Will Open Source Lose the Battle for the web?

2001-08-15 Thread Vinny
hmm just read the controversial linuxtoday article http://linuxtoday.com/news_story.php3?ltsn=2001-08-13-009-20-OP an excerpt: but when will PHP grow to become something more than a web scripting language? Where is the PHP enterprise component architecture? What about clustering and failover?

[PHP] Re: to include php file into html file

2001-08-15 Thread Robert Hennig
Hi Jack! There you must have missunderstod something. PHP is not JavaScript. PHP is only interpreted if used in a file with the depending suffix. (php3, php, asp.) If you want to include a php-file into another file this destination-file also has to be a php-file. JavaScript can´t use PHP.

[PHP] select problem

2001-08-15 Thread Roman
I have mysql in redhat linux and apache 1.3.20 with module php 4.0.6 but I have error in my select, connect to the database is ok. In apache and mysql uder windows working this script OK but no in linux. What's wrong ? @$spojenie = mysql_connect("localhost","user","password"); if (!$spojenie)

[PHP] Re: button on PHP page

2001-08-15 Thread Robert Hennig
Hi Michael, If you use a form then all elements of the form (text-boxes, checkboxex etc.) automatically exist as variables in the file which ist specified as action of the form. To use it in the way you want it might be the right way to specifiy the file, which contains the form, itself as

[PHP] Onclick and PhP

2001-08-15 Thread Flugel
When a page is loaded the php code is being executed, is this also possible for an onclick event? If so how do I do that? tnx! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

Re: [PHP] Onclick and PhP

2001-08-15 Thread Renze Munnik
On Wed, Aug 15, 2001 at 11:45:03AM +0200, Flugel wrote: When a page is loaded the php code is being executed, is this also possible for an onclick event? If so how do I do that? tnx! No. PHP is server-side, not client-side like onclick (JS). The only way to do things like that is:

Re: [PHP] Onclick and PhP

2001-08-15 Thread Flugel
Is it also possible for the output of that php-page (MySQL query) to be displayed in a layer on the page where the button is located? Renze Munnik [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Wed, Aug 15, 2001 at 11:45:03AM +0200, Flugel wrote: When a

[PHP] Explode Your Business!

2001-08-15 Thread Customer Service

Re: [PHP] Onclick and PhP

2001-08-15 Thread Renze Munnik
On Wed, Aug 15, 2001 at 11:56:42AM +0200, Flugel wrote: Is it also possible for the output of that php-page (MySQL query) to be displayed in a layer on the page where the button is located? Should be... But unfortunately I don't have enough time to figure it out for you at the moment. Sorry!

Re[2]: [PHP] Onclick and PhP

2001-08-15 Thread Morten Winkler Jørgensen
Try this page. It is a hack but I think it does what you want it to. !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 3.2 Final//EN HTML HEAD /HEAD BODY BGCOLOR=#FF TEXT=#00 LINK=#FF VLINK=#80 ALINK=#FF00FF BACKGROUND=? ? function theAnswer($action) { if($action

Re: [PHP] important linuxtoday article: Will Open Source Lose the Battle for the web?

2001-08-15 Thread B. van Ouwerkerk
hmm just read the controversial linuxtoday article http://linuxtoday.com/news_story.php3?ltsn=2001-08-13-009-20-OP SNIP Comments on the article? A few. But I saw you can give comments below the article mentioned above. Please please please leave this discussion there. It's endless and pretty

[PHP] a bottle in the sea...

2001-08-15 Thread rashkatsa
Hello ! I've read a lot of web, news and archives for two days and i've not resolve my problem. Here it is : Configuration : Apache 1.3.20 (Win32) / PHP 4.0.5 / MySQL 3.23.39 / Windows 2000 Pro (SP2 and update ok). Services : Apache and MySQL runs as services under 'toto' account. Note : i

[PHP] error

2001-08-15 Thread Eduardo Kokubo
Hi, How can I change this error message to my own message? Warning: fopen(publico/d/bibliografia.html,w+) - No such file or directory

Re: [PHP] session security issue

2001-08-15 Thread speedboy
You need to check against a value that was registered as a session variable. There is no use in checking if some SSL variable is set. Here's a simplified version of my check_session function that I run at the top of every page that requires a session to be established. I also write to the

Re: [PHP] error

2001-08-15 Thread Alexander Wagner
Eduardo Kokubo wrote: Hi, How can I change this error message to my own message? Warning: fopen(publico/d/bibliografia.html,w+) - No such file or directory There are two possibilities: 1) Use @fopen() instead of fopen(). This will supress the error-output. If fopen returns false, you

Re: Re[2]: [PHP] Onclick and PhP

2001-08-15 Thread Flugel
Wow you're good!! Tnx that was exactly what I needed!! Thumbs up for Morten Winkler Jørgensen tnx again! Orv î?÷inklÏ ²ørÏkîskî [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Try this page. It is a hack but I think it does what you want it to. !DOCTYPE

Re: [PHP] error

2001-08-15 Thread Renze Munnik
On Wed, Aug 15, 2001 at 02:08:39PM +0200, Alexander Wagner wrote: Eduardo Kokubo wrote: Hi, How can I change this error message to my own message? Warning: fopen(publico/d/bibliografia.html,w+) - No such file or directory There are two possibilities: 1) Use @fopen() instead of

[PHP] Re: a bit off the list but should be easy

2001-08-15 Thread Hugh Bothwell
Jack [EMAIL PROTECTED] wrote in message 039301c125c7$d4c6c300$[EMAIL PROTECTED]">news:039301c125c7$d4c6c300$[EMAIL PROTECTED]... Hi people It is about html, that when I go to some sites that ask me to download their font like Japanese or chinese font, in order to read their language, what

[PHP] MySQL Multi-Table Select Query Problem

2001-08-15 Thread Charles Williams
Hey folks, if you go to http://www.acnsnet.com/czc/show.php?state=Bayern You can see my problem with this query. This thing is killin me so if you have any ideas just shout. thanks, chuck Chuck's Top 10 Things to Remember and Think about!

[PHP] Re: MySQL Multi-Table Select Query Problem

2001-08-15 Thread Hugh Bothwell
Charles Williams [EMAIL PROTECTED] wrote in message 008801c12588$80bc7960$fe0aa8c0@chucks">news:008801c12588$80bc7960$fe0aa8c0@chucks... Hey folks, if you go to http://www.acnsnet.com/czc/show.php?state=Bayern You can see my problem with this query. This thing is killin me so if you have

[PHP] apache,php,mysql,flash

2001-08-15 Thread AJDIN BRANDIC
Hi, I have RH6.2, php4, MySQL and want to generate graphs with flash. I have done a graph with Flash5 and Micromedia Generator. This creates a .swt file which takes info from a text file and, i guess, generates a .swf with the graph. I want to allow users to type graph details through an

Re: [PHP] Looking for link system

2001-08-15 Thread WendyIR
what kind of a link system do you mean? Like the categories search, or something else? -- 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] Re: Regular Expression Problem and PHP 4 (urgent)

2001-08-15 Thread Ross Nielsen
Actually I didn't pose my question correctly. I also needed to grep out the Link for use in JS during the process. I wrapped this in a class file and here is the entry that I ended up with. Thanks for the assist though... == function

RE: [PHP] could i get a clue?

2001-08-15 Thread Robert V. Zwink
I don't think this is the only possible way. I have used an html IMG tag, then created something like a rollover effect that called a php file for the image. It was kind of like a stop light, the light was off until focus came off of a particular form element, javascript then updated the image

Re: [PHP] Looking for link system

2001-08-15 Thread Thomas Deliduka
On 8/15/2001 9:36 AM this was written: what kind of a link system do you mean? Like the categories search, or something else? Yeah, I found one: http://www.in-link.net/ -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst

RE: [PHP] Need people's advice on a web registration system.

2001-08-15 Thread Robert V. Zwink
There is a real nice article about authorization at www.phpbuilder.com They claim its the same authorization library Sourceforge uses. Here's the direct link. http://www.phpbuilder.com/columns/tim2505.php3 Robert Zwink http://www.zwink.net/daid.php -Original Message- From:

Re: [PHP] could i get a clue?

2001-08-15 Thread Renze Munnik
On Wed, Aug 15, 2001 at 09:44:58AM -0400, Robert V. Zwink wrote: I don't think this is the only possible way. I have used an html IMG tag, then created something like a rollover effect that called a php file for the image. It was kind of like a stop light, the light was off until focus came

[PHP] different PHP platforms

2001-08-15 Thread Joe Sheble \(Wizaerd\)
I've been using PHP on Linux for about 2 years now, and have absolutely loved it. However, I've recently accepted a full time position developing icky ASP pages, and still use PHP on my own sites. I was wondering about using PHP on WIndows and IIS 5.0. Could somebody using the Windows version

[PHP] Running PHP as CGI under apache

2001-08-15 Thread Bob Jones
I'm trying to run a script as CGI under apache, instead of using the apache module, because the module is safe-mode enabled and I need to bypass that for one script. If you put this script into a file (.cgi) and give it executable permissions, you can run it from the command line

Re: [PHP] apache,php,mysql,flash

2001-08-15 Thread Tim
Do you have Macromedia Generator installed on your server? It's responsible for taking the .swt and generating the .swf output. - Tim On 15 Aug 2001 14:28:24 +0100, AJDIN BRANDIC wrote: Hi, I have RH6.2, php4, MySQL and want to generate graphs with flash. I have done a graph with Flash5

Re: [PHP] Re: apache processes memory use

2001-08-15 Thread WendyIR
Well, Thank you for the info. When I'm on the server by myself, there's no problem, the processes hanging around really don't matter the program runs fine. When I put over into public use on a (I assume) heavily utilized server I get emalloc errors. The 2 systems were made the same. I seem

Re: [PHP] apache,php,mysql,flash

2001-08-15 Thread AJDIN BRANDIC
Hi, NO this is what i am trying to find out. where can i download it from (for RD6.2 and Aache 1.3.12). I have tried RH site but no joy. regards Ajdin On 15 Aug 2001, Tim wrote: Do you have Macromedia Generator installed on your server? It's responsible for taking the .swt and generating

RE: [PHP] something like SSI ?

2001-08-15 Thread [EMAIL PROTECTED]
include(/path/to/the/include/file.inc); Original Message: - From: Martin [EMAIL PROTECTED] Date: Wed, 15 Aug 2001 03:21:42 +0200 To: [EMAIL PROTECTED] Subject: [PHP] something like SSI ? Ok, this may seem like a dumb newbie question... Is there an function like ASP's Server

RE: [PHP] could i get a clue?

2001-08-15 Thread Robert V. Zwink
// Besides that... what if I want to do some _serious_ processing // instead of 'drawing' an image? Actually you just readfile an existing image, how much processing does that involve? Not too much. // The popup is the same thing as I said. You just redirect to a // different (PHP-)page.

Re: [PHP] could i get a clue?

2001-08-15 Thread Renze Munnik
On Wed, Aug 15, 2001 at 10:20:39AM -0400, Robert V. Zwink wrote: // Besides that... what if I want to do some _serious_ processing // instead of 'drawing' an image? Actually you just readfile an existing image, how much processing does that involve? Not too much. I didn't say that your

RE: [PHP] apache,php,mysql,flash

2001-08-15 Thread Annand, Nigel
There are open source flash software around try here http://www.openswf.org/ There is at least one alternative to MM's Generator I believe Best regards Nigel -Original Message- From: AJDIN BRANDIC [mailto:[EMAIL PROTECTED]] Sent: 15 August 2001 15:15 To: Tim Cc: [EMAIL

[PHP] Mail method?

2001-08-15 Thread Tamas Bucsu
Hi guys, Is there anything I should configure or set up on the server to make the mail method work? There is nothing about it in the manual (or I just haven't found it?). Thanks Tamas Bucsesz Bucsu

Re: [PHP] apache,php,mysql,flash

2001-08-15 Thread Tim
You have to buy Generator from Macromedia. It's not free. (in fact, it's pretty expensive :) There are some open/free alternatives out there, but there weren't direct replacements last time I evaluated them. There's also the ming extension for PHP which lets you generate a whole SWF movie at

Re: [PHP] Mail method?

2001-08-15 Thread Tyler Longren
Is it not working for you? Do you have an smtp server of some sort set up? If you're using Win98/NT/2000, you can specify an smtp server to use (usually your ISP's). If you're using *nix, install sendmail. Good luck, Tyler Longren Captain Jack Communications [EMAIL PROTECTED]

Re: [PHP] `pwd` - what does this mean?

2001-08-15 Thread Kurth Bemis
At 02:37 AM 8/15/2001, Scott Mebberson wrote: man pwd learn linux/unix. ~kurth Hi Guys, I actually know what it means. Well, I think it means the current directory? Anyway... what exactly is it and where can I find some more information about it? I couldn't find much on php.net - also,

RE: [PHP] could i get a clue?

2001-08-15 Thread Robert V. Zwink
This particular application is designed to assist someone working on data entry, and is currently in production. She inputs 100's of mail-in reply cards into a database using a php webpage. The first field of the form is for the email address listed on the reply card. If the email address is

[PHP] libphp_java.so and APC

2001-08-15 Thread Rip
Does anyone know where I can get a copy of liphp_java.so that is not dependent upon zend? -- 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

RE: [PHP] insertion question

2001-08-15 Thread Alfredeen, Johan
My experience, at least from Oracle and SQLServer, is that very large tables (many millions of records) is not really a problem as long as you design and index well. Where you'll run into problems is when you try to join 2 very large tables together on the fly. This is where you'll need to do

[PHP] Execute a PHP script from unix (crontab)

2001-08-15 Thread Augusto Cesar Castoldi
Hi. How can I execute a php script from the unix? like pearl it's (pearl file), but in unix we don't have a executable of php, it's a module ,right? I should compile the script first? I want this to add to crontab to make backup of my mysql automaticly. thanks. Augusto -- PHP General

[PHP] Date function

2001-08-15 Thread Mike Mike
Hello, I'm pulling a date out of MySQL as 2001-10-18. How do I make it print October 18 in php? Thanks much --Mike __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP

Re: [PHP] Execute a PHP script from unix (crontab)

2001-08-15 Thread ReDucTor
do you mean perl?!? - Original Message - From: Augusto Cesar Castoldi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 16, 2001 1:04 AM Subject: [PHP] Execute a PHP script from unix (crontab) Hi. How can I execute a php script from the unix? like pearl it's (pearl

[PHP] need real expert (geting outer files) *english/german*

2001-08-15 Thread Tribun
Hi all. I habe a strange problem! I try to get a URL like: www.server.com?var=xyz the problem is, that this is very good restricted by serverside. But now I already get the file, and no more the error-message, but the problem is, that the file will not completly load. this means, I receive

Re: [PHP] Date function

2001-08-15 Thread ReDucTor
?php $date = 2001-10-18; $montharray = array(Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec); $datedata = explode(-, $date); echo $montharray[$datedata[1]+1]. .$datedata[2]. .$datedata[0]; ? - Original Message - From: Mike Mike [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [PHP] Date function

2001-08-15 Thread Brian C. Doyle
I use $date = explode(-, $msql_date); $date = date(d F,mktime(0,0,0,$date[1],$date[2],$date[0])); At 08:08 AM 8/15/01 -0700, Mike Mike wrote: Hello, I'm pulling a date out of MySQL as 2001-10-18. How do I make it print October 18 in php? Thanks much --Mike

[PHP] security with email data entries

2001-08-15 Thread Chris Hayes
Hi group! i have this script to read data in POP emails and put them in a database. I would like to know if anybody knows how people would try to get around the tests I've build in. - normal registration by web form (password scrambled), with confirmation through email response - the first

Re: [PHP] a bottle in the sea...

2001-08-15 Thread Chris Hayes
and i have this message : Warning: MySQL Connection Failed: Access denied for user: 'toto@localhost' (Using password: NO) Hmmm i have the same problem every time i install mysql and php and somehow it disappears after a while. I dunno what i did to deserve that. $sql_host =

Re: [PHP] different PHP platforms

2001-08-15 Thread Chris Hayes
I was wondering about using PHP on WIndows and IIS 5.0. Could somebody using the Windows version of PHP on IIS (preferably the ISAPI version) drop me a line and let me know how you like it? How is it different from the Linux vesion? How is it's COM support? Anything I should look out

Re: [PHP] need real expert (geting outer files) *english/german*

2001-08-15 Thread ReDucTor
server.com?var=xyz would put in the get var and set it to xyz and it would give you $var = xyz you don't need the slash.. - James ReDucTor Mitchell - Original Message - From: Tribun [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 16, 2001 1:11 AM Subject: [PHP] need

[PHP] weird array behaviour

2001-08-15 Thread Nick Davies
I have a function which returns a mulit-dimensional array, but the array which is returned doesn't work for some reason :/ If i print the array within the function using while (list($key) = each($myArray)) { while (list($key2, $value2) = each($myArray[$key])) { print

Re: [PHP] security with email data entries

2001-08-15 Thread ReDucTor
well you add to your .forward file or .qmail-default file if you use qmail to exec it(sends the email) then you do something like this.. ?php $fp = fopen(php://stdin, r); while(!feof($fp)) { $buffer = fgets($fp); if(eregi(From:, $buffer)) $from = chop($buffer); if(eregi(To:, $buffer)) $to =

Re: [PHP] need real expert (geting outer files) *english/german*

2001-08-15 Thread Chris Hayes
hi Patrick, your question is not entirely clear. I try to get a URL like: www.server.com?var=xyz i would recommend www.server.com/x.php?var=xyz as with a link as www.server.com you are relying on the server (by the way, which server do you use and is the error only at home or only online

RE: [PHP] need real expert (geting outer files) *english/german*

2001-08-15 Thread scott [gts]
-Original Message- From: Chris Hayes [mailto:[EMAIL PROTECTED]] Subject: Re: [PHP] need real expert (geting outer files) hi Patrick, your question is not entirely clear. I try to get a URL like: www.server.com?var=xyz i would recommend www.server.com/x.php?var=xyz as with

RE: [PHP] weird array behaviour

2001-08-15 Thread Alfredeen, Johan
Nick, I also have noticed weird behavior with multi (or 2D) arrays. Read more on the manual board about arrays. However, I have finally figured out something that works. Be careful of you you define the subarray, assign values, and read the array. Here's what works for me: Creating: (you could

[PHP] Apache virtual hosts php

2001-08-15 Thread Jay Paulson
anyone know the permissions that need to be set on sub-directories of apache when you are using virtual hosts? The reason I ask is I keep getting a 403 forbidden you do not have permission to access / on this server and i'd really like to check to see if my install of PHP is working correctly.

Re: [PHP] Execute a PHP script from unix (crontab)

2001-08-15 Thread Hugh Bothwell
From: Augusto Cesar Castoldi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 16, 2001 1:04 AM Subject: [PHP] Execute a PHP script from unix (crontab) How can I execute a php script from the unix? like perl it's (perl file), but in unix we don't have a executable of php,

[PHP] Re: Mail method?

2001-08-15 Thread Hugh Bothwell
Tamas Bucsu [EMAIL PROTECTED] wrote in message 006d01c12597$ff50f670$9200020a@domain1">news:006d01c12597$ff50f670$9200020a@domain1... Is there anything I should configure or set up on the server to make the mail method work? There is nothing about it in the manual (or I just haven't found

Re: [PHP] Apache virtual hosts php

2001-08-15 Thread Kunal Jhunjhunwala
755 :) Kunal - Original Message - From: Jay Paulson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 9:26 PM Subject: [PHP] Apache virtual hosts php anyone know the permissions that need to be set on sub-directories of apache when you are using virtual hosts?

Re: [PHP] Execute a PHP script from unix (crontab)

2001-08-15 Thread Tom Henry
Hi First get your PHP script working correctly...;-) The use crontab to run lynx (as a browser that runs the PHP script for you). Here's an example crontab line (works for me) that even gets lynx to handle an .htaccess protected_dir ;-): 5 5 * * * /usr/local/bin/lynx -dump -nolog

Re: [PHP] Execute a PHP script from unix (crontab)

2001-08-15 Thread Kunal Jhunjhunwala
Hi, There are basically two ways of doing this. Use lynx : lynx --dump http_address_to_file or Compile php as a cgi binary. You should select them based on your need. Kunal - Original Message - From: Hugh Bothwell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 15,

[PHP] HTTP Authentication

2001-08-15 Thread Jon Farmer
Hi, I am using PHP to send a header to the browser requestiing authentication. On a successful login i am tracking inactivity by the client and want to expire the login once a timeout period is reached. Problem is if the session expires and the user just refreshes then the orignal login details

[PHP] Creating a javascript array from database data

2001-08-15 Thread Neil Freeman
Hi there, Well after a few hours roaming around various websites I am at a loss. Here is what I am trying to do: 1) Access a MySQL database which contains 1 table 2) Read the records from this table 3) Store the values returned from this table into javascript array elements, ie, if I get the

RE: [PHP] Creating a javascript array from database data

2001-08-15 Thread Jon Farmer
-- while you are looping through the date jump in and out of php like this to populate the javascript array script language=Javascript function DataArray() { a = new Array() ? while ($i $number) { $text = mysql_result($result, $i, name); ?

Re: [PHP] Apache virtual hosts php

2001-08-15 Thread Jay Paulson
cool.. now i have the permissions set correctly (which is a great thing! thanks).. but i still get the 403 error... hmm.. you think it has to do with the fact that i'm having to type in the ip address of the server? the dns hasn't been set up yet to point to the server so i'm having to use the ip

Re: [PHP] Apache virtual hosts php

2001-08-15 Thread Kunal Jhunjhunwala
Which dir have you chmoded to 755? Is it the public dir or the main user dir? you have to chmod the main user dir. Kunal - Original Message - From: Jay Paulson [EMAIL PROTECTED] To: Kunal Jhunjhunwala [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 9:55 PM Subject:

[PHP] RE: could i get a clue?

2001-08-15 Thread Andrew Chase
No sure how you mean 'calling' the script... but in addition to using something like document.location='myscript.php' It would theoretically be possible to pass javascript variables to a PHP script in the same way by using something like var foo = Some Text; var bar =

Re: [PHP] Creating a javascript array from database data

2001-08-15 Thread Sheridan Saint-Michel
The thing to ALWAYS remember when working with both PHP and JavaScript is that PHP is Server-Side and JavaScript is Client-Side. What this mean is practical terms is that when going from JavaScript to PHP you have to submit or redirect back to the server... and when going from PHP to JavaScript

[PHP] Question about PHP and images

2001-08-15 Thread Schrotty
I wanted to call a PHP-Skript through a img-Tag and PHP sends a image back. How can I do that? Schrotty.* I'm German, so please be patient with my English. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Re: javascript reference (slightly ot)

2001-08-15 Thread Al
Try searching for javascript and reference on Google for online references. If you want a decent book, get something like JavaScript: The Definitive Guide by David Flanagan, published by O'Reilly. Regardless, pay attention to flags stating IE or Netscape only! :) -Al (used to use your handle

[PHP] Help, I'm so close!!!

2001-08-15 Thread Brandon Orther
Hello, Using cURL: I have been working for some time to get my PHP program to login to an https site and now that it logs in I can’t figure out how to do a post to the site while I am logged in. After I use curl to login I do another curl session to try and emulate a form post. But when I get

[PHP] Looking for the cookies a site sends.

2001-08-15 Thread Brandon Orther
Does anyone know of a tool that lets me see the cookies a site sends my browser?

  1   2   >