[PHP] XML deprecated Call-time pass-by-reference

2003-01-20 Thread kellan
I have an RSS parser that uses PHP's expat XML functions. Recently PHP started complaining about Call-time pass-by-reference has been deprecated whenever I used the idiom: xml_set_object( $this-parser, $this ); Does that mean the function xml_set_object has been deprecated as well? Is there

[PHP] JOIN for FREE ... Learn and Earn

2003-01-20 Thread Charles Cedeno
Hello: My name is Charles Cedeno. I am now focusing in one online opportunity.I have tried several of these opportunities full of hype promising us thousands of dollars every month. I would get all excited and run to my family and friends with another Great Money Maker . It is a sad fact

[PHP] PHP and Sessions?

2003-01-20 Thread Tim Thorburn
Hi, I've created a password protected area on the site I'm working on using PHP Sessions - I've done this several times before without any difficulty. This time, I've copied my old code - made the necessary changes for login/passwd/database names, yet the sessions don't appear to be working.

Re: [PHP] PHP and Sessions?

2003-01-20 Thread Sean Burlington
Tim Thorburn wrote: Hi, I've created a password protected area on the site I'm working on using PHP Sessions - I've done this several times before without any difficulty. This time, I've copied my old code - made the necessary changes for login/passwd/database names, yet the sessions don't

Re: [PHP] XML deprecated Call-time pass-by-reference

2003-01-20 Thread Jason Wong
On Monday 20 January 2003 16:43, kellan wrote: I have an RSS parser that uses PHP's expat XML functions. Recently PHP started complaining about Call-time pass-by-reference has been deprecated whenever I used the idiom: xml_set_object( $this-parser, $this ); Assuming that xml_set_object()

[PHP] ssl:// with fsockopen () on Windows XP

2003-01-20 Thread Alexander Stirmlinger
Hello, when I try to open a SSL-connection via ssl:// with fsockopen () on Windows XP and PHP 4.3.0, I get the following error message: no SSL support in this build... I tried to add extension=php_openssl.dll in my php.ini and copied libeay32.dll into the SYSTEM32-directory, but that doesn't

[PHP] Which country?

2003-01-20 Thread Martin Thoma
Hello! Is there a way to get to know from which country a user is calling the webside with my php-script? Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Which country?

2003-01-20 Thread Timothy Hitchens \(HiTCHO\)
Yes and no... you can use whois information about the IP class or enlist the services from a GEO firm that provides database information that includes information down to and including Cities etc. The accuracy of this type of service in some areas of the world is not exactly accurate but usable.

[PHP] building apache 1.3.27 + php 4.3.0

2003-01-20 Thread Stain
when building apache 1.3.27 + php 4.3.0 i found out several errors, depending of what options i added with configure. these are my configure commands PHP: ./configure --with-apache=../apache_1.3.27 --with-mysql APACHE: ./configure --with-layout=Apache --prefix=/usr/local/install/apache/

RE: [PHP] Which country?

2003-01-20 Thread David Freeman
Is there a way to get to know from which country a user is calling the webside with my php-script? Probably only if you're going to ask them to tell you what country they are in. You can look at the resolved domain that they are coming from and it's country code - this might be indicative

Re: [PHP] Something difference betwen php-4.0.3 and php-4.2.3

2003-01-20 Thread Marek Kilimajer
I have never heard of out of range error, but is it really an error or just a notice? If it is a notice, adjust error reporting to not display notices [EMAIL PROTECTED] wrote: Hello, I try to move an Web application in Php-4.0.3 to php-4.2.3, and some programs don't work well on some pages.

Re: [PHP] building apache 1.3.27 + php 4.3.0

2003-01-20 Thread Stain
sorry, i discovered in php INSTALL file my error was related to --activate-module parameter. (and configure command i posted was wrong!) i apologize. bye Il 11:43, lunedì 20 gennaio 2003, Stain ha scritto: when building apache 1.3.27 + php 4.3.0 i found out several errors, depending of

Re: [PHP] File perms when dir already exists

2003-01-20 Thread Marek Kilimajer
Simply call umask everytime [EMAIL PROTECTED] wrote: Hello all! I have a number of scripts that upload 5 files at a time each. The first one creates the dir using umask(000)and mkdir($dir,0777) which gives the first five files perms 777, which is what I want. I have the subsequent scripts

[PHP] Image opendialog function

2003-01-20 Thread Steven Seijmonsbergen
Hi I'm looking for a Opendialog function in php, With a thumb function where I can see examples of the selected photes? Does anyone Know that?? Greetz Steven -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How know how many sessions are active?

2003-01-20 Thread Marek Kilimajer
You can also use your custom save handler and store sessions in sql, and count it there Justin French wrote: If you're on a dedicated server (no other sites on the server), you could just count the session files in /tmp. Otherwise, the general consensus seems to be that you need to decide how

Re: [PHP] Undefinied Symbol error

2003-01-20 Thread Marek Kilimajer
use ldd /usr/lib/php4/php_kcvsClient.so to find out which library is missing. libsometh.so.6 = /usr/lib/libsometh.so.6 (0x4002) ^^ you need to get something like this after every library listed Trilochan wrote: i used swig to convert C++ module into a .so file. but when i use

[PHP] PHP and FDF

2003-01-20 Thread ed
I'm trying to create web page based on a PDF Form with the action assigned to a php script to parse out the vars. It seems to be working because I can parse and write the vars to a database but it seems that a file is getting passed back to the client containing the output of the php script that

[PHP] Freshmeat question

2003-01-20 Thread De deco
Hello, I am new to PHP scripting, but I have read some introdutory material, to know at least the basics of the basics. But my question here is not about the thing I read, that PHP is used for. I would like to know if I can use PHP to make scripts at home (not on my server, not for

[PHP] Database abstraction class

2003-01-20 Thread Clarkson, Nick
Hi, Can anyone give me any pointers for creating a database abstraction class ? I know there are a few out there already, but I'm doing this purely as an OO learning exercise. I'm only at the paper design right now and I've only got this far; Properties: Persistent - Persistent connection

[PHP] simple date question

2003-01-20 Thread adrian [EMAIL PROTECTED]
this is pretty simple but my brain's not working I get the numerical value of a week in the year thus e.g $today = date(W); gives 4 .so this is the 4th week of the year. I want to get the month based on this number. e.g 4 should be january. 7 will be feb etc.. i'm not bothered about being too

[PHP] Getting https-page

2003-01-20 Thread Martin Thoma
Hello! You can easily get an webpage with: $fp = fopen(http://www.mydomain.com/;, r); if ($fp) exit; while(!feof($fp)) { $line .= fgets($fp, 4096); } fclose($fp); print $line; But this doesn't work with https (SSL). How can I get an https-page? Martin -- PHP General Mailing List

[PHP] Re: simple date question

2003-01-20 Thread Martin Thoma
Hi Adria, why not just using $month=date(m)? Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Freshmeat question

2003-01-20 Thread Martin Thoma
Well, it's quite easy: Just write a php-script and start it with php myscript.php. Thats all. You could fetch a web-page with fopen: $fp = fopen(http://www.mydomain.com/;, r); $line = ; while(!feof($fp)) { $line .= fgets($fp, 4096); } fclose($fp); print $line; If you are new in

Re: [PHP] How know how many sessions are active?

2003-01-20 Thread Jeremías Grunge
Thanks to everybody I decided to use the way of store the sessions on database and stamped them Another question Do you know a way to close a session when client closes the explorer? Perhaps with a client script? Marek Kilimajer [EMAIL PROTECTED] escribió en el mensaje [EMAIL

Re: [PHP] simple date question

2003-01-20 Thread Rick Emery
Why not just get the month with another call to date(m) as well? Then call date(W) to get the week, if that's required? - Original Message - From: adrian [EMAIL PROTECTED] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 20, 2003 8:42 AM Subject: [PHP] simple date question

Re: [PHP] Getting https-page

2003-01-20 Thread Chris Shiflett
--- Martin Thoma [EMAIL PROTECTED] wrote: How can I get an https-page? I have never tested this myself, but I found this page in the manual: http://www.php.net/manual/en/function.fsockopen.php It has this to say: As of PHP 4.3.0, if you have compiled in OpenSSL support, you may prefix the

[PHP] Security

2003-01-20 Thread Phil Ewington
Hi, Can PHP run as a different user for different sites on the same server. The reason I ask is a client that has a PHP web site on our RAQ4 has had a PHP application written by someone else and wants us to upload it. Can PHP be configured to allow certain web sites access to files and

Re: [PHP] PHP Books

2003-01-20 Thread Mike Morton
As well as books there are some great PHP/MYSQL tutorials that cover all aspects that the book do in a more visual way. http://www.vtc.com - there are mysql and php tutorials there - you can view the first few tutorials online to see if that is what you are looking for. On 1/19/03 11:31 PM,

Re: [PHP] Security

2003-01-20 Thread Chris Shiflett
--- Phil Ewington [EMAIL PROTECTED] wrote: Can PHP be configured to allow certain web sites access to files and directories within their web root only? I would suggest looking into safe mode. It sounds like it may work for you: http://www.php.net/manual/en/features.safe-mode.php Chris --

RE: [PHP] Select multiple boxes

2003-01-20 Thread Ford, Mike [LSS]
-Original Message- From: Cal Evans [mailto:[EMAIL PROTECTED]] Sent: 18 January 2003 14:41 use [] in your select box name. When it comes back in the $_POST array you will have an array of options. It breaks HTML standard No, it does not break HTML standards -- that is a PHP

[PHP] $_POST vars problem

2003-01-20 Thread Kenneth Brill
I just changed my server to SSL, everything worked before that. now if I have a form with an input box (named searchstring for example) with a value of TEST, when that form is posted (submitted) I get the following: foreach($_POST as $key = $value) { echo [POST]Key: '$key'; Value: '$value'br\n;

Re: [PHP] $_POST vars problem

2003-01-20 Thread Chris Shiflett
--- Kenneth Brill [EMAIL PROTECTED] wrote: can anyone tell me where the second searchstring=TEST is coming from? I have tried register globals on and off. Can you also show us the HTML for your form on the previous page? The simplest test case that produces this problem would be best. Chris

Re: [PHP] $_POST vars problem

2003-01-20 Thread Kenneth Brill
I will try to shortly. The server in question is password protected and has lot of information I don;t need hacked into right now. I'll set up a limited short term account and post everything then. On another note, I have found that if I include (and use) the submit button everything works

Re: [PHP] How know how many sessions are active?

2003-01-20 Thread Marek Kilimajer
By setting cookie_lifetime to 0 (this is default), but the user has to close all browser windows Jeremías Grunge wrote: Thanks to everybody I decided to use the way of store the sessions on database and stamped them Another question Do you know a way to close a session when client closes the

Re: [PHP] Getting https-page

2003-01-20 Thread Kenneth Brill
I would just read up on the CURL functions and either use them or get CURL and use it externally. Chris Shiflett [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... --- Martin Thoma [EMAIL PROTECTED] wrote: How can I get an https-page? I have never tested this

Re: [PHP] $_POST vars problem

2003-01-20 Thread Chris Shiflett
--- Kenneth Brill [EMAIL PROTECTED] wrote: I will try to shortly. The server in question is password protected and has lot of information I don;t need hacked into right now. I'll set up a limited short term account and post everything then. So you do not have access to the server that has

php-general Digest 20 Jan 2003 16:32:38 -0000 Issue 1834

2003-01-20 Thread php-general-digest-help
php-general Digest 20 Jan 2003 16:32:38 - Issue 1834 Topics (messages 132205 through 132259): PHP Books 132205 by: Armoured 132215 by: olinux 132250 by: Mike Morton 132252 by: Mike Morton Can I use white spaces? 132206 by: Cesar Aracena

Re: [PHP] XML deprecated Call-time pass-by-reference

2003-01-20 Thread kellan
On Mon, 20 Jan 2003 18:04:19 +0800, Jason Wong wrote: Assuming that xml_set_object() has been defined correctly then to get rid of that error/warning message simply use: xml_set_object( $this-parser, $this ); Thanks. That seems to work. Every example of using xml_set_object demostrates

RE: [PHP] Getting https-page

2003-01-20 Thread Matthew Walker
Look into the CURL libraries. http://www.php.net/manual/en/ref.curl.php They essentially allow you to emulate the behavior of a browser. Where I work, we use them to make SSL connections to payment processing gateways. Matthew -Original Message- From: Martin Thoma [mailto:[EMAIL

[PHP] imap_fetchbody - size limit?

2003-01-20 Thread Andy Clarke
Is there any limitation on the size of attachment that IMAP (especially functions like imap_fetchbody) can handle? I am writing a PHP script that will cycle through a number of email accounts and downloads new messages, storing the subject/body etc in a database and saving the attachments to the

RE: [PHP] How know how many sessions are active?

2003-01-20 Thread John W. Holmes
Do you know a way to close a session when client closes the explorer? Perhaps with a client script? If the session cookie lifetime is zero, the cookie will be deleted when the user closes their browser. However, it's up to you to delete old information from your database now. Since you have a

RE: [PHP] Getting https-page

2003-01-20 Thread John W. Holmes
You can easily get an webpage with: $fp = fopen(http://www.mydomain.com/;, r); if ($fp) exit; while(!feof($fp)) { $line .= fgets($fp, 4096); } fclose($fp); print $line; But this doesn't work with https (SSL). How can I get an https-page? Use PHP 4.3.0 with OpenSSL enabled and

Re: [PHP] Select multiple boxes

2003-01-20 Thread Sean Burlington
Ford, Mike [LSS] wrote: -Original Message- From: Cal Evans [mailto:[EMAIL PROTECTED]] Sent: 18 January 2003 14:41 use [] in your select box name. When it comes back in the $_POST array you will have an array of options. It breaks HTML standard No, it does not break HTML standards --

[PHP] ayuda...solo se ve el cdigo cuando ejecuto los script

2003-01-20 Thread Rot Alvarez
Subo los script y solo veo código...q puedo hacer ayuda _ Registra gratis tu cuenta email en http://www.exploraiquique.cl _ Select your own custom email address for FREE! Get

RE: [PHP] Select multiple boxes

2003-01-20 Thread John W. Holmes
use [] in your select box name. When it comes back in the $_POST array you will have an array of options. It breaks HTML standard No, it does not break HTML standards -- that is a PHP urban myth (which, to my chagrin, I helped to propagate before a wiser head sent me to read said

[PHP] 4.3.0 cpu load raise

2003-01-20 Thread Philipp
Hello ! i upgraded PHP last week. I used 4.2.3 and now i am using 4.3.0. The System is Linux running a 2.4.20 kernel and Apache 1.3.27 with PHP statically compiled in. I recognized a significant load-raise. it seems that the new version needs more CPU power to complete its tasks. i will

[PHP] Loop inside a table

2003-01-20 Thread Cesar Aracena
Hi all, I always make for loops inside tables so I usually don't have problems with it, but this case is a little different. I'm making a mail program for my client to receive a mail each time a customer places an order in his site. Inside the mail program, I declaring a value called $message

[PHP] Change base url

2003-01-20 Thread Jeremías Grunge
I've a few of scrcripts in a directory $baseurl/PHP/scripts.PHP And I want to include these a script in a diferent dir example $baseurl/otherDir/otherscript.PHP but the includes that are on the $baseurl/PHP/scripts.PHP now referrer to $baseurl/otherDir... There is a way to say a script wthat is

Re: [PHP] Loop inside a table

2003-01-20 Thread Jim Lucas
instead of doing that your should do this $message = HTML HEAD TITLEtitle goes here/TITLE /HEAD BODY ; for ($x = 0; $x $num_rows; $x++) { $message .= some stuff; } $message .= /BODY /HTML; you were also missing your last double quote. Jim - Original Message - From: Cesar Aracena

[PHP] Re: Security

2003-01-20 Thread Peter Clarke
Phil Ewington wrote: Hi, Can PHP run as a different user for different sites on the same server. The reason I ask is a client that has a PHP web site on our RAQ4 has had a PHP application written by someone else and wants us to upload it. Can PHP be configured to allow certain web sites access

RE: [PHP] Loop inside a table

2003-01-20 Thread Cesar Aracena
Thanks a lot! I was already doing something of the sort, but with a LOT more $message .= Thanks again, Cesar L. Aracena [EMAIL PROTECTED] [EMAIL PROTECTED] (0299) 156-356688 Neuquén (8300) Capital Argentina -Mensaje original- De: Jim Lucas [mailto:[EMAIL PROTECTED]] Enviado el: lunes,

Re: [PHP] please help

2003-01-20 Thread JamsterJAM
I am running my server on windows xp, which i know you probally think it is silly but i think permissions in xp are automatically set to full or 777. - Original Message - From: Ray Hunter [EMAIL PROTECTED] To: JamsterJAM [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, January 19,

RE: [PHP] $_POST vars problem

2003-01-20 Thread Ford, Mike [LSS]
-Original Message- From: Kenneth Brill [mailto:[EMAIL PROTECTED]] Sent: 20 January 2003 15:53 I just changed my server to SSL, everything worked before that. now if I have a form with an input box (named searchstring for example) with a value of TEST, when that form is posted

[PHP] Re: 4.3.0 cpu load raise

2003-01-20 Thread Thomas Seifert
Hmm, I didn't see this effect but I only tried on a development machine. I benchmarked a app there with both php-versions and it was nearly 20% faster with php-4.3.0. But that may depend on the application. Thomas On Mon, 20 Jan 2003 18:30:05 +0100 [EMAIL PROTECTED] (Philipp) wrote: Hello !

[PHP] Re: Job Opportunity

2003-01-20 Thread Jessica Gillert
Mr. Hunter, My apologies for the delay in following back up with you. My client has expressed interest in talking with you. I am in the process of pinning them down on whether they would like to do a phone or face-to-face interview - and also what their schedule/time frame is. I will follow

Re: [PHP] Loop inside a table

2003-01-20 Thread Chris Shiflett
--- Cesar Aracena [EMAIL PROTECTED] wrote: $message = HTML HEAD TITLEtitle goes here/TITLE /HEAD BODY . for ($x = 0; $x $num_rows; $x++) { //several lines made dynamically } .. /BODY /HTML; Try something like this instead, if you want all of your HTML to be in the $message

Re: [PHP] Re: Job Opportunity

2003-01-20 Thread Ray Hunter
I apologize everyone...evolution is going crazy... Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Select multiple boxes

2003-01-20 Thread Sean Burlington
John W. Holmes wrote: use [] in your select box name. When it comes back in the $_POST array you will have an array of options. It breaks HTML standard No, it does not break HTML standards -- that is a PHP urban myth (which, to my chagrin, I helped to propagate before a wiser head sent

Re: [PHP] Re: Job Opportunity

2003-01-20 Thread Marco Tabini
Don't apologize... pass the job offers around instead ;-) My Evolution has decided that I don't have a Calendar anymore. No matter how hard I try. *sigh* Cheers, Marco On Mon, 2003-01-20 at 13:53, Ray Hunter wrote: I apologize everyone...evolution is going crazy... Ray -- Marco Tabini

Re: [PHP] Which country?

2003-01-20 Thread -[ Rene Brehmer ]-
Hi Timothy Hitchens (HiTCHO), Can't you also, atleast in IE, also ask the browser what country the user is in??? I believe IE has a variable that takes from the regional settings, which covers language and format info for numbers ... but not sure you can pull it from the web though the MSDN

[PHP] pop-up problem

2003-01-20 Thread Mark McCulligh
I was wondering if anyone knows of a way to create a pop-up using PHP or other language to do the same thing as JavaScript window.open method. I have an app that uses the JavaScript popup but now with those popup stopper it will not always work. For I am looking for another way of creating

[PHP] Sql server -- trusted connection

2003-01-20 Thread Daniel Masson
Hello list. I need help on this urgently. I need to connect to a ms sql server usgin windows autentication on a win 2000 box and IIS 5, i cant switch sql server to windows and sql authentication, .. I really need to know hot to connect. Thanks Daniel E Massón. Ingeniero de desarrollo [EMAIL

Re: [PHP] pop-up problem

2003-01-20 Thread Chris Shiflett
--- Mark McCulligh [EMAIL PROTECTED] wrote: I was wondering if anyone knows of a way to create a pop-up using PHP or other language to do the same thing as JavaScript window.open method. I have an app that uses the JavaScript popup but now with those popup stopper it will not always work.

Re: [PHP] Change base url

2003-01-20 Thread Chris Shiflett
--- Jeremías Grunge [EMAIL PROTECTED] wrote: I've a few of scrcripts in a directory $baseurl/PHP/scripts.PHP And I want to include these a script in a diferent dir example $baseurl/otherDir/otherscript.PHP but the includes that are on the $baseurl/PHP/scripts.PHP now referrer to

Re: [PHP] Sql server -- trusted connection

2003-01-20 Thread Lowell Allen
From: Daniel Masson [EMAIL PROTECTED] I need help on this urgently. I need to connect to a ms sql server usgin windows autentication on a win 2000 box and IIS 5, i cant switch sql server to windows and sql authentication, .. I really need to know hot to connect. I know very little about

Re: [PHP] pop-up problem

2003-01-20 Thread Mark McCulligh
I wish people won't miss use features for people start blocking them. I am using the window.open the way it was meant for. I have a online help feature. I am not using it a force people to look at banner after banner. Mark. --- Mark McCulligh [EMAIL PROTECTED] wrote: I was wondering if

[PHP] Re: Re: Freshmeat question

2003-01-20 Thread De deco
Thanks Martin. This is great. :) I am not new to programming, just to scripting languages. I have seen that Perl has some high advanced sintaxes for string processing, for example, but I don't know if the same level can also be achieved in PHP...? As for the script below, could I run it

Re: [PHP] PHP and Sessions?

2003-01-20 Thread John Nichel
But he said that it's working in 4.2.2 (default off), but not working in 4.1.2 (default on). If I remember correctly, $HTTP_POST_VARS['whatever'] worked before 4.2.x, right? What about things like $_POST $_SERVER, etc. did those work prior to 4.2.0? Sean Burlington wrote: Tim Thorburn wrote:

Re: [PHP] pop-up problem

2003-01-20 Thread Chris Shiflett
--- Mark McCulligh [EMAIL PROTECTED] wrote: I wish people won't miss use features for people start blocking them. I am using the window.open the way it was meant for. I have a online help feature. I am not using it a force people to look at banner after banner. I know exactly what you

Re: [PHP] pop-up problem

2003-01-20 Thread John Nichel
Right, Mozilla set it up to block pop-ups that were not requested by the end user. I don't know why Netscape 7 didn't include this with their build. Chris Shiflett wrote: --- Mark McCulligh [EMAIL PROTECTED] wrote: I wish people won't miss use features for people start blocking them. I am

Re: [PHP] pop-up problem

2003-01-20 Thread Mark McCulligh
What does IE do? John Nichel [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Right, Mozilla set it up to block pop-ups that were not requested by the end user. I don't know why Netscape 7 didn't include this with their build. Chris Shiflett wrote: --- Mark

[PHP] Cannot show reuploaded image file on page unless manual refresh

2003-01-20 Thread Phil Powell
I am using the following header() functions to force view.php to not cache: header(Expires: Mon, 26 Jul 1997 05:00:00 GMT);// Date in the past header(Last-Modified: . gmdate(D, d M Y H:i:s) . GMT); // always modified

Re: [PHP] How know how many sessions are active?

2003-01-20 Thread Justin French
on 21/01/03 2:07 AM, Jeremías Grunge ([EMAIL PROTECTED]) wrote: Another question Do you know a way to close a session when client closes the explorer? Perhaps with a client script? Apart from what everyone else has said about cookie lifetime, there is probably some javascript foolery you

Re: [PHP] Cannot show reuploaded image file on page unless manual refresh

2003-01-20 Thread Chris Shiflett
--- Phil Powell [EMAIL PROTECTED] wrote: I am using the following header() functions to force view.php to not cache: header(Expires: Mon, 26 Jul 1997 05:00:00 GMT); header(Last-Modified: . gmdate(D, d M Y H:i:s) . GMT); header(Cache-Control: no-store, no-cache, must-revalidate);

Re: [PHP] PHP and Sessions?

2003-01-20 Thread Justin French
on 21/01/03 8:33 AM, John Nichel ([EMAIL PROTECTED]) wrote: But he said that it's working in 4.2.2 (default off), but not working in 4.1.2 (default on). If I remember correctly, $HTTP_POST_VARS['whatever'] worked before 4.2.x, right? What about things like $_POST $_SERVER, etc. did those

Re: [PHP] simple date question

2003-01-20 Thread Justin French
why not just call date('m') to get the month? justin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] ayuda...solo se ve el código cuando ejecuto los script

2003-01-20 Thread Ezequiel Sapoznik
Estás guardando el archivo con extensión php?? Ezequiel -Mensaje original- De: Rot Alvarez [mailto:[EMAIL PROTECTED]] Enviado el: Lunes, 20 de Enero de 2003 02:21 p.m. Para: [EMAIL PROTECTED] Asunto: [PHP] ayuda...solo se ve el código cuando ejecuto los script Subo los script y solo

Re: [PHP] PHP and Sessions?

2003-01-20 Thread Tim Thorburn
Yes, I've also had this script working on PHP 4.0.6 - basically I'm looking for reasons as to why the sessions may not be functioning properly. Right now I'm going line by line through the configuration of PHP on the server that works (4.2.2) and the server that doesn't work (4.1.2) - I'm

Re: [PHP] How know how many sessions are active?

2003-01-20 Thread Jeremías Grunge
I think that the option of a client script is the best if you save sessions in a database. Any examples of call logout.PHP from javascript (I know that's not a Scripting forum) Thanks to everybody Justin French [EMAIL PROTECTED] escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL

RE: [PHP] Which country?

2003-01-20 Thread Timothy Hitchens \(HiTCHO\)
You could rely somewhat of the time zone codes as you refer to them, the only issue is in some parts of the world this would include 10 countries at a time. Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: -[ Rene Brehmer ]-

Re: [PHP] How know how many sessions are active?

2003-01-20 Thread Justin French
on 21/01/03 9:12 AM, Jeremías Grunge ([EMAIL PROTECTED]) wrote: Any examples of call logout.PHP from javascript (I know that's not a Scripting forum) I already told you! Pop-up a new window with javascript on window close, with the URL 'logout.php'. If you need more than that, best find a

[PHP] files no longer upload!

2003-01-20 Thread Phil Powell
I'm having a day, gang! I have done nothing to my code and now is_uploaded_file is constantly false, even when uploading a file every time. I dunno what to do, would someone want to look at my code and tell me what I did wrong; I'm out of ideas. Phil

Re: [PHP] Cannot show reuploaded image file on page unless manual refresh

2003-01-20 Thread Chris Shiflett
--- Phil Powell [EMAIL PROTECTED] wrote: Chris, that made no sense to me at all! Sorry. :-) How in the world could an HTTP-RESPONSE send back a cached .jpg file that no longer exists on the server end? That's impossible, unless the entire page is cached. Now, how do I ensure that view.php

Re: [PHP] Cannot show reuploaded image file on page unless manualrefresh

2003-01-20 Thread ed
Aha! Something I can chime in on. I happened across the same scenario a few months back. The list helped me then so I'll give back. Call the image using a random identifier. $rand = rand(1000, ); echo img src=http://someurl.com/image.jpg?$rand;; Since the browser will more than likely

Re: [PHP] files no longer upload!

2003-01-20 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sure...we could look at your code if you showed it to us. Other than seeing it I'd say check 'register_globals'... HTH! ~Paul On Monday 20 January 2003 05:27 pm, Phil Powell wrote: I'm having a day, gang! I have done nothing to my code and now

[PHP] a regular expression problem - split text

2003-01-20 Thread Juan Pablo Aqueveque
Hi all I am sorry for the very simple question but I can't doing this. I have a text like this: $text= !-- 1 -- this is January !-- 2 -- this is February !-- 3 -- this is March !-- 4 -- this is April ; OK.. i want to show e.g. this is January in my var $sub_text. How can i doing this using a

Re: [PHP] Cannot show reuploaded image file on page unless manual refresh

2003-01-20 Thread Phil Powell
Dude, your solution failed! :( The image STILL caches even though on the server end it's deleted!! Even with a RANDOM string tacked on it STILL caches!!! Phil [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Aha! Something I can chime in on. I happened

[PHP] Free PHP Hosting - Answered

2003-01-20 Thread Timothy Hitchens \(HiTCHO\)
We seem to get one every week of people asking about free PHP hosting so I went looking for all those people and found this off the link section from php.net: http://www.oinko.net/freephp/ Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] pop-up problem

2003-01-20 Thread Step Schwarz
on 1/20/03 4:47 PM, Mark McCulligh at [EMAIL PROTECTED] wrote: What does IE do? Hi Mark, IE, as far as I know, doesn't have any built-in pop-up killer. Pop-up killers generally only block pop-ups that either weren't requested by the visitor -- that is, no link was clicked -- or that reside on

Re: [PHP] Cannot show reuploaded image file on page unless manual refresh

2003-01-20 Thread Jim Lucas
I would add the modification time of the file in question with filetime($filename); that way you will be sure to get a unique argurment. Jim - Original Message - From: [EMAIL PROTECTED] To: Chris Shiflett [EMAIL PROTECTED] Cc: Phil Powell [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL

[PHP] Re: Cannot show reuploaded image file on page unless manual refresh

2003-01-20 Thread Philip Hallstrom
I wonder if appending time() would be better... granular to a second and you save the filesystem lookup effort?? On Mon, 20 Jan 2003, Jim Lucas wrote: I would add the modification time of the file in question with filetime($filename); that way you will be sure to get a unique argurment.

[PHP] Re: Cannot show reuploaded image file on page unless manual refresh

2003-01-20 Thread Phil Powell
Tried that too, dude.. now the files are replicating themselves in the /profile/images folder! I am supposed to delete the old file and replace it with the new file, but instead I have old file new file, and the association between profile and image is incorrect. Phil Philip Hallstrom [EMAIL

Re: [PHP] pop-up problem

2003-01-20 Thread Mark McCulligh
Thanks for the advise, I am doing to change the way I call the popup, move it out of a function, right into the A tag itself. To see if the one client I have popup killer app lets it happen now. Thanks again, Mark. - Original Message - From: Step Schwarz [EMAIL PROTECTED] To: Mark

Re: [PHP] Re: Cannot show reuploaded image file on page unless manual refresh

2003-01-20 Thread Jim Lucas
i think you missunderstood what I said. in the image tag that you create to display the image, you could do this img src='/path/to/image/myfile.jpg??=filetime($filename)?' that would make the URL different when each page time the image was replaced. I would use filetime() because it would not

Re: [PHP] pop-up problem

2003-01-20 Thread Jim Lucas
I have found that with the popup stopper that I have installed on my machine, Pop-up Stopper from Panic Ware, that I can't even start up a new instance of IE without it killing the new window. I have netscape 4,6,7 and mozilla installed on my machine and it won't allow me to start up more then

Re: [PHP] ayuda...solo se ve el código cuando ejecuto los script

2003-01-20 Thread R B
Tenes el codigo PHP entre ? y ? ... ? Ej.: ? echo Hello World; ? From: Rot Alvarez [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] ayuda...solo se ve el código cuando ejecuto losscript Date: Mon, 20 Jan 2003 09:20:51 -0800 (PST) Subo los script y solo

Re: [PHP] pop-up problem

2003-01-20 Thread Sean Burlington
Chris Shiflett wrote: --- Mark McCulligh [EMAIL PROTECTED] wrote: I wish people won't miss use features for people start blocking them. I am using the window.open the way it was meant for. I have a online help feature. I am not using it a force people to look at banner after banner. I

[PHP] login script fix help needed

2003-01-20 Thread Karl James
hey guys, I was wondering if you can see why i cant insert the info into a table, right now its Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site12/fst/var/www/html/Create_Account.php:8) in

Re: [PHP] ayuda...solo se ve el código cuandoejecuto los script

2003-01-20 Thread Tracy Finifter Rotton
También, se tiene que tener esta línea en su fichero httpd.conf: AddType application/x-httpd-php .php (donde .php es la extensión que se usa en sus ficheros de PHP) Si no se tiene acceso al fichero httpd.conf, se necesita pedir a su webmaster para hacer este cambio. On 1/20/03 4:39 PM, R B

RE: [PHP] login script fix help needed

2003-01-20 Thread Timothy Hitchens \(HiTCHO\)
Move this below to after your php logic: html head titleAdd a User/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: Karl James [mailto:[EMAIL

  1   2   >