Re: [PHP] ssh

2001-05-14 Thread Mark Maggelet
On Mon, 14 May 2001 23:29:03 -0800, Christopher Ostmo ([EMAIL PROTECTED]) wrote: >Tyrone Mills pressed the little lettered thingies in this order... > >> How about using something like puTTY or SecureCRT? >> > >Just a side note. I also like SecureCRT, but it isn't "free" (which >was >the original

Re: [PHP] ssh

2001-05-14 Thread Christopher Ostmo
Tyrone Mills pressed the little lettered thingies in this order... > How about using something like puTTY or SecureCRT? > Just a side note. I also like SecureCRT, but it isn't "free" (which was the original request) unless you install an "alternative license." It's worth the $99 to me, but

Re: [PHP] need some ideas here...

2001-05-14 Thread Ben Gollmer
On Monday, May 14, 2001, at 10:00 PM, Chris Adams wrote: > On 14 May 2001 19:04:43 -0700, Ben Gollmer <[EMAIL PROTECTED]> wrote: >> If you have an account on a remote host, you can always do something >> like this: >> >> > include("http://www.remotehost.com/~myaccount/mailfunction.inc";); >>

Re: [PHP] finding a variables name

2001-05-14 Thread Joseph Blythe
Joseph Blythe wrote: > Ok here is what I am trying to acheive, basically turning a php array > into a javascript array, note this is untested and most likley won't > work :-) > > Where $array_name I need the same name as the functions first and only > argument $array, so I need the name of

Re: [PHP] finding a variables name

2001-05-14 Thread Joseph Blythe
CC Zona wrote: > Can you give an example of code in which you'd be doing this? Ok here is what I am trying to acheive, basically turning a php array into a javascript array, note this is untested and most likley won't work :-) Where $array_name I need the same name as the functions first and

Re: [PHP] finding a variables name

2001-05-14 Thread Jason Brooke
foreach($GLOBALS as $key=>$val) echo "$key=$val\n"; see the list() and each() functions in the manual for php3 - Original Message - From: "Joseph Blythe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 15, 2001 1:48 PM Subject: [PHP] finding a variables name > Hey

Re: [PHP] finding a variables name

2001-05-14 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Joseph Blythe) wrote: > How does one find the name of a variable, not what the variable contains? > > This is not the same as variable variables. > > I know this seems a bit pointless but I have come across a situation > where I really need t

[PHP] finding a variables name

2001-05-14 Thread Joseph Blythe
Hey ppl, How does one find the name of a variable, not what the variable contains? This is not the same as variable variables. I know this seems a bit pointless but I have come across a situation where I really need to be able to do this. Hope someone can help, Thanks, Joseph -- PHP

Re: [PHP] need some ideas here...

2001-05-14 Thread Ethan Schroeder
I should correct myself. The .htaccess file doesn't overwrite the php.ini value, rather it overrides it. Ethan Schroeder - Original Message - From: "Ethan Schroeder" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Christian Dechery" <[EMAIL PROTECTED]> Sent: Monday, May 14, 2001 10:40 PM

Re: [PHP] need some ideas here...

2001-05-14 Thread Chris Adams
On 14 May 2001 19:04:43 -0700, Ben Gollmer <[EMAIL PROTECTED]> wrote: > If you have an account on a remote host, you can always do something > like this: > > include("http://www.remotehost.com/~myaccount/mailfunction.inc";); > > mymail($to, $mailbody); > ?> > > where mailfunction.i

Re: [PHP] need some ideas here...

2001-05-14 Thread Ethan Schroeder
I don't know how you can find sendmail on that system if you don't have telnet access. Try writing a script that does an exec("which sendmail") and see if it tells you. I doubt it will, though. Otherwise try different sendmail locations: /usr/sbin/sendmail, /usr/lib/sendmail, etc. The .htacess

[PHP] php3 to php4

2001-05-14 Thread Keneth
I have PHP3 and mysql installed, I tried to upgrade it to PHP4. After installation, but I still have php3 running, could anyone tell me how to do it? Besides, I couldnt find libphp4.so and I couldnt add it into httpd.conf please advice! Keneth -- PHP General Mailing List (http://www.php.net/

[PHP] php3 to php4

2001-05-14 Thread Keneth
I have PHP3 and mysql installed, I tried to upgrade it to PHP4. After installation, but I still have php3 running, could anyone tell me how to do it? Besides, I couldnt find libphp4.so and I couldnt add it into httpd.conf please advice! Keneth -- PHP General Mailing List (http://www.php.net/

[PHP] Re: Help!

2001-05-14 Thread Ron Pitts
> Could you setup the email to autodelete? I know you can do it in > Outlook Express. Yes, but I don't see the point of downloading 100 messages every day just to delete them. the people running this list should not be wasting internet resources like this. They should just let people out of t

Re: [PHP] need better solution...

2001-05-14 Thread David Robley
On Tue, 15 May 2001 10:58, Christian Dechery wrote: > At 10:35 15/5/2001 +0930, David Robley wrote: > >On Tue, 15 May 2001 09:40, Christian Dechery wrote: > > > In most of my scripts there are always headers and footers to html > > > outputs... like logos, images, and on the bottom some links and

RE: [PHP] include("../file.inc");

2001-05-14 Thread kelvin chan .
Hi, I came across this problem before, when I was working with windows. Not sure if the same problem occurs in Linux, i guess not as otherwise there would have been tonnes of postings on that then. Well, basically my script architecture spans over at least 3 directory levels. Just for the sa

[PHP] How to let PHP cgi find oracle TNS?

2001-05-14 Thread Jude Chen
  I use PHP (version 4.0.3pl1) as a cgi on my IIS web server with NT4.0. But I find when I try to connect a distant Oracle database, PHP can not find the correct TNS name, quoted as followings:   Warning: Unable to connect to ORACLE (ORA-12154: TNS:could not resolve service name) i

Re: [PHP] need some ideas here...

2001-05-14 Thread Ben Gollmer
If you have an account on a remote host, you can always do something like this: http://www.remotehost.com/~myaccount/mailfunction.inc";); mymail($to, $mailbody); ?> where mailfunction.inc has the mymail function defined to just take your parameters and stuff them into the standard mai

Re: [PHP] server alias

2001-05-14 Thread Joe Stump
Works great - thanks! --Joe On Tue, May 15, 2001 at 11:51:35AM +1000, Jason Brooke wrote: > > $SERVER_NAME only gives me foober.com (since that is the servername), but not > > the alias someone typed in to get there ... > > > > --Joe > > Give HTTP_HOST a go > Check here for more > http://www.ph

Re: [PHP] server alias

2001-05-14 Thread Jason Brooke
> $SERVER_NAME only gives me foober.com (since that is the servername), but not > the alias someone typed in to get there ... > > --Joe Give HTTP_HOST a go Check here for more http://www.php.net/manual/en/language.variables.predefined.php or use phpinfo() to see exactly what you have available j

[PHP] Re: Help!

2001-05-14 Thread Ron Pitts
trying to unsubscribe... > Have you tried the regular unsubscribe address? > > To unsubscribe, e-mail: [EMAIL PROTECTED] Yes, lots of times. Nothing happens. > And if that doesn't work, contact the administrators: > > To contact the list administrators, e-mail: > > [EMAIL PROTECTED] Frequentl

[PHP] Macbinary? How to deal with it?

2001-05-14 Thread Jason Lam
I am having a lot of trouble with letting user upload files and download again (target group - mac user). I tried with many application files that does not work (executable in PC terms). Everytime I upload this kind of files, it will become corrupted, the content type of the upload is application/

Re: [PHP] need better solution...

2001-05-14 Thread Jason Brooke
> the problem is, if I terminate the script on that condition the footer > won't be displayed... Instant fix - include "footer.inc"; exit; Better fix: decide your logical layout before you proceed and arrange if/else blocks accordingly so you don't need to terminate the script to avoid showing a

Re: [PHP] need some ideas here...

2001-05-14 Thread Christian Dechery
what??? I didn't understand... how will I find out where sendmail is in a free-web-host? I don't have telnet access... how can I figure that out? and how a .htaccess file would help me here? At 19:50 14/5/2001 -0500, Ethan Schroeder wrote: >Find where there sendmail is and put this in an .htacc

Re: [PHP] need better solution...

2001-05-14 Thread Christian Dechery
At 11:02 15/5/2001 +1000, Jason Brooke wrote: > > but sometimes I want something like this: > > > session_start(); // for instance > > code code code > > if(something) > > print error message and terminate script; > > ?> > > > > sadasdsa > > > > > > w

Re: [PHP] need better solution...

2001-05-14 Thread Christian Dechery
At 10:35 15/5/2001 +0930, David Robley wrote: >On Tue, 15 May 2001 09:40, Christian Dechery wrote: > > In most of my scripts there are always headers and footers to html > > outputs... like logos, images, and on the bottom some links and stuff > > like that... that should always apear... > > > > t

[PHP] output of file contents while reading

2001-05-14 Thread Maree Talbot
Is it possible in PHP, to open a remote file with fopen() and begin sending the contents of the file to the client before the entire file has been read from the remote source? If so, how? I've been unable to get it to work so far, probably because I don't understand the nitty gritty of file ha

Re: [PHP] need better solution...

2001-05-14 Thread David Robley
On Tue, 15 May 2001 09:40, Christian Dechery wrote: > In most of my scripts there are always headers and footers to html > outputs... like logos, images, and on the bottom some links and stuff > like that... that should always apear... > > the most basic is: > > > ... header here ... > lots of c

[PHP] ODBC connect

2001-05-14 Thread Andreas Pucko
Hi there, I would like to get information out of a database via ODBC. I switched from MySQL. The old syntax does not work which was like: while ($row = odbc_fetch_row($result)) { printf ("%s", $row->nr,$row->name); } so, how do I get the nr and name out of the row?? Any suggestions

Re: [PHP] need better solution...

2001-05-14 Thread Jason Brooke
> but sometimes I want something like this: > session_start(); // for instance > code code code > if(something) > print error message and terminate script; > ?> > > sadasdsa > > > what do I do in this case??? I've tried all kinds of programing > techn

Re: [PHP] need some ideas here...

2001-05-14 Thread Joe Conway
> My free-web-hosting (www.f2s.com) does not allow PHP to send emails... I've > tried everything... the mail() function, my alternate function which calls > popen("/usr/lib/sendmail -t") and even a script.cgi with '#!/usr/bin/php' > and all that stuff... > > the mail simply won't go an mail() alwa

Re: [PHP] need some ideas here...

2001-05-14 Thread Chris Adams
On 14 May 2001 16:59:48 -0700, Christian Dechery <[EMAIL PROTECTED]> wrote: > My free-web-hosting (www.f2s.com) does not allow PHP to send emails... I've > tried everything... the mail() function, my alternate function which calls > popen("/usr/lib/sendmail -t") and even a script.cgi with '#!/us

Re: [PHP] Redirection in PHP ? (newbie)

2001-05-14 Thread Chris Adams
On 14 May 2001 16:54:49 -0700, Nicolas Mermet <[EMAIL PROTECTED]> wrote: > To avoid spamming my db I would like to implement a simple redirection > function, that would redirect the user to the main admin page once the > feeding script has successfully executed and would reduce chances of > double

RE: [PHP] need better solution...

2001-05-14 Thread James Atkinson
I would suggest some sort of Templating solution. Take a look at Smarty, PHPLib, or FastTemplates. - James > -Original Message- > From: Christian Dechery [mailto:[EMAIL PROTECTED]] > Sent: May 14, 2001 5:11 PM > To: [EMAIL PROTECTED] > Subject: [PHP] need better solution... > > > In most

Re: [PHP] need some ideas here...

2001-05-14 Thread Ethan Schroeder
Find where there sendmail is and put this in an .htaccess file: php_value sendmail_path '/path/to/sendmail -t' Ethan Schroeder - Original Message - From: "Christian Dechery" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 14, 2001 7:04 PM Subject: [PHP] need some ideas her

Re: [PHP] Redirection in PHP ? (newbie)

2001-05-14 Thread Ethan Schroeder
header("Location: page.phtml"); http://www.php.net/manual/en/function.header.php Ethan Schroeder - Original Message - From: "Nicolas Mermet" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 14, 2001 6:57 PM Subject: [PHP] Redirection in PHP ? (newbie) > Hi, this might be

[PHP] server alias

2001-05-14 Thread Joe Stump
Say i have a server foobar.com and in my httpd.conf i have *.foobar.com as a ServerAlias in my is there a common PHP var that will give me the domain someone actually types in? $SERVER_NAME only gives me foober.com (since that is the servername), but not the alias someone typed in to get there .

Re: [PHP] need better solution...

2001-05-14 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Christian Dechery) wrote: > > ... header here ... > lots of code > ?> > ... footer here ... > > > but sometimes I want something like this: > session_start(); // for instance > code code code > if(something) >

Re: [PHP] ssh

2001-05-14 Thread Ethan Schroeder
I use mindterm sometimes, as well. I love it. Ethan Schroeder - Original Message - From: "Dennis Gearon" <[EMAIL PROTECTED]> To: "Ethan Schroeder" <[EMAIL PROTECTED]> Sent: Monday, May 14, 2001 7:04 PM Subject: Re: [PHP] ssh > WOW! installation beats the HELL out of the teraterm proj

[PHP] need better solution...

2001-05-14 Thread Christian Dechery
In most of my scripts there are always headers and footers to html outputs... like logos, images, and on the bottom some links and stuff like that... that should always apear... the most basic is: ... header here ... ... footer here ... but sometimes I want something like this: sadasdsa

[PHP] need some ideas here...

2001-05-14 Thread Christian Dechery
My free-web-hosting (www.f2s.com) does not allow PHP to send emails... I've tried everything... the mail() function, my alternate function which calls popen("/usr/lib/sendmail -t") and even a script.cgi with '#!/usr/bin/php' and all that stuff... the mail simply won't go an mail() always retur

[PHP] Redirection in PHP ? (newbie)

2001-05-14 Thread Nicolas Mermet
Hi, this might be a trivial question but I could not find any docs on that on php.net. I am develloping the admin side of a dynamic web site (php/mysql). The mechanic is nothing special: a form is submitted and sends the data to the php page/script that actually does the work of feeding the db.

RE: [PHP] HallMark uses PHP!!!!

2001-05-14 Thread Matt Stone
lol -Original Message- From: Kath [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 7:18 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] HallMark uses PHP http://www.bbspot.com/News/2000/6/php_suspend.html - Kath - Original Message ---

RE: [PHP] MySQL Query not working?

2001-05-14 Thread Peter Houchin - SunRentals Australia
change it to $sql = "UPDATE CLASS_ADS SET client_id = '$client_id', date = '$date', category = '$category', title = '$title', description = '$description', contact_name = '$contact_name, contact_number = '$contact_number', email = '$email', url = '$url', WHERE client_id = '$client_id' ";

[PHP] load balancing...

2001-05-14 Thread Juan Claudio Santana Saldaña
Does anybody know how to do load balancing with php and apache ? can you recomend me any tutorial document or how to? Thank you. Claudio. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To cont

[PHP] MySQL Query not working?

2001-05-14 Thread Laurie Landry
Hi, I've got this sql setup where $sql = "UPDATE CLASS_ADS SET client_id = \"$client_id\", date = \"$date\", category = \"$category\", title = \"$title\", description = \"$description\", contact_name = \"$contact_name\", contact_number = \"$contact_number\", email = \"$email\", url = \"$url\",

[PHP] Crypt in build 4.0.5

2001-05-14 Thread Brandon Orther
Hello, Does Crypt need to be setup in the ini or as an extension? When I installed 4.0.5 it doesn't seem to work? Thanks Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

Re: [PHP] ssh

2001-05-14 Thread Ethan Schroeder
Simple. Get putty. It is, by far, the best free ssh client out there. http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html It's small, too. Ethan Schroeder - Original Message - From: "Dennis Gearon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 14, 2001 5:

Re[2]: [PHP] pulling data out of a string

2001-05-14 Thread Richard Kurth
Hello Philip, Monday, May 14, 2001, 3:36:17 PM, you wrote: That my problem www is not always the host when it is a sub-domain it would be like mysit.domain.net or sometimes people put a few extra periods in the domain name like www.my.test.net I thought maybe I could look at the string and fin

[PHP] Extensions for PHP

2001-05-14 Thread Andreas Pucko
Hi does anybody know which extension I need to connect to a MSSQL DB, and wher I could get it? Thanx Andy -- 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:

Re: [PHP] ssh

2001-05-14 Thread Tyrone Mills
How about using something like puTTY or SecureCRT? I use puTTY to connect Windoze boxes to my linux servers all the time, it works great and actually passes the function keys to remote server instead of interpreting them itself. - Original Message - From: "Dennis Gearon" <[EMAIL PROTECTE

[PHP] PHP & Mail (SMTP)

2001-05-14 Thread Jason Caldwell
There's a setting in the PHP.INI file called [Mail Function] - SMTP Can I programmatically set this? Or, am I for now restricted to this .INI entry? I'd like the option of sending to any one of my 3 mail servers, from one script. Thanks Jason -- PHP General Mailing List (http://www.php.net

[PHP] ssh

2001-05-14 Thread Dennis Gearon
anyone got the easy directions to setting up with SSH ***AND*** getting the certificate to work for it? My provider that runs php/mysql/etc only lets people use SSH connections for telnet, which I agree with. Right, now, I don't want to pay the $139 for the non open source windows SSH client.

Re: [PHP] MSSQL (Mistake)

2001-05-14 Thread Fabian Raygosa
DAMN SORRY there is a pconnect duh bad me bad me - Original Message - From: "Fabian Raygosa" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Php (E-mail)" <[EMAIL PROTECTED]> Sent: Monday, May 14, 2001 3:18 PM Subject: Re: [PHP] MSSQL > According to the php docs there is no mssql_pconnect

Re: [PHP] MSSQL

2001-05-14 Thread Fabian Raygosa
According to the php docs there is no mssql_pconnect just mssql_connect get rid of the "p" - Original Message - From: "Andreas Pucko" <[EMAIL PROTECTED]> To: "Php (E-mail)" <[EMAIL PROTECTED]> Sent: Monday, May 14, 2001 3:19 PM Subject: [PHP] MSSQL > Hi there, > > while tying to connect

[PHP] Upgrading PHP

2001-05-14 Thread Joseph Bannon
Does anyone know of instructions on upgrading PHP? J -- 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] MSSQL

2001-05-14 Thread Brandon Orther
Can you specify the OS you are running this on and the version of PHP you are running. What it looks like is that the extension is not installed. Thanks, Brandon -Original Message- From: Andreas Pucko [mailto:[EMAIL PROTECTED]] Sent: Monday, May 14, 2001 3:19 PM To: Php (E-mail) Subject

Re: [PHP] MSSQL

2001-05-14 Thread Markus Fischer
- Original Message - From: "Andreas Pucko" <[EMAIL PROTECTED]> To: "Php (E-mail)" <[EMAIL PROTECTED]> Sent: Tuesday, May 15, 2001 12:19 AM Subject: [PHP] MSSQL > Hi there, > > while tying to connect to a MSSQL DB I get the error message: call to > undefined function. > > I thing my synt

[PHP] MSSQL

2001-05-14 Thread Andreas Pucko
Hi there, while tying to connect to a MSSQL DB I get the error message: call to undefined function. I thing my syntax is ok. function pconnect_db() { if (!($link = mssql_pconnect ($DB_SERVER, $DB_LOGIN, $DB_PASSWORD))) { printf("An SQL error has occured. Please contact our webmaster\n

RE: [PHP] Connectivity to MS SQL

2001-05-14 Thread Johnson, Kirk
AFAIK, just change all the "mysql" function calls to "mssql" function calls, e.g., mysql_fetch_row() becomes mssql_fetch_row(). If possible, get a nice DBI that allows you to write your DB code so that you will have fewer changes to make next time you switch databases. Kirk > -Original Messa

[PHP] Connectivity to MS SQL

2001-05-14 Thread Andreas Pucko
Hi there, I developed an application with a MySQL DB in the backend. Now I have to change my code to connect to a MS SQL DB. Does anybody know how to do that? I can't find anything in my PHP Book regarding this topic. Thanx Andy --- Walter Andreas Pucko W3 International

[PHP] Question php4's configration

2001-05-14 Thread ÕŕF
hi, My environment: win2k server + apache1.39 + php4.05 My apache's httpd.conf: LoadModule php4_module d:/winnt/system32/php4apache.dll AddType application/x-httpd-php .php .php3 .php4 I copied all the all the sapi related dlls to the win2k's system32 directo

Re: [PHP] PHP priviledges

2001-05-14 Thread Ben Gollmer
This is an excellent question. I've run into the same thing myself when setting up my own Linux boxen. Apache + PHP needs to have read access to users' web directories in order to serve them up to the 'net (mode 704), and directories must have the execute bit set (mode 705). Assuming users wit

[PHP] pulling data out of a string

2001-05-14 Thread Richard Kurth
I am trying to figure out how to pull data out of a string. This is driving me crazy. I figure an if statement of some sort would work but I'm not sure how to structure it. I know how to get what I want if it is just $fullhostname = "www.domain.net"; $exp = explode(".", $fullhostname); $host

RE: [PHP] PHP4 and MySQL on Macintosh

2001-05-14 Thread Hoover, Josh
Andy, I believe you can run PHP on Mac OS with the use of WebTen by Tenon (http://www.tenon.com/products/webten/). MySQL does not run on Mac OS. You can run both PHP 4 and MySQL on Mac OS X. Since it sounds like you're a Mac developer, I would suggest you check out the AMP mailing list which i

Re: [PHP] PHP4 and MySQL on Macintosh

2001-05-14 Thread Sverre Johan Tøvik
At 14:44 -0700 14-05-01, Andreas Pucko wrote: > Hi there, > > does anybody know if it is possible to run these applications on MAC 0S? > > Any experiences? PHP4 is part of the commercial Apache-on-UNIX-on-MacOS implementation WebTen (from Tenon), but not MySQL. I'd rather recommend upgrading

[PHP] What's more effecient: var on every page or simple function?

2001-05-14 Thread Noah Spitzer-Williams
Which of the two is more efficient: # start of file.php $myvar = 3; # end file.php #start of file.php function myvar() { return 3; } #end file.php the difference between the two is the first example would set the variable on every page regardless of whether it was used whereas with the func

[PHP] PHP4 and MySQL on Macintosh

2001-05-14 Thread Andreas Pucko
Hi there, does anybody know if it is possible to run these applications on MAC 0S? Any experiences? Cheers Andy -- 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

RE: [PHP] achive style message center

2001-05-14 Thread scott [gts]
one thought is to search http://www.hotscripts.com/PHP/ for "forum" or "message board" scripts. > -Original Message- > From: shaun [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 14, 2001 1:15 PM > To: [EMAIL PROTECTED] > Subject: [PHP] achive style message center > > > i was wondering

[PHP] Are Sessions safe to use, Security wise?

2001-05-14 Thread Brandon Orther
Hello, I am setting up a script that logs into a data base and I only want the person to have to login once. Is it safe for me to save there login info as sessions? Thanks Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

RE: [PHP] (OT) HallMark uses PHP!!!!

2001-05-14 Thread scott [gts]
oh god... that story will probably come true in the next few years, due to the way the public school system keeps going downhill and the unyeilding ignorance of administrators. > -Original Message- > From: Kath [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 14, 2001 5:18 PM > To: [EMAIL

Re: [PHP] HallMark uses PHP!!!!

2001-05-14 Thread Kath
http://www.bbspot.com/News/2000/6/php_suspend.html - Kath - Original Message - From: "Joseph Blythe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, May 14, 2001 12:30 AM Subject: Re: [PHP] HallMark uses PHP > [EMAIL PROTECTED] wrote: > > > I was j

RE: [PHP] Easily Making Post Vars Session Vars

2001-05-14 Thread Johnson, Kirk
Before we get too carried away here :), what didn't work with your original solution? I would have guessed that it would work. What was the error? But, here's some more with the loop, definitely not tested: reset($HTTP_POST_VARS); while(list($key, $val) = each($HTTP_POST_VARS)) { if(is_array

[PHP] Passing vars between functions (with POSTs)

2001-05-14 Thread Miguel Ribeiro
Hi, I'm struggling to pass from 3 functions (and one of them have a html form POST) one simple variable called $login. Once in the function (that have form with POST) is calling a php3 without passing the $login (like: common.php3&login='someone') and since the next function doesn't have any rel

RE: [PHP] Easily Making Post Vars Session Vars

2001-05-14 Thread Jason
Ok, I see where that's going. I actually was a bit off in my first posting. The form field names are a multi-dimesional array. The goal it to make writing all of the info to the db a breeze. ie- name="cust[personal][phone]" and name="cust[history][interests]" etc etc lets also say $cust[hist

RE: [PHP] Easily Making Post Vars Session Vars

2001-05-14 Thread Johnson, Kirk
This isn't quite what you are asking, but maybe it will be of help. Use the loop below to create and assign GLOBAL versions of the $HTTP_POST_VARS:; reset($HTTP_POST_VARS); while(list($key, $val) = each($HTTP_POST_VARS)) { $GLOBALS[$key] = $val; } Kirk > -Original Message- > From:

[PHP] Wrong ReplicationID from MS Access

2001-05-14 Thread Adriana Matiaskova
Has anybody met with this problem? I use MS Access 7.0 database through ODBC, Apache 1.3.11 and PHP 4.0.4pl on Windows 95. When I use SELECT query from database, I get for Replication ID (Automatic number) field something like ' 7~Yó¹Ò.“€Hë-×' instead of '47499E92-D96B-11D2-B727-008048EB2DD7'

RE: [PHP] [Win32,PHP/4.0.5] Problem with session

2001-05-14 Thread Johnson, Kirk
With register_globals off, ordinary GLOBAL variables can't be registered, so the line "session_register("language");" isn't doing anything. Access all registered variables through $HTTP_SESSION_VARS only. Kirk > -Original Message- > From: Christian Ribeaud [mailto:[EMAIL PROTECTED]] > Se

[PHP] mail() is not supported in this PHP build ???

2001-05-14 Thread Jan PAVLÍK
Hi, I have really problem with %SUBJ%, what I do bad, that isn't work function mail() THANX from Czech Republic :)) -- Jan PAVLIK, webmaster -- CASHMAIL s.r.o. [EMAIL PROTECTED] 0608/344 010 ICQ 6611951 Motto: Neco nefunguje? Zkuste nejdrive news://news.

[PHP] [Win32,PHP/4.0.5] Problem with session

2001-05-14 Thread Christian Ribeaud
Hi, I would like to know what is wrong with the code below. The following code will be included on every page with the include command. The variable $language does not seem to be registered at all. it should be registered again on every page. Why this? On the php.ini register_globals is "off" and

[PHP] session VS scope

2001-05-14 Thread Steve
I have just recently began pulling together some of the project work I have done to build a little library of tools. In doing so I have made a number of functions from what used to be separate include files... yes, I'm transitioning from linear programming to that new-fangled functional programmi

Re: [PHP] phpjobs.com

2001-05-14 Thread Phillip Bow
http://jobsearch.monster.com/jobsearch.asp?cy=US&brd=1&lid=&fn=6&fn=660&fn=5 54&q=php Good luck in your search. -- phill "Jack Dempsey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > anyone know what the deal with it is? i'm trying to find some work for > the

Re: [PHP] disable compiler flag --enable-trans-sid at runtime

2001-05-14 Thread Holger Böhnke
> php_flag session.use_trans_sid off > That may not be the correct syntax, but it should be close. it is correct! works perfectly thanx Kirk ""Johnson, Kirk"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have not done this, but this is what I would

[PHP] Easily Making Post Vars Session Vars

2001-05-14 Thread Jason
Hi, I realize you cannot override session variables through GET or POST for security reasons. I have a complex multipage form that I would like to store in a session for insertion in the database when the last step is completed. The form field names are arrays, so they can be listed and inserted

Re: [PHP] MIME Decoding of a string

2001-05-14 Thread Jeroen Geusebroek
Mark Wrote: >Take a look at my project: http://www.webgadgets.com/phpost >It's a webmail app but it includes code to fully parse MIME messages, >including quoted printable encoding, etc. It uses no third party >libraries or classes, only functions that are native to PHP. >I am about to release

RE: [PHP] writing updateable code

2001-05-14 Thread scott [gts]
i'd like to know if anyone's written anything to perform anything of this nature also... if not, i'll take a crack at it. shouldnt be too hard to get a simple Updater script to check for new versions and update local files with newer ones > -Original Message- > From: elias [mailto:

[PHP] use of copy and ftp to get my permissions on file

2001-05-14 Thread Dennis Gearon
Does this sound like the right idea for editing a file online and keeping the permissions of my user account: open(read) file in include dir from script read/parse/modify into local variable close file copy(pres_ver_file, php's_tmp_dir/old_ver_file); create ( php's_tmp_dir/original_name_new_ver

RE: [PHP] achive style message center

2001-05-14 Thread Alok K. Dhir
If you're looking primarily for mailing list software with web archiving, look no further than Mailman (www.list.org). If you're looking for web discussion software, then there's tons of good, php based, web discussion forum software out there, a lot of it GPLed. Search freshmeat.net. What I hav

Re: [PHP] MIME Decoding of a string

2001-05-14 Thread mark
"Jeroen Geusebroek" <[EMAIL PROTECTED]> wrote: > The reason i need this, is because i am creating a message archive similair > to Geocrawler and MARC and it's quite irratating to not be able to decode > messages > when they are mime encoded. Take a look at my project: http://www.webgadgets.com/p

RE: [PHP] PHP priviledges

2001-05-14 Thread bd
Hello, I have similar concerns with the host I'm trying out right now - though they're running Linux/Apache. My problem is with lack of security with shell access (i.e. access to other client's directories and key server files) and apparently lax monitoring of its privacy policies. I'm not a sy

[PHP] MIME Decoding of a string

2001-05-14 Thread Jeroen Geusebroek
Hi Guys, I've been struggeling with this for a while but can't seem to find any code that will decode a string MIME encoded. I found one class but it also didn't do what i want. Coding this myself is probably WAY above my head ;P ie. i have this string: --=_NextPart_000_002D_01C0DBE5.49F28

[PHP] Input buffer overflow with Apache

2001-05-14 Thread Geoff Caplan
Hi I am hoping someone on the list can save me from the grief of an OS re-install. I carelessly allowed the disk on my Red Hat 6.2 server to fill up. I have fixed the damage, apart from Apache. Here is the problem When the disk was full, Apache keeled over logging the error: "input buffer

RE: [PHP] achive style message center

2001-05-14 Thread Sandeep Hundal
why not just use a message board? -Original Message- From: shaun [mailto:[EMAIL PROTECTED]] Sent: 14 May 2001 18:15 To: [EMAIL PROTECTED] Subject: [PHP] achive style message center i was wondering if anyone has or knows were i can find an archive style message system much like the php

[PHP] achive style message center

2001-05-14 Thread shaun
i was wondering if anyone has or knows were i can find an archive style message system much like the php support archive. im looking for something to create a forum were people can chat and interact without the need of real time preferably the archive should be searchable if anyone could help i

RE: [PHP] installing PHP on a sun box

2001-05-14 Thread Andrew Hill
Joseph, You should check that 'cc' is installed on your system. (try typing: cc) If you get "language optional software package not installed" then you will need to install the developer tools, including the c-compiler. Best regards, Andrew Hill Director of Technology Evangelism OpenLink Softwar

[PHP] installing PHP on a sun box

2001-05-14 Thread Joseph Bannon
I'm installing PHP on a sun box and when type in "make" and i get "not found". How can I run make if it's not found? Thanks, Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

Re: [PHP] phpMyAdmin: dumping problem

2001-05-14 Thread bill
Hi Peter, I've had similar problems. I haven't found any easy way. Here's how I got around the problems. Upgrade to the latest version of phpMyadmin. Make sure magic_quotes is on (if it isn't, the program will warn you.) You may need to replace a single slash "\" with a double slash "\\" Us

[PHP] Tutorial on connecting to a MSSQL 7 or 2000 database.

2001-05-14 Thread Brandon Orther
Hello, I am looking for a tutorial on connecting to a MSSQL 2000 data base running on the local computer. Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

[PHP] Mail Servers & PHP

2001-05-14 Thread Jason Caldwell
There's a setting in the PHP.INI file called [Mail Function] - SMTP Can I programmatically set this? Or, am I for now restricted to this .INI entry? I'd like the option of sending to any one of my 3 mail servers, from one script. Thanks Jason -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP's OO is bad?

2001-05-14 Thread Zef Hemel
I did some benchmark on how fast variable access is when being used through OOP. And this difference can be up to 1,7 times as slow. I surely hope you can speed up, right now I'm not using it because it's slower... Zef Phil Driscoll <[EMAIL PROTECTED]> schreef in berichtnieuws [EMAIL PROTECTE

  1   2   >