Larry Bradley wrote:
I need to goto different PHP pages in my web site depending on what
happens within some PHP code.
For example, if the user is not logged in when he goes to a page, I want
to send him to a LOGIN page.
I've have everything working fine, using the following Javascript
On 3/15/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Wed, March 14, 2007 6:55 am, Tijnema ! wrote:
On 3/12/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Mon, March 12, 2007 7:14 am, Tijnema ! wrote:
Is there any way i can limit the transfer speed when using CURL?
I'm uploading a file to
On 3/15/07, Stephen [EMAIL PROTECTED] wrote:
I have a script file that is both the form and action handle (using
isset), which is a menu selection.
If the action handler is executing it is a switch statement that will
chose the next form.
I would like to transfer to another script file that is
On 3/15/07, Faye Wang [EMAIL PROTECTED] wrote:
北京超品锐智技术有限责任公司招聘启示
公司简介:
国内专业本地化公司
Transpac Technology Inc., which was established on 1996, specializes in Chinese
software localization as well as Website and other technical documentation
translation. Our working system is consist of popular
LOL...
Why you even bother to read it?
Tijnema ! wrote:
On 3/15/07, Faye Wang [EMAIL PROTECTED] wrote:
北京超品锐智技术有限责任公司招聘启示
公司简介:
国内专业本地化公司
Transpac Technology Inc., which was established on 1996, specializes
in Chinese software localization as well as Website and other
technical
On 3/15/07, Andrei [EMAIL PROTECTED] wrote:
LOL...
Why you even bother to read it?
Because i hate SPAM !
Tijnema ! wrote:
On 3/15/07, Faye Wang [EMAIL PROTECTED] wrote:
北京超品锐智技术有限责任公司招聘启示
公司简介:
国内专业本地化公司
Transpac Technology Inc., which was established on 1996, specializes
in
Hello,
I am currently thinking about a php framework dedicated to web
applications
with rich client interfaces using AJAX.
The goal of this framework is to provide the possibility to write
rich web
applications using a syntax similar to wxWidgets or .NET.
An example is better than a
hi,
Is there any function in php through which we can delete / truncate the
content of a text file that is before the file pointer/file handler ?
can we use truncate?
actually im using a function to pick the content from a text file using 2
delimiters, but that function checks only the first
On 14 March 2007 01:00, Larry Garfield wrote:
On Tuesday 13 March 2007 7:50 am, Vieri wrote:
?php
//$b=3;
$c=3;
$a=($b and $c);
echo A = .$a;
in PHP4 I get:
A = 0
and in PHP5 I get:
A =
I could call this lazyness on our part or code
portability through PHP
On 12 March 2007 23:06, Richard Lynch wrote:
On Mon, March 12, 2007 1:53 pm, Vieri wrote:
The following code:
?php
$b=;
$c=df;
$a=($b and $c);
Why in the world would you use 'and' on two strings?
What is that supposed to even mean?...
Type-cast them to numbers if you want
On 14 March 2007 08:25, Richard Lynch wrote:
On Tue, March 13, 2007 9:10 am, Todd Cary wrote:
I would like to write a filter that takes the text smith or
SMith and returns Smith; same for ralph smith.
No, you don't. :-)
You *think* you want to write that function, but this is one of
On 3/15/07, Ford, Mike [EMAIL PROTECTED] wrote:
On 14 March 2007 08:25, Richard Lynch wrote:
On Tue, March 13, 2007 9:10 am, Todd Cary wrote:
I would like to write a filter that takes the text smith or
SMith and returns Smith; same for ralph smith.
No, you don't. :-)
You *think* you
On 14 March 2007 22:52, Richard Lynch wrote:
On Wed, March 14, 2007 6:52 am, Myron Turner wrote:
Richard Lynch wrote:
On Tue, March 13, 2007 6:04 pm, Jonathan Kahan wrote:
The = operator takes precedence, and $d is set to 0.
But why? According to the manual, the modulus operator
Edward Kay [EMAIL PROTECTED] a écrit dans le message de news:
[EMAIL PROTECTED]
Hi David,
Take a look at Qcodo (http://www.qcodo.com) as this does exactly what
you're
looking for.
Edward
Hi Edward,
This is indeed really close to what i'm looking for.
There's one thing : with qcodo,
On 3/15/07, David CHATEL [EMAIL PROTECTED] wrote:
Edward Kay [EMAIL PROTECTED] a écrit dans le message de news:
[EMAIL PROTECTED]
Hi David,
Take a look at Qcodo (http://www.qcodo.com) as this does exactly what
you're
looking for.
Edward
Hi Edward,
This is indeed really close to what
On Thu, 2007-03-15 at 10:30 +, Ford, Mike wrote:
On 12 March 2007 23:06, Richard Lynch wrote:
On Mon, March 12, 2007 1:53 pm, Vieri wrote:
The following code:
?php
$b=;
$c=df;
$a=($b and $c);
Why in the world would you use 'and' on two strings?
What is that
Hello everybody.
Sorry for my bad english.
I'm using apache 2.2.3-3.3 ; php 5.2.0-8-cgi ; suphp 0.6.2-1 on debian etch.
I'm running php as cgi ( using suphp ).
I can't get header (Status: 404 Not found); and other header (xxx) commands
to send default error page like
Ford, Mike wrote:
On 14 March 2007 22:52, Richard Lynch wrote:
On Wed, March 14, 2007 6:52 am, Myron Turner wrote:
Richard Lynch wrote:
On Tue, March 13, 2007 6:04 pm, Jonathan Kahan wrote:
The = operator takes precedence, and $d is set to 0.
But why? According to
Ahh the problem was that I was using $name1-$name instead of $name1-name
to call the variable.
Thanks though :)
If line 140 is the $name1-name part, then you probably haven't
written your constructor correctly to cram 'Toon1' into the name
field...
On Thu, March 8, 2007 11:51 pm, Jeff
Another option would be to use an associative array:
input type=text name=domain_object_vars[FirstName] value=/
.
.
.
.
input type=text name=domain_object_vars[Zip] value=
This way the 'submit' button wouldn't even show up as a key in the
array, which is accessible to PHP through the
Hi,
Le Wed, 14 Mar 2007 17:37:02 -0500 (CDT),
Richard Lynch [EMAIL PROTECTED] a écrit :
PHP runs as its own user in its own environment.
Stuff you cram into your environment has no effect on that, as it
should be.
If you alter the environment of the PHP user you might get what you
want.
Richard Lynch wrote:
Get the errors OFF the web page (display_errors OFF) and into the logs
and provide your users with logs for their own domains with vhosts.
On Wed, March 14, 2007 11:02 am, Jason Joines wrote:
My users want to be able to debug their scripts, see mysql errors,
and
Yes, great... Now, I have another problem ;-)
In Debian, everything is ok. I put my variable
in /etc/apache2/httpd.conf.
But on RedHat, I don't know which file is concerned...
It's /etc/httpd/conf/httpd.conf on Fedora so I'd expect Red Hat to be the same.
You'd probably be best putting
At 11:28 PM -0500 3/14/07, Richard Lynch wrote:
On Tue, March 13, 2007 11:54 pm, Chris Shiflett wrote:
Tijnema wrote:
Did you guys ever noted that little arrow down just right of
the back button, where you can go back 2 steps at once, so you
don't have to click very fast?
I think we
Everything is OK !!!
Thank you very much.
David.
Le Thu, 15 Mar 2007 13:39:33 -,
Edward Kay [EMAIL PROTECTED] a écrit :
Yes, great... Now, I have another problem ;-)
In Debian, everything is ok. I put my variable
in /etc/apache2/httpd.conf.
But on RedHat, I don't know which file
Stut wrote:
Seak, Teng-Fong wrote:
But after I've spent some time reading the log files, I've finally
found out how the hackers managed to achieve worm infiltration.
Actually, they're using an URL like this:
Turn off register_globals - if you pollute your scripts with global
variables like that you are asking for trouble. If you can't make sure you
clean the variable.
Using include($page.php) is asking for trouble.
If you can get register_globals switched off (it's off by default in PHP5
for this
- Original Message -
From: tedd [EMAIL PROTECTED]
At 11:28 PM -0500 3/14/07, Richard Lynch wrote:
On Tue, March 13, 2007 11:54 pm, Chris Shiflett wrote:
Tijnema wrote:
Did you guys ever noted that little arrow down just right of
the back button, where you can go back 2 steps at
-Message d'origine-
De : Richard Lynch [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 14 mars 2007 23:45
À : Tim
Cc : 'Haydar Tuna'; php-general@lists.php.net
Objet : RE: [PHP] Re: question regarding form filtering
On Wed, March 14, 2007 9:07 am, Tim wrote:
You almost for sure
Seak, Teng-Fong wrote:
No, I don't deserve anything because, as I've written in the
original post (but I suppose you didn't notice), the website is
outsourced and made by a 3rd company.
Well, I've just realised (and checked) that I forgot to mention that
my company's website was outsourced.
Hi,
Here's hoping one of the savvy PHP participants is also skilled with
FLASH, the following variables are output to the browser as:
thePrices=partCD
+PlayerthePrices=price320thePrices=partShocksthePrices=price450thePr
ices=partCa r+CoverthePrices=price500
The desired name/value
You can either split them off, or you will need to POST encode the data
and pass it along to the next page. I'd have to see how the entire
process/scripts were running to give you a good code sample, but if you
want info to pass from one page to the next, POST it
Stephen wrote:
I have a script
To get values such as price=500 then you will need to encode that into
your URL. At the moment you are making thePrices=price500, so the value
you are seeing is correct.
Tf you had price=500 then you would see a variable called price with a
value of 500.
I suspect you are trying to make an
Mikey wrote:
To get values such as price=500 then you will need to encode that into
your URL. At the moment you are making thePrices=price500, so the
value you are seeing is correct.
Tf you had price=500 then you would see a variable called price with a
value of 500.
I suspect you are
On 3/15/07, Jason Joines [EMAIL PROTECTED] wrote:
Richard Lynch wrote:
Get the errors OFF the web page (display_errors OFF) and into the logs
and provide your users with logs for their own domains with vhosts.
On Wed, March 14, 2007 11:02 am, Jason Joines wrote:
My users want to be able
Seak, Teng-Fong wrote:
No, I don't deserve anything because, as I've written in the
original post (but I suppose you didn't notice), the website is
outsourced and made by a 3rd company.
Then you should be having this conversation with the 3rd party. They need
to validate *EVERY* bit of
On Thu, 2007-03-15 at 12:24 -0700, Paul Nowosielski wrote:
Dear All,
I've just upgraded our systems to apache2 and php5 and all our emails are
showing up as text now and not html.
Any ideas??
User error?
Cheers,
Rob.
--
..
|
Hi,
This is an exercise, would you elaborate, as I'm fairly new to PHP-
FLASH
On Mar 15, 2007, at 12:55 PM, Mikey wrote:
To get values such as price=500 then you will need to encode that
into your URL. At the moment you are making thePrices=price500, so
the value you are seeing is
Hi,
This is an exercise, using a simple file for the sake of learning.
Any assistance would be appreciated.
CK
On Mar 15, 2007, at 1:08 PM, Andrei wrote:
Mikey wrote:
To get values such as price=500 then you will need to encode that
into
your URL. At the moment you are making
Title: Lamp Developer
Skills: lamp, Linux, Apache, MySQL, php, unix
Date: 3-15-2007
Location: New York, NY
Area code: 212
Tax term: FULLTIME CON_IND CON_W2 CON_HIRE_IND CON_HIRE_W2
Pay rate: $70
Length:
Are you including a mime-type header in your mail calls?
On Mar 15, 2007, at 1:45 PM, Robert Cummings wrote:
On Thu, 2007-03-15 at 12:24 -0700, Paul Nowosielski wrote:
Dear All,
I've just upgraded our systems to apache2 and php5 and all our
emails are
showing up as text now and not html.
That was the issue ,
thanks!
On Thursday 15 March 2007 11:56, Erik Jones wrote:
Are you including a mime-type header in your mail calls?
On Mar 15, 2007, at 1:45 PM, Robert Cummings wrote:
On Thu, 2007-03-15 at 12:24 -0700, Paul Nowosielski wrote:
Dear All,
I've just upgraded our
On Thu, March 15, 2007 8:25 am, Jason Joines wrote:
Richard Lynch wrote:
Get the errors OFF the web page (display_errors OFF) and into the
?php
error_reporting(E_PARSE);
ini_set('display_errors','On');
ini_set('display_startup_errors','On');
include('mypage.php');
?
On Thu, March 15, 2007 8:18 am, David BERCOT wrote:
Le Wed, 14 Mar 2007 17:37:02 -0500 (CDT),
Richard Lynch [EMAIL PROTECTED] a écrit :
PHP runs as its own user in its own environment.
Stuff you cram into your environment has no effect on that, as it
should be.
If you alter the
On Thu, 15 Mar 2007, Richard Lynch wrote:
Date: Thu, 15 Mar 2007 14:35:45 -0500 (CDT)
From: Richard Lynch [EMAIL PROTECTED]
To: Jason Joines [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Subject: Re: [PHP] logging erros and user access to logs
On Thu, March 15, 2007 8:25 am, Jason Joines
Richard Lynch wrote:
On Thu, March 15, 2007 8:25 am, Jason Joines wrote:
Richard Lynch wrote:
Get the errors OFF the web page (display_errors OFF) and into the
?php
error_reporting(E_PARSE);
ini_set('display_errors','On');
ini_set('display_startup_errors','On');
On Thu, March 15, 2007 2:47 pm, Jason Joines wrote:
Richard Lynch wrote:
On Thu, March 15, 2007 8:25 am, Jason Joines wrote:
Richard Lynch wrote:
Get the errors OFF the web page (display_errors OFF) and into the
?php
error_reporting(E_PARSE);
ini_set('display_errors','On');
On Thu, March 15, 2007 7:26 am, Puskás Zsolt ( Errotan ) wrote:
My main goal is to hide class php files and directories and of course
other
error pages would be useful :) .
Actually, for the class files, you can move them completely out of the
web tree and use php.ini include_path to let PHP
On Thu, March 15, 2007 4:57 am, Swati Asthana wrote:
Is there any function in php through which we can delete / truncate
the
content of a text file that is before the file pointer/file handler ?
can we use truncate?
actually im using a function to pick the content from a text file
using 2
PHP runs as its own user in its own environment.
Stuff you cram into your environment has no effect on that, as it
should be.
Just a note for the sticklers out there: PHP does not run as its own
user. It runs as whatever user runs the php script. So, if the
script is being run by a
Thanks for replying, but header(HTTP/1.0 404 Not Found); only works if php
is an apache module I tried it and tried lots of other stuff.
I think it is not possible to use apache's error documents because php-cgi
don't really communicate with apache ( apache specific functions don't work [
like
On 3/15/07, Richard Lynch [EMAIL PROTECTED] wrote:
On Thu, March 15, 2007 4:57 am, Swati Asthana wrote:
Is there any function in php through which we can delete / truncate
the
content of a text file that is before the file pointer/file handler ?
can we use truncate?
actually im using a
Richard Lynch wrote:
On Thu, March 15, 2007 2:47 pm, Jason Joines wrote:
Richard Lynch wrote:
On Thu, March 15, 2007 8:25 am, Jason Joines wrote:
Richard Lynch wrote:
Get the errors OFF the web page (display_errors OFF) and into the
?php
error_reporting(E_PARSE);
On a first thought, this mostly are not skills you wish for, but rather some
experience. Someone should have read correction... ;D
On Thursday 15 March 2007 19:48, Efrain Sarmiento wrote:
Title:Lamp Developer
Skills: lamp, Linux, Apache, MySQL, php, unix
Date: 3-15-2007
I seem to be hitting a wall here. I have the need to run an XPath query
on strings that may contain quotes, apostrophes or both. Going through
google turned up some interesting information, but nothing that solved
my issue.
An example of what I am trying to do is as follows:
$query = '\'foobar';
On Thu, March 15, 2007 9:15 am, Seak, Teng-Fong wrote:
Stut wrote:
Seak, Teng-Fong wrote:
But after I've spent some time reading the log files, I've
finally
found out how the hackers managed to achieve worm infiltration.
Actually, they're using an URL like this:
--- Ford, Mike [EMAIL PROTECTED] wrote:
And I can testify from personal experience that this
has been true since the very early days of 4.0.x (in
fact, I still have a 4.0.5 installation hanging
around that I tested it on...!!), so I do not know
where the *BLEEP* the OP can have been getting
Hi
I'm trying to find information with regards to how to create/implement a
test web services app. I'm trying to find pointers to anyone who's actually
created this kind of functionality, or pointers to web sites where I can
find the information I'm looking for.
For my test, App1 has the web
hello all,
I am looking for some scripts/libraries etc to produce some bar graphs etc.
Does anyone know of something nice (that works on Linux)
thanks,
Ron
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Prestigious Online NY Based News Paper is seeking a solid *LAMP (see
definition of LAMP below) developer to work as part of
A team to architect and build the software that helps the online
newspaper function as a site with an unparalleled combination of scale
and complexity. The successful
60 matches
Mail list logo