RE: [PHP-WIN] using backslash \ in php

2004-02-16 Thread Duane Lakoduk
See: stripslashes() and addslashes() functions. > -Original Message- > From: Harpreet [mailto:[EMAIL PROTECTED] > Sent: Monday, February 16, 2004 10:01 PM > To: php-windows > Subject: [PHP-WIN] using backslash \ in php > > > I have a form with a textbox that allows a user to enter the

RE: [PHP-WIN] Converting from ASP to PHP

2004-02-04 Thread Duane Lakoduk
[EMAIL PROTECTED] > Sent: Tuesday, February 03, 2004 1:23 PM > To: PHP-WIN > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] Converting from ASP to PHP > > > > > > -Original Message- > > From: Duane Lakoduk [mailto:[EMAIL PROTECTED] > > Sent: Monday

[PHP-WIN] Converting from ASP to PHP

2004-02-02 Thread Duane Lakoduk
Hello all, I have been developing ASP sites and applications for about 7 years. Recently, I have been considering doing some of my new development projects in PHP. Depending on the learning curve, I will have to support and continue ASP for some time. I know there a lots of resources available f

RE: [PHP-WIN] forms question

2003-10-05 Thread Duane Lakoduk
> Problem is nothing happens, almost as if > its not calling the other PHP files. I am sure I am doing > something really stupid, but since everybody advises against > using frames I cant find a good example out there of how to > do this. My initial HTML file look as follows: > > > > >

RE: [PHP-WIN] form vars missing...

2003-09-29 Thread Duane Lakoduk
> > That should not effect the functionality. The VALUE tag is > only required for > radio buttons and check boxes . You are correct. I tested this on my IIS 4.0 server with PHP 4.3.3RC2. The reason for no values is most likely due to bad syntax in action.php No errors are reported but s

RE: [PHP-WIN] form vars missing...

2003-09-29 Thread Duane Lakoduk
Jas > > Here is my problem: > > Using both the Get and Post methods my variables are missing on the > resulting page. Example of code is listed below: > > > > > > > if ((!$name) || (!url)) { > do nothing; > } elseif (($name) || ($url)) { > do rest of code; > } else { > broken

RE: [PHP-WIN] unsubscribe

2003-09-29 Thread Duane Lakoduk
Herman, Use the link at the bottom and unsubscribe yourself. > please unsubscribe me from the PHP-WIN - mailinglist. > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP-WIN] please help with table again

2003-08-24 Thread Duane Lakoduk
Ok, try this; "; for($y=1; $y<6; $y++){ print "".($y+$lastcol).""; } print ""; $lastcol=$y; } ?> php, Duane -Original Message- From: Thomas Edward Lawrence [mailto:[EMAIL PROTECTED] Sent: Saturday, August 23, 2003 11:57 PM To: [EMAIL PRO

RE: [PHP-WIN] Security Alert when trying to access a php file

2003-08-04 Thread Duane Lakoduk
If you read the php.ini file where the cgi.force_redirect variable is set, it states that this MUST be turned off when running under IIS. Try this ; cgi.force_redirect is necessary to provide security running PHP as a CGI under ; most web servers. Left undefined, PHP turns this on by default. Yo

RE: [PHP-WIN] how to connect to a php sever through a net work

2003-07-25 Thread Duane Lakoduk
You need to set up IP Forwarding on the router/gateway if you want to "see" your internal server which most likely has a non-routable ip address. Do a search on this or ask your administrator to configure port 80 to forward requests to your internal server's ip address, which "must" be static. Th