Are you a spammer? (I found your email on a spammer website!?!)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Fletcher Mattox,
urlencode the string before set the cookie
or
replace array(' ',urlencode('/')) to array('+','/')
Best regards,
=== At 2007-02-07, 15:59:13 you wrote: ===
Hi,
A campus web server (not under my control) returns an authentication
string in a cookie
what's this qustion ??? where ?
- Original Message -
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Wednesday, February 07, 2007 9:34 AM
Subject: [PHP] Spamed?
Are you a spammer? (I found your email on a spammer website!?!)
ok, Fabio tour computer is infected by W32/MyDoom-AR (worm)
http://www.sophos.fr/security/analyses/w32mydoomar.html
- Original Message -
From: Sébastien WENSKE [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; php-general@lists.php.net
Sent: Wednesday, February 07, 2007 9:39 AM
Subject: Re:
Robert Cummings skrev:
On Tue, 2007-02-06 at 23:45 +0100, Keryx Web wrote:
Could you point out to me where exactly the discussion became about PHP4
versus PHP5? I seem to be smelling the red herring technique of changing
the conversation focus so as to inappropriately lend credence to the
If there's an opera expert around could you please check out the following
link:
http://www.fcviikingit.com/new/testimenu.php
This script contacts a DB and prints out the results as javascript to the
client browser. As I mentioned earlier It works ok with IE, FF, Netscape but
not with Opera.
7 feb 2007 kl. 09.50 skrev William Stokes:
If there's an opera expert around could you please check out the
following
link:
http://www.fcviikingit.com/new/testimenu.php
This script contacts a DB and prints out the results as javascript
to the
client browser. As I mentioned earlier It
ShitSHitSHIT!!!
I had javascript disabled in Opera. The browsed just ignored it's own
settings while brosing my server??? Feeling stopid.
:O
-W
(Just costed me 3 hours)
William Stokes [EMAIL PROTECTED] kirjoitti
viestissä:[EMAIL PROTECTED]
Thanks,
I got the html sorter and the page
It appears to be working fine for me using Opera 8 and 9.10 on WinXP. Have
you fixed it?
If not, check your preferences in Opera. You may have JS disabled for
non-local sites or similar.
Edward
-Original Message-
From: William Stokes [mailto:[EMAIL PROTECTED]
Sent: 07 February 2007
Thanks,
I got the html sorter and the page now passes validation. But still with
Opera 9.02 on WinXP nothing is printed out. (can see the javascript in the
source code though)
This must be some js shit. I just can't understand how the same script(s)
work with the same client pc/browser when
On Wed, 2007-02-07 at 12:16 +0200, William Stokes wrote:
ShitSHitSHIT!!!
I had javascript disabled in Opera. The browsed just ignored it's own
settings while brosing my server??? Feeling stopid.
While it works fine, I get a slew of warnings for your sloppy css since
you don't give units
On Wed, 2007-02-07 at 09:47 +0100, Lars Gunther wrote:
Robert Cummings skrev:
On Tue, 2007-02-06 at 23:45 +0100, Keryx Web wrote:
Could you point out to me where exactly the discussion became about PHP4
versus PHP5? I seem to be smelling the red herring technique of changing
the
Hey all!
Quick question (and hopefully a simple one)
I have a link on a page, when the client clicks that link it should show them a
JS prompt and ask for their name (so far I have done this)
When they write their name, I want that data to be sent to my php script via
AJAX (yes?) so the page
William Stokes wrote:
Hello,
I just noticed when I published a new menu system that it does NOT work in
the ISP hosted server. However it works ok on my test server. Here's the
test I have done all in same client machine (=unchanged browser settings):
works fine in opera 9.10 ubuntu edgy
Ryan A wrote:
Hey all!
Quick question (and hopefully a simple one)
I have a link on a page, when the client clicks that link it should show them a
JS prompt and ask for their name (so far I have done this)
When they write their name, I want that data to be sent to my php script via
AJAX
Robert Cummings wrote:
On Wed, 2007-02-07 at 12:16 +0200, William Stokes wrote:
ShitSHitSHIT!!!
I had javascript disabled in Opera. The browsed just ignored it's own
settings while brosing my server??? Feeling stopid.
While it works fine, I get a slew of warnings for your sloppy css
On Feb 5, 2007, at 2:00 PM, Jochem Maas wrote:
you don't need to use the box - you can install a 2nd copy of
apache and
run php4 on it and use the apache ProxyPass directive to make the
php4/apache
setup available via the apache(2)/php5 [std] webserver.
search the archives for 'ProxyPass'
At 5:11 AM -0800 2/7/07, Ryan A wrote:
Hey all!
Quick question (and hopefully a simple one)
I have a link on a page, when the client clicks that link it should
show them a JS prompt and ask for their name (so far I have done
this)
When they write their name, I want that data to be sent to
Christopher Weldon wrote:
You actually don't even have to run a second instance of Apache. From
what I've heard of other hosting companies doing, you can use the same
Apache installation and run PHP4 and PHP5 concurrently.
However, the only thing you'd have to do is one of the following:
1)
Hello,
on 02/06/2007 01:25 PM tedd said the following:
Demonstrating good English writing skills and having published good
book
reviews in the past gets me preference.
gets me preference ???
Me get any money for this?
Hey, go easy on the non-native speakers...
I'm betting your
Hi all,
Is there a PHP function that parses a string as it was the content of a
PHP file?
I have a CMS application and editors write the news items text into a
text area. Since they have some knowledge of PHP, I'd like to allow them
to insert ? ... ? or ?= ... ? and have the content blocks
Hey - -- -
Would anyone be so kind as to un-stick my brain?
I can't get sessions to work on my development machine (localhost).
They work fine on my testing server (an internal IP). Development:
W2K, Testing Server W2K Server, both using IIS 5, PHP 5.2.
The php.ini SESSION settings are
Myron Turner wrote:
Christopher Weldon wrote:
You actually don't even have to run a second instance of Apache. From
what I've heard of other hosting companies doing, you can use the same
Apache installation and run PHP4 and PHP5 concurrently.
if you use CGI for one of them then yes - but not
- Original Message -
From: Zak Mc Kracken [EMAIL PROTECTED]
Hi all,
Is there a PHP function that parses a string as it was the content of a
PHP file?
I have a CMS application and editors write the news items text into a
text area. Since they have some knowledge of PHP, I'd like to
On Wed, 2007-02-07 at 16:19 +0100, Jochem Maas wrote:
Robert Cummings wrote:
On Wed, 2007-02-07 at 12:16 +0200, William Stokes wrote:
ShitSHitSHIT!!!
I had javascript disabled in Opera. The browsed just ignored it's own
settings while brosing my server??? Feeling stopid.
While
Zak Mc Kracken wrote:
Hi all,
Is there a PHP function that parses a string as it was the content of a
PHP file?
I have a CMS application and editors write the news items text into a
text area. Since they have some knowledge of PHP, I'd like to allow them
to insert ? ... ? or ?= ... ? and
# [EMAIL PROTECTED] / 2007-02-07 09:59:15 +1100:
Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2007-02-06 12:47:47 +0100:
Have been reading posts daily for two months now on the list, and am very
pleased at how informative these can be.
I have noticed, many examples where one is pointed to
Hello,
on 02/06/2007 01:29 PM tedd said the following:
Anyway, since you brought that up, I would like to clarify that this is
often misunderstood issue. Nobody likes ads, including myself. Ads are
obviously necessary to keep the site viable. Otherwise it would have
been closed a long time
Hello,
on 02/07/2007 01:53 AM Richard Lynch said the following:
Demonstrating good English writing skills and having published
good
book
reviews in the past gets me preference.
gets me preference ???
Me get any money for this?
Hey, go easy on the non-native speakers...
I'm betting your
Jochem Maas wrote:
Myron Turner wrote:
Christopher Weldon wrote:
You actually don't even have to run a second instance of Apache. From
what I've heard of other hosting companies doing, you can use the same
Apache installation and run PHP4 and PHP5 concurrently.
if you use CGI
I wrote:
A campus web server (not under my control) returns an authentication
string in a cookie named AUTH. The cookie's value is an encrypted,
base64 encoded string. Unfortunately, when I examine $_COOKIE['AUTH'],
it is clear that all of the '+' characters have been replaced with a ' '
On Wed, 2007-02-07 at 13:49 -0600, Fletcher Mattox wrote:
I wrote:
A campus web server (not under my control) returns an authentication
string in a cookie named AUTH. The cookie's value is an encrypted,
base64 encoded string. Unfortunately, when I examine $_COOKIE['AUTH'],
it is clear
-Original Message-
From: Fletcher Mattox [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 07, 2007 2:49 PM
To: php-general@lists.php.net
Subject: Re: [PHP] base64-encoding in cookies?
I wrote:
A campus web server (not under my control) returns an authentication
string in a
Exactly what I was going to mention, Brad. Here's some more info.
Quoted from PHP manual for urlencode():
Returns a string in which all non-alphanumeric characters except -_. have been
replaced with a percent (%) sign followed by two hex digits and spaces encoded
as plus (+) signs. It is
I have been trying to figure out how to get this to work for a couple of
days.
I need to sort the results of a DB query based on the hierarchy of positions
within an organization. Since they are not necessarily alphabetical, the
best I can come up with is to assign a numerical value in a
Well, kind of ugly but you can do something like this:
SELECT Position, CASE Position WHEN 'CEO' THEN 1 WHEN 'COO' THEN 2 WHEN 'CFO'
THEN 3 WHEN 'HR' THEN 4 ELSE 99 END AS PositionSort
FROM SomeTable
ORDER BY PositionSort
That way you're not creating a whole new table to store the sorting
I have a form that uses Javascript to validate form field entries, and if
they are incorrect it returns an error to the user.
After the Javascript processing is complete, it submits the form to my save
page. However it seems that once the processing is complete and it passes to
the save page,
-Original Message-
From: Dan Shirah [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 07, 2007 4:35 PM
To: php-general
Subject: [PHP] Javascript and $_POST
I have a form that uses Javascript to validate form field entries, and if
they are incorrect it returns an error to the
Dan Shirah wrote:
And this is my Save option at the bottom of my page
form name=Submit action=save.php method=post
enctype=multipart/form-data
table align=center border=0 cellpadding=0 cellspacing=0
width=680
tr
td width=64 align=lefta href=javascript:checkForm()
title=SaveSave/a/td
/tr
/table
= = = Original message = = =
I need to sort the results of a DB query based on the hierarchy of positions
within an organization. Since they are not necessarily alphabetical, the
best I can come up with is to assign a numerical value in a separate table
to each position, and reference that to
At 2/7/2007 01:34 PM, Dan Shirah wrote:
I have a form that uses Javascript to validate form field entries, and if
they are incorrect it returns an error to the user.
After the Javascript processing is complete, it submits the form to my save
page. However it seems that once the processing is
Richard Lynch wrote:
On Sat, February 3, 2007 10:55 am, Chilling Lounge Admin wrote:
I need help with matching a variable. The variable would be e.g. 0-15
, 16-30 etc. and when the variable is equal to a certain range, it
would echo an image.
Does anyone know what function I should use?
frank wrote:
better make a switch statement: with case such as
switch($x):
that should be :
switch (true) {
// bla
}
otherwise you would be testing the boolean cast of the
value of $x against the result of the expression given in
the case statement ... in practice it would probably
do
Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2007-02-07 09:59:15 +1100:
Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2007-02-06 12:47:47 +0100:
Have been reading posts daily for two months now on the list, and am very
pleased at how informative these can be.
I have noticed, many examples
I found a nice javascript function that takes two points of latitude
and longitude and returns a midpoint. I'm now trying to rewrite in
PHP, but having some problems. Here's the original javascript
function, taken from http://www.movable-type.co.uk/scripts/
LatLong.html :
LatLong.midPoint
# [EMAIL PROTECTED] / 2007-02-08 11:27:13 +1100:
Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2007-02-07 09:59:15 +1100:
Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2007-02-06 12:47:47 +0100:
Have been reading posts daily for two months now on the list, and
am very pleased at how
# [EMAIL PROTECTED] / 2007-02-08 01:14:43 +0100:
290function setOptions($db, $options)
291{
292if (is_array($options)) {
293foreach ($options as $option = $value) {
294$test = $db-setOption($option, $value);
295if
I am finding that notepad is lacking when correcting syntax errors in my php
code. No line numbers.
What can people recommend for use under Windows?
Thanks
Stephen
# [EMAIL PROTECTED] / 2007-02-07 20:49:13 -0500:
I am finding that notepad is lacking when correcting syntax errors in my php
code. No line numbers.
What can people recommend for use under Windows?
gvim.exe
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know,
I've Been using htmlkit for quite a few years now. I don't like it
correcting my text on the fly (interrupts my train of thought), but it will
highlight in color what type of text it thinks it is. For example when I
start typing in a function name, it will change the color when what I have
typed
Stephen wrote:
I am finding that notepad is lacking when correcting syntax errors in my php
code. No line numbers.
What can people recommend for use under Windows?
Thanks
Stephen
I like UltraEdit. Has everything i need and then some. syntax
Highlighting, code folding, variable completion
M5 wrote:
I found a nice javascript function that takes two points of latitude and
longitude and returns a midpoint. I'm now trying to rewrite in PHP, but
having some problems. Here's the original javascript function, taken
from http://www.movable-type.co.uk/scripts/LatLong.html :
if you want a very lightweight use notepad2[1]
i use php eclipse though :)
[1] http://www.flos-freeware.ch/notepad2.html
On 2/8/07, Ryan Fielding [EMAIL PROTECTED] wrote:
Stephen wrote:
I am finding that notepad is lacking when correcting syntax errors in my
php code. No line numbers.
Hello;
I really am trying to use this as a last resort but sometimes the
solution refuses to present itself just by swearing and
staring and poking around with comments and print statements.
line 197: $rdata = str_replace(// \$routes[] = '';\n,
\$routes['$usr'] = '../$path/in';\n// \$routes[]
Hi
I have installed Apache2Triad
Apache2Triadversion 1.5.4
Apache version 2.2.0
MySQL version 5.0.18
PostgreSQL version 8.1.2
Openssl version 0.9.8a
Slimftpdversion 3.18
Xmail
[EMAIL PROTECTED] wrote:
Hi
I have installed Apache2Triad
Apache2Triad version 1.5.4
Apache version 2.2.0
MySQL version 5.0.18
PostgreSQL version 8.1.2
Openssl version 0.9.8a
Slimftpd
Hi
I have installed Apache2Triad
Apache2Triadversion 1.5.4
Apache version 2.2.0
MySQL version 5.0.18
PostgreSQL version 8.1.2
Openssl version 0.9.8a
Slimftpdversion 3.18
Xmail
I asked this question awhile ago and never really visited the issue till
now. The response I got showed me how to disable everything, but I want to
allow basic html tags.
~My original question~
My next task is disable harmful tags/scripts in a full text field.
I want to store a bio type field
There seems to be no PHP function to create a DB user.
I am trying to automate setting up virtual domains in a shared environment.
Am I missing something obvious?
Thanks
Stephen
Stephen wrote:
There seems to be no PHP function to create a DB user.
It doesn't have one to create a database either... php can't do
everything for you ;)
I am trying to automate setting up virtual domains in a shared environment.
Am I missing something obvious?
60 matches
Mail list logo