RE: [PHP] Being a SERVER (you cant kill me, im.... DAMN!!)

2001-08-01 Thread B. van Ouwerkerk
At 23:29 1-8-01 -0700, Ralph Guzman wrote: >Download a NuSphere release. Depending on which you release you choose, for >the most part these include mySQL, PHP, Apache, and I think Perl. I've found >the setup to be seamless and very simple even for beginners. As far as i've seen NuSphere package

Re: [PHP] SetLocal() problem

2001-08-01 Thread Frédéric Mériot
Thanks a lot, but I must precise that I'm running PHP (4.0.6) under NT2000 (client not server) platform. 'fr_FR.ISO_8859-1' does not work too. So, it's not very important, but where can I find the entire list of countries with their ISO code? Thanks. - Original Message - From: "Don Rea

Re: [PHP] Fw: detecting mysql

2001-08-01 Thread David Robley
On Thu, 2 Aug 2001 16:24, Jon Yaggie wrote: > - Original Message - > From: "sarahana" <[EMAIL PROTECTED]> > To: "Jon Yaggie" <[EMAIL PROTECTED]> > Sent: Thursday, August 02, 2001 6:26 PM > Subject: detecting mysql > > > Does anybody here know how to detect with php whether mysql is > > in

[PHP] Fw: detecting mysql

2001-08-01 Thread Jon Yaggie
- Original Message - From: "sarahana" <[EMAIL PROTECTED]> To: "Jon Yaggie" <[EMAIL PROTECTED]> Sent: Thursday, August 02, 2001 6:26 PM Subject: detecting mysql > Does anybody here know how to detect with php whether mysql is installed or > not.. ? Thanks, I haven't been able to get any

RE: [PHP] PHP_SELF

2001-08-01 Thread Ralph Guzman
Actually there is no need for you to use exit(); If you choose to use this method cheking for empty fields one at a time rather than all at once; you can simplify your code a bit as follows: If($HTTP_POST_VARS){ if(!$Age) { echo "Please enter your age"; } elseif(!$Email){ echo "Please ent

[PHP] PHP Extension Documentation?

2001-08-01 Thread Darryl Sokoloski
I'm working on a custom PHP extension in C were I work which is going well but I can't seem to find any documentation about the subject @ php.net. Anyone know of such a manual? A PHP/Zend C API document of some sort - from an extension developer's point-of-view? I've tried searching news.php.net

[PHP] Re: Being a SERVER (you cant kill me, im.... DAMN!!)

2001-08-01 Thread elias
If you're running Windows system and you've got the windonws 98 SE original cdrom, you can just install from it PWS from: CDROMDRIVE:\addons\pws (...) "Kyle Smith" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Where do i download the best software (prefebly fre

RE: [PHP] Being a SERVER (you cant kill me, im.... DAMN!!)

2001-08-01 Thread Ralph Guzman
Download a NuSphere release. Depending on which you release you choose, for the most part these include mySQL, PHP, Apache, and I think Perl. I've found the setup to be seamless and very simple even for beginners. http://www.nusphere.com -Original Message- From: Kyle Smith [mailto:[EMAIL

[PHP] Re: Hmmm?

2001-08-01 Thread elias
Why you ppl. do this: if ($condition) { //action 1 //action 2 //action 3 } instead of this: if ($condition) { //action 1 //action 2 //action 3 } with the '}' you'll see directly the new code block that belongs to the IF statment. anyway...it's just a style aft

Re: [PHP] Get when it should be Post

2001-08-01 Thread Christian
which translates to Rasmus Lerdorf wrote: > Then you have some silly mistake somewhere. Show us the URL. > > -Rasmus > > >>Thanx, tried capitals but it still submits via GET :-/ >> >>Rasmus Lerdorf wrote: >> >> I've been having a problem of late that some of my forms which are

Re: [PHP] ad tracking system

2001-08-01 Thread B. van Ouwerkerk
At 11:33 2-8-01 -0500, Jack wrote: >Hi people, >I am looking up for the software that can track all views and click though >number of all advertising on my sites, has to fit in to my RAQ server >though. Is there any advice? Don't mind paying of course. On the risk of a new "attitude" thread..

Re: [PHP] Re: HTTP_SESSION_VARS

2001-08-01 Thread Jon Yaggie
Actually after an hours nap i found the problem. It is not something anyone could have helped me with since i didnt give complete enough code. the very simple solution was stupidly i used it in a function without declaring ir global. all is good now. - Original Message - From: "Richa

[PHP] Re: Make associative array from two arrays

2001-08-01 Thread elias
same same... Thought there was a PHP function to do that...instead of looping, "Tim Ward" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > How about ... > > foreach ($keys as $key=>$value) $new_array[$value] = $vals[$key]; > > > Tim > -- > From: elias [

Re: [PHP] Get when it should be Post

2001-08-01 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Christian) wrote: Are you quoting the attribute in the real markup (method="POST"), or is like you show below? (It might help to throw the whole page at an html validator either way,'cuz even if that line is syntactically valid, there may be

[PHP] Multiple search options...

2001-08-01 Thread Jeff Lewis
I am creating a search form for an application we're building and I'm curious how it should be handled. Some search options: Category: Any Computer Programmer Computer Operator etc. Experience can choose between 1 and 2: Any 1 2 3 etc Location: Cities listed Skills: added by resume holder No

Re: [PHP] Get when it should be Post

2001-08-01 Thread Rasmus Lerdorf
Then you have some silly mistake somewhere. Show us the URL. -Rasmus > Thanx, tried capitals but it still submits via GET :-/ > > Rasmus Lerdorf wrote: > > >>I've been having a problem of late that some of my forms > >>which are set to method=post are not submitting by post by via get. > >> > >

RE: [PHP]Getting rows in a db...

2001-08-01 Thread Lawrence . Sheed
Bear in mind that you don't want to be doing queries like that generally. Use count(*) to get the number of rows - using mysql_num_rows is slower. eg $query="select count(*) from tablename where cat='band'"; $result = mysql_query($query,$conn); etc. -Original Message- From: David Robl

Re: [PHP] Replacing template variables with values?

2001-08-01 Thread Ryan Fischer
You wrote: > > This always works for me... > > > > eval ("\$message = \"$message\";"); > > RED ALERT! SECURITY TO THE BRIDGE! > > "Captain, there's Klingons off the starboard bow!" > > Oh, sorry. Did I type that aloud? Sorry. > > If $message is a free-form email typed in by a potentially malici

Re: [PHP] Get when it should be Post

2001-08-01 Thread Christian
Thanx, tried capitals but it still submits via GET :-/ Rasmus Lerdorf wrote: >>I've been having a problem of late that some of my forms >>which are set to method=post are not submitting by post by via get. >> > > I have seen browsers that only do post when it sees, method=POST > ie. "POST" vs.

Re: [PHP] Re: [PHP-DEV] Passing JavaScript variables to PHP

2001-08-01 Thread Ryan Fischer
You wrote: > > location.href='mail.php?message=' + message; > > You need to URLEncode that message data. > > Not sure how JavaScript does it... > > probably message.urlencode() Actually, it's escape(message). -- -Ryan :: ICQ - 595003 :: GigaBoard - http://www.gigaboard.net/ -- PHP G

Re: [PHP]Getting rows in a db...

2001-08-01 Thread Richard Lynch
Yes, if your $conn is valid in the first place, and your SQL is valid. I think 'table' is a reserved word, so as-is, it won't work. Add some error-checking code to see what MySQL is saying about your connection and SQL. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL

Re: [PHP]Getting rows in a db...

2001-08-01 Thread David Robley
On Thu, 2 Aug 2001 14:57, Chris Cocuzzo wrote: > hey- > > if I do this: > > $query = "SELECT user FROM table WHERE cat='band'"; > $result = mysql_query($query,$conn); > $rows = mysql_num_rows($result); > > will I get something back from the $rows variable, or am I using the > mysql_num_rows() fun

Re: [PHP] Get when it should be Post

2001-08-01 Thread Rasmus Lerdorf
> I've been having a problem of late that some of my forms > which are set to method=post are not submitting by post by via get. I have seen browsers that only do post when it sees, method=POST ie. "POST" vs. "post" -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-m

[PHP] Get when it should be Post

2001-08-01 Thread Christian
Hi PHPers, I've been having a problem of late that some of my forms which are set to method=post are not submitting by post by via get. $REQUEST_METHOD reads get $HTTP_POST_VARS is not set but $HTTP_GET_VARS is .. What could be causing this ?? Thanx, Christian -- PHP General Mailing List (ht

Re: [PHP] Re: FAQ

2001-08-01 Thread Rasmus Lerdorf
> > PHP Hypertext Preprocessor. > > Which does not explain the php Sure it does - look in the titlebar of your browser when you go to http://php.net -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

RE: [PHP] Replacing template variables with values?

2001-08-01 Thread Tyrone Mills
I haven't tried those, but should have mentioned in my post, the value of $message is always a value I create. The person asking the original question however, might have been accepting input from unknown users. Thanks for the 'alert' though... Stand down Number One... -Original Message-

Re: [PHP] Re: issues with __sleep() and __wakeup()

2001-08-01 Thread mike cullerton
cool. you and i were talking about two different things. you are using __sleep and __wakeup by issuing the serialize and unserialize commands yourself. i am using __sleep and __wakeup when php automatically issues them itself when using sessions. it is my experience that if you have an object an

Re: [PHP] What would you want in a PHP web host?

2001-08-01 Thread Richard Lynch
> caveat--if there are some options that most folks would reasonably call > 'optional' or 'dangerous', these shouldn't be expected. i am pretty new at > programming and php, so i have no idea if things like this exist. i > personally only compile in the options i use. There are like 107 PHP third

[PHP] Re: Fun Question - What if...

2001-08-01 Thread Richard Lynch
> HI FOLKS, > > Imagine you had a PC Laptop, PHP installed, and a Ricochet/Sierra > Wireless AirCard 400 - 128 kbps NIC card. > > What boom pow applications can you imagine setting up and running > in this environment? What else would you need, if anything? I believe Thies (?) said last

[PHP] Re: ad tracking system

2001-08-01 Thread Richard Lynch
>I am looking up for the software that can track all views and click though number of all >advertising on my sites, has to fit in to my RAQ server though. Is there any advice? Don't >mind paying of course. I'm betting there are a dozen free ones in the code archives such as http://zend.com http:/

Re: [PHP] Replacing template variables with values?

2001-08-01 Thread Richard Lynch
> This always works for me... > > eval ("\$message = \"$message\";"); RED ALERT! SECURITY TO THE BRIDGE! "Captain, there's Klingons off the starboard bow!" Oh, sorry. Did I type that aloud? Sorry. If $message is a free-form email typed in by a potentially malicious user this looks pretty da

[PHP] Re: Being a SERVER (you cant kill me, im.... DAMN!!)

2001-08-01 Thread Richard Lynch
http://apache.org/ http://php.net/ http://mysql.com/ or http://mysql.org/ depending on which code-base you want :-( Or, use any of the Apache/PHP/MySQL installers for Windows that do it as a Wizard in one easy install. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL P

Re: [PHP] Re: Download file

2001-08-01 Thread Richard Lynch
> > Errr... it from ASP (shoot) > > are you 100% sure? I'm not 100% sure. How do you do it in ASP? What headers does ASP send when you do it? -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artis

[PHP] Re: Get USERNAME (Windows...)

2001-08-01 Thread Richard Lynch
> I'm building a PHP app for use on our intranet - all MS (Clients will be 95, > NT, or 2000). > > Is there a way to retrieve the clients username when they access app (i.e. > the username they used to access the network)? Almost for sure, no. Basically, if it's being made available to PHP, it w

[PHP] Re: Multi Uploads

2001-08-01 Thread Richard Lynch
> I have a page that clients are able to up load to their site. I want to > elimanate have? a bunch of upload buttons. How would I go about using only > one button for uploads without losing the browse button for each form > object? Better yet how would I have the client enter a number for the > n

Re: [PHP] Take JS array send by form

2001-08-01 Thread Richard Lynch
>you have to name the fields pn[0],pn[1]... >(you can name them all pn[] but you might have problems with the >javascript) With or without the indices inside [] makes no difference to JavaScript (viz). >then to access them from javascript you go something like: >document.forms[0].elements['pn[0]

[PHP] Re: YA Session Problem

2001-08-01 Thread Richard Lynch
Show source. At a guess, I'd say that $PHPSESSID isn't getting passed around properly... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/vo

Re: [PHP] MSACCESS Insert/Updates via ODBC

2001-08-01 Thread Richard Lynch
> know how to implement functions to Insert/Update data registers. I am a Not sure you're asking what I'm answering, but... INSERT/UPDATE are queries, just like SELECT. So do the same thing you would do for SELECT. odbc_exec("select * from foo"); odbc_exec("insert into foo(a) values('$a')");

[PHP] PHP-GTK v0.1 released

2001-08-01 Thread Andrei Zmievski
PHP-GTK version 0.1 "the void which binds" has been released. It can be downloaded from http://gtk.php.net/. The changes in this version include: - added GDK keysyms constants. - fixed bug with GtkStyle::copy() that was not returning the result properly. - implemen

[PHP] Re: What would you want in a PHP web host?

2001-08-01 Thread Matt Rogers
I must say that we have been very lucky... For the past 5 years, we have been with pair Networks (pair.com) and have had no serious problems or complaints with them. Although, it _would_ be nice to have the ability to ask a person (developer) a question and get a response quite soon, but that is

[PHP]Getting rows in a db...

2001-08-01 Thread Chris Cocuzzo
hey- if I do this: $query = "SELECT user FROM table WHERE cat='band'"; $result = mysql_query($query,$conn); $rows = mysql_num_rows($result); will I get something back from the $rows variable, or am I using the mysql_num_rows() function incorrectly. What I'm trying to do is get the number of row

[PHP] ad tracking system

2001-08-01 Thread Jack
Hi people, I am looking up for the software that can track all views and click though number of all advertising on my sites, has to fit in to my RAQ server though. Is there any advice? Don't mind paying of course. Jack [EMAIL PROTECTED] "Love your enemies, it will drive them nuts"

[PHP] Re: wish list

2001-08-01 Thread Richard Lynch
> does anybody know how to submit a feature request? I can't do it via the > bug reporting mechanism. http://bugs.php.net is the usual way... An email sent off to [EMAIL PROTECTED] would probably at least catch the eye of the developers, but you risk their ire for not using http://bugs.php.net

[PHP] Re: Testing if Scripting has been disabled

2001-08-01 Thread Richard Lynch
> Is there a method to test if Scripting has been disabled in the browser? Sure. Use JavaScript to forward to another page, or set a variable, or something, and check it on the next page. Either JavaScript worked, or it didn't. There is *NO* way, a priori, to tell for the first page though. -

[PHP] Re: path_info

2001-08-01 Thread Richard Lynch
path_info may be coming from IIS, or, rather *NOT* coming from IIS, so isn't set... You may be able to find some other variable with what you need in -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.co

Re: [PHP] Installing PHP probs

2001-08-01 Thread Richard Lynch
> well what if i want to set up the computer im using to be able to run php > acripts, but NOT be an internet server? You mean just run PHP scripts from the command line? Once you get to the point where you have C:\\php4\\php.exe, you're good to go. Open an MS-DOS prompt and do c:\\php4\\php.ex

[PHP] Re: [PHP-DEV] Passing JavaScript variables to PHP

2001-08-01 Thread Richard Lynch
> location.href='mail.php?message=' + message; You need to URLEncode that message data. Not sure how JavaScript does it... probably message.urlencode() -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://

Re: [PHP] HTTP_SESSION_VARS

2001-08-01 Thread Richard Lynch
> SORRY i just coppied it wrong > the actual code is capitalized > > while(list($k, $v) = each($HTTP_SESSION_VARS)) In that case, $HTTP_SESSION_VARS is not an array because you have no session variables yet... session_start(); session_register('foo'); $foo = 42; while (list($k, $v) = each($HTTP_

[PHP] Re: writing while reading

2001-08-01 Thread Richard Lynch
> Function chat2file($filename, $str) { > $fp = fopen("chats/$filename", "a"); > fputs($fp, $str); > close($fp); > } So long as $str is less than, errr, 8K?, this is good on Linux, as the append will be atomic. You would want flock here if it's not Linux, or if it wasn't "a". > Function f

[PHP] Re: Strange behaviour while adding a line at the BOF

2001-08-01 Thread Richard Lynch
> I'm going nuts trying to add a line of data in the beginning of a text > file. Files are like cassette tapes. You can't add something at the beginning without re-copying everything somewhere else first, and then back again. You should either: 1. Add to the end, and just make your reader/displ

[PHP] Re: not null

2001-08-01 Thread Richard Lynch
> When a field is declared as an integer, not null and is the primary, > how would I address it's empty set? > > ex: if($value == ???) > { > bla > bla > bla > } > > > My condition wants there to be nothing in $value. The entire point of NOT NULL is that there will never be nothing in $value... Y

Re: [PHP]REPOST: DB logic help...

2001-08-01 Thread Richard Lynch
> $conn = db_connect("fplg"); ... or die("Could not connect"); > > $bandquery = "SELECT linkid,title FROM links WHERE cat='band'"; > $sitequery = "SELECT linkid,title FROM links WHERE cat='site'"; > $miscquery = "SELECT linkid,title FROM links WHERE cat='misc'"; > > $bandresult = mysql_query($ba

[PHP] Re: check if user exists

2001-08-01 Thread Richard Lynch
> how do i check if user exist? > I tried... > $result = mysql_query("SELECT count(uname) FROM users WHERE > uname=\'$username@$domain\'"); Get rid of the \ there. You are inside a ", not a ', and the \ is wrong. Also, add some error checking like: if (!$result){ echo "MySQL error ", m

[PHP] Re: Download file

2001-08-01 Thread Richard Lynch
> header ("Content-Disposition: attachment; filename=download.tar"); > > readfile($filename); > ===end code snippet= > > What I need to do, is specify the default directory for this file to be > saved to. Does anyone know how to do this? WILD GUESS: Some browsers might le

[PHP] Re: HTTP_SESSION_VARS

2001-08-01 Thread Richard Lynch
>while (list ($key, $val) = each ($HTTP_session_VARS)) { >echo "$key => $val"; >} > >i get the error - > >Warning: Variable passed to each() is not an array or object in /var/www/html/adult/func.php >on line 5 > >and well it looks liek an array to me . . is there soemthing i can do to make thi

Re: [PHP] env var

2001-08-01 Thread Richard Lynch
> is there a reson i get soem of these twice is it the fault of the > people sending them? the list? or my mail program??? Also, the news server articles got re-numbered during the move, so some news clients may be quite confused. -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] What would you want in a PHP web host?

2001-08-01 Thread Richard Lynch
> > I have been developing PHP for a while now, and I am wondering how other > > developers find their PHP hosting company. Get recommendations from other users. Also, be ready to move at any time. I lucked out on my second ISP, and was (mostly) happy for several years. Actually, I didn't know

[PHP] Re: CGI installation

2001-08-01 Thread Richard Lynch
I *think* that was a bug introduced in PHP4.mumble and has been fixed in PHP4.mumble... Check your version against the ChangeLog. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunte

[PHP] Re: PHP and Apache 1.3.12

2001-08-01 Thread Richard Lynch
Making mod_so active should be a case of using --enable-shared when you configure Apache. Getting mod_so active and using the DSO install is probably the easiest and coolest way at this time. >I have already uncommented the lines in my httpd.conf file which read: > >> AddType application/x-httpd

[PHP] Re: Being a SERVER (you cant kill me, im.... DAMN!!)

2001-08-01 Thread Gary
http://httpd.apache.org/dist/httpd/ or click on the link below to start download http://httpd.apache.org/dist/httpd/apache_1.3.20.zip if you want PWS it is on your windows cd Except if you have windows ME then you will have to download it frome Microsoft. Gary Kyle Smith <[EMAIL PROTECTED]>

[PHP] Re: Installing PHP probs

2001-08-01 Thread Gary
What server are you using Apache or PWS? What is happening when you are trying to run PHP? The biggest mastake for newbies on the newest flavor of apache for windows, editing the httpd.conf-dist-win instead of the httpd.conf file. Try this article first and if it doesn't help you can contact me

[PHP] Re: Multi Uploads

2001-08-01 Thread Gary
That is the way I have it now and personaly agree with you. The client want multiple uploads so they can upload their newsletter articles all at once. Gary InéRcia Sensorial <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Use the source, Luke! > > Okay, no

RE: [PHP] SetLocal() problem

2001-08-01 Thread Don Read
On 01-Aug-2001 Frédéric Mériot wrote: > Hello, I've got a little problem with the setLocal function. In many > tutorials they give this syntax: > setlocale('LC_TIME','fr_FR'); // for france > > I tried this but the "fr_FR" keyword does not seem to work. If I try > "french" instead it works. > I'

Re: [PHP] not null

2001-08-01 Thread mike cullerton
on 8/1/01 12:50 PM, Jeremy Morano at [EMAIL PROTECTED] wrote: > Hi, > > When a field is declared as an integer, not null and is the primary, > how would I address it's empty set? nut sure i understand the question. if the field is NOT NULL, how could $value be empty? > > ex: if($value == ???

Re: [PHP] Fun Question - What if...

2001-08-01 Thread mike cullerton
sometimes i walk aroung outside with my titanium g4 laptop with php installed and watch the dogs poop in the yard while creating a website (php based, of course) of all the pretty flowers http://bakednotfried.com on 8/1/01 1:09 PM, Philip Olson at [EMAIL PROTECTED] wrote: > > Sometimes I walk

Re: [PHP] fopen(fd, "w") doesn't work?

2001-08-01 Thread mike cullerton
on 8/1/01 8:39 AM, Ibrahim Noor at [EMAIL PROTECTED] wrote: > I tried to create file by fopen(fd, "w") function, but it didn't work. > Permission Denied, server said. maybe you (the user your script is running as) don't have permission to write the file? -- mike cullerton -- PHP General Ma

Re: [PHP] What would you want in a PHP web host?

2001-08-01 Thread Richard Baskett
Please tell me what host you use!! I cant even seem to get the host I am going through to upgrade php. They'll do it when they feel like is pretty much the response I get. Other host responses: "We don't support php or mysql" "Sometime in the future, but currently no support", "You're the onl

[PHP] RE: Dynamic Thumbnail From Database Solution!

2001-08-01 Thread M
> Subject: Dynamic Thumbnail From Database Solution! > Date: Mon, 23 Jul 2001 17:37:56 -0700 > From: "Jason Bell" <[EMAIL PROTECTED]> > To: "PHP Users" <[EMAIL PROTECTED]> > CC: <[EMAIL PROTECTED]> > > Using getpic.php in conjuction with the tag can display the fullsize picture. > > Now

Re: [PHP] What would you want in a PHP web host?

2001-08-01 Thread mike cullerton
[this is long] on 8/1/01 1:06 AM, Derek Del Conte at [EMAIL PROTECTED] wrote: > I have been developing PHP for a while now, and I am wondering how other > developers find their PHP hosting company. So far this has not been an > issue for me because I am always in full control of my servers (wel

RE: [PHP] Installing PHP probs

2001-08-01 Thread Ben Bleything
AND, you can fairly easily configure it to deny all connections coming from anywhere but localhost => Ben -Original Message- From: scott [gts] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 01, 2001 12:08 PM To: php Subject: RE: [PHP] Installing PHP probs you dont have to have a se

Re: [PHP] Replacing template variables with values?

2001-08-01 Thread Ryan Fischer
You wrote: > This always works for me... > > eval ("\$message = \"$message\";"); > > I use it in the same type of scenario you've described, and also with E-Mail > bodies stored in a DB. Works like a charm. Thanks, that worked great! :D -- -Ryan :: ICQ - 595003 :: GigaBoard - http://www.gigabo

RE: [PHP] Re: Download file

2001-08-01 Thread Jason Murray
> > > What I need to do, is specify the default directory for > > > this file to be saved to. Does anyone know how to do this? > > > It's just not possible. > > Errr... it from ASP (shoot) > are you 100% sure? How would the PHP code know what directories exist on the remote machine? You can s

RE: [PHP] Re: Download file

2001-08-01 Thread Karl J. Stubsjoen
Errr... it from ASP (shoot) are you 100% sure? -Original Message- From: Owen Rudge [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 01, 2001 1:12 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Download file > What I need to do, is specify the default directory for this file to be > saved

RE: [PHP] New Book - Tips?

2001-08-01 Thread B. van Ouwerkerk
Security.. how to write safe apps. using PHP.. Bye, B. -- 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] Replacing template variables with values?

2001-08-01 Thread Tyrone Mills
This always works for me... eval ("\$message = \"$message\";"); I use it in the same type of scenario you've described, and also with E-Mail bodies stored in a DB. Works like a charm. HTH, Tyrone -Original Message- From: Ryan Fischer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August

[PHP] Replacing template variables with values?

2001-08-01 Thread Ryan Fischer
Hello! :) I have a form with a textarea that contains a template e-mail with variables in it. I would like to be able to replace those variables with values. The variables named in the template are actual variables in my script. This doesn't seem to work: $newmail = preg_replace("/\$(\w+)/e"

[PHP] Re: PHP EDITOR 4 WINDOWS?

2001-08-01 Thread BRACK
AceHTML4 Pro http://www.visicommedia.com/ On 1 Aug 2001, at 12:08, Kyle Smith wrote: > --=_NextPart_000_0018_01C11A82.B809B880 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > Does it really exist? If so could someone post some URL

Re: [PHP] Share Session Vars on 2 servers

2001-08-01 Thread Paul R. Jackson
Thanks Philip, its all become clear now. I have actually seen that user session stuff a long time ago but forgot all about it. I really should have thought of that. Paul "Philip Murray" <[EMAIL PROTECTED]> wrote in message 004a01c11a48$45a34520$0300a8c0@sparlak">news:004a01c11a48$45a34520$0300a8

Re: [PHP] Content Type Text?

2001-08-01 Thread Matt Greer
on 8/1/01 4:35 PM, Jeff Oien at [EMAIL PROTECTED] wrote: > I've looked all over and can't find a content-type declaration for text. > This is my guess > header("Content-Type: text/txt"); > but I'm not sure if this is right. I know this is more HTTP than PHP. > I want info to be displayed in a bro

RE: [PHP] Content Type Text?

2001-08-01 Thread Gonyou, Austin
Woops..My bad. :) It even says it in mozilla. :) -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-796-9023 email: [EMAIL PROTECTED] > -Original Message- > From: Jerry Lake [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 01, 2001 4:38 PM > To: [EMAIL PROTECTED

Re: [PHP] Being a SERVER (you cant kill me, im.... DAMN!!)

2001-08-01 Thread Nathan Cook
http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/print.html Nathan Cook [EMAIL PROTECTED] - Original Message - From: "Kyle Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 01, 2001 11:32 PM Subject: [PHP] Being a SERVER (you cant kill me, im DAMN!!)

RE: [PHP] Content Type Text?

2001-08-01 Thread Jerry Lake
text/plain Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: Jeff Oien [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 01, 2001 2:35 PM To: PHP Subject: [PHP] Content Type

Re: [PHP] YA Session Problem

2001-08-01 Thread Richard Baskett
Page 1: session_name(login);// create session session_start();// start session session_register("Email"); // register Email session variable session_register("Password"); // register Password session variable Page 2: session_name(login);// target ses

[PHP] Content Type Text?

2001-08-01 Thread Jeff Oien
I've looked all over and can't find a content-type declaration for text. This is my guess header("Content-Type: text/txt"); but I'm not sure if this is right. I know this is more HTTP than PHP. I want info to be displayed in a browser as plain text not HTML. Thanks. Jeff Oien -- PHP General Mail

[PHP] Being a SERVER (you cant kill me, im.... DAMN!!)

2001-08-01 Thread Kyle Smith
Where do i download the best software (prefebly free) to set up my computer as a server so i can test my php scripts? (apache or whatever) -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666

[PHP] Get USERNAME (Windows...)

2001-08-01 Thread Chip Hankley
I'm building a PHP app for use on our intranet - all MS (Clients will be 95, NT, or 2000). Is there a way to retrieve the clients username when they access app (i.e. the username they used to access the network)? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Re: Multi Uploads

2001-08-01 Thread Inércia Sensorial
Use the source, Luke! Okay, not quite easy. You have this option to accomplish multi-uploads. But, as an user, I think it is better to have only one Upload Field, and one browse/submit button. When I choose a file, the page is reloaded, with information about the file I just uploaded, and

Re: [PHP] Re: What tools do you use to develop PHP?

2001-08-01 Thread BRACK
I tried PHPEd and PHP Coder but still came back to my favorite AceHTML4 Pro from visicom.com They have quite good customizable PHP wizard so you should try this one it's not expencive but MUCH more featured then HomeSite. BRACK -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] YA Session Problem

2001-08-01 Thread Thomas Deliduka
I'm actually revisiting this after 8 months or more. I have never gotten sessions to work on my server and here's the problem: Page 1: Create session register a variable. SessionID created is say: 555 (for example) On the drive in /tmp I get a file sess_555 and it contains my v

[PHP] Multi Uploads

2001-08-01 Thread Gary
I have a page that clients are able to up load to their site. I want to elimanate have? a bunch of upload buttons. How would I go about using only one button for uploads without losing the browse button for each form object? Better yet how would I have the client enter a number for the number of u

Re: [PHP] Take JS array send by form

2001-08-01 Thread Mark Maggelet
On Wed, 1 Aug 2001 23:17:49 +0200, Ivo ([EMAIL PROTECTED]) wrote: >Hi > >I faced following problem: > >I've a form where which could have one or more input text fields (it >is not >clear how many they will be - one or more). Thay have same name - pn >- and >if they are more that one JavaScript tre

RE: [PHP] wish list?

2001-08-01 Thread Erick Calder
I dumb. I looked at the bugs page and the listbox for "bugs of type" reads: "Any (except Feature Requests)". I didn't realise I was looking at the search area! 1k thx - e -Original Message- From: Mark Roedel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 01, 2001 1:18 PM To:

[PHP] Take JS array send by form

2001-08-01 Thread Ivo
Hi I faced following problem: I've a form where which could have one or more input text fields (it is not clear how many they will be - one or more). Thay have same name - pn - and if they are more that one JavaScript treat them as an array - pn[x] The problem is that when I receive this form w

RE: [PHP] wish list?

2001-08-01 Thread Mark Roedel
> -Original Message- > From: Erick Calder [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 01, 2001 2:24 PM > To: [EMAIL PROTECTED] > Subject: [PHP] wish list? > > > does anybody know how to submit a feature request? I can't > do it via the bug reporting mechanism. Is that "can't"

Re: [PHP] HTTP_SESSION_VARS

2001-08-01 Thread mike cullerton
if there aren't any session vars, $HTTP_SESSION_VARS won't be an array. i use something like if(isset($HTTP_SESSION_VARS)) { reset($HTTP_SESSION_VARS); while(list($k, $v) = each($HTTP_SESSION_VARS)) { do_something($k,$v); } } on 8/1/01 11:46 AM, Jon Yaggie at [EMAIL PROTECTED] wrote

[PHP] Re: Download file

2001-08-01 Thread Owen Rudge
> What I need to do, is specify the default directory for this file to be > saved to. Does anyone know how to do this? It's just not possible. -- Owen Rudge http://www.owenrudge.co.uk/ http://www.gamearchive.uk.tt/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [E

[PHP] Re: PHP, C++, and LAN

2001-08-01 Thread Keith Jeffery
Why doesn't $dir = opendir("//harp/graphics/"); work anyway? Is this an oversite in the Win32 development of PHP? You're able to do this in Perl. "Keith Jeffery" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > I'm writing some PHP scripts that

Re: [PHP] PHP_SELF

2001-08-01 Thread Gerard Samuel
Ok, I would like to thank Ralph Guzman & Richard Lynch for your help. I combined your ideas into my own working example. Just posting here for archiving/discussion purposes... // Input some data // echo "\n"; echo "1. Age:\n"; echo "   \n"; echo "2. Email:\n"; echo "   \n"; echo "   \n"; // Star

Re: [PHP] Character newline (\n), How to

2001-08-01 Thread Philip Olson
A couple possible reasons : 1. Mixing \n and \n won't create a newline within your browser but rather it will within your html source code. Meaning, look at your html source and notice the newlines. 2. Using single quotes echo '\n'; will literally print '\n', in otherwords, it won't be e

[PHP] wish list?

2001-08-01 Thread Erick Calder
does anybody know how to submit a feature request? I can't do it via the bug reporting mechanism. -- 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 PR

  1   2   3   >