php-general Digest 7 Mar 2011 08:17:51 - Issue 7215
Topics (messages 311718 through 311726):
Re: $$var
311718 by: tedd
311719 by: Mujtaba Arshad
311724 by: NetEmp
Re: Delaying $(document).ready() in jQuery until php script finish
311720 by: Ellis Antaya
I am unable to provide a better definition that user defined variables.
User defined variables are variables that are declared by the user. User
here means the creator (or maintainer of the script).
So for:
?php
$a = 'A';
$b = 'B';
$c = 'C';
function globals() {
$globals = $GLOBALS;
?php
$globalvar1=1;
$globalvar2=2;
function globals() {
$globals = $GLOBALS;
var_dump($GLOBALS);
print_r(br /Before...);
print_r($globals);
foreach (array(
'GLOBALS',
'_ENV',
'HTTP_ENV_VARS',
'_POST',
'HTTP_POST_VARS',
'_GET',
'Twas brillig, and sexyprout at 06/03/11 15:16 did gyre and gimble:
∞
And beyond!
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
Mageia Contributor [http://www.mageia.org/]
PulseAudio Hacker
On 5 March 2011 13:48, Ken Watkins k...@atlanticbb.net wrote:
On 3/5/2011 4:30 AM, Richard Quadling wrote:
On 4 March 2011 23:48, Ken Watkins k...@atlanticbb.net wrote:
Hi All.
I have a Windows desktop app that I created using Visual Foxpro (a database
app).
I want to write a PHP script
Imap remains open after you search and doesn't close until you call imap_close.
Firstly the code shouldn't be written like that, while should not operate on a
fail condition of a function exec, that's just bad coding practice and that's
what causes a loop here. If there are no messages in the
Hi folks,
I've stumbled into a project involving a server running PHP4 without
cURL. The script fetches data from an XML webservice and deals with
it. Is http://ca2.php.net/xml_parser_create the place to start? Any
tips (besides updating PHP)?
Here's an example of the PHP5 code:
$url =
Just take another web host.
2011/3/7 Marc Guay marc.g...@gmail.com
Hi folks,
I've stumbled into a project involving a server running PHP4 without
cURL. The script fetches data from an XML webservice and deals with
it. Is http://ca2.php.net/xml_parser_create the place to start? Any
tips
On 03/05/2011 04:38 PM, Mark Kelly wrote:
Hi.
Thanks for all the replies.
On Saturday 05 Mar 2011 at 22:11 Simon J Welsh wrote:
On 6/03/2011, at 11:08 AM, Shawn McKenzie wrote:
$regex = '/([^]+)/';
Shawn, this regex gets me two copies of each string - one with and one
without
the
On 03/04/2011 11:48 AM, Marc Guay wrote:
I think that my suggestion is still a valid solution, someone correct
me if I'm wrong. Let's say your code went like this:
session_start();
I did a ton of digging and came up with session_regenerate_id()
In my header.php I start the session as
On 03/04/2011 11:48 AM, Marc Guay wrote:
I think that my suggestion is still a valid solution, someone correct
me if I'm wrong. Let's say your code went like this:
session_start();
I did a ton of digging and came up with session_regenerate_id()
In my header.php I start the session as
On 7 March 2011 16:16, Marc Guay marc.g...@gmail.com wrote:
Hi folks,
I've stumbled into a project involving a server running PHP4 without
cURL. The script fetches data from an XML webservice and deals with
it. Is http://ca2.php.net/xml_parser_create the place to start? Any
tips (besides
Hi Richard,
It's not a SOAP service, and I've actually decided to have ask the
client to upgrade their server software before continuing. But for
the sake of study:
Depending upon your requirement, you could use simplexml_load_string() to
convert an XML string into a native PHP object
I just posted the following at
http://stackoverflow.com/questions/3481880/what-php-extensions-are-preferred-and-what-about-security-preferences/5223539#5223539;
Am I missing anything or are all these guides and hosts either not
disabling enough functions or disabling security aids to give
On Fri, Mar 4, 2011 at 7:29 AM, Richard Quadling rquadl...@gmail.comwrote:
On 3 March 2011 18:30, Nathan Nobbe quickshif...@gmail.com wrote:
Hey gang,
(Yes Tedd, I like your style, when it pertains to how you address the
list
:))
I have a new curiosity that's arisen as a result of a
On Sat, Mar 5, 2011 at 5:31 AM, Florin Jurcovici florin.jurcov...@gmail.com
wrote:
Hi.
I would always recommend stored procedures, as long as there are a
very few rules obeyed:
- keep them simple - they should mostly implement just CRUD operations
plus application-specific searches, and
16 matches
Mail list logo