[PHP] Re: showing last mod. of *included* file

2002-03-01 Thread Timothy J. Luoma
> Use filemtime(). UGH! There are so many things to learn! I hate asking obvious questions like this, but I'm still not finding the right search terms. I appreciate your patience. FYI the answer to my problem was found at http://www.php.net/manual/en/function.filemtime.php [EMAIL PROTECTED]

Re: [PHP] Overriding session headers

2002-03-01 Thread Daniel Grace
"William Lovaton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED].; > May be this helps: > > http://www.php.net/manual/en/function.ob-start.php > > Nope, that won't work. I'm not even sending output at this point, just trying to prevent a header from being sent and I'm not being allow

[PHP] Ok Gurus Shake your nudels !!!

2002-03-01 Thread olev rumm
Mime problem. I have my web form here www.toolmecindustries.com/submform.php Now my email recieves all the contens thruogh [EMAIL PROTECTED] (fields what customer filles out) but attachment (picture fail) is shown like encrypted here: rewfg/wr;tlkmbwsl/kw;relktnh;wlkfdvbs.kdfnghb/asdfmgbn/.slfg

[PHP] Re: Non printable page

2002-03-01 Thread michael kimsal
Diana Castillo wrote: > Is there any way tomake a page that cannot be printed?? > GZIP the page and force the end user to use Netscape. ??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Global Variable Change

2002-03-01 Thread Yasuo Ohgaki
Thomas Brodkorb wrote: > Hi folks, > > small problem with globals: > > I would like to set a variable global called "Language". > > This seems to be not a really problem, but it is. > > Index.php: > >session_start(); > if (!session_is_registered('Language')) { > session_register('La

Re: [PHP] anyone else been having this problem???

2002-03-01 Thread GENESiS DESiGNS
Hmm.. Whats the web site address? -GENESiS DESiGNS -Sean Kennedy -http://www.gdesigns.vcn.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] showing last mod. of *included* file

2002-03-01 Thread Jason Wong
On Saturday 02 March 2002 07:05, Timothy J. Luoma wrote: > I have been using this code to show the last modified time: > > > // the server is 13 hours ahead of Eastern Time USA > $hourdiff = "13"; > $timeadjust = ($hourdiff * 60 * 60); > $eastern_time = date("d M Y g:ia",getlastmod() - $timeadjust

[PHP] anyone else been having this problem???

2002-03-01 Thread Ben Turner
I just developed a new site and some of the users that I have go to visit the site are prompted (under IE only) to download a language pack. Not sure why and to top all of that, the language pack it prompts them to download is blank Meaning the prompt doesnt say what language pack. So

[PHP] shopping cart question

2002-03-01 Thread Jon Feldhammer
The way I see it, there are three options for maintaining state in php. I've already taken the route of keeping a random session id and putting it into a database to track a user/cart. So the only variable i need to track is the session id. The three options I know of then are: 1. Putting the s

[PHP] HTTP Post to another server

2002-03-01 Thread Quentin Bennett
Hi, I want to turn some form data in to and XML document, and the HTTP Post that data to another server. Is that possible from PHP. As a challenge, I know it is possible in ASP! Thanks In Advance Quentin Bennett mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

[PHP] help please -- error compiling php 4.1.2 (4.0.6 compiles fine)

2002-03-01 Thread Scott Brown
I'm trying to deal with the recent security advisory... but I cant get 4.1.2 to compile on my system I'm getting : gcc -I. -I/home/webmaster/new_build/php-4.1.2/ext/standard -I/home/webmaster /new_build/php-4.1.2/main -I/home/webmaster/new_build/ph p-4.1.2 -I/home/webmaster/new_build/apache_1

[PHP] Re: just wanna know

2002-03-01 Thread Quentin Bennett
Unlike echo, print can accept only one argument Unlike echo, print returns a value, which represents whether the print statement suceeded. Both are language constructs, so () are optional. Using () with echo limits you to one argument. All courtesy PHP 4 Bible. Quentin Bennett "Eoghan" <[EMAIL

Re: [PHP] can I sandwich html docs with PHP

2002-03-01 Thread Rasmus Lerdorf
> > Using mod_perl I can write a module for any phase that Apache > > goes through while handling a request. Based upon any variables I > > want, I can tell Apache to have my module handle one of those > > phases. So when you request this url for example: > > > > http://www.mydomain.com/joe.html >

Re: [PHP] can I sandwich html docs with PHP

2002-03-01 Thread Michael Kimsal
Peter J. Schoenster wrote: > Using mod_perl I can write a module for any phase that Apache > goes through while handling a request. Based upon any variables I > want, I can tell Apache to have my module handle one of those > phases. So when you request this url for example: > > http://www.my

[PHP] how do you install this patch?

2002-03-01 Thread Websitecd
How do you install this patch? php-4.0.6-to-4.1.1.patch.gz Regards, Joseph A. Bannon . The Webmaster CD http://www.thewebmastercd.com Join our affiliate program and get paid in 5 days. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Problem with global variables?

2002-03-01 Thread Jeff Lewis
We have some software where there is a form that people can enter a message in. When submitting the form, it is directed to a function that has global declarations for the subject and message of the post. This worked up until yesterday. And it didn't just happen on one site, it stopped on sever

[PHP] Re: Email MIME Support?

2002-03-01 Thread olev rumm
Have a same problem. Moved my mime stuff just for testing to other server and not working at all. working version www.toolmecindustries.com/submform.php not workin version at http://streetrave.tartu.ee/toolmec/submform.php what to do - good question.. Olev. "Steven Walker" <[EMAIL PROTECTED]

Re: [PHP] Non printable page

2002-03-01 Thread William Lovaton
But you could save the page... change the colors and then print it. William. El vie, 01-03-2002 a las 15:11, Scott St. John escribió: > Black background, white text used to work :) > > > On Fri, 1 Mar 2002, Diana Castillo wrote: > > > Is there any way tomake a page that cannot be printed??

[PHP] Time to recompile - time to add functionality

2002-03-01 Thread Scott Brown
Ok - the scenario: I have a box that I lease... I have root privs, so I can do almost anything I want to it. Almost being the key word. Unfortunately, any time I try to upgrade a base library, I snafu the thing, and the datacenter has to rebuild the libraries. Right now, I've got php4.0.4pl1 t

Re: [PHP] error msg

2002-03-01 Thread William Lovaton
You have to check your php.ini and set a valid tmp directory for storing session data. Look for the session section. William. El vie, 01-03-2002 a las 02:52, mm fernandez escribió: > hi. i get this error message whenever i open my page (except during the > first time i open it). Can someone

Re: [PHP] Variables that can't be set by query string

2002-03-01 Thread Erik Price
On Friday, March 1, 2002, at 06:11 PM, James Taylor wrote: > IF a user is logged on, they can post, if not they don't even see the > option. > Instead of doing a SQL query everytime they look at the posts, I was > thinking > of registering a variable called like $true where if they're logged

Re: [PHP] Overriding session headers

2002-03-01 Thread William Lovaton
May be this helps: http://www.php.net/manual/en/function.ob-start.php William. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

[PHP] Variables that can't be set by query string

2002-03-01 Thread James Taylor
I have a weblog type script I'm building for a friend where there are main posts then comments - Registered users can post comments, unregistered don't even have the option. I was thinking of making a page where a user logs on, then it registers a session with a few variables like $sid, $usern

[PHP] Arabic Form Input - Help!

2002-03-01 Thread anarchocipher
Hello, I am writing software which uses MySQL as a backend. I need to accept Arabic form input, store it in MySQL, and use it later. I don't believe MySQL supports Unicode except in BLOB column types, so I want to convert it to NCR (numeric character html entities). After looking at iconv() and re

Re: [PHP] PHP and passwords

2002-03-01 Thread Rasmus Lerdorf
No, that is not a good idea. It is potentially much worse to allow people to execute include files out of context than to merely let them see them. The correct way to handle this is to either put your include files outside the document_root, or add an Apache rule to block any direct access to .in

[PHP] showing last mod. of *included* file

2002-03-01 Thread Timothy J. Luoma
I have been using this code to show the last modified time: (Note: the following was adapted from http://www.terrabyte.dc.com.au/phpscripts.php3 ) // the server is 13 hours ahead of Eastern Time USA $hourdiff = "13"; $timeadjust = ($hourdiff * 60 * 60); $eastern_time = date("d M Y g:ia",getlast

[PHP] Re: Building secure authentification with sessions

2002-03-01 Thread Matthew Crouch
this is in the ballpark: http://phpbuilder.com/columns/ying2602.php3?page=1 Andy wrote: > Hi there, > > I did recently read an article about security. Now I absolutly see the need > of recoding my authentification procedure on a community site. > > There are questions I hoped some of you gu

Re: [PHP] PHP and passwords

2002-03-01 Thread William Lovaton
If you use just and .inc file any user with a browser can hit in the URL: http://www.site.com/connect.inc and see what is inside. So, de recomendation is: Use a .php extension: connect.inc.php William El jue, 28-02-2002 a las 14:16, Sam Masiello escribió: > > What you could do is have a sc

[PHP] Email MIME Support?

2002-03-01 Thread Steven Walker
Hello, I've just moved my website to a new server and sendmail is not working the same. My email messages (sent via mail()) are coming out blank or with mime attachments. To verify my sanity, I tested this same script on the old server and it came through fine. The new server seems to like on

Re: [PHP] Unable to display images on browser

2002-03-01 Thread Andrew Brampton
RE: [PHP] Unable to display images on browserI've never done this in PHP, but one way of testing if your output is correct is telnet to your webserver and request the php script yourself. Then request a valid JPG (or whatever), and compare the outputs.. If you have netcat (great tool), you can

[PHP] PHP Job opportunity, Washington DC Area

2002-03-01 Thread Alok K. Dhir
We have an immediate position available for an experienced web developer with the following skills: Required skills (1.5+ years in each): - PHP web development in a Linux/Unix environment - SQL (MySQL preferred) - HTML/Javascript Plusses: - Linux/Unix sysadmin

RE: [PHP] Unable to display images on browser

2002-03-01 Thread Narvaez, Teresa
Andrew, That is exactly what I am trying to do but the only thing I get is a box with an X on IE 4.0 and Netscape Communicator 4.73. Please see my a fragement of my php code below. Thanks in advance! -Teresa -- file1.php ---

Re: [PHP] Unable to display images on browser

2002-03-01 Thread Andrew Brampton
if u have the data stored in the DB, just chuck the data out, with the correct mime-type header.. Andrew - Original Message - From: "Narvaez, Teresa" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, March 01, 2002 8:41 PM Subject: RE: [PHP] Unable to display

Re: [PHP] safe mode and file handling

2002-03-01 Thread Jim Lucas [php]
if you are on a unix system running with apache, you could modify the virtual host block and have apache run as your user name and then change the permissions of the docroot so you are the owner and group. Jim Lucas www.bend.com - Original Message - From: "Mika Lindqvist" <[EMAIL PROTECTE

[PHP] Andy...

2002-03-01 Thread Sean Kennedy
hi, no, i'm not paying for my host. its from my isp. they didn't know. i'm not asking if you know if i have it. i'm asking for help with figuring it out via telnet. i got it. so thanks for your help anyway. -sean kennedy -http://www.gdesigns.vcn.com -- PHP General Mailing List (http://www.p

[PHP] RE: mysql and telnet.

2002-03-01 Thread Andrew Chase
Hmm, I'm assuming you're paying someone to host your site? Can't you give the hosting company a quick call or e-mail re: whether or not they offer MySQL? They would probably know better than we would. ;) -Andy > Thanks for the advice... But now I need to know what all this means: > > /home/chi

[PHP] Announcement: Smarty template engine 2.0 available

2002-03-01 Thread Monte Ohrt
Smarty 2.0 is out! The most notable new things: *) Smarty has been rewritten with an underlying plugin architecture, so adding functions, modifiers, compiler functions, prefilters, postfilters, resources, and insert functions is as easy as dropping a file into the plugin directory. *)

Re: [PHP] safe mode and file handling

2002-03-01 Thread Rasmus Lerdorf
The easiest way to make this work is to use open_basedir settings instead of safe_mode. Safe_mode is specifically created to prevent you from doing what you are trying to do. -Rasmus On Fri, 1 Mar 2002, Mika Lindqvist wrote: > I and my www space provider have fought with a problem. All > files

[PHP] safe mode and file handling

2002-03-01 Thread Mika Lindqvist
I and my www space provider have fought with a problem. All files/directories created by PHP are owned by nobody/nobody and we want them to be created by my own uid/guid. How this would be solved by least amount of modification in the scripts. The problem is in that safe mode requires that the s

Re: [PHP] how to use PHP on command line in windows

2002-03-01 Thread Scott St. John
Just download the CGI version and call it from the command line. I am doing a project now based entirely on the command line using PHP as a file parser on Win 2K. You can add it to your path or just call it: c:\php\php.exe -q nameOfScript.php Make sure you write it like a normal PHP script wi

[PHP] how to use PHP on command line in windows

2002-03-01 Thread Peter J. Schoenster
Hi, I use NT for development and I like to write snippets of code and test them on my local box. I can do this in Perl. How can I do that in PHP without installing a webserver etc. etc. I guess I can install a version of PHP and just make sure I've got the path in my env. Thanks, Peter http:

Re: [PHP] Non printable page

2002-03-01 Thread Scott St. John
Seriously, another option that works in IE would be to use the link tag in the of the document. Put an alternate document in the tag so when they print the page you can control the content. Here is the tag: -Scott On Fri, 1 Mar 2002, Diana Castillo wrote: > Is there any way tomake a page

Re: [PHP] empty() & texarea

2002-03-01 Thread Richard Baskett
This is a simple solution and it should work and you'll probably kick yourself when you hear it *grin* Use: Put it all on one line, because the way you have it currently there are white spaces in the textarea and a newline so it's always going to be FALSE when testing to see if it's empty. Ch

RE: [PHP] Unable to display images on browser

2002-03-01 Thread Narvaez, Teresa
Hello, Thanks for your responses; however, I do not think I have the gd libraries installed because ImageCreateFromString() was not found. I will install it. I have a question: I can display the PNG or GIF image using the browser. So Why do I need the GD library? Since I stor

Re: [PHP] passing array of variables in a query string

2002-03-01 Thread Richard Baskett
If you have control over the query string, just name your variable 'state[]' and then when it is passed through the query string as: http://www.archipro.com/test.php?state[]=AB&state[]=BC PHP will see that it is an array and will parse it as such and you can access the variables as an array. Ch

Re: [PHP] Non printable page

2002-03-01 Thread Lars Torben Wilson
Diana Castillo writes: > Is there any way tomake a page that cannot be printed?? No. If you display data on my machine I can do anything with it, since it must exist on my machine in some form in order to be displayed. -- Torben Wilson <[EMAIL PROTECTED]> http://www.thebuttlesschaps.com htt

Re: [PHP] Non printable page

2002-03-01 Thread Scott St. John
Black background, white text used to work :) On Fri, 1 Mar 2002, Diana Castillo wrote: > Is there any way tomake a page that cannot be printed?? > > > > -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: get the median from an array of integers

2002-03-01 Thread Erik Price
On Friday, March 1, 2002, at 02:28 PM, Jason Wong wrote: > On Saturday 02 March 2002 02:03, Daniel Grace wrote: >> As for the median value, there's a relatively easy way to do this in >> PHP: > > I think Erik has gotten his terms mixed. He wants the "most-chosen" > value, > which is the "mode

[PHP] Non printable page

2002-03-01 Thread Diana Castillo
Is there any way tomake a page that cannot be printed?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] compile php with GD2

2002-03-01 Thread Hendrik
hi again, well sorry about that, it worked when i changed it to: ./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml --with-curl --with-swf=/usr/local/flash --enable-ftp --with-gd=/usr --with-jpeg-dir=/usr/local --with-xpm-dir=/usr/X11R6 --with-png-dir=/usr --with-imap --with-ming=/

[PHP] Unofficial Cobalt PHP 4.1.2 PKG available

2002-03-01 Thread Andres Petralli
Hi Everyone, I was urged to compile a new php 4.1.2. module to fix that security bug in earlier versions for our Cobalt RaQ servers. I made a nice *.pkg file which everyone can get on ftp://ftp.cobalthosting.ch/pub/optional/RaQ3-PHP-4.1.2-1.pkg should anyone be interested in it. BE AWARE, THIS

[PHP] Re: PHP and Java

2002-03-01 Thread Proyecto de Grado
the var is LD_LIBRARY_PATH ok! [Java] java.home=/usr/java1.2 java.class.path=/usr/local/lib/php/php_java.jar:/usr/java1.2/src.jar java.library.path=/usr/local/lib/php/extensions/no-debug-non-zts-20010901:/usr/java1.2/jre/lib/sparc java.library=/usr/java1.2/jre/lib/sparc/libjava.so extension_d

RE: [PHP] Re: PHP and Java

2002-03-01 Thread Hunter, Ray
What needs to be done here: You need to have the libphp_java.so in the libexec directory of apache so that it can load the module. Your error 2 is because the module is not loaded. Fix the 1 problem and the second will go away. Plus, I would run Tomcat and have that handle of all your java a

[PHP] Re: PHP and Java

2002-03-01 Thread Proyecto de Grado
the var is LD_LIBRARY_PATH ok! [Java] java.home=/usr/java1.2 java.class.path=/usr/local/lib/php/php_java.jar:/usr/java1.2/src.jar java.library.path=/usr/local/lib/php/extensions/no-debug-non-zts-20010901:/usr/java1.2/jre/lib/sparc java.library=/usr/java1.2/jre/lib/sparc/libjava.so extension_dir=

[PHP] Re: posting data with curl

2002-03-01 Thread Julio Nobrega Trabalhando
Submit the data to the action="" url of the form, not to the form's page. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 "Wm" <[EMAIL PROTECTED]> wrote in me

[PHP] posting data with curl

2002-03-01 Thread wm
is there a way using curl or another way to post data to a script, but then to actually be tranferred to that page? (of course i mean without a submit buttonan auto post sort of thing.). using curl the script seems to wait for return data and doesn't give control to the url that the data was p

Re: [PHP] PHP and Java

2002-03-01 Thread Richard Fox
Minor point, but you do mean LD_LIBRARY_PATH, not LD_LIBRARYPATH right? Also, set [Java] extension = libphp_java.so extension_dir = (pathname to libphp_java.so) Rich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP and Java

2002-03-01 Thread Proyecto de Grado
I used LD_LIBRARYPATH=/usr/local/lib:/usr/java1.2/jre/lib/sparc:/usr/local/lib/php/modules but the problems 1) PHP Warning: Unable to load dynamic library './libphp_java.so' - ld.so.1: /usr/ local/apache/bin/httpd: fatal: ./libphp_java.so: open failed: No such file or directory in Unkn

Re: [PHP] inspiration needed on problem s

2002-03-01 Thread Steven Walker
Nick, If I understand the problem correctly, the form reset button doesn't work when the form is prefilled with POST data. To overcome this, I created reset button of type='submit' value='Reset'. When loading the form page I test to see if submit=='Reset' or 'Submit'. If it equals 'Reset', then

Re: [PHP] compile php with GD2

2002-03-01 Thread Rasmus Lerdorf
You never put "lib" in a PHP configure flag. Read the INSTALL file carefully, please. It should just be --with-gd=/usr since it also needs to find the gd header files which are nowhere under /usr/lib On Fri, 1 Mar 2002, Hendrik wrote: > hi there, > > i tried to compile php with GD2 support and

[PHP] compile php with GD2

2002-03-01 Thread Hendrik
hi there, i tried to compile php with GD2 support and the following configure line: ./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml --with-curl --with-swf=/usr/local/flash --enable-ftp --with-gd=/usr/lib --with-jpeg-dir=/usr/local --with-xpm-dir=/usr/X11R6 --with-png-dir=/usr --w

[PHP] mod_rewrite

2002-03-01 Thread Adrian Murphy
I'm building a website buider app and I'm giving users a url of the form username.mysite.com but I want to redirect all url's that end with mysite.com to a script and query the db based on username.I've learned that I need to use mod_rewrite for this.The documentation suggests that this will caus

[PHP] RE PHP

2002-03-01 Thread Proyecto de Grado
I used LD_LIBRARYPATH=/usr/local/lib:/usr/java1.2/jre/lib/sparc:/usr/local/lib/php/modules but the problems 1) PHP Warning: Unable to load dynamic library './libphp_java.so' - ld.so.1: /usr/ local/apache/bin/httpd: fatal: ./libphp_java.so: open failed: No such file or directory in Unkn

[PHP] Re: user input in HTML

2002-03-01 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Erik Price) wrote: > Or is there some other > method of allowing only certain HTML tags? The second argument of allows you to specific the tags you want to preserve. -- CC -- PHP General Mailing List (http

[PHP] Has anybody used whizhost?

2002-03-01 Thread Leif K-Brooks
I'm thinking of switching my website t whizhost (http://www.whizhost.com/). It has more features than my current host, and is a dollar a month less. Has anybody ever used them? Please tell me if they were good or not. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

[PHP] inspiration needed on problem s

2002-03-01 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all I'm all out of inspiration in finding an elegant solution to a little problem, hope you guys can lend a hand :-) I have a form thats values are object properties. The object is carried in the current session. As a result my reset button won't

[PHP] echo array and integrate two forms

2002-03-01 Thread Andrea Caldwell
Hope this doesn't sound too lame from the newbie. I have a form, code shown here that has input fields for each row. I'd like to do two things: 1.) Change the REALNAME field to just echo the row & not have an input field (I've tried to do this & it just echoes my code back to me). 2.) Integrate

Re: [PHP] PHP and Java

2002-03-01 Thread Richard Fox
>From my experience getting Java to run w/ PHP and Apache on RedHat 7.0, you can try setting the LD_LIBRARY_PATH environment variable ( without which my Java would not run) set to the location of libjava.so, libjvm.so, and php_java.jar, in my case (without line feeds) LD_LIBRARY_PATH="/usr/java/

[PHP] Re: get the median from an array of integers

2002-03-01 Thread Daniel Grace
> > The web page features ten listboxes, each of which contains the same > options. Let's say that you can choose A, B, C, D, or E from each > listbox. Submit the form, run some code to figure out which was > most-frequently selected, and then display that value on the next page. > > That's all

RE: [PHP] PHP and Java

2002-03-01 Thread Hunter, Ray
If you are running this on apache then it needs to be in the libexec directory of apache where it looks for the *.so modules that are to be loaded. Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Proyecto de Grado [mailto:[EMAIL PROTECTED]] Sent: Friday, March

RE: [PHP] PHP and Java

2002-03-01 Thread Proyecto de Grado
no, it isn't. it is in usr/local/lib/php/modules > Is the libphp_java.so located in your apache libexec directory? > > > > Ray Hunter > Firmware Engineer > > ENTERASYS NETWORKS > > > -Original Message- > From: Proyecto de Grado [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 01, 2002 10:

RE: [PHP] RE: Andrey this is for you.

2002-03-01 Thread Demitrious S. Kelly
Type: "find / -name mysql -type f 2> /dev/null" if you see something like /usr/local/bin/mysql then you do (that dosent mean that the demon is running, but the client is at least installed... to see if you have the daemon installed "find / -name safe_mysqld -type f 2> /dev/null" and to see

[PHP] Re: hmm.. more trouble with telnet.

2002-03-01 Thread J Smith
It means bash can't find the file called "mysql". If it could, it would show you a path to the file, like $ whereis mysql mysql: /usr/bin/mysql If your server has locate or slocate, try them instead. (This assumes they have an up to date locate database. If not, you may have to run "updatedb"

Re: [PHP] mysql and telnet.

2002-03-01 Thread bvr
What do you want to know? Is my ISP offering mysql ? Is it available to me ? Is it installed on this particular server ? WHAT? If you would like to use MySQL, you should have *access* to a mysql server. If you don't know a username and password, you probably haven't. And as you say it, you c

[PHP] Tank you very much for all

2002-03-01 Thread Michele Salerno
I unsubscribe the mailing list, i haven't help in mailing-list. I'haven't response the my post... Cancello la sottoscrizione perché vedo che non ho risposte da nessuno, e solitamente faccio iscrizioni per imparare e non solo per dare. Pensavo che qui avrei trovato pace, ma solo perché non conos

RE: [PHP] PHP and Java

2002-03-01 Thread Hunter, Ray
Is the libphp_java.so located in your apache libexec directory? Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Proyecto de Grado [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 10:49 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP and Java I have Jav

[PHP] PHP and Java

2002-03-01 Thread Proyecto de Grado
I have Java1.2 , php4.1.1 and apache 1.3.22, sun solaris7 I did compile php with-java 1) Java section in php.ini [Java] java.home = /usr/java1.2 java.class.path = /usr/local/lib/php/php_java.jar java.library=/usr/java1.2/jre/lib/sparc/libjvm.so java.library.path = /usr/loca

[PHP] RE: Andrey this is for you.

2002-03-01 Thread Sean Kennedy
hello, locate mysql returned this: /home/chiliasp/odbc/direct/locale/en_US/LC_MESSAGES/ivmysql15.po /home/sites/home/web/CFIDE/administrator/datasources/drivers/myodbc_mysql.cfm /home/sites/home/web/CFIDE/administrator/datasources/drivers/mysql.cfm /home/sites/home/web/CFIDE/administrator/server

Re: [PHP] mysql and telnet.

2002-03-01 Thread Andrey Hristov
.cfm are ColdFusion files(like .php or .pl) Regards, Andrey - Original Message - From: "Sean Kennedy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 01, 2002 7:36 PM Subject: [PHP] mysql and telnet. Hello, Thanks for the advice... But now I need to know what all this

Re: [PHP] hmm.. more trouble with telnet.

2002-03-01 Thread Jeff Sheltren
How about just typing 'mysql' (without the quotes)... if it is on the system and in a directory which is in your path (it should be if your host knows what they're doing), then that will connect to mysql for you. If that doesn't work, then you can either try using 'find' (type 'man find') fo

[PHP] mysql and telnet.

2002-03-01 Thread Sean Kennedy
Hello, Thanks for the advice... But now I need to know what all this means: /home/chiliasp/odbc/direct/locale/en_US/LC_MESSAGES/ivmysql15.po /home/sites/home/web/CFIDE/administrator/datasources/drivers/myodbc_mysql.cfm /home/sites/home/web/CFIDE/administrator/datasources/drivers/mysql.cfm /home/

Re: [PHP] user input in HTML

2002-03-01 Thread bvr
Use strip_tags() http://www.php.net/manual/en/function.strip-tags.php Erik Price wrote: > I was hoping to solicit an opinion: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] hmm.. more trouble with telnet.

2002-03-01 Thread Andrey Hristov
I think - " no mysql is available" what did "locate mysql" returned? Regards, Andrey - Original Message - From: "Sean Kennedy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 01, 2002 7:27 PM Subject: [PHP] hmm.. more trouble with telnet. Hello, When I type in 'whereis

RE: [PHP] hmm.. more trouble with telnet.

2002-03-01 Thread Hunter, Ray
It did not find it with your classpath... Try using locate or slocate, this should find it... Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Sean Kennedy [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 10:28 AM To: [EMAIL PROTECTED] Subject: [PHP] hm

Re: [PHP] include() and paths

2002-03-01 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then DL Neil declared > > > RTFM the four pages from > > > http://www.php.net/manual/en/function.require.php.; There's quite a > bit > > > of advice/experience in the user annotations! > > > > Please don't RTFM me, that's the first place I

Re: [PHP] include() and paths

2002-03-01 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Nick Winfield declared > I didn't catch the first part of this thread (rampant deletion ahoy) so > please excuse if I am talking nadgers. The way I see it, if you are > calling includes/requires from within other includes, the path is

[PHP] hmm.. more trouble with telnet.

2002-03-01 Thread Sean Kennedy
Hello, When I type in 'whereis mysql' it says 'mysql:' so what does that mean? -Sean

RE: [PHP] passing array of variables in a query string

2002-03-01 Thread Kevin Stone
To form an array of values in the GET string append brackets to the end of each variable name... http://www.archipro.com/test.php?state[]=AB&state[]=BC for($i=0; $i"; } Result: AB BC Hope this helps. :) -Kevin -Original Message- From: Diana Castillo [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] trouble with telnet.

2002-03-01 Thread Vlad Kulchitski
Actually there's a nice bash command: $ which mysql that is supposed to show you the folder where binary is... I mean my understanding is if there's 'mysql' binary that means mysql is installed. alternatively you can do this also: $ find / mysql*// what this one will do is it will sta

Re: [PHP] trouble with telnet.

2002-03-01 Thread Andrey Hristov
locate mysqld whereis mysql Regards, Andrey - Original Message - From: "Sean Kennedy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 01, 2002 7:05 PM Subject: [PHP] trouble with telnet. Hello, I telneted to my web server and I would like to see if they have MySQL. Is

Re: [PHP] empty() & texarea

2002-03-01 Thread Andrey Hristov
Hi Erik, I think that you look for array_count_values(). Regards, Andrey - Original Message - From: "Erik Price" <[EMAIL PROTECTED]> To: "John Fulton" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, March 01, 2002 6:58 PM Subject: Re: [PHP] empty() & texarea > > On Friday, M

[PHP] trouble with telnet.

2002-03-01 Thread Sean Kennedy
Hello, I telneted to my web server and I would like to see if they have MySQL. Is there a certain sentence I type to see if they have MySQL? Thank you, -Sean

Re: [PHP] empty() & texarea

2002-03-01 Thread Erik Price
On Friday, March 1, 2002, at 11:45 AM, John Fulton wrote: > > I can't seem to get empty() to check if someone has left > a textarea unanswered in an online form with code like > the following: > > > > In cases where you have provided a default value to fill in the form, you can't use empty

Re: [PHP] PHP and Apache Win32

2002-03-01 Thread [EMAIL PROTECTED]
Yes, you have got a few thing mixed up, to be exact DSO and CGI. The DSO module containing the PHP engine is loaded into Apache, and therefore it doesn't the CGI version (php.exe) anymore. So 'ScriptAlias' is only needed for CGI installations, and you don't need the 'Directory' part either. All

[PHP] get the median from an array of integers

2002-03-01 Thread Erik Price
What is the best way to get the median value from an array of integers? I have a very long form, which is essentially the same mini-form (group of fields) repeated a number of times with different names (simple though, I use a 'for' loop to give each field a number that corresponds to which mi

Re: [PHP] passing array of variables in a query string

2002-03-01 Thread Andrey Hristov
It is in the TODO list of PHP. The behaviour will be changed in such a case. You can get the string from $QUERY_STRING explode it with $ar=explode('&',$QUERY_STRING); and some other small things to get all stuff with same name in an array Regards, Andrey - Original Message - From: "Diana

Re: [PHP] empty() & texarea

2002-03-01 Thread Andrey Hristov
When register_globals is on try this: if ($open_why_good_consult){ } Regards, Andrey - Original Message - From: "John Fulton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 01, 2002 6:45 PM Subject: [PHP] empty() & texarea > > I can't seem to get empty() to check if

[PHP] empty() & texarea

2002-03-01 Thread John Fulton
I can't seem to get empty() to check if someone has left a textarea unanswered in an online form with code like the following: if(empty($open_why_good_consult)) { print "Please fill in why you would be a good consultant"; } Any ideas? It seems to work for things like this: if

[PHP] passing array of variables in a query string

2002-03-01 Thread Diana Castillo
I was wondering if someone could help me with this: what I need to know is how to pick up an array of variables from a query string such as: http://www.archipro.com/test.php?state=AB&state=BC If I use $state, I get only the last one. -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] Help me!!!Can I use PHP to send SMS message???

2002-03-01 Thread LaserJetter
If you had a suitable cable, phone and controlling software, You could send the SMS using the mobile phone. Not sure how you interface with external apps from PHP though. "Frank Hertogs" <[EMAIL PROTECTED]> wrote in message 004f01c1c0a4$b5752f50$3400a8c0@fritzzz57619dp...">news:004f01c1c0a4$b57

  1   2   >