Hello all:
I had a few questions.
First, I'm using php-fastcgi with nginx for my primary web server. I was
wondering what sorts of optimizations exist to make this process a lot
faster.
Second, I'm setting up a custom application, and it contains an
authentication module for login/registration.
Is the a way to have an array, or use __get() to provide different data
if you are echoing a variable, rather than if you are using it in a 'if'
statement?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
w they're done)
Since no such system is absolutely positively foolproof, you'll
probably want to look into optimistic locking if you want to guarantee
that no one's changes are accidentally overwritten.
Tyler
On 8/17/05, Bret Walker <[EMAIL PROTECTED]> wrote:
> Hello-
>
s by giving your php script access to cmd.exe, or
copying cmd.exe into the directory that contains your php dll or exe.
(you may have already done this, or this may be different in newer
versions of windows -- I haven't had this issue in a while)
Tyler
--
PHP General Mailing List (http://www.p
function named_print($var_name) {
return "echo 'the variable named $var_name is set to ' . \$var_name;"
}
eval(named_print($foo));
;-)
Tyler
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've always liked storing all data in the DB to keep things simple, so
I stored images in the DB and then cache them on the filesystem when
they're first requested. Granted, it's pretty inefficient with disk
space, but if you have a good ORM db lib and caching lib, it's
extremely convenient.
--
P
On 7/12/05, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote:
> Probably just means the lists aren't very technical.
That comment amused me greatly, because the only other mailinglist I'm
on is the Ruby on Rails list, and that one does reply-to munging.
What that says about the respective userbases of PH
you could just use the time() or numbers of the date function
From: "PartyPosters" <[EMAIL PROTECTED]>
To:
Subject: [PHP] Converting to a string
Date: Wed, 23 Mar 2005 20:43:30 -
MIME-Version: 1.0
Received: from lists.php.net ([216.92.131.4]) by mc10-f11.hotmail.com with
Microsoft SMTPSVC(6.0
Can you update two tables in one mysql query
i've got these two queries
$db->query("update `dbn_members_counters` set views =(views +1) where id =
'$this->id' ");
$db->query("update `dbn_members` set lastaction = $conf->site_time, page =
'$this->page' where id = '$this->id' ");
and i was wonder
lol, its been hard not to, its happened a few times but now that hotmail is
250 mb i'm fine.
From: anirudh dutt <[EMAIL PROTECTED]>
Reply-To: anirudh dutt <[EMAIL PROTECTED]>
To: Tyler Replogle <[EMAIL PROTECTED]>
CC: php-general@lists.php.net
Subject: Re: [PHP] getting m
off JavaScript, or even make it run
some new JavaScript code specific to that site, with a click of a button in
most modern browsers, and giving the user the ability to completely spoof a
part of your control system is never a good idea ;)
- tul
Tyler Replogle wrote:
do you think i could get
nigths Online,WoW or
Mu,in lan houses. If you ban the pc, none of the users who will play
at this computer will be able to do it.
On Fri, 25 Feb 2005 15:52:02 -0800, Tyler Replogle <[EMAIL PROTECTED]>
wrote:
Hey,
I've been on this mailing list for quite a while, but i think this is my
users who will play
at this computer will be able to do it.
On Fri, 25 Feb 2005 15:52:02 -0800, Tyler Replogle <[EMAIL PROTECTED]>
wrote:
> Hey,
>
> I've been on this mailing list for quite a while, but i think this is my
> first question. I'm not sure though.
>
&g
Hey,
I've been on this mailing list for quite a while, but i think this is my
first question. I'm not sure though.
Well here goes.
I'm working at this site that has an MMORPG, a big online game, and we have
this ban script. it bans the ip for the user and the user acount for an
amount of time.
So many people have said this, but i think its fix.
From: John Nichel <[EMAIL PROTECTED]>
To: PHP Mailing Lists
Subject: [PHP] What's up with the list?
Date: Fri, 25 Feb 2005 09:11:34 -0500
MIME-Version: 1.0
Received: from lists.php.net ([216.92.131.4]) by mc4-f38.hotmail.com with
Microsoft SMTPS
Hey
Most of your question can be asnwer by this one i hope.
I don't know how to make it so would only work, but i know how to make
it i could work.
You could change the "<, >" in only tags to [ ] before you take the html
tags out then after you could change the "[,]" to "<,>" in only [a] tags o
Yeah same here. I think it went down.
From: Lester Caine <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Subject: [PHP] List gone quiet?
Date: Fri, 25 Feb 2005 11:13:50 +
MIME-Version: 1.0
Received: from lists.php.net ([216.92.131.4]) by mc9-f30.hotmail.com with
Microsoft SMTPSVC(6.0.3790.21
I think it didn't because i wasn't getting an emails for a while last night.
I wanted one too becuase i didn't have the email to start a new message.
From: Kris <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Subject: [PHP] list down
Date: Thu, 24 Feb 2005 15:04:31 -0600
MIME-Version: 1.0
Recei
Try doing the hash code after the password is posted
From: "Erbacher Karl" <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Subject: [PHP] Hash Issues
Date: Thu, 24 Feb 2005 08:26:35 -0800
Received: from lists.php.net ([216.92.131.4]) by mc5-f20.hotmail.com with
Microsoft SMTPSVC(6.0.3790.211); F
Try php.net for flat file date basing. It should tell you how to read a line
and write to a new line.
From: Tim Burgan <[EMAIL PROTECTED]>
To: "[php] PHP General List"
Subject: [PHP] HOWTO read PHP source code into a textarea
Date: Fri, 25 Feb 2005 10:26:36 +1030
MIME-Version: 1.0
Received: from
Yes i think you can but i really won't do that. It does depend on the server
and php verison that is installed on the server.
From: Steve Buehler <[EMAIL PROTECTED]>
To: PHP
Subject: [PHP] FTP info in a variable
Date: Thu, 24 Feb 2005 11:19:25 -0600
MIME-Version: 1.0
Received: from lists.php.net
$str_array = explode("/", ""/home/karthik/welcome.php/view.php");
// $str_array[4] shoud be view.php
From: K Karthik <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Subject: [PHP] [php] -help me
Date: Fri, 18 Feb 2005 11:20:29 +0530
MIME-Version: 1.0
Received: from lists.php.net ([216.92.131.4])
Greg Donald wrote:
On Wed, 22 Dec 2004 13:56:39 -0800, Donald Tyler <[EMAIL PROTECTED]> wrote:
I do have a rudimentary knowledge of *nix stuff
I don't mean to offend, but it doesn't really seem so. Basic *nix
skills usually include knowing how to configure, compile, and
[EMAIL PROTECTED] wrote:
Quoting Donald Tyler <[EMAIL PROTECTED]>:
I did RTFM. The exact page you linked to in fact:
QUOTE:
Requirements
In order to have these functions available, you must compile PHP with
support for the mysqli extension.
END QUOTE
That is the whole point of my requ
Nichel wrote:
Donald Tyler wrote:
Hi,
I am looking for a guide on compiling PHP 4. I am a complete newbie
to compiling and have no idea where to start, so any links to guides
and/or other useful info would be much appreciated.
My reason is that I need MySQL 4 support, but I would like to get a
program source in general.
Thanks in advance.
Donald Tyler
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
have you tride using chop() ?
# begin code
$year_split = date("Y");
$chars = chop($year_split);
$chars[0] // = 2
$chars[1] // = 0
$chars[2] // = 0
$chars[3] //= 4
# end code
I hope that will help
From: Louie Miranda <[EMAIL PROTECTED]>
Reply-To: Louie Miranda <[EMAIL PROTECTED]>
To: [EMAIL
Thanks,
But im using php 4.3.
Quoting Curt Zirzow <[EMAIL PROTECTED]>:
> * Thus wrote Robert Cummings:
> > On Mon, 2004-08-23 at 20:54, John Holmes wrote:
> > > [EMAIL PROTECTED] wrote:
> > >
> > > You could write a wrapper class for Test that kept count of the
> > > instances and returned a ne
hi,
What is best method(if it's possible) to count how many times an object is
instanced in one time script call?
I means that if i have a class named "Test", i what to know how many times she's
called, how many copies exists etc. The idea is for monitoring in the way to
optimizing the code.
The m
hey,
I just did all of that and it took me 1 hour and 35 mins, but I edited the
code that i had already made from site before. It didn't take my anywhere
near 4 hours, but there is no way i could do it in 40 mins.
From: Derrick fogle <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]> <[EMAIL PROTECTE
hey,
don't you need a page thats after that and will check the info, if you have
it will help use see what your problem with the $_POST[] is.
From: "Shelby" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [PHP] Problem with PHP + WML + Post method
Date: Fri, 4 Jun 2004 11:46:10 +0800
Hi,
I'
yeah same thing for me, but i don't really care, its no reason to start
hacker the server.
From: "Steve Douville" <[EMAIL PROTECTED]>
Reply-To: "Steve Douville" <[EMAIL PROTECTED]>
To: "Php-General-Help" <[EMAIL PROTECTED]>
Subject: Re: [PHP] Spammers
Date: Tue, 1 Jun 2004 11:57:33 -0400
Those m
hey, you could use some jave script there
a.php:
echo 'hello';
echo"
hey,
I'm not going to call you, but we can talk over the net with email. I also
have msn ([EMAIL PROTECTED]) and aim (catim2005). That goes for anyone that
want to talk. O and if see my buddy icon on aim don't be scared.
From: Domains4Days <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: [PH
aslo you could change it to something else like this
$_GET['id'] = $id;
if (!$id) {
// whatever you want to happen put here
}
From: "Daniel Clark" <[EMAIL PROTECTED]>
Reply-To: "Daniel Clark" <[EMAIL PROTECTED]>
To: "Brian Dunning" <[EMAIL PROTECTED]>,"[EMAIL PROTECTED]"
<[EMAIL PROTECTED]>
Subjec
hey,
i didn't quite get when you ment by that but have you tried using
$DOCUMENT_ROOT before your path, that might help it will be something like
this
require_once('$DOCUMENT_ROOT/test/db.php');
$DOCUMENT_ROOT goes to your first folder that shows up online (where your
index page is)
From: "Sh
he one i wrote...they
seem to be exactly the same??
- Original Message -
From: "Tyler Replogle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, April 07, 2004 9:43 PM
Subject: RE: [PHP] very large and long if statement
> h
yes i do but here is a really good tutorial on it
http://www.phpfreaks.com/tutorials/120/0.php
From: "Wykis" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [PHP] Cookies
Date: Fri, 2 Apr 2004 16:52:23 +0100
Does Any One Knows How To Set And Get Cookies?
--
PHP General Mailing List (http://w
hey,
i don't know how to make it smaller but should it be
if
(!empty($_SESSION['add']['type'])
&& !empty($_SESSION['add']['start_date'])
&& !empty($_SESSION['add']['end_date'])
&& !empty($_SESSION['add']['name'])
&& !empty($_SESSION['add']['county'])
&& !empty($_SESSION['add']['discription'])
&& !e
hey,
trying putting at where in your "SELECT * FROM $main_tbl" so it looks like
this
SELECT * FROM $main_tbl where "whatever" = "somthing"
you can also make a limit in "SELECT * FROM $main_tbl" just like this
SELECT * FROM $main_tbl LIMIT 4
From: "Jason T. Davidson" <[EMAIL PROTECTED]>
Reply-To
hey, what kind of news group are you talking about. Like a news script where
people can post news? and would you like it in mysql or text files?
From: "Shimi" <[EMAIL PROTECTED]>
Reply-To: "Shimi" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [PHP] Not exactly PHP
Date: Tue, 6 Apr 2004
hey, i think the reason you get no reply is becauase no one knows why it
happens
From: Ben Ramsey <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [PHP] Re: PHP Access Violation using PEAR::Mail_smtp
Date: Tue, 06 Apr 2004 14:27:08 -0400
I've asked about PHP Access Violation errors before (t
hey,
yes it would take 2 steps i made a script like this before so i know, i
stpent much time looking for it, but php doesn't get info like that because
it is running on the server and not the computer or viewer's computer
From: E.H.Terwiel <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To:
guess they were really the same connection even though
they were two separate private variables in different objects.
Thanks for your help
-Original Message-
From: Luke [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 4:22 PM
To: Donald Tyler
Subject: Re: [PHP] 2 x DB connections a
to have two completely separate DB connections active at
the same time?
-Original Message-
From: Donald Tyler [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 3:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP] 2 x DB connections at once
I thought this was possible, but it doesn't
I thought this was possible, but it doesn't seem to be working:
I have a class, that has a private variable called $this->Connection, which
is a Database Connection pointer to a MySQL database. During the lifetime of
the Class, it uses the connection multiple times without a problem.
The class al
if it doesn't work, I would check
your webserver and see if anyone has messed around with the PHP
configuration.
Someone must have changed something if it was working before.h
-Original Message-
From: craig [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 12:21 PM
To: Donald Tyl
Hi
Anyone know if Rasmus (or anyone for that matter) is writing a book on PHP
5? And when it might be available?
Thanks
Donald Tyler
Is it just showing that one or in all three text fields?
-Original Message-
From: craig [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 11:24 AM
To: Php
Subject: [PHP] textfields showing php tags & code
Hi All,
This one has me stumped, it worked yesterday, but not today,
and
This is the method I recommend also.
The token method works fine, but is slightly harder to implement.
Basically you would keep the function that creates the record separate from
the page that shows confirmation of the record being created.
e.g.
1. User visits:
www.mysite.com/accounts/p
You would use sockets if you were developing a client/server application
that was making a LOT of requests very quickly.
Opening and closing connections using normal HTTP methods gets slow when
carrying out such intense data communication.
A good example would be an online game where you need to
Try this:
function Resize_Image($FilePath, $new_w){
$File = fopen($FilePath, "r");
$FileContents = fread($File, filesize($FilePath));
$src= imagecreatefromstring($FileContents);
$width = imagesx($src);
// Shrink the image to the maximum width
We are just about to try and get this working with sockets ourselves. Our
intranet currently does exactly what you are trying to do, but without using
sockets.
In reply to your question, there is no one site for XMLRPC really. I suggest
you read up on the following subjects:
XMLRPC document speci
We use XMLRPC to communicate between flash & PHP. I presume it can be
coupled with sockets if you should need a permanent connection as well.
It has worked perfectly for pretty much anything we throw at it (It allows
you to send any PHP or Action script native data type, e.g. arrays,
Booleans, int
: Dagfinn Reiersøl [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 11:50 AM
To: PHP General
Subject: Re: [PHP] Syntax Error -> This is WEIRD!
Donald Tyler wrote:
>Yes your right, thats exactly the problem. I didnt even realize he was
>doing that.
>
>By including the PHP fil
Yes your right, thats exactly the problem. I didnt even realize he was
doing that.
By including the PHP file via HTTP, you are including the OUTPUT of the PHP
file, not the actual PHP file itself.
e.g.
by including a file with the following code:
you would be including the word "Hello" as P
There could be something you're not seeing and assuming it's correct. But
typing your code into the email we aren't getting the full story.
Can you actually attach your scripts to an email and send that? Copying and
pasting then into the email won't necessarily provide all the info needed to
solve
log or the mysql log.
Does anyone have any idea what is going on?!?
Thanks
Donald Tyler
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
log or the mysql log.
Does anyone have any idea what is going on?!?
Thanks
Donald Tyler
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;assign("message","ERROR: There was an error deleting those
workers from the project.");
}
else {
$tpl->newBlock('message');
$tpl->assign("message","The workers have been deleted from the
project.");
}
If you (or anyone else) k
Hi Philip,
strlen() will work.
http://www.php.net/manual/en/function.strlen.php
Best Regards,
--
Tyler Longren
J.D. Web Services, L.C.
On Wed, 2004-01-07 at 01:25, Philip J. Newman wrote:
> can someone point me to the right place for a thing that would count charactors in a
>
t, if no WHERE clause is in the query, then it will
automatically return a 0. As you can see, my query above does have a
WHERE clause. Can anyone help me out?
Thanks!!!
Best Regards,
--
Tyler Longren
J.D. Web Services, L.C.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Tom,
$_POST['test'][] doesn't work. I thought I had tried $test =
$_POST['test'] before and it didn't work. I just tried it though and it
seemed to work.
Thanks Tom!
Tyler
On Mon, 2004-01-05 at 22:20, Tom Rogers wrote:
> Hi,
>
> Tuesday, January 6
me to RTFM
won't help cuz I've red that section. Don't tell me to STFA (search the
fuckin archives???), cuz I've done that also.
Thanks for your understanding!
tyler
On Mon, 2004-01-05 at 22:05, Tyler Longren wrote:
> Hi,
>
> http://www.php.net/manual/en/faq.html.p
the "test" field like this:
count($_POST['test']);
But since I have to have the [] in the name="" ()part, I get parse errors when trying to read it:
ex: count($_POST['test[]']);
That doesn't even look right. Anyone understand what I'm tryin to get
a
d the $i to the outside of the [] and it works now.
Thanks for everyone's input..helped me open my eyes a bit.
Tyler
On Mon, 2003-12-22 at 12:51, John W. Holmes wrote:
> Tyler Longren wrote:
> > Error:
> > Parse error: parse error, expecting `']'' in
> >
lue from my
"domainregister_domain1" field if $i=1?
Thanks,
Tyler
Thanks,
Tyler
On Mon, 2003-12-22 at 12:47, Matt Matijevich wrote:
> [snip]
> Sorry, should have mentioned that I tried quoting them already. That
> gives a T_VARIABLES parse error.
>
> Thanks for the r
Sorry, should have mentioned that I tried quoting them already. That
gives a T_VARIABLES parse error.
Thanks for the reply,
Tyler
On Mon, 2003-12-22 at 12:30, Sam Masiello wrote:
> Perhaps it doesn't like the fact that you don't have quotes around your
> array keys?
>
&g
'$_POST[domainregister_years$i]','$_POST[domainregister_price$i]')");
Anyone know why that parse error is happening? I can't find a missing
"]" anywhere.
Any help would be greatly appreciated.
Thanks,
Tyler Longren
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
>
> is there one that will recover the display settings of the user?
>
> Matt
--
Tyler Lane <[EMAIL PROTECTED]>
Lyrical Communications
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Pablo Gosse; Donald Tyler; [EMAIL PROTECTED]
Subject: RE: [PHP] Sessions within new windows
--- Pablo Gosse <[EMAIL PROTECTED]> wrote:
> Hi Donald. I just tried this in XP Professional on IE 6.0 and it
worked
> fine, both via a javascript function and a standard link with the
targe
I am downloading ethereal and I will post my findings.
-Original Message-
From: Chris Shiflett [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 2:31 PM
To: Pablo Gosse; Donald Tyler; [EMAIL PROTECTED]
Subject: RE: [PHP] Sessions within new windows
--- Pablo Gosse <[EM
Windows update doesn't fix the problem. I keep my system updated 100% of
the time.
I no one has mentioned getting it to work on Windows XP. That is what I
am using, Windows XP Professional. Maybe the problem is confined to XP.
Here is the EXACT IE version that I am using:
6.0.2800.1106.xpsp2.030
-Original Message-
From: Pablo Gosse [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 2:11 PM
To: Donald Tyler
Subject: RE: [PHP] Sessions within new windows
Hmm, that's strange.
I use Javascript functions to control the few pop-up windows in the CMS,
but I just
I am using a normal link. Here is the exact html code:
-Original Message-
From: Pablo Gosse [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 11:17 AM
To: [EMAIL PROTECTED]; Donald Tyler; [EMAIL PROTECTED]
Subject: RE: [PHP] Sessions within new windows
That's strang
Yeah I was. I did try that though and it made no difference =0(
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 8:40 AM
To: Donald Tyler
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Sessions within new windows
Are you using _blank as
Just a quick update:
It seems to only be a problem with Internet Explorer on the PC. Both IE
& Safari on MacOSX work as expected.
-Original Message-
From: Donald Tyler [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 8:17 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Sess
Hi,
Not sure if this is a PHP or Browser issue but here is my problem:
I have a site that has a members section. In the news area, when a user
clicks the link for an article, it pops open a new window a requests the
article via a PHP script.
What's happening is that when the new window
Hi,
I am publishing a site I have developed and I am having problems with
the scripts being able to access the remote MySQL server. When I try to
connect using the PHP scripts I just get an error saying that access is
denied.
I can access it fine from my machine using PHPMyAdmin so I know that
re
OrangeHairedBoy wrote:
Hi all,
I'm trying to write a script to get the next last friday of the month and I
am failing miserably. It keeps giving me October 10th. So, I scrapped it.
Basically, I just want to show what the last friday of the month is, and if
that date has already passed, show the l
Hi,
We are building an Intranet for our company and I was wondering how
people deal with having to restart the server when its running an
intranet. Obviously if there is a complex process running and the server
restarts in the middle of it then its going to screw a lot of stuff up.
The o
t;
> if(session_is_registered("user_valid")){
>
> $filepath ="docs/any_file.pdf";
--
Tyler Lane <[EMAIL PROTECTED]>
Lyrical Communications
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This is not possible with PHP alone. You need to use some client side
code such as JavaScript or Flash.
I would recommend JavaScript. It would be pretty easy to accomplish what
you are talking about with that.
Grab yourself a copy of "JavaScript the Definitive Guide" by Orielly.
It's pretty compr
Just incase you weren't aware. You can change the Max execution time
during the script with:
set_time_limit(Milliseconds);
-Original Message-
From: Decapode Azur [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 27, 2003 5:51 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Resource Limits
hi
Session auto start is not enabled as default because it is a performance
drain. It is much more efficient to use session_start() only when you
need it.
The easiest way to do things is usual the worst. (Most inefficient)
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]
Se
Blanchard [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:40 AM
To: Donald Tyler; [EMAIL PROTECTED]
Subject: RE: [PHP] mysql.sock file location
[snip]
I wasn't worried about short code =0P
I would have done this if I was:
$Connection = mysql_conn
> dealing with whitespace so it does not make much sense right now with my
> current output
>
> Please help.
>
> Thanks,
> -Ryan
>
>
>
>
> We will slaughter you all! - The Iraqi (Dis)information ministers site
> http://MrSahaf.com
--
Tyler Lane &l
Don't know yet, I've managed to stop mysql from loading now! (See my
previous mail)
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:40 AM
To: Donald Tyler; [EMAIL PROTECTED]
Subject: RE: [PHP] mysql.sock file location
No not a network IP ping. A mysqladmin ping:
Mysqladmin --user=root ping
-Original Message-
From: Brad Pauly [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:53 AM
To: Donald Tyler
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] mysql.sock file location
Donald Tyler wrote
y structure and
everything (including ibdata1) is set to root:mysql 755
I am going to headbut the screen in a minute!
-Original Message-
From: Donald Tyler [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:32 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] mysql.sock file location
Miller [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:15 AM
To: Donald Tyler
Subject: Re: [PHP] mysql.lock file location
On Thursday 25 September 2003 8:55, you wrote:
> Is there no way for me to change the default location for PHP? I have
> quite a few scripts that I really don
nt: Thursday, September 25, 2003 10:13 AM
To: Brad Pauly; Donald Tyler
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] mysql.sock file location
[snip]
> Here's the test script I am using: (Presume that's what you meant by
> "connection string&qu
Yes, I ping it and it says its alive.
-Original Message-
From: Brad Pauly [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:07 AM
To: Donald Tyler
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] mysql.sock file location
Donald Tyler wrote:
> Yeah I thought so to. But I di
ember 25, 2003 9:44 AM
To: Donald Tyler; [EMAIL PROTECTED]
Subject: RE: [PHP] mysql.sock file location
[snip]
Warning: mysql_connect(): Can't connect to local MySQL server through
socket '/var/lib/mysql/mysql.sock' (13) in
/usr/local/apache2/htdocs/dbtest.php on line 3
[/snip]
Can we
ysql/mysql.sock
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 9:06 AM
To: Donald Tyler; [EMAIL PROTECTED]
Subject: RE: [PHP] mysql.sock file location
[snip]
I meant "mysql.sock", sorry.
Does anyone know how to tell PHP to look in a d
file in another location.
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 8:26 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] mysql.lock file location
On Thursday 25 September 2003 21:17, Donald Tyler wrote:
> Does anyone know how to tell
I meant "mysql.sock", sorry.
-Original Message-
From: Donald Tyler [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 8:18 AM
To: [EMAIL PROTECTED]
Subject: [PHP] mysql.lock file location
Hi,
Does anyone know how to tell PHP to look in a different locati
Hi,
Does anyone know how to tell PHP to look in a different location for the
mysql.lock file? It's currently looking in /tmp/ and that's wrong.
Thanks
Donald
PHP can be installed as either a CGI or an Apache module. There is
documentation on this in the PHP readme files.
Pretty much everything I read said that its always better to use the
Apache Module version. (apparently its much more stable and secure)
-Original Message-
From: Scott Fletche
n the
hard drive and THEN import it into the image object?
Thanks in advance for your help.
Donald Tyler
1 - 100 of 435 matches
Mail list logo