I am looking for a simple html area text area type editor, similar to to
what you find in the phpbbs and Joomla. I don't need a lot of features
it is just to edit small snipits of html and I really want it to be very
simple to implement. I have been looking for the past few hours and so
far e
Peter Lauri wrote:
I tried this, but now I get this error.
Warning: main(): open_basedir restriction in effect.
File(/home/httpd/vhosts/mydomain.com/httpsdocs/admin/../../httpdocs/classes/
orderadmin.class.php) is not within the allowed path(s):
(/home/httpd/vhosts/mydomain.com/httpsdocs:/tmp) i
Peter Lauri wrote:
I tried this, but now I get this error.
Warning: main(): open_basedir restriction in effect.
File(/home/httpd/vhosts/mydomain.com/httpsdocs/admin/../../httpdocs/classes/
orderadmin.class.php) is not within the allowed path(s):
(/home/httpd/vhosts/mydomain.com/httpsdocs:/tmp) i
I tried this, but now I get this error.
Warning: main(): open_basedir restriction in effect.
File(/home/httpd/vhosts/mydomain.com/httpsdocs/admin/../../httpdocs/classes/
orderadmin.class.php) is not within the allowed path(s):
(/home/httpd/vhosts/mydomain.com/httpsdocs:/tmp) in /home/httpd/vhosts/
Peter Lauri wrote:
Best group member,
I want to run the backend of the system under HTTPS for security reasons.
The pages in HTTP and HTTPS are both using the same classfiles.
Right now I have the class files in httpdocs/classes/
In the httpsdocs/admin I have a variable
$class_path='http://www
Best group member,
I want to run the backend of the system under HTTPS for security reasons.
The pages in HTTP and HTTPS are both using the same classfiles.
Right now I have the class files in httpdocs/classes/
In the httpsdocs/admin I have a variable
$class_path='http://www.mydomain.com/classes
Rafael wrote:
Hi Chris,
if the only thing you want is to get the domain (having the whole
URL) you have more than one way to solve it. Chris -it's a little
akward that Chris answered to Chris- already told you about parse_url(),
and since we're talking about strings, I would suggest s
If "some_func( &$var = NULL )" didn't work, then you're most likely
using PHP 4. If that's the case then you could try passing an argument
by reference in call(real/execution)-time, e.g:
function some_func( $optional = NULL ) {
···
}
some_func();
some_func(&$my_var);
Note: bewar
Hi Chris,
if the only thing you want is to get the domain (having the whole URL)
you have more than one way to solve it. Chris -it's a little akward
that Chris answered to Chris- already told you about parse_url(), and
since we're talking about strings, I would suggest something like
On Tue, Feb 28, 2006 at 11:08:30AM +0800, stone.wang wrote:
> No usa to it http://php.net/unsub.php
Yes fondu no be http://php.net/unsub.php
> i do more
If english isn't your first language try to explain that you are
not clear how to remove yourself from the list, otherwise try
emailing:
[
On Tue, Feb 28, 2006 at 09:43:30AM +0800, stone.wang wrote:
> unsubscribe
> unsubscribe
> unsubscribe
> unsubscribe
> unsubscribe
> unsubscribe
> unsubscribe
> unsubscribe
> unsubscribe
> unsubscribe
> unsubscribe
> unsubscribe
> unsubscribe
> unsubscribe
> dont send to me
Since you hijacked my
On Sun, Feb 26, 2006 at 04:23:22PM -0500, blackwater dev wrote:
> I am trying to recompile php 5 with freetds so am using this :
>
> ./configure '--with-apxs2=/usr/local/apache2/bin/apxs'
> '--with-mysql=/root/mysql-standard-4.1.9-pc-linux-gnu-i686'
> '--with-mssql=/usr/local/freetds'
>
> Things
Chris wrote:
Jochem Maas wrote:
blackwater dev wrote:
I am trying to recompile php 5 with freetds so am using this :
which specific version?
try another [pristine] src tarball.
./configure '--with-apxs2=/usr/local/apache2/bin/apxs'
'--with-mysql=/root/mysql-standard-4.1.9-pc-linux-gnu-i6
On Mon, Feb 27, 2006 at 06:39:13PM +0100, [EMAIL PROTECTED] wrote:
> Hi,
>
> My first mailing, if I'm in wrong group or such, let me know ;)
>
> Here comes my question. I have implemented file uploads to my server. At the
> end of upload, file is
> beeing moved from /tmp to permanent directory.
El lun, 27-02-2006 a las 12:35 -0500, tedd escribió:
ps: your email address has generated a couple
of bounced blog stuff thus far.
Yeah, I seen that a couple of time now. What is going on? I have not
anything to do with blogger.com, I don't know what is happening.
What can I do to solve thi
Well for the latter part of your question.. 'Where to start??' the
first thing to start with is to NOT reply to a topic and change
your subject to ask something else, instead click the icon in your
email application that indicates a new message and compose your
question addressed to php-general@li
On Mon, Feb 27, 2006 at 05:16:01PM -0500, William Lovaton wrote:
> Mmmm... can you elaborate on that please? I kind of have the idea of
> what you mean but I don't know how to do it.
>
> What is exactly garbage collection in the context of a PHP session? I
> guess it is when PHP scans every sessi
I comed up with this
$name,"attrs"=>$attrs);
array_push($stack,$tag);
}
// end_element_handler ( resource parser, string name )
function endElement($parser, $name)
{
global $stack;
$stack[count($stack)-2]['children'][] = $stack[count($stack)-1];
array_pop($stack);
}
// handler ( re
Hi everybody! I have a problem and I was told to check out the sessions
part in PHP. What I want to deal with is the following : I have a PHP
page with a form, where the user writes some data. These data are then
written into a file which is then used in a system command as input for
an externa
My first mailing, if I'm in wrong group or such, let me know ;)
You've come to the right place :)
Here comes my question. I have implemented file uploads to my server. At the
end of upload, file is
beeing moved from /tmp to permanent directory. However, whenever this happens,
CPU goes berz
Jason Gerfen wrote:
I am in need of some assistance working with classes. I have a function
(X) which calls a class (A), that class calls another class (B) and
returns the results. At this point I think I am doing everything
correctly within' class A because if I echo the results of Class A
Chris wrote:
Greetings PHP folks,
Which PHP function do I use if I want to achieve the following :
http://www.somesite.com/gallery/pics.php is the url...how do I get it to
read only http://www.somesite.com in the browser address bar without the
rest of the directory and filename appearing ?
I
Jochem Maas wrote:
blackwater dev wrote:
I am trying to recompile php 5 with freetds so am using this :
which specific version?
try another [pristine] src tarball.
./configure '--with-apxs2=/usr/local/apache2/bin/apxs'
'--with-mysql=/root/mysql-standard-4.1.9-pc-linux-gnu-i686'
'--with-ms
Hi everybody!
I have a problem and I was told to check out the sessions part in PHP.
What I want to deal with is the following :
I have a PHP page with a form, where the user writes some data. These data are
then written into a file which is then used in a system command as input for an
external
So I have found this code in http://bg.php.net/manual/en/ref.xmlrpc.php
and it evaluates PHP but when I try to use the PIHandler separately. It
doesnt work. So I ask if someone could help me to make parser1 return an
array just like parser2.
PARSER1
$name";
if (count($attribs)) {
fore
Hello,
on 02/27/2006 07:22 PM William Lovaton said the following:
>>> Looking at the log I get the following information:
>>> - Execution time: 29.3 secs
>>> - Request started at: 11:08:06 AM
>>> - Request ended at: 11:08:35 AM
>>> - The functions that got executed were (time, class::method, durat
El lun, 27-02-2006 a las 12:35 -0500, tedd escribió:
> ps: your email address has generated a couple of bounced blog stuff thus far.
Yeah, I seen that a couple of time now. What is going on? I have not
anything to do with blogger.com, I don't know what is happening.
What can I do to solve this?
Hi Manuel,
El lun, 27-02-2006 a las 18:54 -0300, Manuel Lemos escribió:
> Hello,
>
> on 02/27/2006 06:15 PM William Lovaton said the following:
> > Looking at the log I get the following information:
> > - Execution time: 29.3 secs
> > - Request started at: 11:08:06 AM
> > - Request ended at: 11:
blackwater dev wrote:
I am trying to recompile php 5 with freetds so am using this :
which specific version?
try another [pristine] src tarball.
./configure '--with-apxs2=/usr/local/apache2/bin/apxs'
'--with-mysql=/root/mysql-standard-4.1.9-pc-linux-gnu-i686'
'--with-mssql=/usr/local/freetds
Mmmm... can you elaborate on that please? I kind of have the idea of
what you mean but I don't know how to do it.
What is exactly garbage collection in the context of a PHP session? I
guess it is when PHP scans every session file to see if there are stale
data or something like that and you can t
Hello,
on 02/27/2006 06:15 PM William Lovaton said the following:
> Looking at the log I get the following information:
> - Execution time: 29.3 secs
> - Request started at: 11:08:06 AM
> - Request ended at: 11:08:35 AM
> - The functions that got executed were (time, class::method, duration):
>
What about session garbage collection? Can you log when that happens and
see if it correlates with your problem?
Cheers,
Rob.
On Mon, 2006-02-27 at 16:15, William Lovaton wrote:
> Hi there,
>
> I just setted up some changes to the Apache configuration and made some
> programming in PHP to log a
On Mon, Feb 27, 2006 at 12:20:51PM +0100, [EMAIL PROTECTED] wrote:
>
> Hi,
>
> What shall one do to avoid people that trys to manipulate my server?
>
> I mysql_real_escape_string() all input from GET and POST.
The mysql_escape_string() will protect you from sql injections, the
thing you have to
Hi there,
I just setted up some changes to the Apache configuration and made some
programming in PHP to log a request (and information about that request)
when it is taking a lot of time to finish (let's say > 20 secs). In the
logs, there have been lots of useful information and I already improve
TomS wrote:
I would like to have an optional pass-by-reference. i.e. you can call the
function w/o the variable. Basically, like how you don't need to pass
$matches to the preg_match function. I've tried, function some_func(&$var =
null) and this doesn't work. func_get_args only gets copies, does
Jason Gerfen wrote:
I am attempting to work up a class and because I am unfamiliar with some
of the code flow I am only able to get a return value of 'object'. How
can I pull the data out of a class?
which data? It doesn't seem as if anyone knows what your trying to do.
(try to explain it aga
On Tue, Feb 28, 2006 at 02:13:15AM +1100, David Tulloh wrote:
> Curt Zirzow wrote:
>
> >
> > Before I get into what distib to use there are a few things i'd
> > like to point out:
> >
> > 1) Avoid using the packaging system the OS provides for the
> > developement server. If you do, you
Are you sure its the move_uploaded_file() function that is causing the
delay? It could be the actual upload of the file itself. If it is the
function causing the delay than try the rename() function instead. Also, I
have used the copy() and unlink() functions and they work fast.
Aaron
On 2/27/06,
Hi,
My first mailing, if I'm in wrong group or such, let me know ;)
Here comes my question. I have implemented file uploads to my server. At the
end of upload, file is
beeing moved from /tmp to permanent directory. However, whenever this happens,
CPU goes berzerk and
waits for disk to finish mo
William said:
That's not exactly what I am looking for. That would cause the
JavaScript file to be requested to the web server every single time. I
just want the browser to request the file only when it have been
modified on the server.
Let's say that by default, those JavaScript files expire
Beau Gould wrote:
Can anyone possibly tell me what the salary range is for a Sr. PHP/MySQL Developer in North Carolina?
Thanks
http://.salary.com
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing Li
William Lovaton wrote:
Let's say that by default, those JavaScript files expires every 4 hours
and that when a PHP program regenerates the file in the server it
should, somehow, notify the web browser that the file changed and that
it should request that file the next time it reloads the page or
Hi Tedd,
That's not exactly what I am looking for. That would cause the
JavaScript file to be requested to the web server every single time. I
just want the browser to request the file only when it have been
modified on the server.
Let's say that by default, those JavaScript files expires every
[snip]
Can anyone possibly tell me what the salary range is for a Sr. PHP/MySQL
Developer in North Carolina? [/snip]
Have you tried looking at salary.com ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No I haven't. Thanks for the lead.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, February 27, 2006 11:18 AM
To: [EMAIL PROTECTED]; php-general@lists.php.net
Subject: RE: [PHP] Sr. PHP Salary North Carolina
[snip]
Can anyone possibly tell me what the
Beau Gould wrote:
Can anyone possibly tell me what the salary range is for a Sr. PHP/MySQL Developer in North Carolina?
Thanks
Depends on the workspace and what kind of work somone has to do.
Is it a monitoring position, or a leading one.
More infos would probably help though.
--
Smileys ru
I would like to have an optional pass-by-reference. i.e. you can call the
function w/o the variable. Basically, like how you don't need to pass
$matches to the preg_match function. I've tried, function some_func(&$var =
null) and this doesn't work. func_get_args only gets copies, does anyone
have a
El lun, 27-02-2006 a las 16:21 +0100, Barry escribió:
> Set the HTML expire to yesterday.
> Therfore the browser will reload the whole page.
>
> Barry
Hi Barry,
I don't think this would work, this should refresh the HTML page only
but the link pointing to the javascript file will be taken from t
I know I could reduce the expiration time to reduce this problem but
most of the time those files do not change. What can I do to notify the
web browser that the file in the cache is no longer valid?
-William
William:
Include this:
HTH's
tedd
--
---
Nice idea... thanks.
I agree with you that the ability to expire another file would be
somewhat risky but I fail to see how this could be exploited. May be
the browser should allow this kind of operations from pages coming from
the same server. But again, I don't think this is posible to begin
w
I am in need of some assistance working with classes. I have a function
(X) which calls a class (A), that class calls another class (B) and
returns the results. At this point I think I am doing everything
correctly within' class A because if I echo the results of Class A
calling Class B the
Can anyone possibly tell me what the salary range is for a Sr. PHP/MySQL
Developer in North Carolina?
Thanks
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.1.0/269 - Release Date: 2/24/2006
--
PHP General Mailing List (http://
Hi,
What shall one do to avoid people that trys to manipulate my server?
I mysql_real_escape_string() all input from GET and POST.
A long time ago I think I used addslashes or something like that
too, so people couldn't insert php code in their input. Is that
still something I should do, or d
I don't think you can expire another file, I would consider any ability
to do so a bug in the browser. Someone with too much time on their
hands could possibly turn something like that into a security risk.
I would solve the changing javascript problem by subtly altering the
pages that use the ja
William Lovaton wrote:
Hello everybody,
I write here to find out if this is possible:
I want to expire an static file in the web browser through an HTTP
header (Expires, Cache-Control or something else) sent from a PHP
program. The usual thing is that those headers apply only to the
program or
Hello everybody,
I write here to find out if this is possible:
I want to expire an static file in the web browser through an HTTP
header (Expires, Cache-Control or something else) sent from a PHP
program. The usual thing is that those headers apply only to the
program or file sending those heade
Curt Zirzow wrote:
> On Sat, Feb 25, 2006 at 01:41:06PM -0900, Chris Lott wrote:
>
>>I'm making the switch from Windows to Linux for mydesktop and
>>development environment and would greatly appreciate suggestions for
>>development tools on this platform. Ubuntu seems to be getting all the
>>press
Chris Lott wrote:
I'm making the switch from Windows to Linux for mydesktop and
development environment and would greatly appreciate suggestions for
development tools on this platform. Ubuntu seems to be getting all the
press, but suggestions about Linux distributions are welcome as well!
c
U
I am attempting to work up a class and because I am unfamiliar with some
of the code flow I am only able to get a return value of 'object'. How
can I pull the data out of a class?
Any help, or pointers on what I am doing wrong is appreciated.
class myAuth
{
var $user;
var $pass;
var $lvl;
var
ÃmìtVërmå wrote:
Please turn off your mail client's request for read receipts when
sending to a mailing list.
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
Gustav Wiberg wrote:
Hi there guys!
Where is a good startpoint for learning XML Reader on a very, very basic
level? (I appreciate links)
Is RSS a technique for retrieving XML? I can't clue the pieces together...
/G
Please turn off your mail client's request for read receipts when
sending
On 2/27/06 6:20 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> When users input is displayed for others then themself I try to filter out
> html tags too.
I type cast all relevant variables before processing them as one last check.
Type casting forces the variable to be of the type you e
Greetings PHP folks,
Which PHP function do I use if I want to achieve the following :
http://www.somesite.com/gallery/pics.php is the url...how do I get it to
read only http://www.somesite.com in the browser address bar without the
rest of the directory and filename appearing ?
Regards
--
Chris
Hi,
What shall one do to avoid people that trys to manipulate my server?
I mysql_real_escape_string() all input from GET and POST.
A long time ago I think I used addslashes or something like that too, so people
couldn't insert php code in their input. Is that still something I should do,
or d
I don't know exactly if this problem belongs to this news forum. This is
more or less a SMTP question.
The email servers names are kept into the mail MIME headers even if the
message only passed through them and was then forwarded the servers
names and IP's. This is done for anti-spam mesures,
65 matches
Mail list logo