RE: [PHP-WIN] newbie BASIC sessions...

2003-02-25 Thread Robert Nürnberg
>From php.net (): http://www.php.net/manual/en/function.session-is-registered.php Note: If $_SESSION (or $HTTP_SESSION_VARS for PHP 4.0.6 or less) is used, use isset() to check a variable is registered in $_SESSION The code that should work: (You may not need to add SID to your link, depending on

php-windows Digest 26 Feb 2003 06:57:45 -0000 Issue 1606

2003-02-25 Thread php-windows-digest-help
php-windows Digest 26 Feb 2003 06:57:45 - Issue 1606 Topics (messages 18701 through 18707): file write issues... 18701 by: Chris Kranz Re: File Upload Help Needed 18702 by: Chris Kranz 18703 by: Chris Kranz Disable FTP in Win32 Binary ? 18704 by: greg eval

RE: [PHP-WIN] eval function

2003-02-25 Thread Robert Nürnberg
Why use eval in the first place? $_POST["ADDRESS_ID_".$numb] will work, as will $_POST["ADDRESS_ID_{$numb}"]. -Original Message- From: Kevin Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 1:00 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] eval function Hi All, Does an

[PHP-WIN] newbie BASIC sessions...

2003-02-25 Thread Leo G. Divingracia III
okay, i'm stumped as heck. i cant seem to get it this to work. using win2k, apache 1.3.x, php4.3.0, registers_globals OFF. S1.PHP: //$userid = "blow"; //session_register ('userid'); $_session['userid']="joe"; echo (' s1'); ?> S2.PHP: if (!session_is_registered ("userid")) { echo ("not

[PHP-WIN] eval function

2003-02-25 Thread Kevin Smith
Hi All, Does anyone know why this won't work? I'm trying to retrieve the contents of a $_POST name dynamically depending on a unique value as below. // Works great $_POST['ADDRESS_ID_1'] // Does work. But shows a blank value, no errors. $numb=1; eval("\$_POST['ADDRESS_ID_".$numb."'];"); Any i

[PHP-WIN] Disable FTP in Win32 Binary ?

2003-02-25 Thread greg
Hi! Can someone provide guidance on how to disable FTP in the Win32 Binary version? (The IT Security team at my workplace does not permit FTP. We may not be able to use PHP unless FTP is disabled, but haven't figured out how to do it on the Win32 binary version.) Any assistance would be greatly

RE: [PHP-WIN] File Upload Help Needed

2003-02-25 Thread Chris Kranz
Oh... And there are better ways of doing this, like using move instead of copy... But this is how I do it, and it's worked fine for me for the past few years, so I haven't bothered updating my method much :p Check phpbuilder.net and dig around the php manual some more... There are some very good r

RE: [PHP-WIN] File Upload Help Needed

2003-02-25 Thread Chris Kranz
It's actually pretty similar to Linux stuff. Most of my local stuff I do is Win2k, and I don't have much of a problem transferring. Apart from directories... But then I have a nice little thing in my config file to figure out if the file is being run locally, or live, and changes the values for tha

[PHP-WIN] file write issues...

2003-02-25 Thread Chris Kranz
running this script command line... $temp_file = "temp_file.txt"; if( !file_exists( $temp_file ) ) { touch( $temp_file ) or die( "couldn't create new file" ); } $fp = fopen( $temp_file, "wb" ) or die( "file opening failed" ); fwrite( $fp, $cvs ) or die( "write file failed" ); fclose( $fp ); do

php-windows Digest 25 Feb 2003 17:24:01 -0000 Issue 1605

2003-02-25 Thread php-windows-digest-help
php-windows Digest 25 Feb 2003 17:24:01 - Issue 1605 Topics (messages 18692 through 18700): Re: Unexplained CGI error 18692 by: Michael Power 18693 by: Michael Power Re: why is this mail code not working on a windows server? 18694 by: Sven Schnitzke Windows vs. linu

RE: [PHP-WIN] File Upload Help Needed

2003-02-25 Thread Chris Kranz
http://www.php.net/manual/en/features.file-upload.php Surprisingly enough, straight from the manual ;) chris kranz fatcuban.com -Original Message- From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] Sent: 25 February 2003 17:13 To: PHP Subject: [PHP-WIN] File Upload Help Needed PHP List

[PHP-WIN] File Upload Help Needed

2003-02-25 Thread Jeremy Whitlock
PHP List, I'm new to PHP and I'd like to create a File Upload Page for my users. Can someone point me in the right direction about how to get started or offer a script to learn from? Thanks, Jeremy Whitlock --- MCP/MCSA IT Manager for Star Precision, Inc. Phone: (970) 535-4795

Re: [PHP-WIN] Configuration Trouble

2003-02-25 Thread Cam Dunstan
Andrew must confess i haven`t looked at it yet, are you still having trouble getting apache and php to work together? If so, tell me more. Cam - Original Message - From: andrew ngui <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, February 24, 2003 6:50 A

[PHP-WIN] Re: Windows vs. linux

2003-02-25 Thread Michael Power
In my experience the only things you really need to look out for are: 1) file functions requiring different path details (and associated access permissions - CHMOD). 2) line breaks in files/output. 2) extensions/changes to PHP exe other than the default can be a pain if you're not the administrator

[PHP-WIN] Re: Windows vs. linux

2003-02-25 Thread Brian McGarvie
Generally there will be little to do except change credentials for DB etc, only thing that will possibly be affected is paths to included files, your depolyment server is running php in safe_mode then you will need to use full-path's to the files. Other than that it 'should' simply be a case of up

[PHP-WIN] Windows vs. linux

2003-02-25 Thread Olafsson
Hi I have been developing a php on Windows XP and using IIS5.1. Know I have to transfare the pages on a Linux server that runs the pages on Apache. Does anyone know about some information that I can read about how I can transfer between Win and Linux?? oli -- PHP Windows Mailing List (http

AW: [PHP-WIN] Re: why is this mail code not working on a windows server?

2003-02-25 Thread Sven Schnitzke
Hi, specify "SMTP" as just the part after the @ in the mail address, e.g vt4.net in your case. Then it should work. Cheers, -- Sven > -Ursprüngliche Nachricht- > Von: Per Christian [SMTP:[EMAIL PROTECTED] > Gesendet am: Samstag, 22. Februar 2003 14:59 > An: [EMAIL PROTECTED] > Betref

[PHP-WIN] Re: Unexplained CGI error

2003-02-25 Thread Michael Power
At last found some info... http://bugs.php.net/bug.php?id=9852 Looks like I might have to move to ASP.NET after all unless the PHP boys pull their fingers out... :( Cheers Mike > "Mary Sweeney" > I had a very nice little application I was working on. I selected options > from an html page and

[PHP-WIN] Re: Unexplained CGI error

2003-02-25 Thread Michael Power
No this is a little more complex than that... The scripting works fine then randomly you'll get the CGI errors. I find I get them when executing a script which echo's out frames. Each frame is populated with another PHP script and when executed you end up with the browser window framed correctly