> One could ask if it would just pass to
> the constructor, but it doesn't. I don't know if there's a technical
> reason
> for that or if just no one implemented it, but the short answer is "The
> language doesn't do that."
That's what i was asking about, when trying to "cast" something into a n
Hullo!
I'm having a pig of a time trying to figure this one out: I have an
XHTML document which I've loaded into a DOMDocument because I want to
add more tags to it. However, since I live in a bilingual country, I
want to get the document's xml:lang attribute so I know what language
to add my ne
VamVan wrote:
Hello All,
What is the best method to build and deploy php scripts along the different
environments? You can talk about rpm's and stuff
My specific scenario is
Step1:
Developer checks code in to perforce (repo)
Step 2:
Then I need to upgrade my integration instance.
Step 3:
Doese any know how to find text in mobile using Regular Expression?
I am using php.
Regards,
Yui
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Borden Rhodes wrote:
I'm having a pig of a time trying to figure this one out: I have an
XHTML document which I've loaded into a DOMDocument because I want to
add more tags to it. However, since I live in a bilingual country, I
want to get the document's xml:lang attribute so I know what langua
Thanks for ideas, Nathan.
> dunno if this was a typo on your part, but shouldnt it be,
> ini_get("output_buffering") ?
>
yes...was getting tired last night. but it is correct in the code.
> you might not be getting your settings from the ini file you think you are,
> or there could be another on
Thank you, Rob,
Unfortunately, that didn't work, either (though I'll keep it in mind).
The returned string is still empty.
I also unsuccessfully fetched the 'xmlns' attribute using
getAttribute(). Interestingly, although hasAttributes(void) returns
true, hasAttribute('xmlns'), and hasAttribute(
I think I solved this issue by using the -d option on the commandline.
When I use:
php -d output_buffering=On ./filename.php
the local value / active value of output_buffering is correct.
MKB
On Wed, Jun 11, 2008 at 5:54 AM, Mike Burba <[EMAIL PROTECTED]> wrote:
> Thanks for ideas, Nathan.
>
>>
You might want to put a link to a complete example because
$page->documentElement->getAttributeNS('http://www.w3.org/XML/1998/namespace',
'lang'); is how you access it.
Rob
[EMAIL PROTECTED] wrote:
Thank you, Rob,
Unfortunately, that didn't work, either (though I'll keep it in mind).
The
Doese any know how to find text in mobile using Regular Expression?
I am using php.
Mobile what?
--
Richard Heyes
Employ me:
http://www.phpguru.org/cv
++
| Access SSH with a Windows mapped drive |
|http://www.phpguru.org/sftpdrive|
+
Ooops!
It it mobile mobile phone!
Regards,
Yui
2008/6/11 Richard Heyes <[EMAIL PROTECTED]>:
>> Doese any know how to find text in mobile using Regular Expression?
>> I am using php.
>
> Mobile what?
>
> --
> Richard Heyes
>
>Employ me:
> http://www.phpguru.org/cv
>
> +
> -Original Message-
> From: Alberto García Gómez [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 10, 2008 9:49 PM
> To: PHP General list
> Subject: [PHP] About HTML & CSS
>
> Hi Fellow:
>
> I wonder if there some list about HTML/CSS/JavaScript and Genereal Web
> Design.
>
> Thanks
STFW
Kasun,
I would suggest using simple Javascript to allow them to print.
Something like:
**THE JAVASCRIPT**
**PUT THIS ANYWHERE IN YOUR FORM**
Print This Page
On Wed, Jun 11, 2008 at 9:43 AM, Yui Hiroaki <[EMAIL PROTECTED]> wrote:
> Ooops!
> It it mobile mobile phone!
>
> Regards,
> Yui
>
> 2008/6/11 Richard Heyes <[EMAIL PROTECTED]>:
> >> Doese any know how to find text in mobile using Regular Expression?
> >> I am using php.
> >
> > Mobile what?
> >
>
I'm confused.
PHP runs on the server, so it shouldn't be a problem at all to run regex
search/reaplce/match/whatever on mobile phone internet, maybe you are
talking on JS regex?
Nitsan
On 11/06/2008, Yui Hiroaki <[EMAIL PROTECTED]> wrote:
>
> Doese any know how to find text in mobile using Regul
sorry if I double posted:
Hello,
I'm trying to move my apache server from a Fedora Core 1 with PHP V
4.3.8 onto a newly built Centos 5 with PHP 5.1.6, all applications
installed by rpms. The www root dir is "/projects/proj2/www/html" and
it is a nfs mounted share.
During the installatio
Hello,
because it is actual for me while having some problems with Ubuntu's
LAUNCHPAD (does not support threating) I like to know, whether there is
a light Forum software written in PHP availlable.
It should support:
1) PostgreSQL (my own database)
2) MySQL (my curr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I am working on a script that will take a few folders, copy them to a
temp location, and then create a zipfile. The problem i'm running into
is that some of these zips are upwards of 300mb, and when I use exec to
execute the zip function, or use t
Is it possible to set a unique memory limit for PHP scripts that are
run from the command line? (That is, different from what's specified
in php.ini.)
...Rene
On Wed, Jun 11, 2008 at 4:35 AM, Mike Burba <[EMAIL PROTECTED]> wrote:
> I think I solved this issue by using the -d option on the commandline.
>
> When I use:
> php -d output_buffering=On ./filename.php
>
> the local value / active value of output_buffering is correct.
kudos, and nice find ;)
Hi,
I am currently using a Linux box with Fedora to run my PHP scripts, which I
have seen in the download page at http://www.php.net/downloads.php that
We do not distribute UNIX/Linux binaries. Most Linux distributions come with
PHP these days.
What I am wondering is, if I can run my sc
Do you have php-mysql installed? In ubuntu for php5 the package is
php5-mysql.
-Allen
Wei, Alice J. wrote:
Hi,
I am currently using a Linux box with Fedora to run my PHP scripts, which I
have seen in the download page at http://www.php.net/downloads.php that
We do not distribute UNIX/L
Hi,
I have originally commented out all the MS SQL lines in the php.ini files so
that it supports MS SQL, but that does not seem to work. MySQL? Since I am not
using that to connect my PHP to, do I still need to install it? By the way, my
Microsoft SQL server database is on a different Window
On Wed, 11 Jun 2008 22:03:53 -0400
"Wei, Alice J." <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am currently using a Linux box with Fedora to run my PHP scripts,
> which I have seen in the download page at
> http://www.php.net/downloads.php that
>
>We do not distribute UNIX/Linux binaries. Most
>Otherwise, it consistently gives me errors "Call to undefined
function: mysql_connect()...".If you're getting an error...
If you're getting this error, there is a line of code in the php script
that is trying to connect to a mysql database and the mysql extension
for php is not installed. So
On Wed, 2008-06-11 at 23:48 +0200, Rene Fournier wrote:
> Is it possible to set a unique memory limit for PHP scripts that are
> run from the command line? (That is, different from what's specified
> in php.ini.)
In your script:
ini_set( 'memory_limit', -1 );
Cheers,
Rob.
--
http://www.
Hi,
Oops, I should have typed mssql_connect() instead of mysql_connect(). But, I
have just used something like
, which nests around a chunk of HTML, and this only
gives me the following on the screen:
Hello
My question is why I could see Hello in the body when I e
Wei, Alice J. wrote:
> Hi,
>
> I am currently using a Linux box with Fedora to run my PHP scripts, which I
> have seen in the download page at http://www.php.net/downloads.php that
>
>We do not distribute UNIX/Linux binaries. Most Linux distributions come
> with PHP these days.
>
> Wha
Hi,
For testing purpose, I have something like
Test
This is test
I see the following from the command prompt when I execute the above script:
Test
This is testHello
On the browser, I only see:
Test
This is test
OK, I see now.
When you open the script from your browser are you accessing it via a
server like Http://localhost/some/file.php or are you just opening a php
file on your hard drive? I'm guessing you're accessing it on the hard
drive directly, which will not work since PHP scripts are executed
Hi,
-Original Message-
From: DeadTOm [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2008 10:58 PM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: Re: [PHP] PHP Runs But Does Not Display on Linux
OK, I see now.
When you open the script from your browser are you accessing it v
With localhost I was assuming that the files resided on your local
machine, my bad. How are you accessing these files? The location you are
getting them from has to be running a web server of some kind with php
or the php scripts will not run and you'll only see the html output as
you described
Rene Fournier wrote:
> Is it possible to set a unique memory limit for PHP scripts that are
> run from the command line? (That is, different from what's specified
> in php.ini.)
This might specific to openSUSE, but the typical installation comes with
separate php.inis for apache and cli.
/etc/p
Not sure about the gateways but you can look at www.phpbb.com
-Original Message-
From: Michelle Konzack [mailto:[EMAIL PROTECTED]
Sent: 11 June 2008 04:52
To: PHP - General
Subject: [PHP] Forum coded in PHP with mail and news gateway
Hello,
because it is actual for me while having som
34 matches
Mail list logo