Re: [PHP] Retrieving Info from Cookies

2002-06-04 Thread Justin French
try wrapping the vars inside curly braces {$_COOKIE['var']} when using them inside strings. eg echo "your username is {$_COOKIE['uid']}\n"; Justin French on 05/06/02 3:22 PM, Tom Ray ([EMAIL PROTECTED]) wrote: > when I do that it comes up with > > Parse error: parse error, expecting `T_STR

[PHP] RE: Can't Connect to INFORMIX DB

2002-06-04 Thread Juraj Hasko
Hi, 1. PHP native function for Informix will not work, because there is missing php_ifx.dll extension in latest PHP 4.2.1 bundle for win32. 2. you have probably error in instalation of Infomix ODBC drivers. The file 'csql.iem' is part of standart instalation. Check your instalation ...

RE: [PHP] Converting non latin characters

2002-06-04 Thread Martin Towell
'ð' is an accented 'o' - just like these are: 'ò', 'ó', 'ô', 'õ', 'ö' I've never seen an 'o' accented that why before, so I have no idea how you're meant to pronounce it. But going from "Tokyo" then I guess it's pronounced "oe" as in "toe" I dunno what function (built-in or otherwise) you can us

[PHP] Converting non latin characters

2002-06-04 Thread Andy
Hi there, I have a table containing cities of the world. Now I am running into problems because people are starting to complain that some mayor cities are not in the db like Tokyo. After checking my table I discovered that there lots of cities are written with some non latin characters. Tokyo is

Re: [PHP] Retrieving Info from Cookies

2002-06-04 Thread Jason Wong
On Wednesday 05 June 2002 13:22, Tom Ray wrote: > when I do that it comes up with > > Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or > `T_NUM_STRING' > > Justin French wrote: > >you should be able to access it via $_COOKIE['name'], or what I do, > > $cookie = $_COOKIE['name']. >

Re: [PHP] Retrieving Info from Cookies

2002-06-04 Thread Tom Ray
when I do that it comes up with Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' Justin French wrote: >you should be able to access it via $_COOKIE['name'], or what I do, $cookie >= $_COOKIE['name']. > >Justin French > > >on 05/06/02 2:19 PM, Tom Ray ([EMAIL PR

Re: [PHP] Retrieving Info from Cookies

2002-06-04 Thread Justin French
you should be able to access it via $_COOKIE['name'], or what I do, $cookie = $_COOKIE['name']. Justin French on 05/06/02 2:19 PM, Tom Ray ([EMAIL PROTECTED]) wrote: > I've been playing with cookies, and I've been able to write information > to a cookie, but now what I want to do is pull that

Re: [PHP] User Authentication

2002-06-04 Thread Jason Wong
On Wednesday 05 June 2002 10:05, Analysis & Solutions wrote: > Hi Jule: > > On Tue, Jun 04, 2002 at 09:48:36PM -0400, Jule Slootbeek wrote: > > What is the best way for user authentication (now i'm talking about the > > most secure and easiest way). > > Now i've been using sessions, and i was wond

[PHP] PHP.INI Lockdown

2002-06-04 Thread David Redmond
Hi All, Is there anyway to lockdown PHP so that only the INI file from C:\WinNT\ is used? Currently, you can place an INI file into the same directory as the php script your viewing through a browser and instead of loading the INI file located in the C:\WinNT\ directory, it will load the INI fil

Re: [PHP] Secure File Upload

2002-06-04 Thread Lowell Allen
> From: Christoph Starkmann <[EMAIL PROTECTED]> > > Hi There! > > When uploading a file with PHP, AFAIK I can only control what will be stored > on the server. So if someone sends me 100 MB, these will be deleted > immediately. But, unfortunately, the traffic is produced nevertheless. Is > there

[PHP] Apache+PHP+mod_perl configures ok, but Apache won't build

2002-06-04 Thread Dan Serban
Scenario: Red Hat Linux 7.3 minimal install (no X, no daemons except the bare essentials) Apache 1.3.24 source PHP 4.2.1 source mod_perl 1.26 source Steps taken: 1. /opt/src/apache_1.3.24/configure --with-layout=RedHat 2. /opt/src/mod_perl-1.26/perl Makefile.PL EVERYTHING=1 USE_APACI=1 3. /opt/s

[PHP] Cookies?

2002-06-04 Thread Emiliano Marmonti
Dear PHP-People: Anybody knows why when I configure in my Explorer that uses a proxy, the value of the cookie that I has set with setcookie(...) is lost. When I disable the proxy, the cookie value is remained. Anybody has had the same problem? Thanks a lot. Emiliano Marmonti

[PHP] Retrieving Info from Cookies

2002-06-04 Thread Tom Ray
I've been playing with cookies, and I've been able to write information to a cookie, but now what I want to do is pull that information from the cookie. Is there something special I need to do to pull that info or should I just be to get that data by delcaring a variable in the php script? -

Re: [PHP] PHP as HTML

2002-06-04 Thread Tom Ray
Thanks. I got the issue figured out. There was an .htaccess file in the root of the website that I had forgotten about, it was affecting everything due to it's bad config. Pushkar Pradhan wrote: >If you do a phpinfo() you get a columen Server API, mine lists CGI as it >is what I installed php

RE: [PHP] Passing variable to the next page

2002-06-04 Thread David Freeman
> Here is scenario that I am working on but have a problem. > I have 10 thumbnail images on the page with information for > them created from database. > (I am pulling more info about that image from database, but > on this page I only display "Name of Image" and "Author of > image

Re: [PHP] Passing variable to the next page

2002-06-04 Thread Pushkar Pradhan
Tag the variables onto the url: http://mysite.com/newpage.php?firstvar=somevalue&secondvar=othervalue&;. for arrays ?layer[]=a&layer[]=b&layer[]=c. or use sessions. > Here is scenario that I am working on but have a problem. I have 10 > thumbnail images on the page with information for t

[PHP] Passing variable to the next page

2002-06-04 Thread Igor Portnoy
Here is scenario that I am working on but have a problem. I have 10 thumbnail images on the page with information for them created from database. For example: + + + Some Image + + + Name of Image: Blah Author of

Re: [PHP] PHP as HTML

2002-06-04 Thread Pushkar Pradhan
If you do a phpinfo() you get a columen Server API, mine lists CGI as it is what I installed php as. > you know, that's a good question. How would I determine that on the server? > > Peter wrote: > > >Tom, this does work fine... doing what Kevin says... > >ie the > > > >AddType application/x-httpd

Re: [PHP] install php as CGI?

2002-06-04 Thread Pushkar Pradhan
./configure --prefix=/rstc/user1/erc/pushkar/php-4.0.6 --with-regex=system --enable-discard-path --enable-dbase Actually you just need one " --enable-discard-path " for security reasons, others are customized for my use and yes prefix is also a must. > how can i install php as CGI? > > > > > > >

Re: [PHP] PHP as HTML

2002-06-04 Thread Tom Ray
you know, that's a good question. How would I determine that on the server? Peter wrote: >Tom, this does work fine... doing what Kevin says... >ie the > >AddType application/x-httpd-php .html >AddType application/x-httpd-php .htm > >is PHP installed as a module or cgi ver? > >Cheers > >-Orig

Re: [PHP] findin colors in gif files

2002-06-04 Thread Tom Rogers
hi you will need to find the hex values for each individual number which i think should be (without the hash) 76763636 Tom At 05:06 PM 5/06/2002, johannes reichardt wrote: >hi everybody, i am new to this list & php >and i have a big question that i would love to be answered ;) > >i have a sm

[PHP] install php as CGI?

2002-06-04 Thread brian-phplist
how can i install php as CGI? Brian Feliciano EMC-Tech "I know that there are people in this world who do not love their fellow man, and I hate people like that." - Tom Lehrer

[PHP] error handler

2002-06-04 Thread Gerard Samuel
I got an error handler setup, and Im using trigger_error() to do certain things. function errorhandler($type, $msg, $file, $line) { switch ($type) { /* case E_NOTICE: $exit = FALSE; break; */ case E_USER_WARNING: pretty_error_display($msg);

Re: [PHP] Creating pop-up window and passing variable to it?

2002-06-04 Thread Curtis Gordon
This is how I do it. I fire a javascript when the link is clicked, which in turn submits a form targetting the page you openned (named of course). function donewpage(){ open window named "mywindow" submit form targetting "mywindow" blah blah blah } sorry to be so brief but the hockey

Re: [PHP] User Authentication

2002-06-04 Thread Analysis & Solutions
Hi Jule: On Tue, Jun 04, 2002 at 09:48:36PM -0400, Jule Slootbeek wrote: > > What is the best way for user authentication (now i'm talking about the > most secure and easiest way). > Now i've been using sessions, and i was wondering if cookies were better > and easier... Regardless of what you

Re: [PHP] User Authentication

2002-06-04 Thread Jule Slootbeek
John Holmes wrote: > Sessions use cookies as it is...so what do you really want to do...what > do you want to protect? > > ---John Holmes... > > Oh ok, that explains it then... Well thanks for the info anyway. I was basically just wondering which method was reccommended.. Jule -- J

RE: [PHP] User Authentication

2002-06-04 Thread Jarrad Kabral
I wouldnt rely on cookies or standard sessions (which use cookies) as a means of security. You can use sessions, but make sure you have the ini_alter("session.use_cookies", "0"); so that no cookies are used for the session id. This means you'll have to pass the session id in the querystring or

RE: [PHP] User Authentication

2002-06-04 Thread John Holmes
Sessions use cookies as it is...so what do you really want to do...what do you want to protect? ---John Holmes... > -Original Message- > From: Jule Slootbeek [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 04, 2002 9:49 PM > To: php-general > Subject: [PHP] User Authentication > > Hey

[PHP] User Authentication

2002-06-04 Thread Jule Slootbeek
Hey guys, What is the best way for user authentication (now i'm talking about the most secure and easiest way). Now i've been using sessions, and i was wondering if cookies were better and easier... any thoughts? thanks, Jule -- Jule Slootbeek [EMAIL PROTECTED] http://blindtheory.cjb.net

Re: [PHP] countries

2002-06-04 Thread Eugene Lee
Why not go to the source? http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html -- Eugene Lee [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] countries

2002-06-04 Thread Justin French
Thanks! I found another one (minus two char codes)... but this looks more comprehensive. Justin on 05/06/02 5:52 AM, Michael Cronström ([EMAIL PROTECTED]) wrote: > What about this? > > Michael Cronstrom > Web Inventor > > "AF","Afghanistan"; > "AL","Albania"; > "DZ","Algeria"; > "AS","Americ

RE: RE: [PHP] Creating pop-up window and passing variable to it?

2002-06-04 Thread Martin Towell
Depends if you want to have more control over the window that gets open If you don't mind what the window looks like, use the method Jason mentioned. If you want to set the size or turn on/off the status bar/tool bar/etc (to name a few) then use the javascript version -Original Message-

Re: RE: [PHP] Creating pop-up window and passing variable toit?

2002-06-04 Thread Jason Soza
Couldn't you also do: Link I think you can subsitute "Resource Window" for "_blank" and get the same effect. HTH Jason Soza - Original Message - From: Martin Towell <[EMAIL PROTECTED]> Date: Tuesday, June 4, 2002 3:55 pm Subject: RE: [PHP] Creating pop-up window and passing variable

RE: [PHP] PHP as HTML

2002-06-04 Thread Peter
Tom, this does work fine... doing what Kevin says... ie the AddType application/x-httpd-php .html AddType application/x-httpd-php .htm is PHP installed as a module or cgi ver? Cheers -Original Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 5 June 2002 9:49 AM To: Ke

RE: [PHP] Creating pop-up window and passing variable to it?

2002-06-04 Thread Martin Towell
function myopen() { window.open("foobar.html?var1=&var2="); } click for new window -Original Message- From: Igor Portnoy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 9:52 AM To: [EMAIL PROTECTED] Subject: [PHP] Creating pop-up window and passing

[PHP] Creating pop-up window and passing variable to it?

2002-06-04 Thread Igor Portnoy
How can I create a pop up window in my index.php (for example) when user clicks on the link and pass value of the variable from my index.php to this new window?

Re: [PHP] PHP as HTML

2002-06-04 Thread Tom Ray
I tried this, and it just prompts me to download the file from the server. I can't see what the issue is. - Original Message - From: "Kevin Stone" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 04, 2002 5:35 PM Subject: Re: [PHP] PHP as HTML > AddType application/x-htt

RE: [PHP] resolution

2002-06-04 Thread Martin Towell
I think this was asked recently by someone else You need to use javascript/vbscript to grab the dimensions then pass it to php php is server side and doesn't know anything about the client unless it's told about it HTH Martin -Original Message- From: Doron [mailto:[EMAIL PROTECTED]] Sent

[PHP] resolution

2002-06-04 Thread Doron
is it possible to check the visitors's resolution with php? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] General IIS Implementation Question

2002-06-04 Thread Peter
Hi There! I'm running wink2 with php and apache, I've found no problems with this and have not had any issues that have found their way to the surface yet I did try running php & IIS on here how ever I found that IIS (for some reason ... most likely me) was cutting out at a maximum of 10 conn

Re: [PHP] PHP as HTML

2002-06-04 Thread Richard Heyes
"Tom Ray" <[EMAIL PROTECTED]> wrote: > I'm trying to use an .htaccess file to parse .php files as .html does anyone > know how to do this? It doesn't work with the same structure as parsing the > .shtml files. Assuming you're using the module version, add this into your .htaccess file:

[PHP] problems with attachment to email for mail() function

2002-06-04 Thread Dave
have a form where user uploads "attachment" and provides email address and a brief note regarding the attachment. The below script should grab all that and email the note with the attachment to our target user. Email appears with text portion and attachment icon, but no attachment (Outlook 2000)

Re: [PHP] PHP as HTML

2002-06-04 Thread Kevin Stone
AddType application/x-httpd-php .html AddType application/x-httpd-php .htm - Original Message - From: "Tom Ray" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 04, 2002 2:41 PM Subject: [PHP] PHP as HTML > Hey there- > > I'm trying to use an .htaccess file to parse .php

[PHP] PHP as HTML

2002-06-04 Thread Tom Ray
Hey there- I'm trying to use an .htaccess file to parse .php files as .html does anyone know how to do this? It doesn't work with the same structure as parsing the .shtml files. any suggestions would be great. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

[PHP] finding colors in gif files

2002-06-04 Thread johannes reichardt
sorry- last mail i forgot the gif file, here it is though: also the complete code i got so far: "; $filetext1 = implode("",(@file("vcd_1.gif"))); // $filetext1 = bin2hex($filetext1); $newfiletext1 = ""; for ($i = 0; $i < strlen($filetext1); $i++) { $currchar = substr($filetext1, $i, 8); $newfi

Re: [PHP] countries

2002-06-04 Thread Analysis & Solutions
On Tue, Jun 04, 2002 at 09:52:23PM +0200, Michael Cronström wrote: > "TP","East Timor"; The ISO met in May and changed this code to "TL" --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layouts

Re: [PHP] countries

2002-06-04 Thread Michael Cronström
What about this? Michael Cronstrom Web Inventor "AF","Afghanistan"; "AL","Albania"; "DZ","Algeria"; "AS","American Samoa"; "AD","Andorra"; "AO","Angola"; "AI","Anguilla"; "AQ","Antarctica"; "AG","Antigua and Barbuda"; "AR","Argentina"; "AM","Armenia"; "AW","Aruba"; "AU","Australia"; "AT","Austri

[PHP] findin colors in gif files

2002-06-04 Thread johannes reichardt
hi everybody, i am new to this list & php and i have a big question that i would love to be answered ;) i have a small gif file that has a part in #ff3366 colored - so what i thought is to do a mean hack for my website: instead of opening all images in a graphicseditor and change the color manual

[PHP] General IIS Implementation Question

2002-06-04 Thread Dennis Moore
I have written an PHP application using LAMP. However, I have a client who wants me to install the application on his Win2K server. My application uses PHP sessions with trans-SID enabled. I remember reading on this list where people were having problems getting PHP on Windows to work. I do

Re: [PHP] using stdin in php

2002-06-04 Thread Jason Wong
On Thursday 30 May 2002 08:55, [EMAIL PROTECTED] wrote: > Could somebody look at this a tell me way it does not set the > password correctly. I know it has to run at root this has been > handled. > I think my problem is with --stdin. It sets a password but it does not > set it correctly > > $

[PHP] Can't Connect to INFORMIX DB

2002-06-04 Thread Gastón
Hi, I need some help (or maybe a lot), to get PHP connecting to my Informix DB. I'm pretty new to PHP, and i don't have a clue of what i'm doing wrong. I'm using IIS 4.0 under Win NT 4.0. with PHP 4.2.1 I've tried to connect throw ODBC driver, and directly from native functions but both fail. Th

[PHP] Re: notice:undefined variable

2002-06-04 Thread Michael Davey
Ooops, now I feel silly - sent this to the wrong list! Hangs head in shame! :-) "Michael Davey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > OK - couple of things first: > > a) The PHP mailing list is for programmers of PHP looking for help making > their o

[PHP] RE: notice:undefined variable

2002-06-04 Thread Michael Davey
OK - couple of things first: a) The PHP mailing list is for programmers of PHP looking for help making their own scripts - not for people who want support for implementing someone else's script. There is a link on the site where I found a copy of your script offering support, this is where you s

Re: [PHP] MacOSX / php.ini newbie question

2002-06-04 Thread Verdon Vaillancourt
Thanks Clay :) got it! On 6/4/02 1:49 PM, "Clay Loveless" <[EMAIL PROTECTED]> wrote: > Verdon, > > Maybe you didn't see my response to your message yesterday, since I saw a > few more posts from you after I replied wondering where you can get a > php.ini file. > > Just go to http://www.php.

FW: [PHP] MacOSX / php.ini newbie question

2002-06-04 Thread Clay Loveless
Verdon, Maybe you didn't see my response to your message yesterday, since I saw a few more posts from you after I replied wondering where you can get a php.ini file. Just go to http://www.php.net/downloads Download the .tar.gz file for the version you're using from entropy.ch Within, you will

Re: [PHP] Alguine me puede Ayudar...S.O.S...mi PHP no sube .....!!!!

2002-06-04 Thread Josué Figueira Machado
Sorry, this was meant to go off-list. At 01:38 PM 6/4/2002 -0400, Josué Figueira Machado wrote: >Qual o erro que você está recebendo? Qual o módulo que você está usando? >CGI ou SAPI? > >Veja que se você está usando o módulo ISAPI, ele não funciona com IIS 3.0. >Você terá que instalar o Option

Re: [PHP] Alguine me puede Ayudar...S.O.S...mi PHP no sube .....!!!!

2002-06-04 Thread Josué Figueira Machado
Qual o erro que você está recebendo? Qual o módulo que você está usando? CGI ou SAPI? Veja que se você está usando o módulo ISAPI, ele não funciona com IIS 3.0. Você terá que instalar o Option Pack 4. Aqui vai a informação do install.txt: "For the ISAPI module, an ISAPI 4.0 compliant Web serve

RE: [PHP] PHP_AUTH_USER

2002-06-04 Thread Fifield, Mike
The information is stored in the $PHP_AUTH_USER variable but only appears to be accessible while you are viewing a page that is protected by that .htaccess file. To make it available to other pages I assigned $PHP_AUTH_USER to a session variable. :o) -Original Message- From: 1LT John W

[PHP] Re: php IDE for linux

2002-06-04 Thread Henrik Hansen
[EMAIL PROTECTED] (J Smith) wrote: > Quanta is for KDE, too, not GTK. > you are right I was thinking about glimmer :) but kate,quanta for kde then :) -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] multisite hit counter, includin session statistics

2002-06-04 Thread 1LT John W. Holmes
No problem bud, sorry I tried to help. Anyhow, this does work, you just do not know how to write image.php so that it returns the correct data for an image counter. maybe i misunderstood your first email, but I thought you were looking for a "hidden" way of keeping track of page hit counts and us

Re: [PHP] PHP_AUTH_USER

2002-06-04 Thread 1LT John W. Holmes
And the solution was? remember, other people actually search the archives before they post, so giving the solution to your problem will help those people out. (Even if it was something simple) ---John Holmes... - Original Message - From: "Fifield, Mike" <[EMAIL PROTECTED]> To: "'1LT John

Re: [PHP] Alguine me puede Ayudar...S.O.S...mi PHP no sube .....!!!!

2002-06-04 Thread Gregory Watson
Ok, here's that email in English, if anyone can help this guy... I can't unfortunately. "Hello It is that I have problems so that works PHP in a servant NT 4,0 with IIS 3,0 and this PHP does not work to see. 4.2.1) since when doing some of the examples that no encloses (codigos) works. Hicela pro

[PHP] proxy looses cookie

2002-06-04 Thread Emiliano Marmonti
Dear PHP-People: Anybody knows why when I configure in my Explorer that uses a proxy, the value of the cookie that I has set with setcookie(...) is lost. When I disable the proxy, the cookie value is remained. Anybody has had the same problem? Thanks a lot. Emiliano Marmonti

Re: [PHP] HTTP_RAW_POST_VARS

2002-06-04 Thread Philip Olson
A bug existed in 4.1.x regarding this directive, and was fixed in 4.2.0. Sorry I can't give any specifics (as I've forgotten them) but see the changelog: http://www.php.net/changelog Regards, Philip Olson On Tue, 4 Jun 2002, Daniel Kushner wrote: > This variable isn't getting populated!

RE: [PHP] PHP_AUTH_USER

2002-06-04 Thread Fifield, Mike
Correction Redhat7 :-) Got it working thanks for all the help! -Original Message- From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 9:36 AM To: Fifield, Mike; [EMAIL PROTECTED] Subject: Re: [PHP] PHP_AUTH_USER > I have a bunch of pages on my site inside a

Re: [PHP] multisite hit counter, includin session statistics

2002-06-04 Thread Martin Smetak
http://www.yourserver.com/image.php?ID=xxx";> Well, how can this help me? This is the way I need to use the counter on web page, it solves nothing. I need the same thing u are asking to, but this way it doesn't work. But there are counters-sites that uses this method(img) producing session statis

Re: [PHP] multisite hit counter, includin session statistics

2002-06-04 Thread 1LT John W. Holmes
http://www.yourserver.com/image.php?ID=xxx";> Do what you need to do with the PHP code as far as keeping a count of visitors, etc, and then create an image header and send it the data for a 1x1 pixel transparant image. Got a question for everyone else, b/c I'm not sure on this. If I have a link

Re: [PHP] MacOSX / php.ini newbie question

2002-06-04 Thread Verdon Vaillancourt
Hi John, Thanks for answering. Apparently not. I have tried both the builds provided by Marc (well respected) at http://www.entropy.ch/software/macosx/ and the default build included with Apple's MacOSX (10.1.4). Neither include these files. Marc says that the file is not included and just instru

[PHP] Secure File Upload

2002-06-04 Thread Christoph Starkmann
Hi There! When uploading a file with PHP, AFAIK I can only control what will be stored on the server. So if someone sends me 100 MB, these will be deleted immediately. But, unfortunately, the traffic is produced nevertheless. Is there any way to check the file size before uploading the file or an

Re: [PHP] PHP_AUTH_USER

2002-06-04 Thread 1LT John W. Holmes
> I have a bunch of pages on my site inside an apache .htaccess protected > directory. After visitors have logged in I am on part of my site I need to > find out which user it is that has logged in. I thought this information was > stored in the $PHP_AUTH_USER variable, but when I print this varia

Re: [PHP] MacOSX / php.ini newbie question

2002-06-04 Thread 1LT John W. Holmes
Did a php.ini-dist or php.ini-recommended file come with your installation files? Locate those, edit them accordingly, and save it as php.ini in /usr/lib/ ---John Holmes... - Original Message - From: "Verdon Vaillancourt" <[EMAIL PROTECTED]> To: "Peter" <[EMAIL PROTECTED]>; <[EMAIL PROTE

[PHP] HTTP_RAW_POST_VARS

2002-06-04 Thread Daniel Kushner
This variable isn't getting populated! Environment: PHP 4.1.2 Linux Apache always_populate_raw_post_data is on (php.ini). Any ideas? --Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php IDE for linux

2002-06-04 Thread J Smith
Quanta is for KDE, too, not GTK. J Henrik Hansen wrote: > [EMAIL PROTECTED] (Pedro Jorge Dias Cardoso) wrote: > > > please tell me a good PHP editor for linux, wich one you prefer. > > or a package for PHP in Xemacs. > > I saw recently that phpedit comes out on linux now thats a good > ed

Re: [PHP] Cronjob security

2002-06-04 Thread Analysis & Solutions
On Tue, Jun 04, 2002 at 09:51:18AM -0400, SP wrote: > Or you could do this to make the page only accessable to you. > http://www.mysite.com/cronpage.php?secretpassword=iud88383 You could also use .htaccess or checking $_SERVER['REMOTE_ADDR'] to see that the request is coming from your server. O

[PHP] multisite hit counter, includin session statistics

2002-06-04 Thread Martin Smetak
Hi! I want to write some multisite hit counter, but including session statistics. Anyone knows how to do that? I mean: I need to place some link on the page, on not allways php enabled site - probably in form of blank image, which will run script on my server. Ex.: http://my_serv.org?site=0011";>

Re: [PHP] Logic -- conditional statements

2002-06-04 Thread Analysis & Solutions
On Tue, Jun 04, 2002 at 04:40:26AM +0400, Ricardo Fitzgerald wrote: > > I'm trying to echo a neat table I've GOT to bust your chops. That table and your code are anything BUT neat. For neat, you need to put tags to close each cell. Also nest your code properly... if ($value2 ==0) {

RE: [PHP] Re: Cyber Cafe software

2002-06-04 Thread Steve
What your looking for is more of a router/switch management software. If that doesn't do it for you, then you might want to look into a web proxy. Configure the reporting per your requirements from your earlier post and require that the user to log in before getting 'out'. You might try squid. Ch

RE: [PHP] Ho to write output of sql query to txt file?

2002-06-04 Thread Jay Blanchard
[snip] I did read on mysql.com and your article. Than I tryed to transfer the datasets. Export worked ok. The textfile contains the records. Import message: Query OK, 35 rows affected (0.04 sec) Records: 35 Deleted: 0 Skipped: 0 Warnings: 630 The warning already tells it. the datasets are tota

Re: [PHP] Ho to write output of sql query to txt file?

2002-06-04 Thread andy
Original question: > [snip] > I am trying to get only records out of a table mathing a query. This should > be piped into a textfile. My problem is that I have to transmit this records > to a new machine. So the output should be a kind of sql commands which I > could run with phpadmin or similar

Re: [PHP] PHP_AUTH_USER

2002-06-04 Thread Christopher Riordan
Set a Cookie then you can pull it out that way. PHP_Auth is based upon Cookies from what I was able to figure out. Chris - Original Message - From: "Fifield, Mike" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 04, 2002 9:59 AM Subject: [PHP] PHP_AUTH_USER > I have a b

Re: [PHP] countries

2002-06-04 Thread José León Serna
Hello: > Apologies for being slightly OT, but has anyone got an array or list of > countries that I can use to populate a pull-down menu? http://phpclasses.warmafrica.com/browse.html/package/406.html This could be useful. Best Regards. QaDRAM

RE: [PHP] PHP_AUTH_USER

2002-06-04 Thread António Afonso Martins
>I have a bunch of pages on my site inside an apache .htaccess protected > directory. After visitors have logged in I am on part of my site I need to > find out which user it is that has logged in. I thought this > information was > stored in the $PHP_AUTH_USER variable, but when I print this yo

RE: [PHP] countries

2002-06-04 Thread Jay Blanchard
[snip] Apologies for being slightly OT, but has anyone got an array or list of countries that I can use to populate a pull-down menu? Or maybe a link to a resource to find this sort of stuff? [/snip] A quick search on Google (http://www.google.com/search?hl=en&lr=&ie=UTF8&oe=UTF8&q=%22list+of+co

[PHP] Re: php IDE for linux

2002-06-04 Thread Henrik Hansen
[EMAIL PROTECTED] (Pedro Jorge Dias Cardoso) wrote: > please tell me a good PHP editor for linux, wich one you prefer. > or a package for PHP in Xemacs. I saw recently that phpedit comes out on linux now thats a good editor (it costs). Else try Kate for KDE and Quanta for GTK. -- Henrik Hans

[PHP] countries

2002-06-04 Thread Justin French
Apologies for being slightly OT, but has anyone got an array or list of countries that I can use to populate a pull-down menu? Or maybe a link to a resource to find this sort of stuff? Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

RE: [PHP] MySQL - Creating The Database

2002-06-04 Thread Naintara Jain
This is rather sad, the PHP mailing list is pretty good. Agreed, sometimes the answers are curt, that's because a lot of the questions have been asked a zillion times and can be found in the archives. And sometimes there's no response, perhaps the solution is not evident to those on the list. But

Re: [PHP] MySQL - Creating The Database

2002-06-04 Thread Juan Pablo Aqueveque
ops! ops! ops! I wonder : Who does have the reason in this discussion? Mr. Jason Teagle or Mr. David Freeman Being honest, I would say 50% and 50%. At 09:45 04/06/02, Jason Teagle wrote: >- Original Message - >From: "David Freeman" <[EMAIL PROTECTED]> >To: "'Jason Teagle'" <[EMAIL PRO

[PHP] Re: Probs with MIME multipart/alternative generated with PEAR mime.php (bug)

2002-06-04 Thread mike
Thanks to a heads up fom Malcolm Dew-Jones on the comp.mail.mime newsgroup, I belive a bug and resolution has been located in mime.php that addresses the problem I raised below. It would seem that certain MTA's are chocking on the line "Content-Type: multipart/alternative; boundary="=_f74fc4c7192

[PHP] ignore this whole thread

2002-06-04 Thread Mitja Pagon
It turned out to be my coding error. Thanks for all the replies! Mitja "Mitja Pagon" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have the following problem. > > code of index.php > ---

RE: [PHP] Ho to write output of sql query to txt file?

2002-06-04 Thread Jay Blanchard
[snip] I am trying to get only records out of a table mathing a query. This should be piped into a textfile. My problem is that I have to transmit this records to a new machine. So the output should be a kind of sql commands which I could run with phpadmin or similar to import them to the other db

Re: [PHP] PHP_AUTH_USER

2002-06-04 Thread José León Serna
Hello: > I have a bunch of pages on my site inside an apache .htaccess protected > directory. After visitors have logged in I am on part of my site I need to > find out which user it is that has logged in. I thought this information was > stored in the $PHP_AUTH_USER variable, but when I print thi

Re: [PHP] php IDE for linux

2002-06-04 Thread José León Serna
Hello: > please tell me a good PHP editor for linux, wich one you prefer. > or a package for PHP in Xemacs. I like very much this under linux http://quanta.sourceforge.net/ Best Regards. QaDRAM Studio, RAD Development for the WEB http://studio.

Re: [PHP] php IDE for linux

2002-06-04 Thread Scott
I have been using Zend Studio on Windows and they have a Linux client. You can get a demo key at www.zend.com. I am pretty sure that xemacs has a php mode as well. -Scott On Tue, 4 Jun 2002, Pedro Jorge Dias Cardoso wrote: > > please tell me a good PHP editor for linux, wich one you prefe

[PHP] Ho to write output of sql query to txt file?

2002-06-04 Thread andy
Hi there, I am trying to get only records out of a table mathing a query. This should be piped into a textfile. My problem is that I have to transmit this records to a new machine. So the output should be a kind of sql commands which I could run with phpadmin or similar to import them to the othe

[PHP] PHP_AUTH_USER

2002-06-04 Thread Fifield, Mike
I have a bunch of pages on my site inside an apache .htaccess protected directory. After visitors have logged in I am on part of my site I need to find out which user it is that has logged in. I thought this information was stored in the $PHP_AUTH_USER variable, but when I print this variable it i

Re: [PHP] Help! Configuring PHP with Personal Web Server

2002-06-04 Thread Jesse Segovia
"Brian Feliciano" <[EMAIL PROTECTED]> writes: >>So far I've found about five different ways to install PHP with PWS and >>none of them work. Can anyone who has done this please send detailed >>instructions about how to do it, or point me to instructions that work? > any error msgs? it'll help a

[PHP] php IDE for linux

2002-06-04 Thread Pedro Jorge Dias Cardoso
please tell me a good PHP editor for linux, wich one you prefer. or a package for PHP in Xemacs. i try the bluefish but i dont like it. Thanks, Pedro Cardoso -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MySQL - Creating The Database

2002-06-04 Thread Christopher Riordan
He'll Be Back, they all come back Chris - Original Message - From: "Jason Teagle" <[EMAIL PROTECTED]> To: "PHP Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, June 04, 2002 9:45 AM Subject: Re: [PHP] MySQL - Creating The Database > > - Original Message - > From: "David Freeman

RE: [PHP] Cronjob security

2002-06-04 Thread SP
Or you could do this to make the page only accessable to you. http://www.mysite.com/cronpage.php?secretpassword= iud88383 -Original Message- From: John Holmes [mailto:[EMAIL PROTECTED]] Sent: June 4, 2002 4:45 AM To: 'Edgard Berendsen'; [EMAIL PROTECTED] Subject: RE: [PHP] Cronjob secu

Re: [PHP] MySQL - Creating The Database

2002-06-04 Thread Jason Teagle
- Original Message - From: "David Freeman" <[EMAIL PROTECTED]> To: "'Jason Teagle'" <[EMAIL PROTECTED]>; "'PHP Mailing List'" <[EMAIL PROTECTED]> Sent: Tuesday, June 04, 2002 1:58 PM Subject: RE: [PHP] MySQL - Creating The Database How very sad. It's not new - I've seen things like this

  1   2   >