mike wrote:
On 5/29/08, Weston C [EMAIL PROTECTED] wrote:
Fortunately, I'll have full control of the hosting environment in the
context this matters. :)
dl is definitely interesting, but I'm worried that runtime invocation
might mean performance hits. Is there a way to do load/startup time
Scott McNaught [Synergy 8] wrote:
Hello,
I am running a production server with APC and php. We recently had a crash
where APC bombed out. When it does this, the server serves empty, white
pages.
Here is what the error_log says.
I have not yet found a resolution for this. There are no calls
Please take a look at code.
a.php
$obj=new my(Hello);
$obj-buff();
Class my{
private $word;
function __construct($getword){
$this-word=$getword;
}
public function buff(){
echo $this-word.br /;
}
--
Try removing from a.php the lines:
$obj=new my(Hello);
$obj-buff();
I think this will achieve what you want.
-Original Message-
From: Yui Hiroaki [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2008 11:01 PM
To: php-general@lists.php.net
Subject: [PHP] Avoid object twice
Please take
-Original Message-
From: blackwater dev [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 01, 2008 9:26 PM
To: Shawn McKenzie
Cc: php-general@lists.php.net
Subject: Re: [PHP] saving outside website content via php...
Yes, but file_get_contents will get me the code which I could then
Boyd, Todd M. wrote:
-Original Message-
From: blackwater dev [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 01, 2008 9:26 PM
To: Shawn McKenzie
Cc: php-general@lists.php.net
Subject: Re: [PHP] saving outside website content via php...
Yes, but file_get_contents will get me the code which
I'm converting upper case characters in a string to lower case and am
coming up with an empty string.
As I've done a million times before with other non-numerical strings.
$thisStr = CL22;
$strLow = strtolower($thisStr);
echo $thisStr;
Why does $strLow come up empty?
Thanks,
Ed
--
PHP
Yui Hiroaki wrote:
Please take a look at code.
a.php
$obj=new my(Hello);
$obj-buff();
Class my{
private $word;
function __construct($getword){
$this-word=$getword;
}
public function buff(){
echo $this-word.br /;
}
--
Richard Heyes wrote:
Ed Curtis wrote:
I'm converting upper case characters in a string to lower case and am
coming up with an empty string.
As I've done a million times before with other non-numerical strings.
$thisStr = CL22;
$strLow = strtolower($thisStr);
echo $thisStr;
Why does
Ed Curtis wrote:
I'm converting upper case characters in a string to lower case and am
coming up with an empty string.
As I've done a million times before with other non-numerical strings.
$thisStr = CL22;
$strLow = strtolower($thisStr);
echo $thisStr;
Why does $strLow come up empty?
Richard Heyes wrote:
Ed Curtis wrote:
I'm converting upper case characters in a string to lower case and am
coming up with an empty string.
As I've done a million times before with other non-numerical strings.
$thisStr = CL22;
$strLow = strtolower($thisStr);
echo $thisStr;
Why does
Does :
/echo strtolower(CL22);/
work?
You could also try :
/var_dump($strLow);
/
Ed Curtis wrote:
Richard Heyes wrote:
Ed Curtis wrote:
I'm converting upper case characters in a string to lower case and
am coming up with an empty string.
As I've done a million times before with other
Michael Kubler wrote:
Does :
/echo strtolower(CL22);/
work?
You could also try :
/var_dump($strLow);
/
Ed Curtis wrote:
Richard Heyes wrote:
Ed Curtis wrote:
I'm converting upper case characters in a string to lower case and
am coming up with an empty string.
As I've done a million
On 2-Jun-08, at 10:25 AM, Ed Curtis wrote:
I found the problem myself. The actual code follows the same
principal but the value of $thisStr is a $_GET value from a link.
The name of that value in the link was 'style'. Oops, you should
never use a HTML reserved attribute as a varible
Hi phpers,
I'm having a strange problem. My goal is to be able to generate
navigation buttons on the fly. I had this working -- I could pass
variable text, size and font information to the php page that
generates the image and all worked as expected--png files were
created, stored and
i have a registration page called register.php if the data entered is
validated correctly i call a file called thankyou.php or else validate.php
presently a user after seeing the url website.com/thankyou.php if they enter
the url directly in the browser as website.com/thankyou.php they can
Hello All, my first time here at list.
Well, I am with a very weird question, never happened with me,
always worked fine.
First of all, I am using WAMP (php 5.2.6, apache 2.2.8, mysql
5.0.51b), Firefox (All
cookies allowed), Windows XP SP 3 (I think ;-)... Ah, the
session.save_path
How are you calling thankyou.php?
1. are you -redirecting- the user to that file?
--or--
2. are you -including- that file into register.php upon a successful
submission?
The method you're using determines how you best secure thankyou.php
from direct access.
If you're redirecting, then
1. If you're using cookies, there's no need to pass the session name
via the URL.
2. Is the cookie being created?
~Ted
On 2-Jun-08, at 11:32 AM, Razer Montaño wrote:
Hello All, my first time here at list.
Well, I am with a very weird question, never happened with me,
always worked
Yes, the cookie is being created. I show it in Firefox (Tools |
Options | Privacy | Show Coockies).
So the Session File, is being created at session.save_path, as
configured in PHP.INI.
:(
Thank you for your response.
2008/6/2 Ted Wood [EMAIL PROTECTED]:
1. If you're using
I was working on a project for XML Parsing. I came across instances where my
elements were completely missing.
After further Digging into the issue, I found out, that when placing tags
inside of an element with text, SimpleXML (and dom Document) ignore the
added tags, and the text within.
Heres
Could someone please point me in the right direction here please?
I have a form textarea field (submitted using POST) that accepts free
text that will include the likes of '£' (pound sterling symbol) that
is written to a MySql database and later retrieved to output into an
HTML email.
I have
On Mon, Jun 2, 2008 at 3:12 PM, Kyle Browning [EMAIL PROTECTED] wrote:
I was working on a project for XML Parsing. I came across instances where
my
elements were completely missing.
After further Digging into the issue, I found out, that when placing tags
inside of an element with text,
On Mon, Jun 2, 2008 at 4:32 PM, Kyle Browning [EMAIL PROTECTED] wrote:
I used both print_r and var_dump.
Whats supported for ultimate nesting prints of values and keys?, or in
objects words, properties and values.
cc'ng the list again..
well var_dump() and print_r() just arent supported for
Graham Cossey wrote:
Could someone please point me in the right direction here please?
I have a form textarea field (submitted using POST) that accepts free
text that will include the likes of '£' (pound sterling symbol) that
is written to a MySql database and later retrieved to output into an
This is most likely a character encoding issue. Check that the html encoding
is set to the same type as what your storing it as in mysql.
/James
On Mon, Jun 2, 2008 at 10:26 PM, Graham Cossey [EMAIL PROTECTED]
wrote:
Could someone please point me in the right direction here please?
I have a
if I delete
$obj=new my(Hello);
$obj-buff();
I can not show Hello.
I would like to see hello one time only.
Regards,
Yui
2008/6/2 Scott McNaught [Synergy 8] [EMAIL PROTECTED]:
Try removing from a.php the lines:
$obj=new my(Hello);
$obj-buff();
I think this will achieve what you want.
two table, tablea and tableb
tablea
uid, col1, col2, col3
1,xx, xx, xx
2,xx, xx, xx
3,xx, xx, xx
tableb
id, uid, col1, firstdata
1, 1, xx, 1
2, 2, xx, 0
3, 2, xx, 0
4, 1, xx, 0
i want query tablea, and join tableb, uid is associate, ok LEFT JOIN
`tableb` b ON a.uid = b.uid, and than
28 matches
Mail list logo