HomeSite 5.0 is another good editor for HTML with a nice php parser. Isn't free but
you can download a trial copy from www.macromedia.com
regards,Alb
-Messaggio originale-
Da: Russell Griechen [mailto:[EMAIL PROTECTED]]
Inviato: venerdì 3 maggio 2002 1.25
A: Sukhwinder Singh; [EMAIL PRO
Hi
At the cost of sounding dense...wouldn't POSTing the variables solve the
problem. Then the user would not see them in the URL.
[EMAIL PROTECTED] (Matt Parlane) wrote in
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:
> Hi...
>
> The problem comes when you are mixing variables recieved from t
Hi...
The problem comes when you are mixing variables recieved from the HTTP
request, and your own user variables. Consider the following code:
function authenticate_user(){
if($password == 'secret'){
$authenticated = 'yes';
}
return $authenticated;
}
If someone passes the variable a
Here you go:
$string = substr($string, 0, -4);
Ross
-Original Message-
From: RS Herhuth [mailto:[EMAIL PROTECTED]]
Sent: 04 May 2001 02:06
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Simple string function help needed
List,
This is an easy one but I'm under the gun and need some help.
List,
This is an easy one but I'm under the gun and need some help.
I have a situation where I need to trim the last four elements of a string
off from a variable.
Examples of what the string will look like(teses are known, trusted values
and won't change):
$string = "Atlanta CEO"
$string = "L
CoffeeCup at http://www.coffeecup.com has a Linux Version of CoffeeCup
Html Editor.
You can download a Trial copy to see if it works for you.
I am thinking of making a Linux box...if you do check it out ...please
post your evaluation.
I have used the Windows Version for several years.
Russell Gr
It's been a while since I've done a 'for' statement...
Here's my new working code:
".date("F",mktime(0,0,0,$i
))."\n";
}
?>
I found that you have to put quotes around the date() paramaters (like
date("m") instead of date(m)) or PHP will put an error message in your
error.log file in Apache (2.0
php-windows Digest 2 May 2002 22:16:48 - Issue 1124
Topics (messages 13482 through 13497):
Re: PHP and Java
13482 by: Sandeep Murphy
zip functions
13483 by: Michael Dransfield
Re: Access databse
13484 by: Paul Roberts
window.open and php...
13485 by: Sande
you make two mistakes. let's see the correct code:
for ($i=1;$i<=12;$i++)
{
if($i == date(m))
//first here ^^^ (must be == not just one "=")
{
$selected = " selected";
}
//here is the second: if $selected ="selected" for $i=4 (may) $i will be
remain selected for all month
you have to setup the directory for sessions in your
'php.ini' file.
It defaults to '/tmp', which is *not* a subdir, but
a root-dir (AFAIK), so either create "C:/tmp" or
set it to something else.
---
Scott Hurring
Systems Programmer
EAC Corporation
[EMAIL PROTECTED]
Voice: 201-462-2149
Fax: 20
Hi All
I am a PHP newbie. I don't understand why global variables are turned off by
default in PHP4.2.0... something to do with security. Could some one please
help me understand how it's a security issue. Thanks
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
I am learning PHP from the Greenspan and Bulger book, on a Windows
development system using PHP 4.1.2 and Apache. All has worked fine until I
got to sessions. This simple program:
produces this output:
Warning: open(/tmp\sess_d7e26c0283f94a430da8f7fc4138ca21, O_RDWR) failed: No
such file or dir
I gave that a try and it still didn't work for me. I noticed in the PHP
documentation, one
individual wasn't able to use printer_write() in Win98. Is it possible that the
printer_set_option() isn't working in Win98?
I've also tried re-arranging in other ways, and also simplifying the code so i
hi
im having the same problem
i have even tried re-writting all the tags but it
still doesnt work
secondly i have to save the inputs from the form
fields in a ".xml" file i did that in asp ... i
dont know how to get about it in php the book
only talks bout writting a
Ok as i said before the only cookie being written is the last call to
setcookie
I'm using Php 4.2.0
Apache 2.0.35
Windows XP
I'm setting the cookie like:
setcookie("dawg_tag", "test1", time()+(24*3600*365));
setcookie("dawg_visits", "test1", time()+(24*3600*365));
setcookie("dawg_session", "test
I am using PHP 4.2.0 and I am trying to set some cookies. The problem is
only the last one get set. Yes the cookie names are different. Any ideas?
--Chris
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thnx guys..
works now..:)
-Original Message-
From: Mike Flynn [mailto:[EMAIL PROTECTED]]
Sent: quinta-feira, 2 de Maio de 2002 16:46
To: Sandeep Murphy; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] window.open and php...
Ok.. try this.. your commas, quotation marks, plus marks, etc are al
Ok.. try this.. your commas, quotation marks, plus marks, etc are all
messed up.
var winMy;
function ope(page,wid,hgt){
winMy = window.open(page,
'winMy','height='+hgt+',width='+wid+',channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,t
hi,
What you have suggeste is exactly what I am doing.. however the function
ope() accepts only the URL and ignores the width and height... and sometime
it accepts the URL and the first parameter alone... I hv checked and
rechecked the code and cant find whats wrong with it
any more suggest
Ummm are we talking JavaScript or PHP here? Opening windows is a function
of JavaScript, being that is occurs on the client side and not the server
side. If you call ope('stuff.php', 100, 200) somewhere in your page, then
your function will work fine. There are a number of ways to have PHP
hi,
I hv a problem related to the window popup and my php script..
I need to send values for the widht and height dynamically thru my php like
the fwg:
function ope(page,wid,hgt){
//open (page, "page",
"height="+hgt,"width="+wid,"channelmode=0,dependent=0,directories=0
go to
Start > programs > administrative tools > Data Sources (ODBC)
then set up a system DSN, as the php user will need to access it.
the dsn name will then be the Data source name (= string dsn).
in
odbc_connect(string dsn, string user, string password [, int cursor_type)
i found that if you se
Does anyone have a working version of php with zip functions enabled.
I do not have a c compiler on windows and i cannot find the php_zip.dll
anywhere.
Do i just need the dll or do i need it compiled into the binary as well?
(i am using a cgi version for php-gtk)
Can anyone help?
--
PHP Wi
hi,
chk out the following in ur PHP.INI file... the php_java.dll file shud be
enabled and also chk out the config under the java tab... hv pasted below
the config that works for me.
gud luck,
sands
extension=php_java.dll
[Java]
;java.class.path = .\php_java.jar
;java.home = c:\jdk
;java.li
php-windows Digest 2 May 2002 10:01:29 - Issue 1123
Topics (messages 13465 through 13481):
Running PHP as CGI
13465 by: Matt Babineau
13466 by: Christoph Grottolo
13468 by: Shane Caraveo
13470 by: Robin Bolton
13471 by: Shane Caraveo
Re: Php on windo
I'm trying to run a program using exec but no matter what I do I keep
receiving a persistent unable to fork error.
I currently have:
exec("command.exe", $misspells);
which gives me an error, so tried
exec("cmd /c command.exe", $misspells); and even
exec("C:\WINNT\system32\cmd.exe /c command.exe",
26 matches
Mail list logo