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

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,

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

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

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 im

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

[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 Traditional Chinese You can also specify the language type in the web server - have a look at your apache settings. Doing it via the charset= method is better though imho. Note that the download fo

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 ea

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

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

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

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

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

[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. This is a page with a button on it. When you press it you willget something in the layer. -- Kind regards, Morten Winkler -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

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 pret

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

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

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,

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

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(

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

[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

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

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 getPL($plr

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 http://

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: Jean-A

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 c

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

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

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 generatin

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 S

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

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

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

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

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] www.captainjack.c

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

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 al

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

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 prej

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

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

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

Re: [PHP] Date function

2001-08-15 Thread ReDucTor
- Original Message - From: "Mike Mike" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 16, 2001 1:08 AM Subject: [PHP] Date function > 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 > > ___

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 hea

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 = 'lo

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]

[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.. - Original Message - From: "Chris Hayes" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 16, 2001 1:20 AM Subject: [PHP] security w

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 o

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

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 coul

[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 "ex

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

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

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 -auth=user

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

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

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

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

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 S

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

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

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

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

2001-08-15 Thread Neil Freeman
Thanks a lot for your help Sheridan, This now appears to work ok :) but if I remove the: print "\"$text\""; line (as it is not required), I receive errors complaining about a syntax error (related to what?) and that 'text' is undefined. As this line simply outputs the value to screen why should

[PHP] Is this a bug?

2001-08-15 Thread Stig Nørgaard Jepsen
Hello, I have this code, which is a cooked down code of something bigger. So don't ask what it's for. The problem is that I can't get this script working the way I like it at all. Maybe it's a bug. Maybe you have another suggestion? Somewhere in the middle section i have wrote test1 and test2 as

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

2001-08-15 Thread Michael Geier, CDM Systems Admin
Why not use the tool built for the job? mysqldump will allow saving both data and structure. http://www.mysql.com/doc/m/y/mysqldump.html -Original Message- From: Kunal Jhunjhunwala [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 11:05 AM To: [EMAIL PROTECTED] Subject: Re: [

[PHP] php_value in htaccess, internal server error

2001-08-15 Thread Egan
I need to set some PHP values like: php_value session.save_path /a_more_secure_dir in my .htaccess file. But the main Apache httpd.conf file has: AllowOverride AuthConfig FileInfo Indexes and php_value in .htaccess causes Apache internal server error! Now if I change httpd.conf to say

[PHP] How to find out which function caused an error

2001-08-15 Thread Justin Finkelstein
Hi kids I have a function in one of my includes: db.inc.php::getQuery which does most of my mySQL calling for me. However, when the mySQL call fails, I get a nice error which is useful except one thing. It doesn't tell me which function called it. Does anyone know how to find to do the equivale

[PHP] Re: Question about PHP and images

2001-08-15 Thread Schrotty
Let's i.e. a Bannerexchange, the users just put an img-tag on there site and the image appears. I wnat to know how this is possible. I tried already something like this: $im = imagecreatefromgif(news.jpg); imagegif = (); "Schrotty" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">new

[PHP] Re: Question about PHP and images

2001-08-15 Thread Schrotty
My problem is solved!!! "Schrotty" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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] Security in PHP+MYSQL

2001-08-15 Thread CB
I have a security-question that I hope someone can answer, my question is: Will the DROP+TABLE+TBL_TEST-part in http://www.foo.bar/page.php?id=1;DROP+TABLE+TBL_TEST; be executed? /Örjan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] How to find out which function caused an error

2001-08-15 Thread Tyler Longren
Can you post the error so we can have a look at it? If it didn't provide a function, it's probably a parse error (missing semi-colon, missing quote). Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Wed, 15 Aug 2001 18:43:49 +0100 "Justin Finkelstein" <[EMAIL

Re: [PHP] Re: Question about PHP and images

2001-08-15 Thread Kunal Jhunjhunwala
How did you solve it? Kunal - Original Message - From: "Schrotty" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 15, 2001 11:18 PM Subject: [PHP] Re: Question about PHP and images > My problem is solved!!! > > "Schrotty" <[EMAIL PROTECTED]> schrieb im Newsbeitrag >

[PHP] Feedback welcome!

2001-08-15 Thread David Jansen
Everyone, *I checked to make sure it would be OK to post the following here so please don't mistake it for spam. I was told it would be more than OK!* I help develop a text editor called EmEditor and we are about to focus development on supporting the needs/wants of a select number of communitie

Re: [PHP] Creating a javascript array from database data (Off-List)

2001-08-15 Thread Sheridan Saint-Michel
Think in terms of output... The JavaScript is literally going to try and run the output of the PHP (It doesn't even know PHP exists). PHP is outputting the source code for the HTML and JavaScript. So what you are trying to do is get PHP to take dog,cat,cow from MySQL and output: text = new Ar

[PHP] Eval error

2001-08-15 Thread Felipe Coury
Hi, I am a beginner in PHP and I am trying to do the following: I have a form in a page that has 3 fields: email_1, email_2 and email_3. I am trying to send e-mail to those people, if the fields are filled. Relevant part of code: The code complains about an error in line eval( $eval );: Parse

  1   2   >