Thanks everyone!
-Original Message-
From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2003 13:40
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Display strings with single quotes
> On Thursday 20 February 2003 20:26, Ernest E Vogelsinger wrote:
> > At 13:16 20.02.2003, Tom
Hi all,
Have simple but annoying issue, I want to display a string within an
input field. This string contains ' & so when it's being display the,
anything after the ' is being left out. Here is the code I'm using:
$string = str_replace("'", "''", $string);
$string = stri
My mistake Kevin, I did not put the full path of the shell script into the
$script variable.
Thanks very much for your help
Dave
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 18 February 2003 14:21
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] H
Hi Kevin,
Thanks very much for your reply, but I'm having no luck with it. In
the test that I'm doing, I'm using the same code as you provided. It's on a
Solaris system & the permissions & ownership of the shell script is correct.
The shell script is also located in the same directory as t
Hi everyone,
How can you execute UNIX scripts from PHP. If somebody could let me
know it would be great.
Thanks
Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I want to copy an already existing directory structure with generic
files & then rename it while keeping it's permissions, but I was unable to
find a suitable function in the manual to carry out this operation. Can
anyone help me with this please.
Thank you
Dave
--
PHP General M
Thanks Rick & Henry, but I am still unable to add single quotation marks '.
When I added the \' to the variable as given below (thanks again Rick) I get
the following error when trying to add anything, regardless of ':
Warning: Ora_Parse failed (ORA-00911: invalid character -- while processing
OCI
Hi All,
I'm trying to add a variable to an oracle database but it fails due
to the fact that it contains quotation marks. These have to be present for
the end user. My Script is as follows:
===
if ($conn == true)
{
Hi all,
The problem is nearly solved. I need my if statement to read the
last character from the file & if it ends with an o, then remove the one
character. My current if statement allows the action to take place if there
is an o anywhere in the file. Can somebody help me with this.
M
Hi all,
How can I remove the last character from a one line file?
i.e. I need to change Jacko to Jack
I would really appreciate a response on this!
Thank you!
Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
Here's an example code I use
\n");
// get each entry within the directory & return to user with the
link
$myDirectory = dir(".");
while($entryName = $myDirectory->read())
{
if ($entryName != "." && $entryName != ".." && $entryName !=
"index.php"){
11 matches
Mail list logo