Thanks for the link!
-- Linds
On Wed, 25 Aug 2004 21:44:22 -0700 Justin Patrin <[EMAIL PROTECTED]>
writes:
> On Wed, 25 Aug 2004 19:13:08 -0600, Bradleigh Simms
> <[EMAIL PROTECTED]> wrote:
> > Alright I'm apparently a complete dunce where PHP is
> concerned. I've
> > tried to read the tuto
On Thu, 2004-08-26 at 01:27, Syed Ghouse wrote:
> Hi
>
> Also pls tell me how to extract the href value of the code below
>
> http://www.google.com";>
>
>
>
>
>
> i m weak in regular expression in php and tell me how to learn easily.
>
> Regards
> Syed
Is it just that you're lazy and don'
Hi
(B
(BAlso pls tell me how to extract the href value of the code below
(B
(Bhttp://www.google.com">
(B
(B
(B
(B
(B
(Bi m weak in regular expression in php and tell me how to learn easily.
(B
(BRegards
(BSyed
Thankyou. i got the solution
(B
(BThanks & Regards
(Bsyed
(B- Original Message -
(BFrom: "Robby Russell" <[EMAIL PROTECTED]>
(BTo: "Syed Ghouse" <[EMAIL PROTECTED]>
(BCc: "php mailinglists" <[EMAIL PROTECTED]>
(BSent: Thursday, August 26, 2004 AM 09:48
(BSubject: Re: [PHP] Get Val
On Wed, 25 Aug 2004 19:13:08 -0600, Bradleigh Simms
<[EMAIL PROTECTED]> wrote:
> Alright I'm apparently a complete dunce where PHP is concerned. I've
> tried to read the tutorials and am just getting completely mixed up.
>
> What I want: I want the form at
> http://ussblackwell.devermore.net/j
Try phpsniff at http://phpsniff.sourceforge.net/. It not only detects
javascript using PHP, but many other things as well. You will wonder how you
lived without it. It's pretty cool...
Navid
-Original Message-
From: Thomas Goyne [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 25, 2004
Google(value to extract)';
(Becho preg_replace('/\(.*)\<\/a\>/i', "$1", $link);
(B?>
(B
(BJim Grill
(B
(B- Original Message -
(BFrom: "Syed Ghouse" <[EMAIL PROTECTED]>
(BTo: "php mailinglists" <[EMAIL PROTECTED]>
(BSent: Wednesday, August 25, 2004 11:11 PM
(BSubject: [PHP] Get Va
On Wed, 2004-08-25 at 21:11, Syed Ghouse wrote:
> Hi All
>
> Will anybody tell me how to extract the value (say Google)
> from the code below:
>
> Google(value to extract)
>
> Thanks and Regards
>
> Syed
You can use regular expressions for this.
$in = 'meep';
preg_match("|>(.*)|", $in, $out
Hi All
(B
(BWill anybody tell me how to extract the value (say Google)
(B from the code below:
(B
(BGoogle(value to extract)
(B
(BThanks and Regards
(B
(BSyed
Paul Higgins wrote:
Hello all,
I have some questions regarding caching information with PHP. I was
thinking that I might cache all information that won't be changing for
long periods of time...possibly only once a day or so, instead of
querying the database for information every time. My quest
Hi,
We have a linux server running a customised webmail application
based on Horde. This server communicates with a seperate NFS server
to access user's email data.
We noticed that the traffic between the servers quickly rose from
under 200k/s to 3Mb/s when we made some modifications and we
found
Hello Andrew:
SMTP server can be retrieved from your ISP provider. The function of
SMTP server is sending the mail to other SMTP server. For example, if you
want send a e-mail [EMAIL PROTECTED] , the SMTP server A will send this mail to
SMTP server B, and SMTP server B will send to SMTP ser
Not sure about other file types, but phpdoc includes a tag for "todo". It
also makes nice documentation on the fly based on your comments.
http://phpdoc.org/docs/HTMLSmartyConverter/default/phpDocumentor/tutorial_tags.todo.pkg.html
Jim Grill
- Original Message -
From: "Daevid Vincent" <
I, like many other people I'm sure, put //TODO: comments in my code (inspite
of M$ patent on the idea!).
http://yro.slashdot.org/article.pl?sid=04/06/08/2319254&tid=155&tid=109&tid=
156&tid=17
I'm looking for a program that will run through a directory tree and parse
all the files (ideally by ext
Hello all...
I just upgrade PHP from version 4.3.4 to version 4.3.8. After the
upgrade, almost everything worked fine but the open_basedir directive.
The server I administer provides hosting for several domains, all of
those with its own homedir restricted using open_basedir in
a scope. Some
On Wed, 25 Aug 2004 16:36:41 -0300, Marcos Thiago M. Fabis
<[EMAIL PROTECTED]> wrote:
i share your opinion, but belive-me when i say that this situation
requires
it.
It is quite literally impossible to enforce security with JS. Anything
you try to do I could get around with Proxomitron and
Alright I'm apparently a complete dunce where PHP is concerned. I've
tried to read the tutorials and am just getting completely mixed up.
What I want: I want the form at
http://ussblackwell.devermore.net/join.html to send as an email to myself
and the GM of the game when the "apply" button i
> i am trying to do a simple check for archiving utilities (zip, unzip,
> ...), to make sure they exist within the PATH, and are executable by
> PHP.
>
> i could not find a better way to do this through php, so i went ahead
> and did an
>
> exec('which ' . $utility, $output, $return_value);
>
> the
hi,
i am trying to do a simple check for archiving utilities (zip, unzip,
...), to make sure they exist within the PATH, and are executable by
PHP.
i could not find a better way to do this through php, so i went ahead
and did an
exec('which ' . $utility, $output, $return_value);
then, i check t
* Thus wrote M. Sokolewicz:
> Erik franzén wrote:
> >Is it possible to determine if a property inside a object is public,
> >protected or private in PHP 5?
> >
> >/Erik
> use the (undocumented) Reflection API
http://php.net/oop5.reflection
Curt
--
First, let me assure you that this is not one
On Thu, 26 Aug 2004 00:57:43 +0200, in php.general
[EMAIL PROTECTED] (Felix) wrote:
>$array = explode( ' ', chunk_split( $sting, 1, ' ' ) );
>
>http://www.php.net/manual/de/function.explode.php
>http://www.php.net/manual/de/function.chunk-split.php
Well, that would leave a blank entry end of the
Try this:
$array = explode( ' ', chunk_split( $sting, 1, ' ' ) );
http://www.php.net/manual/de/function.explode.php
http://www.php.net/manual/de/function.chunk-split.php
On Thu, 26 Aug 2004 00:50:09 +0200, Peter Brodersen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On Wed, 25 Aug 2004 18:00:49 -0400
Hi,
On Wed, 25 Aug 2004 18:00:49 -0400, in php.general
[EMAIL PROTECTED] (Jake McHenry) wrote:
>Hi everyone.
>
>Is there a way to explode by every character in the variable?
>
>Example:
>
>$var = "8";
>$test = explode("", $var);
Use preg_split(): http://php.net/preg_split - example 2.
Or,
Jake McHenry wrote:
Hi everyone.
Is there a way to explode by every character in the variable?
Example:
$var = "8";
$test = explode("", $var);
output would be
$test[0] = 0;
$test[1] = 0;
$test[2] = 0;
$test[3] = 0;
$test[4] = 8;
Can I get an array like that?
Thanks,
Jake McHenry
MIS Coordinato
Erik franzén wrote:
Is it possible to determine if a property inside a object is public,
protected or private in PHP 5?
/Erik
use the (undocumented) Reflection API
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I'm trying to make a small script to show mails on a imap server with
a criteria.
Here is my code :
/---/
$mails = imap_search($mbox, 'TO "[EMAIL PROTECTED]"',SE_UID);
echo sizeof($mails);
/--/
The connection to the server is the working, the search also,
Thanks Greg.
-Original Message-
From: Greg Donald [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 25, 2004 4:38 PM
To: Afan Pasalic
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] crypt()
On Wed, 2004-08-25 at 16:18, Afan Pasalic wrote:
> Hi everyone!
>
> My hosting company has global turne
Hi everyone.
Is there a way to explode by every character in the variable?
Example:
$var = "8";
$test = explode("", $var);
output would be
$test[0] = 0;
$test[1] = 0;
$test[2] = 0;
$test[3] = 0;
$test[4] = 8;
Can I get an array like that?
Thanks,
Jake McHenry
MIS Coordinator
Nittany
On Wed, 2004-08-25 at 16:32, Scott Hyndman wrote:
> I've found that caching LARGE datasets can be really useful. Filesystem
> access is blazing fast, and at least in my case, I've found it to be
> significantly faster than the time it takes to process a query and
> return the dataset.
>
> Too much
On Wed, 2004-08-25 at 16:18, Afan Pasalic wrote:
> Hi everyone!
>
> My hosting company has global turned on. But I want to code using more safe
> global off. My question though is how I can do it "locally", in my script?
> I tried to use
> ini_set("register_globals", FALSE);
> but it still doesn'
Hi everyone!
My hosting company has global turned on. But I want to code using more safe
global off. My question though is how I can do it "locally", in my script?
I tried to use
ini_set("register_globals", FALSE);
but it still doesn't work.
On php.net manual I can find WHAT I have to do and reas
Is it possible to determine if a property inside a object is public,
protected or private in PHP 5?
/Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have developed a PHP based site that requires users to login. Their login
information is kept in a MYSQL database. Currently, I am using an IF
statement to verify what the user enters as their password with what is in
the the database. If they are the same a session is created and they have
> I've been told stuff about how I need to make sure that my SMTP server
> (whatever that is??)
> -Andrew
>
>
My guess is that you may need to think about setting up a mail server
first before you can get mail functions to work. If you don't know what an
SMTP server is, first thing to do is to
* Erik Meyer <[EMAIL PROTECTED]>:
> I have a function loosely based on the following tutorial from zend.com.
> (http://www.zend.com/zend/tut/tutorial-brogdon2.php)
> However, instead of using plain-text I am using results with html tags.
>
> For example, the results may have Thisis some text that
On Wed, 2004-08-25 at 15:11, [EMAIL PROTECTED] wrote:
> I'm trying to make sure that my mail functons are on for a script I need to
> work. I run an Apache 1.3.31, so I am my own webhost. Now I just need to know
> how to make sure my mailfunctions are on.
> Here is the mail functions part of php.
On Wed, 2004-08-25 at 14:52, Paul Higgins wrote:
> Hello all,
>
> I have some questions regarding caching information with PHP. I was
> thinking that I might cache all information that won't be changing for long
> periods of time...possibly only once a day or so, instead of querying the
> data
I'm trying to make sure that my mail functons are on for a script I need to
work. I run an Apache 1.3.31, so I am my own webhost. Now I just need to know
how to make sure my mailfunctions are on.
Here is the mail functions part of php.ini pertaining to me (the windows part
because I am on XP):
Hello all,
I have some questions regarding caching information with PHP. I was
thinking that I might cache all information that won't be changing for long
periods of time...possibly only once a day or so, instead of querying the
database for information every time. My question is: is there su
Anything can be used, I was using that as an example. The information in
the database contains html elements that were passed through a form. For
example a user would type in some and then the mysql field would
contain some.
-Original Message-
From: John Holmes [mailto:[EMAIL PROTECTED]
i share your opinion, but belive-me when i say that this situation requires
it.
i have to check if it´s inside frames, pass values for only one a respective
frame that is responsable for logging, start procedures with setTimeOut,
etc...
maybe next time the project can be better planned, but i ca
From: "Erik Meyer" <[EMAIL PROTECTED]>
Here is function
function shorten_news_results ($input_text, $ending_text) {
$news_strip=str_word_count($input_text, 1);
$news_split=array_splice($news_strip, 0, 40);
$news_split[]=$ending_text;
$news_story=implode(' ', $news_split);
echo "$news_story";
From: "Marcos Thiago M. Fabis" <[EMAIL PROTECTED]>
i need this because i´m developing a system that require some security
I surely wouldn't rely on JavaScript, something that can be turned on and
off, to have anything to do with security.
---John Holmes...
--
PHP General Mailing List (http://ww
> I cannot seem to access elements inside of the array $things in the code
> below. All of the errors say "Undefined offset: 7 in
> /Library/WebServer/Documents/lis/check.php on line 26" I don't see
> why...
print_r is your bestest buddy.
> $results = mysql_query($q);
> if ($result
From: "Erik Meyer" <[EMAIL PROTECTED]>
Here is my function
Where?
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Here is function
function shorten_news_results ($input_text, $ending_text) {
$news_strip=str_word_count($input_text, 1);
$news_split=array_splice($news_strip, 0, 40);
$news_split[]=$ending_text;
$news_story=implode(' ', $news_split);
On Wed, 2004-08-25 at 14:17, Nathan Mealey wrote:
> I cannot seem to access elements inside of the array $things in the
> code below. All of the errors say "Undefined offset: 7 in
> /Library/WebServer/Documents/lis/check.php on line 26" I don't see
> why...
>
> The code is:
>
>
hehehe... = )
do u have this problem too?
and still have to work in 3 projects at same time to deliver in few days ?
me too!!! rs..
Let me explain better:
i need this because i´m developing a system that require some security, but
i appreciate your help.
i´ll see what i can do here.
[s]
Mt
---
how many elements are returned by the sql statement?
If you want the 7th item returned in the sql statement would need to
code $things[6]
Just a hunch...
--
Craig Brothers
@utoRevenue
[EMAIL PROTECTED]
(413) 528-8000 x105
On Wed, 2004-08-25 at 14:17, Nathan Mealey wrote:
> I cannot seem to ac
On Thursday 26 August 2004 02:17, Nathan Mealey wrote:
> I cannot seem to access elements inside of the array $things in the
> code below. All of the errors say "Undefined offset: 7 in
> /Library/WebServer/Documents/lis/check.php on line 26" I don't see
> why...
>
> The code is:
>
> $q =
Michael,
MS> IMHO what you have described is a bug in PHP, and if I were you, I'd report it as
MS> such. If it's not a bug it at least has a very high WTF factor.
You are right - it does seem like a bug. But I assumed that something
as basic as this would have been spotted by now. I don't suppos
From: "Marcos Thiago M. Fabis" <[EMAIL PROTECTED]>
i saw that solution in one of the google results, but this way i´ll be
still
using javascript and i´ll need one user action.
i realy wanted only a header exchange or something like.
I wanted the Army to pay me $25,000 for the program I wrote.
Som
From: "Nathan Mealey" <[EMAIL PROTECTED]>
I cannot seem to access elements inside of the array $things in the code
below. All of the errors say "Undefined offset: 7 in
/Library/WebServer/Documents/lis/check.php on line 26" I don't see why...
The code is:
$q = "select * from users where email=
I have a function loosely based on the following tutorial from zend.com.
(http://www.zend.com/zend/tut/tutorial-brogdon2.php)
However, instead of using plain-text I am using results with html tags.
For example, the results may have Thisis some text that has been
inputted from a form. When I use
hi John;
i saw that solution in one of the google results, but this way i´ll be still
using javascript and i´ll need one user action.
i realy wanted only a header exchange or something like.
[s]
Mt
- Original Message -
From: "John Holmes" <[EMAIL PROTECTED]>
To: "Marcos Thiago M. Fabis
I cannot seem to access elements inside of the array $things in the
code below. All of the errors say "Undefined offset: 7 in
/Library/WebServer/Documents/lis/check.php on line 26" I don't see
why...
The code is:
$q = "select * from users where email='".$email."' and
password='".$pass."'
We upgraded from win32 php 4.3.4 to 4.3.7 and my php command line script
broke.
I am using safe_mode=on. If I use safe_mode=off instead of safe_mode=on
it works. Why
would my php command line script work with win32 php 4.3.4 with
safe_mode=on but not
with 4.3.7?
For a test I created a file f:\b
On Wednesday 25 August 2004 23:09, Ian Firla wrote:
> On Wed, 2004-08-25 at 17:08, Angelo Zanetti wrote:
> > I never installed it so... here is my next question. how would I find out
> > how it was installed?
>
> Look at the output of phpinfo(). But before doing that, read the
> documentation or yo
On Wednesday 25 August 2004 12:27 pm, Shaun wrote:
> <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
> > >> function clear_orderinfo() {
> > >> global $_SESSION;
> > >> unset($_SESSION["orderinfo"]);
> > >> }
> > >>
> > >> However this function doesnt seem to work and the sessi
From: "Marcos Thiago M. Fabis" <[EMAIL PROTECTED]>
i want to retrieve this information (javascript enabled or not) from the
browser in execution time.
the get_browser function return me a value that simply means that the
browser itself is capable of execute javascript and does not mean the user
has
"Chuck" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Could anyone let me know or point me to where I could find out how to
setup
> a login for my php site. I've been looking around and found plenty of
stuff
> for PHP/Apache, but nothing for just PHP.
>
> Any help or info about thi
Hi ramil;
thnx, but this is not what i´m looking for.
i want to retrieve this information (javascript enabled or not) from the
browser in execution time.
the get_browser function return me a value that simply means that the
browser itself is capable of execute javascript and does not mean the us
"Shaun" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > >> function clear_orderinfo() {
> > >> global $_SESSION;
> > >> unset($_SESSION["orderinfo"]);
> > >> }
> > >>
> > >> However this function doesnt seem to w
Did you try Google? It turned this up ...
http://lists.ximian.com/archives/public/evolution/2000-May/026035.html
The trick, I think, would be knowing the schema of the .pst. In early
versions you could use Access to open the .pst.
MT
At 12:16 PM 8/25/2004, Shaun wrote:
Hi,
Is it possible for a PH
Mário Gamito wrote:
Hi,
I need to kill (squid) -D
pidof (squid) -D gives an error :(
man pidof
we have nowed moved to off topic territory.
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/m
Hi,
I need to kill (squid) -D
pidof (squid) -D gives an error :(
Regards,
Mário Gamito
raditha dissanayake wrote:
Mário Gamito wrote:
Hi,
I need to restart squid from PHP, but my squi doesn't stop because a
lot of stupid errors.
So, i need to kill it and then start it again.
killing a process ow
Shaun wrote:
Hi,
Is it possible for a PHP application to communicate with an Outlook
calendar? I would like to create a web based application that shows staff
availability...
If you are talking about acessing the outlook calendar on a client
machine you cannot.
If you are talking about outlook
Chuck wrote:
Could anyone let me know or point me to where I could find out how to setup
a login for my php site. I've been looking around and found plenty of stuff
for PHP/Apache, but nothing for just PHP.
You need to store user information somewhere and apache .htpasswd files
and mysql datab
Mário Gamito wrote:
Hi,
I need to restart squid from PHP, but my squi doesn't stop because a
lot of stupid errors.
So, i need to kill it and then start it again.
killing a process owned by another user is a tough ask. The squid docs
say you shouldn't run it as root and it also advice against usi
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> >> function clear_orderinfo() {
> >> global $_SESSION;
> >> unset($_SESSION["orderinfo"]);
> >> }
> >>
> >> However this function doesnt seem to work and the session remains
> >> active, is
> >> there another way to clear a session
Could anyone let me know or point me to where I could find out how to setup
a login for my php site. I've been looking around and found plenty of stuff
for PHP/Apache, but nothing for just PHP.
Any help or info about this would be appreciated.
Thanks,
Chuck
--
PHP General Mailing List (http://
[snip]
I need to restart squid from PHP, but my squi doesn't stop because a lot
of stupid errors.
So, i need to kill it and then start it again.
[EMAIL PROTECTED] init.d]# ps aux | grep squid
root 9281 0.0 0.3 6124 1792 ?S16:04 0:00 squid -D
squid 9283 0.0 1.0 8392 5
Hi,
I need to restart squid from PHP, but my squi doesn't stop because a lot
of stupid errors.
So, i need to kill it and then start it again.
[EMAIL PROTECTED] init.d]# ps aux | grep squid
root 9281 0.0 0.3 6124 1792 ?S16:04 0:00 squid -D
squid 9283 0.0 1.0 8392 5060
Hi,
Is it possible for a PHP application to communicate with an Outlook
calendar? I would like to create a web based application that shows staff
availability...
Thanks for any advice offered.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 2004-08-25 at 17:08, Angelo Zanetti wrote:
> I never installed it so... here is my next question. how would I find out how it was
> installed?
Look at the output of phpinfo(). But before doing that, read the
documentation or you'll be back here in a flash with more really basic
questions
Angelo Zanetti wrote:
I never installed it so... here is my next question. how would I find out how it was installed?
Ask the person who set it up?
If you're on a RPM based system (Red Hat, Fedora, etc), do this at the
command line...
rpm -qa | grep php
and if PHP is installed as an RPM, it will
I never installed it so... here is my next question. how would I find out how it was
installed?
>>> John Nichel <[EMAIL PROTECTED]> 8/25/2004 4:44:18 PM >>>
Angelo Zanetti wrote:
> so to include the mysql extensions to I have to reinstall PHP or can I
> simply just change the values in the PHP.
Angelo Zanetti wrote:
so to include the mysql extensions to I have to reinstall PHP or can I
simply just change the values in the PHP.ini file for the mysql
entries?
Thanks to those who responded
How did you install php? RPM (or similiar package), or source?
If you installed from RPM, you can add
Geoff Caplan wrote:
> I think you are probably right - but this behaviour causes problems.
> For example:
>
> $foo['one']['two'] = "test-string" ;
>
> // Evaluates to TRUE (not what's wanted!)
> isset( $foo['one']['two']['three'] ) ;
>
> I need a reliable way to test for the non-existence of a
> mu
so to include the mysql extensions to I have to reinstall PHP or can I
simply just change the values in the PHP.ini file for the mysql
entries?
Thanks to those who responded
>>> ramil <[EMAIL PROTECTED]> 8/25/2004 4:21:14 PM >>>
On Wed, 25 Aug 2004 16:12:53 +0200, Angelo Zanetti <[EMAIL PROTECTE
On Wed, 25 Aug 2004 16:12:53 +0200, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have installed my php scripts on a new server (linux) and when
> attempting to run them I get this error. Is this error a configuration
> issue in my PHP.ini file or is it a user issue with mysql and conn
From: "Angelo Zanetti" <[EMAIL PROTECTED]>
I have installed my php scripts on a new server (linux) and when
attempting to run them I get this error. Is this error a configuration
issue in my PHP.ini file or is it a user issue with mysql and connecting
to the database?
Enable mysql support in PHP. I
Hi all,
I have installed my php scripts on a new server (linux) and when
attempting to run them I get this error. Is this error a configuration
issue in my PHP.ini file or is it a user issue with mysql and connecting
to the database?
thanks in advance
Angelo
Thanks guys for helps.. I've tried many that things and I found solution.
Solution for me was set up Privacy Policy for our site...
First time it didn't work because i haven't done Compact privacy policy
witch is optional but IE requires it ;o)
While compact policies are entirely optional for P3P-
From: "Geoff Caplan" <[EMAIL PROTECTED]>
Why does the non-existent key in the array below evaluate to the
first char of the array value?
$foo = '' ;
$foo['one']['two'] = 'test-value' ;
// Evaluates to: string(1) "t"
var_dump( $foo['one']['two']['three'] ) ;
JH> Strings are arrays. PHP probably take
On Wed, 25 Aug 2004 14:04:51 +0100, Geoff Caplan <[EMAIL PROTECTED]> wrote:
> I think you are probably right - but this behaviour causes problems.
> For example:
>
> $foo['one']['two'] = "test-string" ;
>
> // Evaluates to TRUE (not what's wanted!)
> isset( $foo['one']['two']['three'] ) ;
>
> I
John,
>>
>> Why does the non-existent key in the array below evaluate to the
>> first char of the array value?
>>
>> $foo = '' ;
>> $foo['one']['two'] = 'test-value' ;
>>
>> // Evaluates to: string(1) "t"
>> var_dump( $foo['one']['two']['three'] ) ;
>>
JH> Strings are arrays. PHP probably takes t
From: "Geoff Caplan" <[EMAIL PROTECTED]>
Getting a result I don't understand.
Why does the non-existent key in the array below evaluate to the
first char of the array value?
$foo = '' ;
$foo['one']['two'] = 'test-value' ;
// Evaluates to: string(1) "t"
var_dump( $foo['one']['two']['three'] ) ;
// E
Hi folks,
Getting a result I don't understand.
Why does the non-existent key in the array below evaluate to the
first char of the array value?
$foo = '' ;
$foo['one']['two'] = 'test-value' ;
// Evaluates to: string(1) "t"
var_dump( $foo['one']['two']['three'] ) ;
// Evaluates to NULL, as expe
On Wed, 25 Aug 2004 09:24:41 -0300, Marcos Thiago M. Fabis
<[EMAIL PROTECTED]> wrote:
> hello;
>
> does someone know how can i check if javascript is enabled in client´s
> browser using only PHP ?
>
> thnx in advance!
A search using the keywords "browser" and "javascript" would have
shown you th
From: "Ian Firla" <[EMAIL PROTECTED]>
Answered my own question.
Creating an .htaccess file containing:
php_value session.name "uniqueSESSIONname"
takes care of the problem.
You can do this from within PHP by calling session_name() before
session_start, also.
You could also use set_cookie_params()
hello;
does someone know how can i check if javascript is enabled in client´s
browser using only PHP ?
thnx in advance!
[s]
Mt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
From: "Ian Firla" <[EMAIL PROTECTED]>
Answered my own question.
Creating an .htaccess file containing:
php_value session.name "uniqueSESSIONname"
takes care of the problem.
You could also use
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Answered my own question.
Creating an .htaccess file containing:
php_value session.name "uniqueSESSIONname"
takes care of the problem.
On Wed, 2004-08-25 at 12:30, Ian Firla wrote:
> Dear All,
>
> I've been trying to figure out a solution for this problem and have
> googled the subject but c
>> function clear_orderinfo() {
>> global $_SESSION;
>> unset($_SESSION["orderinfo"]);
>> }
>>
>> However this function doesnt seem to work and the session remains
>> active, is
>> there another way to clear a session?
I'm not triffically experienced, but I do have notes on the subject.
You'r
On Wed, 2004-08-25 at 14:34, Shaun wrote:
> I am writing a shopping cart and am using a session called
> $_SESSION["orderinfo"] to store the order information. I also have a
> function I use to clear the session when the payment has been authorized:
>
> function clear_orderinfo() {
> global $_SE
Hi,
I am writing a shopping cart and am using a session called
$_SESSION["orderinfo"] to store the order information. I also have a
function I use to clear the session when the payment has been authorized:
function clear_orderinfo() {
global $_SESSION;
unset($_SESSION["orderinfo"]);
}
Howev
Dear All,
I've been trying to figure out a solution for this problem and have
googled the subject but cannot come up with anything meaningful.
I have several applications running on my server which use php and
sessions.
In each case, logging out from an application destroys the session.
The tr
Hello,
Spent two days searching for blog hosting script
(where users can register/open their own blogs,
manage them, etc.), paid for ExpressionEngine
demo, hoping I can configure it for that, but...
So, maybe someone knows good blog hosting scripts
in php?
Best!
--
Tadas Talaikis
[EMAIL PROTECTE
On Tue, 24 Aug 2004 23:53:53 -0700, Daniel Lahey <[EMAIL PROTECTED]> wrote:
> I'm trying to figure out how to formulate a regular expression that
> will get me everything following a pound sign (#) up to the first space
> or { character. (I'm trying to parse the ids out of a style sheet.)
> Can an
1 - 100 of 101 matches
Mail list logo