I've not been able to find anywhere a good use of the pfpro
functionality in PHP. No where do any of the scripts ensure that the
script goes through it's full execution.
One person's solution was just to exec the pfpro binary in the
background, passing it the necessary arguments. This seems i
I set up a PHP4.3.3/mySQL4.0.14/Apache2.0.47 server and everythign is
configured and running properly. i tested php with some scripts and
functions and they all work. When i try and do any file editing/including in
scripts i get file not found errors all over the place when i open like
$DOCUMENT_RO
dex on line ..." I
only get this warning if I want to extract IP numbers from my DB. Does
anyone knows why I get this warning ?
Thanks,
Eelco
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
rums,
etc...
I have VB, Delphi, and C programming experience, so I'm hoping it won't be
too hardcore. :)
Cheers,
- Geoff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the lis
Juan,
Are you trying to do so from inside a PHP script?
If that is the case, you could do:
$entry = "$min $h $d $m $s $command $comment";
$added = system ("echo $entry >>
/var/spool/cron/tabs/$user", $retval);
if ($retval) {
echo "success";
} else {
echo "failure";
}
Please notice th
Hi,
I am trying to compile PHP with GD support.
My config line is:
./configure --prefix=/data/PHP\
--with-config-file=/etc/php.ini\
--disable-debug --enable-safe-mode\
--with-mysql=/data/MySQL_4.0.21\
--with-openssl=/data/OpenSSL\
--with-apxs2=/data/Apache/bin/apxs\
--with-gd\
--w
Readers,
Copy below of message sent 15 August to php install digest list, but
to date not including in mail archive?
The tutorial example:
php test
Hi, I am a PHP script';
?>
this is a test
I changed the code as follows:
php test
Hi, I am a PHP script";
?>
this is a test
The result (http://localhost/test.php):
Hi,
On 18/08/2010, chris h wrote:
> php is not processing the file. There's a few reasons for this, but the
> first thing I would check is the permissions of the file. From the
> directory try
>
> $ ls -oa
>
The file permission was confirmed as root, since it was copied (as
root) from a normal user
On 18/08/2010, Peter Lind wrote:
> On 18 August 2010 12:47, e-letter wrote:
>> On 18/08/2010, chris h wrote:
>>> php is not processing the file. There's a few reasons for this, but the
>>> first thing I would check is the permissions of the file. From the
&g
On 18/08/2010, chris h wrote:
> What are the actual file permissions when you run ls -o?
>
root
>
> Do you know if PHP is installed as an apache mod or cgi? Also you might
> check what user apache is running as.
>
No. How to verify?
> possibly...
> $ vi /etc/apache2/envvars
>
No apache2 on my com
On 18/08/2010, chris h wrote:
> On Wed, Aug 18, 2010 at 7:10 AM, e-letter wrote:
>
>> On 18/08/2010, chris h wrote:
>> > What are the actual file permissions when you run ls -o?
>> >
>> root
>>
>
> What's the entire output of ls -o?
>
[r
On 18/08/2010, Ashley Sheridan wrote:
> On Wed, 2010-08-18 at 12:10 +0100, e-letter wrote:
>
>> On 18/08/2010, chris h wrote:
>> > What are the actual file permissions when you run ls -o?
>> >
>> root
>> >
>> > Do you know if PHP is instal
On 18/08/2010, Bob McConnell wrote:
> From: e-letter
>
>> On 18/08/2010, chris h wrote:
>>> On Wed, Aug 18, 2010 at 7:10 AM, e-letter wrote:
>>>
>>>> On 18/08/2010, chris h wrote:
>>>> > What are the actual file permissions when you r
On 19/08/2010, David McGlone wrote:
> Yes it is. But your computer needs the correct software to view that php
> file in a web browser as if it was a web page. If you do not have this
> software installed, then the web browser will ask you if you want to
> download the file instead.
>
The web bro
On 19/08/2010, David McGlone wrote:
> On Wed, 2010-08-18 at 23:08 +0100, e-letter wrote:
>> On 18/08/2010, David McGlone wrote:
>> > On Wed, 2010-08-18 at 21:54 +0100, e-letter wrote:
>> >> On 18/08/2010, David McGlone wrote:
>> >> >
>> >
On 19/08/2010, Ashley Sheridan wrote:
> I think it's fairly clear that for whatever reason, PHP isn't properly
> configured with Apache. You've mentioned you're using Mandriva, which,
> coincidentally, is what i've just recently installed on my home machine.
> It has a very good graphical package
On 19/08/2010, Ashley Sheridan wrote:
> As Colin suggested on another email, check to see if apache-mod_php was
> installed too. It seems likely that it wasn't for some reason.
How to verify please? Also, the instruction to use task-lamp; it seems
this is for mysql but the database to be used is
On 19/08/2010, HallMarc Websites wrote:
> I agree with the earlier take on this situation; you need to start at the
> beginning and learn the basics regarding the technologies BEFORE you try and
> manage them. You're trying to drive a car when you don't even know what or
> car is and how to operat
On 19/08/2010, Ashley Sheridan wrote:
> No, because Apache doesn't need to process HTML in the same way it needs
> to process PHP. The tag browser as HTML (view the source on the page you're browsing to) and
> interpreted as a tag by your browser, hence what appears to be partially
> processed ou
On 20/08/2010, Ashley Sheridan wrote:
> You don't have to reinstall the entire OS, that's a very Windows
> approach to the problem. I played around a bit last night with urpmi and
> you should be able to just list the packages you need with urpmq --fuzzy
> package_name, and then install the ones l
Readers,
A postgresql database (local disk installation) is successfully
accessed as a normal user:
psql -U username databasename
However, creating a php file to access the database has not been successful.
why does this fail?
The followin
On 30/04/2011, Daniel Brown wrote:
> Readers? Sounds like you spend too much time writing newsletters
> (to the wrong address, since php-general-digest-h...@lists.php.net is
> a self-help command list for digest-form subscriptions). ;-P
>
> On Sat, Apr 30, 2011 at 04:41,
The file was changed:
... $value=pg_fetch_result($query,1,1);
echo 'all files' . var_dump($value);
...
The resultant web page produces:
bool(false) all files
The php file was changed again:
... $value=pg_fetch_result($query);
echo 'all fi
The query was:
$query = 'SELECT * FROM databasetablename';
So, database access seems to be the problem. Using the superuser
account 'postgres', a user 'httpd' was created and all privileges were
granted to the target database using the postgresql 'grant' command.
However the user 'httpd' is not t
>
>Here's the URL of the relevant manual page:
>http://www.php.net/manual/en/function.pg-fetch-result.php
>
The manual page did not explain the purpose of the text 'die', so was
ignored (;)). Anyway, the php code was amended as follows:
The result is a web page which shows:
list of fil
Readers,
Looking through the mail lists archives, only the following message
seems to advise about the possibility to use gnuplot:
http://marc.info/?l=php-general&m=96248542218029&w=2
Is it possible to start gnuplot using php, to plot a graph from
postgresql data. For example, a table is created
Hi all,
I wanted to share with you that we have (finally!) a version of BrowserHawk
that works great with PHP. There is nothing to install to use it either.
Its called BrowserHawk To-Go (BHTG) an integrates instantly with any PHP
page(s) just by including a single line of code in the page. See
w
in, so it will be ours.
_YOU_ have to pay, _WE_ own the domain.
Wonder who would patent this.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$pdag[$n];
echo $$temp;
or
$temp = $$pdag;
echo $temp[$n];
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 02:05 24.11.2002, empty said:
[snip]
>i have string like: "string";
>
>how can i get variable $string;
[snip]
$var = 'string';
$$var will resolve as $string
--
>O Ern
At 08:47 24.11.2002, Jean-Christian Imbeault said:
[snip]
>Ernest E Vogelsinger wrote:
> >
>> if ($_COOKIE[$_SESSION['cookie_name']] == $_SESSION['cookie_token']) {
>
>Ok, please forgive my ignorance, but in PH
...
[snip]
You're quite right :=
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
o comments.
I have no profiling yet how much having comments or blank lines would
actually effect execution times, but I doubt it would be really an issue
since PHP, once a comment start is encountered, doesn't parse the text but
just scans for the end-comment tag.
--
>O Ernes
these loops, be it an
end-of-line comment, an inline comment, or no comment.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
runs locally and gets contacted by
the applications, or even some shared memory... choose your ways, but keep
your data at the server's.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
he very last bottleneck
that ever would occur; the database times add up much quicker than any
session file i/o would ever be able to.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
than having no comments in them *g*
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
chown root:apache, chmod 640 *).
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
away because it is expired...
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
an uncached form could still be populated by your script when using
session variables.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e("D, d-M-Y H:i:s \G\M\T", ($time));
header("Set-Cookie: $name=$value; expires=$date; path=/;");
} else {
header("Set-Cookie: $name=$value; expires=" . time()+$exp . ";
path=/;");
}
return true;
}
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
at Alex was talking about a search
form. Search forms are often used on "normal" static web pages _without_
the help of sessions... that's the reason.
Rest assured I know about sessions in PHP :)
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://
he script "getimg.php" would need to issue the appropriate cache
directives to allow caching.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rection problems on IIS
where I had to resort to
header('HTTP/1.0 302 Moved');
header)'Location: blah');
Don't know if this helps in your case.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Moved
Location: blah
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
en reads all necessary data, including last login, user rights, etc
etc, from the DB, sometimes updates a user cookie, depending on the app. DB
is checked only once.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing Li
overloaded
constructor both times.
What you might do to distinguish which "overload" has been called:
function A($string=null) {
if (!isset($string))
echo "Default constructor A()\n";
else
echo "Overloaded constructor A($st
sion yields true if 1-3 are not-empty AND four is an empty
string. Not sure if that's what you want.
All empty:
!($lineone || $linetwo || $linethree || $linefour)
--or--
!$lineone && !$linetwo && !$linethree && !$linefour
All set:
$lineone &&am
At 16:45 26.11.2002, Chris Shiflett spoke out and said:
[snip]
>--- Ernest E Vogelsinger <[EMAIL PROTECTED]> wrote:
>
>> At 13:50 26.11.2002, [EMAIL PROTECTED] said:
>> >if ($lineone && $linetwo && $linethree &
ery strings.
Just check with the W3C HTML Validator: http://validator.w3.org/
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
st page for all to check out... nevertheless,
here it is:
http://www.vogelsinger.at/test.php
Simply provides a link using query parameters encoded with &, to check
with different browsers. Maybe someone will check this outwith his browser
anyway.
--
>O Ernest E. Vogelsinger
done online manual at http://www.php.net/manual/en/.
Regards,
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lready there,
check it out with "locate php" or "whereis php".
For Win32 there are prefab'ed binaries, including an installer,
downloadable at PHP's web site: http://www.php.net/downloads.php
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
Hey all,
Not exactly sure why this fixed it, but when I upgraded the PHP on the NT4
server to PHP 4.2.3, everything worked as I had hoped. I plan on looking
into it more, but I just thought that I would let you all know in case
anyone else comes across a similar problem in the future.
--
___
mber function on a non-object
[snip]
Just as the error message says - you're trying to execute a function
(like $hObj->foo()) where there's no such function.
Would be helpful if you posted some code where the error arises...
--
>O Ernes
thorized']);
This will create a "unique" realm due to the use of date/time, so when the
user logs off he will be presented with a 401 response, even if the browser
has cached the login info from the previous login attempt. Another realm,
another game.
Disclaimer: untested, as usual.
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
oblems _refusing_ upload (except size exceeds, of
course) in the online manual. I only found that browsers can be directrd to
easily circumvent the limit (save html locally, edit form action to point
to your server, edit max_file_size, and there you go...)
Try the above hints and tell us abo
grammer, but you certainly lack style and
social skills.
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
write some log file at the very beginning of your script to
see if the web server runs your script, or not (what I assume).
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
At 20:11 27.11.2002, Ernest E Vogelsinger spoke out and said:
[snip]
>Ooops - you should normally only get this with GET requests where the max.
>query string size is exceeded - I'd check the Apache docs though... seems
>positively to be connec
At 20:18 27.11.2002, Ernest E Vogelsinger spoke out and said:
[snip]
>Error 413 certainly denotes that the web server refuses to handle the
>request. No idea how to configure this value but I'm sure it can be done
>with Apache. I see a be
www" user is member of.
In short - if you can create the file, you can delete it as well. (At least
that's what I've learned).
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
an be created on the fly
(dynamically) by PHP.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ariables of
their choice into PHP, making any script more than unsafe. Having it
switched off allows YOU to control the data that you work with - an
absolute MUST unless you're begging for trouble, IMHO.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.
$input = $aresult[3];
}
// $input has the rest of the line
array_push($tokens, explode(' ', $input));
return $tokens;
}
Disclaimer: untested as usual. _Should_ behave like this:
$string = "\"search for this sentence\" -NotForThisWo
At 23:11 27.11.2002, Ernest E Vogelsinger said:
[snip]
>If I understand you correctly you want to isolate either quoted strings
>(with or without whitespace), or tokens separated by whitespace, as array
>elements?
>
>For this you would first
ot;http://www.healthtvchannel.org/courses/pay/data/test.xml";;
$fp = fopen($dataFile, "rb");
$strFile = null;
while ($chunk = fread($fp, 524288)) // 512 kB chunks modify as needed
$strFile .= $chunk;
fclose($fp);
HTH,
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
$c != chr(13) or $c != chr(9)) {
$isbinary = 1;
/* >>> */ break;
}
}
}
return $isbinary;
}
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of thumb, always pass REFERENCES when
you're dealing with object handles.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
be ready to go!
[snip]
Sounds fine - did you restart Apache?
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ray,
isn't it always easier to omit some functionality you don't need than to
reinvent the wheel? You get the source code anyway, so why don't you just
use one of the solutions you found, learning how they did it, and learning
a lot of other useful stuff too?
--
>O
hould study the SOAP protocol (a.k.a. WebObjects) - this protocol is
intended to let servers - even remote ones - work cooperatively together.
It's good stuff IMHO, despite the fact that M$ is hooked on it with C# and
.net.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ h
matches), or is
outdated (serial number mismatches), for what reason ever, be it a refresh
or the user stepping back and resubmitting.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ld:
function submitForm(form) {
document.forms[form].submit();
window.opener.location.reload();
window.close();
return true;
}
...within your form code...
...your form contents...
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogels
ry again. If it works
then, shoot them.
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
eneral
This is listed at the PHP home page, when clicking on "mailing lists",
"general/Archive(yes)".
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
server and appending xml
>data right after the header. I need access to the xml blob.
[snip]
Not sure if this gives you the posted data, but you could try
$_SERVER['QUERY_STRING']. Or simply print_r the $_SERVER array to check if
it is available.
ints out fine"?
However, this gives exactly what you want:
Output for both cases:
1024x768
1024x768
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
blanks in a search argument.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey all,
I know this has been asked before, and I have tried many of the
solutions that were posted in the mailing archives, and also did some
googling. But I can't seem to eliminate some new line characters from a
string. Here is the scenario:
1. A user inputs some text into an form and sub
Already tried that. Doesn't seem to change anything.
- Original Message -
From: "John Wards" <[EMAIL PROTECTED]>
To: "Joshua E Minnie" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, December 05, 2002 10:48 AM
Subject: Re: [PHP] Newli
INFO |
+---+
| PHP v. 4.2.3 running on Win 2000 / IIS 5 |
| MySQL v. 3.23.49 running on RedHat 7.3/Apache |
+---+
>"John Wards" <[EMAIL PROTECTED]> wrote:
>On Thursday 05 Dec 2002 3:48 pm, Joshua E Minni
no tag defined in HTML, or XHTML, that would do what you need.
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nction, but don't fully
>get it. I'm hoping that
>someone can help clarifying it.
>
>
>Is there a better way to do this? Am I missing something?
>Please help.
>
>-john
>
>=P e p i e D e s i g n s
> www.pepiedesigns.com
> Providing Solutions That Increase
7;)
a dot before
anything without a dot before (grouped, 'preext')
starting with a dot
The group will contain the preextension.
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;q=input. Any ideas?
>
>action=\"$PHP_SELF?action=change&id=$id&q=input\">
[snip]
Most certainly register_globals is off in your php.ini file. Try using
$_SERVER['PHP_SELF'] instead of $PHP_SELF.
--
>O Ernest
2 as "data1", 'hello world' as "data2"
FROM users where username='myUsername';
should do it (untested on mySQL)
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
re* trying to use it?
>
>--
>Jason Wong -> Gremlins Associates -> www.gremlins.biz
>Open Source Software Systems Integrators
>* Web Design & Hosting * Internet & Intranet Applications Development *
>
>/*
>Fay: The British police force used to be run by me
rity on how documents look like.
For example, in Internet Explorer, you may go to Extras/Options/Advanced
and specify to print (or not) background colors or images. In Netscape this
option exists in the preferences dialog.
There's no way for the page to override the agents settings.
--
y ($_SESSION['count']) to handle session persistent data:
html_begin ($title, $header);
if (!array_key_exists('count', $_SESSION)) {
$_SESSION['count'] = 1;
}
else {
$_SESSION['count']++;
}
end then
r).";";
> }
> else {
>$output_string .= $char;
> }
>}
>
>You may need to test for value 127 ... not sure if it starts on 0 or 1
>that is...
[snip]----
preg_replace('([\x80-\xff])/e', '&#'.ord(
Renée Zellweger becomes Renee Zellweger.
[snip]
$chars_in = array('Á',''á','É','é'); // you get it
$chars_out = array('A','a','E','e'); // this too
preg_replace($chars_in
I suspect (but could be wrong) that you aren't quoting these values in
your forms. Be sure that you are using...
Larry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You where nothing but right. I didn't know that PHP's html HAD to have
all of the quoting right for PHP to work properly.
Glad it's working but, just to clarify, this is an HTML issue, not a
PHP one.
Best wishes,
Larry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
does anyone have the code to where i can have the time
printed on my home page like for example
Monday, January 19, 2003
The PHP Manual has this code, under the date() function
(www.php.net/date).
echo date ("l, F j, Y");
also I want to have it state when the users login in
it says
welcome b
>>
>> but i see a single line instead of:
>> -line1
>> -line2
>> -line3
[snip]
Use nl2br(), something like:
echo '', nl2br(htmlentities($string)), '';
This should give you the results you need.
--
Does someone had a speed trouble when using PHP and Oracle with OCI ??
The trouble i have is that the php pages are slower and slower during
the
day.
It looks that if I make an apache restart things restart in a good way.
I don't understand where the trouble come from.
I've seen this once before
outside the tag, without an
attribute, just plain:
Print '',
htmlspecialchars($row['OrgName']),
'';
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in php-4.3.0. but the value is displayed in
>php-4.2.2 version.
[snip]
Perhaps the 4.2.2 server is configured with register_globals on, and the
4.3.0 has set this to off?
Try
--
>O Ernest E. Vogelsinger
(\)ICQ #13394035
1 - 100 of 1161 matches
Mail list logo