John Nichel wrote:
I haven't fully researched it yet, but our domains were just hacked, and
from the looks of it, the attack came in thru phpBB. This morning,
around 9:00am, I upgraded our webserver to php v4.3.10 from v4.3.9 due
to potential security risks, and at 11:30 it looks as if the atta
John Nichel wrote:
I haven't fully researched it yet, but our domains were just hacked, and
from the looks of it, the attack came in thru phpBB. This morning,
around 9:00am, I upgraded our webserver to php v4.3.10 from v4.3.9 due
to potential security risks, and at 11:30 it looks as if the atta
Reuben Sant wrote:
Hi,
Is there a way to convert any character to it's HTML xx; equivalent in
PHP?
For example A is the letter "A" where the number 65 represents it's
ASCII code.
This may help. It's a function from Tom Rogers, or was it Tim Rogers,
I can't remember.
function clean_ms_word(
David Robley wrote:
[EMAIL PROTECTED] (Frank Tudor) wrote in
news:[EMAIL PROTECTED]:
Hi folks,
Sorry for the inturruption.
I'm looking for a part time sysadmin in the DFW area.
Just out of curiosity, where the hell is DFW? I gather it's not near
Ridgehaven.
I'm going to guess DFW is just
Adam Voigt wrote:
Actually this is not true. For example:
$test = "22";
if(is_string($test))
echo "IS A STRING";
Will print "IS A STRING".
Try
$test = 22;
The " denotes a string and without quotes it denotes a value
HTH,
Roger
--
PHP General Mailing List (http://www.php.net/)
To u
You assign it to a hidden field in your form
in your PHP:
$formName = $_POST['formName'];
of course, this would have to be accomplished BEFORE the form is
submitted. Not sure if that is what you are looking for or not...
HTH,
Roger
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
Also, when I use that code in my scripts, if there are any variables
(arrays too) that are in existence with no value:
$someVariable = "";
it will throw a warning on the screen.
First time I saw that I went into panic mode thinking that I had a huge
amount of errors/warnings...
You are also g
Hello,
I changed the title of this email so it doesn't thread hijack...
I use a simple function like this to turn on and show warnings and
errors. It's my understanding though, if the error is catastrophic, it
will not be displayed on the screen no matter what you do. Not sure
about that tho
Mike Mapsnac wrote:
I have a table that has 5 cells and each cell has a link.
So when I click on a cell , the visited cell will get background color.
In other words, when I click on the cell the color of the cell changes.
I often see post here that are not so PHP related. This is due to the
fac
Tom Meinlschmidt wrote:
simple use fopen() or file()
as $fp = fopen("http://somedomain/some.url?blablah","r";);
and read via fread()
Then I replied with:
Perhaps I was mistaken, I thought:
$fp = fopen("http://somedomain/some.url?blablah","r";);
fread();
Would just return the actual HTML c
Tom Meinlschmidt wrote:
simple use fopen() or file()
as $fp = fopen("http://somedomain/some.url?blablah","r";);
and read via fread()
Perhaps I was mistaken, I thought:
$fp = fopen("http://somedomain/some.url?blablah","r";);
fread();
Would just return the actual HTML code of the page and NOT
Hello,
I have this application which is accessed via a web portal. The first
thing my application must do is make sure the visitor is logged in via
the portal. The only way to do this is by making a request to a
specific URL. This URL (which includes the log in cookie id) will
return XML to
Hello List,
I am using the following in a PHP script:
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("P
Another big one is Jello
It's a brand if I'm not mistakenthe product is gelatin
Jello brand gelatin
but all forms of pudding and gelatin are sometimes referred to as Jello...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Here is a real code solution instead of my original posted client
solution
My original problem involved text submitted via the good old fashion
in a web form. If a visitor created their text in MS-Word
and then cut and paste their text over to the web form and submitted,
any place within
Hello Everybody,
I have found a solution and/or the root of the problem. I googled on
the topic of "MS-Word" + "smart quotes".
That lead me to this site:
http://www.rpgtimes.net/rpgtimes/guide.php?guide=1
It seems that the default for Word is to have smart quotes to "on".
When you have smart q
Marek Kilimajer wrote:
> I don't know what the character is but if you paste it into the
> textarea, ord() will tell you.
>
When I run ord(), it returns the value of 19. I'm guessing that is a
hex value. And when I look that up on the ascII table, it says:
19 DC3 (Device Control 3)
For some rea
s returning...
Thanks for the tip(s)!
R
Roger Spears wrote:
Hello,
This question may border on OT...
I have a web form where visitors must enter large amounts of text at
one time (text area). Once submitted, the large amount of text is
stored as a CLOB in an Oracle database.
Some of m
Hello,
This question may border on OT...
I have a web form where visitors must enter large amounts of text at one
time (text area). Once submitted, the large amount of text is stored as
a CLOB in an Oracle database.
Some of my visitors create their text in Ms-Word and then cut and paste
it i
Jas wrote:
> I think I must be missing something but this command isn't renaming the
> file specified... Pointers, tips appreciated!
>
> system("rename('/path/to/new.sh', '/path/to/old.$today')");
>
> /to directory has permissions set to current user and is also owned by
> the current user (test_
Lowell Allen wrote
So, I think you need to pass rename parameters that are file locations.
HTH
--
Lowell Allen
Thank you!!!
I was not in tune to what was happening. You are correct. You must
pass file locations and not just file namesonce I passed the
locations, the warning went away
Lowell Allen wrote:
Try using $HTTP_POST_FILES['uploadedFile']['name'] instead. I wasted a bunch
of time yesterday with an upload script that did not recognize files when
using "$_FILES", but worked fine with "$HTTP_POST_FILES" -- PHP 4.3.4 on
Linux.
Thank you for the suggestion. Unfortunately, i
Hello,
I have this magical script which uses rename. A visitor to the site
uploads a file and I want to rename it to a timestamp. Oddly enough,
the rename() function actually works, it renames the file AND then
generates a level 2 warning:
Error code: 2
Error message: rename() failed (No suc
The first time I sent this message to the list, this is what bounced back...
"Hi. This is the qmail-send program at pb1.pair.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<[EMAIL PROTECTED]>:
Th
Hello,
I've been researching this for most of the day and am unable to find an
answer.
I'm using fgetcsv to read a comma delimited file (Microsoft Excel CSV).
I'm trying to create a PHP application which will read a csv file line
by line, remove the commas and preserve the padding that is in
That is funny stuff..I often wonder why no one ever cracks jokes or
makes a connection...
John W. Holmes wrote:
John Nichel wrote:
Hey, I beat John Holmes
You mean you're bigger than 14 inc... err, nevermind, you're talking
about something else...
--
PHP General Mailing List (ht
WTF does all this mean?
Hi. This is the qmail-send program at pb1.pair.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<[EMAIL PROTECTED]>:
This message is looping: it already has my Delivered-To
Sorry if this is a double post or if it's already been talked about.
I just found out a few moments ago that http://www.dotgeek.org/ is
having a php programming contest/marathon in November. Here's the link:
http://www.dotgeek.org/?q=node/view/9
Thanks,
Roger
--
PHP General Mailing List (http
Tried that. Unless I overlooked something, the PDFlib.com docs were of
no help.
Thanks,
Roger
Curt Zirzow wrote:
* Thus wrote Roger Spears ([EMAIL PROTECTED]):
Hello,
I have read the http://us4.php.net/manual/en/ref.pdf.php and am unable
to find a solution for what I'm trying to do.
Hello,
I have read the http://us4.php.net/manual/en/ref.pdf.php and am unable
to find a solution for what I'm trying to do. I've also tried googling
for what I'm trying to do. No luck there either. I've also downloaded
the PDFlib docs but no luck there.
When using PDFlib you specify page di
Hello,
I was wondering if anyone has had any level of success with printer
functions.
I'm trying to get the following code to work:
I get the following error: "printer_open() is an undefined function".
I'm guessing that the printer functions were never installed with my
version of PHP?.?.?.
ed
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
// HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
// HTTP/1.0
header("Pragma: no-cache")
Hello,
I've googled to try to find an answer to this. I've also checked the
php.net site. Perhaps I'm not using the correct search parameters. The
only suggestion I've found is the following code:
But this doesn't seem to solve my problems.
My problem/question is as follows.
I have an ema
and please, could we turn off the "email receipt requested" before
sending messages to this list??? I find them most annoying and time
consuming for a list this large.
Thanks,
R
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm sorry for the double post. Other then letting both lists know this
was solved, it won't happen again. Sorry.
Thank you for the solution!
I new it was simple. I've been staring at it too long. Fresh eyes
always helps!
Thanks again,
Roger
You are making the fetch twice, and not using the
Hello,
Can anyone from the lists please tell me why this bit of code is not
picking up on the first record in the database? If the 'id' I'm looking
for is '1' it doesn't populate the _SESSION variables. Any 'id' greater
then '1' will populate the _SESSION variables.
$q = "SELECT * FROM emplo
test, please delete
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
37 matches
Mail list logo