guess it has something to do with default directory rights for newly created
directories??
the directory 'x' gives your script permission to create directory under it.
so you are able to create directory 'y' inside 'x'. but the newly created
directory 'y' does not gives your script permission to
I have a RedHat9 machine.
I needed to have multiple MySQL installations, so I removed the RPM
installation and did a binary installation of MySQL-4.0.20. As it stands, I
have the following installations
/usr/local/mysql-4.0.20-webpage
/usr/local/mysql-4.0.20-exp
/usr/local/mysql-4.0.20-def
Thes
Hi,
We are using PHP5 on linux, basically we are interested in working with
PHP5-perl extension.
We are using Movable Type library for blog. We have problem in using object
of Movable Type (perl library) in PHP.
Can anybody guide me on how to use Perl Object in PHP5.
T
how about:
if (trim($foo) != '')
Respectfully,
Ligaya Turmelle
"Al" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I could use one additional clarification regarding good practice.
>
> As I understand the php manual the following is acceptable.
>
> $foo= TRUE;
>
> if($foo) do.
Hey, I hope I'm not stating the obvious, but last time I used
ImageMagick (5.5.7 - in my receipts folder, I just checked) for use
with PHP under Mac OS X, I just downloaded a package from
http://entropy.ch/ and installed it and life was good. I think it's
still up for download. No messing with
Hello everyone!
I'm trying to call a class method dynamically, but keep getting a SYNTAX
ERROR. Can anyone shed some light on this? Is this impossible?
==The Code
function &modCall($_class){
$this->LoadClass($_class); //LoadClass includes the class file, but
/
PHP 4.3.6
Image Magick 5.5.7
imagick 0.9.10
OS: Mac OS X (10.3.4)
I'm trying to install imagick so that I can use ImageMagick functions
in PHP. I was using GD, but I need to load images from TIFF and write
thumbnails in jpeg with added text. I had it all working with jpegs,
but got stumped o
I could use one additional clarification regarding good practice.
As I understand the php manual the following is acceptable.
$foo= TRUE;
if($foo) do.. ;
where $foo is a binary; but not a variable.
Use isset($var) for variables and be careful with $var= ' '; etc.
because $var is assi
Gerard Samuel wrote:
Not sure if the subject was worded correctly, but
I was looking to see if this (or something like it) is possible.
$array = array('key_1' => 'This is some text',
'key_2' => '' . $array['key_1'] . ''
);
And the array structure would
Not sure if the subject was worded correctly, but
I was looking to see if this (or something like it) is possible.
$array = array('key_1' => 'This is some text',
'key_2' => '' . $array['key_1'] . ''
);
And the array structure would be something like
Robert Fitzpatrick wrote:
On Sun, 2004-06-06 at 16:49, Marek Kilimajer wrote:
Robert Fitzpatrick wrote:
Trying to portupgrade my PHP 4.3.6 package with PostgreSQL 7.4.2 support and getting
this error below. Trying to setup postgresql with Heimdal Kerberos 5 support, believe
I have, but not tried
Ah yes! Thanks, I see the problem; I have to switch the 8-byte chunks in
byte-order! (Why is Directconnect doing this...)
Thanks for your help. Greetings, Carl.
"Thijs Lensselink" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> check: http://www.cs.technion.ac.il/~biham/Reports/Tiger
CC me please.
Does anyone know if ini_get returns the values BEFORE or AFTER the
.htaccess modifies them? i.e., does it return the server or local version?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, 2004-06-06 at 16:49, Marek Kilimajer wrote:
> Robert Fitzpatrick wrote:
> > Trying to portupgrade my PHP 4.3.6 package with PostgreSQL 7.4.2 support and
> > getting this error below. Trying to setup postgresql with Heimdal Kerberos 5
> > support, believe I have, but not tried anything wit
[EMAIL PROTECTED] wrote:
Using the code below, im getting a problem where it is printing out TWO
of each field value instead of one...
[snip]
while($row = mysql_fetch_array($result)){
fetch_array returns an array where the indexes are numeric and where
they are the column names. So $row has four
Using the code below, im getting a problem where it is printing out TWO
of each field value instead of one...
For example, a table like
id | name | age
1 | russ | 22
2 | jon | 23
would print out for the first row...
11russruss
any ideas on whats going wrong? THanks i
--- Mike Mapsnac <[EMAIL PROTECTED]> wrote:
> I want to refresh page every 10 seconds, without clicking on
> "Refresh" button.
Use the Refresh header:
header('Refresh: 10; url=http://example.org/foo.php');
Hope that helps.
Chris
=
Chris Shiflett - http://shiflett.org/
PHP Security - O'Rei
[EMAIL PROTECTED] wrote:
Hi I have the following situation:
I've got a domain that is hosted at a certain host. This host allows me
to create subdomains, and also to add several domains to the same account.
The thing is if I add a domain like xxx.com to my yyy.com both will be directed
to my index.
It depends on what you're running it on. Linux (which flavor), Unix
(which onw?), Mac OS X, Windows
Nitin wrote:
At last I've decided to upgrade it.
Could you please tell me, which version is best candidate yet to upgrade to?
And the procedure to upgrade with tar..
Thanks in advance
"Thomas S
Curt Zirzow wrote:
* Thus wrote K.Bogac Bokeer ([EMAIL PROTECTED]):
When $var is 0?
or
$var = '';
$var = array();
$var = false;
// Output: $var: $var not exists
if ( $var )
echo '$var: $var exists';
else
Curt
or null
--
paperCrane
--
PHP General Mailing List (http://www.php.net/)
T
Russell P Jones wrote:
How would one cycle through and get all of the column names in a mysql
table?
say that i have...
id | title | name | description
1 | MR. | russ | age XX height XX
2 | MRS. | jan | age XX height XXX
and I want to print out the 4 column names...
how would one accomplish t
Russell P Jones wrote:
How would one cycle through and get all of the column names in a mysql
table?
say that i have...
id | title | name | description
1 | MR. | russ | age XX height XX
2 | MRS. | jan | age XX height XXX
and I want to print out the 4 column names...
how would one accomplish t
How would one cycle through and get all of the column names in a mysql
table?
say that i have...
id | title | name | description
1 | MR. | russ | age XX height XX
2 | MRS. | jan | age XX height XXX
and I want to print out the 4 column names...
how would one accomplish this?
Russ
--
PH
Robert Fitzpatrick wrote:
Trying to portupgrade my PHP 4.3.6 package with PostgreSQL 7.4.2 support and getting
this error below. Trying to setup postgresql with Heimdal Kerberos 5 support, believe
I have, but not tried anything with it, yet.
/usr/local/lib/libpq.so: undefined reference to `krb5_c
Gerben wrote:
Unfortunately my server has no ftp (but SSH).
It makes much sence what you said, but how can PHP (with uid=48) make a
directory with uid=1042.
both folder are (to be) made the same script, but only one is (with
uid=1042).
This is what makes it very peculiar.
I think I have skip the id
"Jos De Nijs" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello there,
>
> I'm looking for some code to split a website that is hosted on one server.
>
> For example: I have the domain www.firstone.com and www.secondone.nl
> They're both hosted at one provider. So far no problems.
Hello there,
I'm looking for some code to split a website that is hosted on one server.
For example: I have the domain www.firstone.com and www.secondone.nl
They're both hosted at one provider. So far no problems. The ISP makes the
changes in the dns and when you type in the urls you'll arrive at
I'm still kind of a newbie at this, but couldn't you accomplish this by
doing each MKDIR separately with a series of ELSE/IF statements. The
basic logic would be:
Check if parent DIR exists.
If not, create one and then go on
If yes:
Check if Child DIR Exists
Trying to portupgrade my PHP 4.3.6 package with PostgreSQL 7.4.2 support and getting
this error below. Trying to setup postgresql with Heimdal Kerberos 5 support, believe
I have, but not tried anything with it, yet.
/usr/local/lib/libpq.so: undefined reference to `krb5_cc_get_principal'
/usr/loc
Unfortunately my server has no ftp (but SSH).
It makes much sence what you said, but how can PHP (with uid=48) make a
directory with uid=1042.
both folder are (to be) made the same script, but only one is (with
uid=1042).
This is what makes it very peculiar.
I think I have skip the idea of creatin
I have those rights since the first dir is created. the problem is that the
2nd is not created
"Daniel Clark" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I think PHP and mkdir() is using the web servers rights. So the web
server would need rights to create directories.
>
> >>He
Gerben wrote:
Hello,
I have a problem with the mkdir function.
I'm trying to make a seperate folder every photoalbum. inside I want to
create another folder ('.../thumbnails/') for, you can guess, the
thumbnails.
At first it didn't work at all:
Warning: mkdir() failed (Permission denied) in
/home/
I think PHP and mkdir() is using the web servers rights. So the web server would
need rights to create directories.
>>Hello,
>>
>>I have a problem with the mkdir function.
>>I'm trying to make a seperate folder every photoalbum. inside I want to
>>create another folder ('.../thumbnails/') for,
Hello,
I have a problem with the mkdir function.
I'm trying to make a seperate folder every photoalbum. inside I want to
create another folder ('.../thumbnails/') for, you can guess, the
thumbnails.
At first it didn't work at all:
>Warning: mkdir() failed (Permission denied) in
/home/virtual/sit
Hello Chris,
Sunday, June 6, 2004, 5:27:31 PM, you wrote:
c> and you'll find that there is not a comprehensive comparison. Don't be so
c> quick to assume that someone hasn't done their homework. I've the spent the
c> past 6 months learning .NET and searching for comprehensive discussions of
c> ho
chris wrote:
and you'll find that there is not a comprehensive comparison. Don't be so
quick to assume that someone hasn't done their homework. I've the spent the
past 6 months learning .NET and searching for comprehensive discussions of
how it compares to other web development approaches. I can as
and you'll find that there is not a comprehensive comparison. Don't be so
quick to assume that someone hasn't done their homework. I've the spent the
past 6 months learning .NET and searching for comprehensive discussions of
how it compares to other web development approaches. I can assure you that
chris wrote:
Curt, I know you're well meaning, but ASP.old has nothing to do with
ASP.NET, so much of what you provided is irrelevant.
Curt's point is very valid none the less. just replace asp with asp.net
when searching.
* Thus wrote Kathleen Ballard ([EMAIL PROTECTED]):
I have been asked
Curt, I know you're well meaning, but ASP.old has nothing to do with
ASP.NET, so much of what you provided is irrelevant. I just finished a
largish .NET project and will follow with a response to Kathleen's question.
-chris
-Original Message-
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Hehe Curt, point made :)
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Thus wrote Kathleen Ballard ([EMAIL PROTECTED]):
> > I have been asked to make a fact based comparison of
> > the pros and cons of asp.net and php. I am not trying
> > to start a war and apologi
* Thus wrote Kathleen Ballard ([EMAIL PROTECTED]):
> I have been asked to make a fact based comparison of
> the pros and cons of asp.net and php. I am not trying
> to start a war and apologize if this is too off topic,
> but I know make of the list members work in other
> coding languages.
Here i
THANKS!! :) :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Php Lists wrote:
Hi list
I can understand the difference between 'world writable' and 'writable
by the webserver' in concept, but how would I go about manipulating
these variables?
Specifically, theses are error reports generated when setting up
eGroupware (sourceforge.net)
Thanks in advance.
Stuar
Hi list
I can understand the difference between 'world writable' and 'writable
by the webserver' in concept, but how would I go about manipulating
these variables?
Specifically, theses are error reports generated when setting up
eGroupware (sourceforge.net)
Thanks in advance.
Stuart
--
PHP Ge
At last I've decided to upgrade it.
Could you please tell me, which version is best candidate yet to upgrade to?
And the procedure to upgrade with tar..
Thanks in advance
"Thomas Seifert" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Sat, 5 Jun 2004 19:31:34 +0530 [EMAIL PROTE
I have been asked to make a fact based comparison of
the pros and cons of asp.net and php. I am not trying
to start a war and apologize if this is too off topic,
but I know make of the list members work in other
coding languages.
Three areas of concern are robustness, scalability and
development
on 30/5/04 6:59 pm, Ryan A at [EMAIL PROTECTED] wrote:
> Hey,
> A prospective client has asked me to try to convert his Swedish site so that
> visitors have a choice between Swedish and English, which is not a problem
> as I am fluent in both languages. After going through the site to convert I
>
coopster wrote:
Do I need to change the session.save_path directive for each virtual
host to use their own directory other than the system and/or PHP default
(/tmp) in order to effectively override each virtual host
session.gc_maxlifetime directive?
Yes. But I did not read bellow ;-)
Let me offe
[EMAIL PROTECTED] wrote:
Hi I have the following situation:
I've got a domain that is hosted at a certain host. This host allows me
to create subdomains, and also to add several domains to the same account.
The thing is if I add a domain like xxx.com to my yyy.com both will be directed
to my index.
Brian Dunning wrote:
I'm not sure if this is a complex SQL query or a PHP array sorting
thing, but what's the best way to take this data:
Tom
Greg
Brian
Tom
Brian
Tom
And return the following results, sorted by number of records:
Tom - 3
Brian - 2
Greg - 1
Any thoughts?
I'm not
50 matches
Mail list logo