[PHP-WIN] .

2003-03-31 Thread chris . avontuur
Regards, Chris Avontuur Web Development Medical Imaging IT Philips Medical Systems Nederland B.V. Building QV-222 phone +31 40 27 65625

Re: [PHP-WIN] PHP as CSS Stylesheet - broken in IE6/PHP 4.3.x

2003-03-31 Thread Per Lundberg
On Mon, 2003-03-31 at 21:58, Isetro Savi wrote: > > Does the stylesheet validate? (http://validator.w3.org) > > > > I would guess this is a register_globals problem. What this means is that you can no longer write $moo to get the contents of the GET/POST/cookie variable "moo", but you rather need

php-windows Digest 1 Apr 2003 04:58:12 -0000 Issue 1662

2003-03-31 Thread php-windows-digest-help
php-windows Digest 1 Apr 2003 04:58:12 - Issue 1662 Topics (messages 19196 through 19217): Download of GIF 19196 by: Rahul Jadhav 19197 by: Rahul Jadhav 19199 by: Anthony Ritter Re: + character in a command line argument 19198 by: Sven Schnitzke date() and m

Re: [PHP-WIN] Subscription Authentication with PHP

2003-03-31 Thread olinux
This should help you A Complete, Secure User Login System by Tim Perdue http://phpbuilder.com/columns/tim2505.php3 olinux --- Listuser <[EMAIL PROTECTED]> wrote: > I'm hoping someone can help me out here. I have a > registration page where > users sign up for my site - I then want to be abl

Re: [PHP-WIN] Redirect to Home Page

2003-03-31 Thread ODCS
Try - header("Location: whatever.html"); Be aware though that nothing can come before this in your file. No output of any kind. - Original Message - From: "Wade" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 31, 2003 6:51 PM Subject: [PHP-WIN] Redirect to Home Page

Re: [PHP-WIN] Redirect to Home Page

2003-03-31 Thread Wade
03312003 1604 GMT-6 Can I do this without javascript? I know for a fact that a lot of our customers do not have JS enabled. I dont. Wade Mike Brum wrote: You can easily do that with JavaScript. if (document.location.href != "index.html"){ document.location.href = "index.html"; } My syntax

RE: [PHP-WIN] Redirect to Home Page

2003-03-31 Thread Mike Brum
You can easily do that with JavaScript. if (document.location.href != "index.html"){ document.location.href = "index.html"; } My syntax might be screwy (haven't done JavaScript in a while) but you get the idea. -Mike -Original Message- From: Wade [mailto:[EMAIL PROTECTED] Sent: Monda

[PHP-WIN] Redirect to Home Page

2003-03-31 Thread Wade
03312003 1549 GMT-6 I saw this little script somewhere and now I cannot find it. Im working on this site. If you happen to bounce into the site from anywhere but the home page, you are automatically redirected back to the home page. Can someone help me with this? Wade -- PHP Windows Mailing

Re: [PHP-WIN] Sending Mail with PHP

2003-03-31 Thread ODCS
Your assuming my ISP is normal. From the webpage: SMTP Authentication Should be ON. This will allow you to send mail. If you are asked to enter a username and password, enter the same ones used to download mail. - Original Message - From: "Nick H. -- Level II Technical Sup

Re: [PHP-WIN] Sending Mail with PHP

2003-03-31 Thread Nick H. -- Level II Technical Support
I work for a company that requires SMTP auth for users. You really shouldn't need to specify a username and password for your script, as most servers have it setup to the server will accept outgoing mail from itself. For example, the server's IP block is: 10.0.1.0/24. Any mail outbound for an IP

Re: [PHP-WIN] Sending Mail with PHP

2003-03-31 Thread ODCS
As stated, my ISP requires email authentication when sending emails. For example - if you go to the mail settings in Outlook express and choose servers - there is a check box there that says my "server requires authentication" - this must be checked. If you click on advanced there is another box

[PHP-WIN] Connection on mysql.

2003-03-31 Thread Arthur Franco
What is the safest way to make a connection with php to mysql? I'm using an require 'DB_conn.php' file that make the connection and this file is outside /var/www/. Someone including my original file "login.php" and printing the variable $user for example can see the value of the variable, that in t

Re: [PHP-WIN] PHP as CSS Stylesheet - broken in IE6/PHP 4.3.x

2003-03-31 Thread Isetro Savi
On Fri, Mar 28, 2003 at 02:47:25PM +0100, Per Lundberg wrote: > On Fri, 2003-03-28 at 13:15, Isetro Savi wrote: > > On Fri, Mar 28, 2003 at 10:45:10AM +0100, Per Lundberg wrote: > > > Do you have something like this in your PHP code? > > > > > > header("Content-type: text/css"); > > > > I did not

Re: [PHP-WIN] Sending Mail with PHP

2003-03-31 Thread Scott Carr
What kind of Authentication do they require? LOGIN, POP3 before SMTP, CRAM-MD5, etc? -- Scott Carr Documentation Maintainer http://documentation.openoffice.org OpenOffice.org Quoting Listuser <[EMAIL PROTECTED]>: > My ISP requires email authentication when sending emails, is the a way to > s

[PHP-WIN] Sending Mail with PHP

2003-03-31 Thread Listuser
My ISP requires email authentication when sending emails, is the a way to set this up in PHP. Thanks -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Subscription Authentication with PHP

2003-03-31 Thread Listuser
I'm hoping someone can help me out here. I have a registration page where users sign up for my site - I then want to be able to send them an email with a link to click on to verify their registration. Is there any pre-made scripts that anyone knows of that would do this, or can someone point me in

[PHP-WIN] Sessions any use for this???

2003-03-31 Thread Trystano
Hi, all, i'm relatively new to PHP, but am creating a website that has a login screen as the first page within a website, and once a user has authenticated themselves gain access to the remainder of the website to perform actions specific to their details. (e.g. i'm creating an online dental su

[PHP-WIN] Go back function...

2003-03-31 Thread Afan Pasalic
Hi, I know there is sucha function, to send you back to last visited page but can't find it. Help! Afan -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] RE: [newbie] SSL on Win98

2003-03-31 Thread Bobby Rahman
Hiya Can anyone point me in the direction of a dummies guide (idiot proof..) to installing and configuring SSL for PHP4/Apache2.4.03/Win98. Had a little look around on a few php websites but as usual im finding the windows stuff a little lacking for me. Thanks Bob __

[PHP-WIN] Re: [PHP] date() and mktime() functions: weeknumbers and months.

2003-03-31 Thread Marek Kilimajer
Check out mysql manual, section 6.3.4 - Date and Time Functions, example $condition=''; if($GET['week']) $condition .= "WEEK(date)='$_GET[week]' AND "; if($GET['year']) $condition .= "YEAR(date)='$_GET[week]' AND "; and so on then use the condition: $sql = "SELECT * FROM news WHERE $condition 1";

[PHP-WIN] date() and mktime() functions: weeknumbers and months.

2003-03-31 Thread Davy Obdam
Hi people, I would like to select news from my database bases on week/year and month/year. How can i do this.. I would like to pass two arguments in the query string, like news.php?week=14&year=2003 or news.php?month=3&year=2003. Can anybody help me.. Thanks in advance. I have been looking at the

[PHP-WIN] Re: Download of GIF

2003-03-31 Thread Anthony Ritter
Is it possible that .gifs are currently _not_ supported in php 4.2+ at php_gd2.dll - however .png files would be due to copyright expiration of .gif patent at Unisys? TR -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

AW: [PHP-WIN] + character in a command line argument

2003-03-31 Thread Sven Schnitzke
Hi, "+" is special to DOS at least with the copy command in that "copy a+b.txt" means: take file "a" and file "b.txt" and concatenate them giving file a. A file named "a+b.txt" is legal with windows but not with DOS. By the way, the treatment of + in filenames has been changed with PHP 4.3. Since

RE: [PHP-WIN] Download of GIF

2003-03-31 Thread Rahul Jadhav
When I double click the file it is opening in the Browser. But it is seen as broken image like symbol. When I move cursor on the gif file it shows type as .gif. Also my ststem is having win2k pro OS, so it should support GIF files. I am doubtfull if this is problem with header setting wherein

[PHP-WIN] Download of GIF

2003-03-31 Thread Rahul Jadhav
Hi All I am using PHP 4.3.1 on IE 5.5 SP2. A script is written which downloads the file. The headers are adjusted properly so that files are downloaded. Here is the problem. The HTML files are downloaded properly, but for GIF files, the file is downloaded but can not be opened in browser.

php-windows Digest 31 Mar 2003 10:26:07 -0000 Issue 1661

2003-03-31 Thread php-windows-digest-help
php-windows Digest 31 Mar 2003 10:26:07 - Issue 1661 Topics (messages 19192 through 19195): Re: Re:Subject: upload question 19192 by: Ben O'Neill Downloading source code for extensions? 19193 by: Richard Hollis Re: Global & POST & uploading files 19194 by: Frank Wes

[PHP-WIN] + character in a command line argument

2003-03-31 Thread mmy
Hi! I'm using PHP 4.3.1, IE 5.5, Win ME I'm trying to use php through DOS command line. Running the very basic script $argv = $_SERVER['argv']; var_dump($argv); I noticed that the command line arguments are split at a + character, even if between double quotes. for instance php test.php a+b