Hi All,
I want to add a wiki to my blog site to help create a knowledgebase of the
characters, localities, stories I write to make it easier for new visitors
to delve into the areas that interest them.
I've been experimenting with a couple of different wiki packages, but am
always interested in
Hi
I am trying to find a regular expression to match a variable, what I think
should work (but doesn't) is;
preg_match ('^/[\w],[\w],/', $variable)
The $variable MUST contain an alpha-numeric string, followed by a comma,
followed by another alpha-numeric string, followed by another comma
Steve Turnbull wrote:
I am trying to find a regular expression to match a variable, what I think
should work (but doesn't) is;
preg_match ('^/[\w],[\w],/', $variable)
The $variable MUST contain an alpha-numeric string, followed by a comma,
followed by another alpha-numeric string, followed by
Hello all.
I wrote some php pages running on apache1.3/php4.4.0-1
In the login page I make use of a class where I store the users name and
some integers (i.e whether the user ia able to see a certain page) and
serialize the class to a session var. When you go to a page I
unserialize the session
On Thu, 08 Sep 2005 19:27:49 +1200, Jasper Bryant-Greene wrote:
Steve Turnbull wrote:
I am trying to find a regular expression to match a variable, what I think
should work (but doesn't) is;
preg_match ('^/[\w],[\w],/', $variable)
The $variable MUST contain an alpha-numeric string,
Steve Turnbull wrote:
On Thu, 08 Sep 2005 19:27:49 +1200, Jasper Bryant-Greene wrote:
Something like
'/^\w+,\w+,\w*$/'
maybe? (untested)
http://php.net/reference.pcre.pattern.syntax
Thats got me a lot further - thanks
I reduced it slightly to '/^\w+,\w+,' because at the end there is the
Murray @ PlanetThoughtful [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all,
I want to write regular expression for checking the string format
entered
by user.
the allowed formats are
examples:
10
10,
10,12-10
12-10
that is the valid strings are:
1.
Hi All,
Greetings.
I am working on making php script with gets information from a file with five fields and load it on browser.
# cat machines.log
machine1:os:team1:member1:booked
machine2:os:team1:member2:booked
machine3:os:team1::
machine4:os:team1::
format is like machine:os:team:member
Hi there,
I would like to create a regex which only executes if the client does not come
from a specified IP adress.
Any ideas how to place this into the Rewrite Rule regex?:
RewriteRule ^(.*)$
Thank you for any help on that,
Merlin
--
PHP General Mailing List (http://www.php.net/)
To
Merlin wrote:
I would like to create a regex which only executes if the client does
not come from a specified IP adress.
Any ideas how to place this into the Rewrite Rule regex?:
What does this have to do with PHP?
http://www.google.com/search?q=regular+expression
The top four or five
-Message d'origine-
De : Antony Dovgal [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 7 septembre 2005 18:06
À : php-dev; [EMAIL PROTECTED]; php-general@lists.php.net
Objet : [PHP-DEV] OCI8 1.1 announce
Hi all,
Yesterday OCI8 extension have been updated in the PHP CVS (HEAD only).
On 08 September 2005 09:15, Steve Turnbull wrote:
On Thu, 08 Sep 2005 19:27:49 +1200, Jasper Bryant-Greene wrote:
Steve Turnbull wrote:
I am trying to find a regular expression to match a variable,
what I think should work (but doesn't) is;
preg_match ('^/[\w],[\w],/',
Hi,
I have a resultset from a query and need to remove some rows after doing
some php processing then insert into another table i.e.
/** Get data**/
$qid = mysql_query('SELECT ...);
/** Clean data **/
while( $r = mysql_fetch_object( $qid ) ) {
}
How can i generate a new resultset /
Hi,
I have a resultset from a query and need to remove some rows after doing
some php processing then insert into another table i.e.
/** Get data**/
$qid = mysql_query('SELECT ...);
/** Clean data **/
while( $r = mysql_fetch_object( $qid ) ) {
}
How can i generate a new
Merlin wrote:
Hi there,
I would like to create a regex which only executes if the client does
not come from a specified IP adress.
Any ideas how to place this into the Rewrite Rule regex?:
I'm betting members of the Apache mailing list know.
--
John C. Nichel
ÜberGeek
KegWorks.com
Hello all!
Consider this...
Web Server A belongs to an intranet and hosts sites internally, Server
A can only access external web resources via proxy http://proxy:8080 .
How does Server A access resources from Server B which is in the
internet using PHP?
A typical scenario:
Server A needs to
Hi Thomas,
Thanks for the help. That didn't work though ...
Its now set to be $SDK = new sdk;
Nothing :(
-Original Message-
From: Thomas [mailto:[EMAIL PROTECTED]
Sent: 08 September 2005 09:08 AM
To: 'Ian Barnes'
Subject: RE: [PHP] Help with Class
Sorry for not explaining ...
The following message is from a co-worker. I'm passing it along as a
favor. Any help would be greatly appreciated since we're both somewhat
stuck with no clue how to proceed with this.
Thanks,
Ben Ramsey
I'm having a major problem with my PHP scripts getting stuck on one of
our production
Hi,
In one of our tables we have these fields:
cust_no bigint(20),
cust_name varchar(30),
last_online datetime,
and in that members profile, if someone visits it, on the top of the page we
have this:
// connect to db, query for record and display it below
Last seen: ?php echo $last_online; ?
As I said, **rather** than relying on cookie expiration. This
*necessarily* means that you will need to set the cookie expiration
to sometime way in the future, like next year (or more dynamically,
use the date() and mktime() functions to always set the cookie
expiration to + 1 yr from
What OS are you using?
What do you want to do? ie why do you want to parse them?
Chances are that you will not be able to do it with PHP, but may be
able to call an external utility from PHP that will perform the
required task.
On 9/7/05, Shafiq Rehman [EMAIL PROTECTED] wrote:
Hello,
I want
Brent Baisley wrote:
It sounds like you are trying to build a full text search string,
perhaps for searching a MySQL database?
Actually, I was thinking of doing a MySQL non full-text search, hence
the need to split the words/phrases up so that they could then be fed
into individual WHERE
I'd probably out how many minutes it's been, then format it using if
statements.
$iMinues = (value from database);
if(1 $iMinutes) $sLastseen = 'Less than a minute ago!';
elseif(1 == $iMinutes) $sLastseen = '1 minute ago';
elseif(60 $iMinutes) $sLastseen = {$iMinutes} minutes ago;
elseif(120
zzapper wrote:
On Wed, September 7, 2005 7:39 am, Shafiq Rehman wrote:
Hello,
I want to parse the .doc files with PHP. Anybody have some idea regarding
this problem.
Your help regarding this matter is really appreciated
Also consider antiword
And also:
wvWare:
methinks you should convert the datetime to a unix timestamp with
strtotime(). then you can compare the difference between this
timestamp and a unix timestamp of now to find if you have logged in
within a min. of the previous time. Then, once you know what text to
display (e.g. Less than a
On Thu, 08 Sep 2005 09:15:03 +0100, Steve Turnbull wrote:
On Thu, 08 Sep 2005 19:27:49 +1200, Jasper Bryant-Greene wrote:
Steve Turnbull wrote:
I am trying to find a regular expression to match a variable, what I think
should work (but doesn't) is;
preg_match ('^/[\w],[\w],/', $variable)
Hi
Background:
I am installing php with apache2 and ssl, mysql-server-5.0.11 on one of my
Freebsd 5.3. servers. I propose to run a forum (currently investigating
phpbb but would like to consider others) and am also looking for suitable
blog and wiki applications. I am more of a system
On Thu, 08 Sep 2005 16:36:36 +0100, Steve Turnbull wrote:
On Thu, 08 Sep 2005 09:15:03 +0100, Steve Turnbull wrote:
On Thu, 08 Sep 2005 19:27:49 +1200, Jasper Bryant-Greene wrote:
Steve Turnbull wrote:
I am trying to find a regular expression to match a variable, what I think
should work
On Thursday 08 September 2005 08:34, the author Vizion contributed to the
dialogue on-
[PHP] php.ini and php.config Tutorial?:
Hi
Background:
I am installing php with apache2 and ssl, mysql-server-5.0.11 on one of my
Freebsd 5.3. servers. I propose to run a forum (currently investigating
Hi David
I know that quite a lot of online docs can be daunting for new users,
but you should not underestimate the quality of the php documentation.
On 9/8/05, Vizion [EMAIL PROTECTED] wrote:
Hi
Background:
I am installing php with apache2 and ssl, mysql-server-5.0.11 on one of my
Freebsd
On Thursday 08 September 2005 09:49, the author Rory Browne contributed to
the dialogue on-
Re: [PHP] php.ini and php.config Tutorial?:
Hi David
I know that quite a lot of online docs can be daunting for new users,
but you should not underestimate the quality of the php documentation.
Sure
I'm not a Wiki expert, but have been using TikiWiki for a while and
very much like it. It does everything you say with the possible
exception of CSS. It may very well support CSS, I just don't need it so
haven't investigated. It also allows for the use of templates that can
be applied globally
On Tue, 2005-09-06 at 19:43, Philip Hallstrom wrote:
On Tue, 6 Sep 2005, Mauricio Pellegrini wrote:
You were right! That was exactly the problem
after reading your message, I 've verified the value for gc_maxlifetime
and found that it was set to 1440 secs in other words 24 minutes.
in infinite wisdom Vizion spoke thus On 09/08/2005 09:04 PM:
Questions:
1.
As I am new to php I would appreciated if someone could help me locate a
tutorial which not only describes what is in the configuration files (which
the distributed configuration files do quite well) but also, some
in infinite wisdom Vedanta Barooah spoke thus On 09/08/2005 07:22 PM:
A typical scenario:
Server A needs to display news, which resides on Server B as RSS
feeds. For this the PHP script hosted on Server A need to go via the
proxy http://proxy:8088 then read the feed in Server B for it to
Hi,
I am looking to rotate 6 or 7 different images from a folder onto homepage.
So I need 2 things
(i) The method of upload an image from a specified folder.
(ii) The way to randomise this action
Any tutorials or pointers will be helpful..
R.
--
PHP General Mailing List
hy
try this
$sess_id = session_id();
// Unset all Session Vars
session_unset();
// Destroy Session
session_destroy();
/*
// Get session file and delete it !!!
if (strtolower('files' == session_module_name()))
{
So I was thinking on implementing some sort of automatic session
refresh
after a short period, let's say every 20 minutes of inactivity.
And of course I should provide the users with a manual way to make
session end, sort of a logout from the application.( no problem with
that)
Hi there!
I'm trying to set 30 diffrent cookies on a domain, but it seems that a
cookie sets to zero and there is a max of 18 or 19 cookies... Can this be
right?
/G
http://www.varupiraten.se/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
- Original Message -
From: Gustav Wiberg [EMAIL PROTECTED]
To: PHP General php-general@lists.php.net
Sent: Thursday, September 08, 2005 11:36 PM
Subject: [PHP] Limit - nr of sessions on a domain?
Hi there!
I'm trying to set 30 diffrent cookies on a domain, but it seems that a
cookie
Chris W. Parker wrote:
Todd Cary mailto:[EMAIL PROTECTED]
on Wednesday, September 07, 2005 3:39 PM said:
/* Is date good */
function is_date_good($date) {
if (strtotime($date) == -1) {
$retval = 0;
} else {
if (strpos($date, /) 0) {
$parts = explode(/,
Chris W. Parker wrote:
Todd Cary mailto:[EMAIL PROTECTED]
on Wednesday, September 07, 2005 3:39 PM said:
/* Is date good */
function is_date_good($date) {
if (strtotime($date) == -1) {
$retval = 0;
} else {
if (strpos($date, /) 0) {
$parts = explode(/,
Chris W. Parker wrote:
Todd Cary mailto:[EMAIL PROTECTED]
on Wednesday, September 07, 2005 3:39 PM said:
/* Is date good */
function is_date_good($date) {
if (strtotime($date) == -1) {
$retval = 0;
} else {
if (strpos($date, /) 0) {
$parts = explode(/,
On Thursday 08 September 2005 12:36, the author Raj Shekhar contributed to
the dialogue on-
[PHP] Re: php.ini and php.config Tutorial?:
in infinite wisdom Vizion spoke thus On 09/08/2005 09:04 PM:
Questions:
1.
As I am new to php I would appreciated if someone could help me locate a
Ian Barnes wrote:
require_once (
$fetchd['path'].'sdk/ipbsdk_class.inc.php' );
What is the above line doing? It looks like you are trying to redeclare
the ipbsdk class each time around the loop which is illegal in php. You
can't do :
class ipbsdk {
How large can a string be in a cookie? (the value-parameter)
/G
http://www.varupiraten.se/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Still learning, so sorry if this sounds really simply noobish. But as I
understand things currently this should work. But doesn't. I've been
looking over tutorials but just don't see whatever the problem is.
I created a simple table with the following fields (in order)
tc_id (auto nmbr)
Want to filter out cats from this array using SPL FilterIterator
$arr = array('koala', 'dingo', 'cat', 'Steve Irwin', 'fish');
kind regrards
Kevin
--
Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the vote.
--
PHP General Mailing
How large can a string be in a cookie? (the value-parameter)
According to here: http://wp.netscape.com/newsref/std/cookie_spec.html
There are limitations on the number of cookies that a client can store at
any one time. This is a specification of the minimum number of cookies
that a client
Still learning, so sorry if this sounds really simply noobish. But as I
understand things currently this should work. But doesn't. I've been
looking over tutorials but just don't see whatever the problem is.
I created a simple table with the following fields (in order)
tc_id (auto nmbr)
lname
mysql_connect(localhost,$username,$password);
@mysql_select_db($database) or die(Unable to Connect to
DB);
$tc_query = INSERT INTO $tablel VALUES(NULL, $lname, $fname,
$machine_name,
$email_addr, $problem, NULL);
$result =
It might also be a factor, but the variable containing the table name is
$table (not $table1 as coded in the query string).
Warren Vail
[EMAIL PROTECTED]
-Original Message-
From: Philip Hallstrom [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 08, 2005 6:41 PM
To: Iggep
Cc:
Hi Ryan,
I am including a different class.inc.php file each time the foreach loops.
Each one sits in a different dir. Yes, I do get that error.
My understanding of OOP is that I could null the $sdk variable and re-init
it when the loop starts again..
Cheers
-Original Message-
From:
what about existing apps... do i need to rewrite them :(
On 9/9/05, Raj Shekhar [EMAIL PROTECTED] wrote:
in infinite wisdom Vedanta Barooah spoke thus On 09/08/2005 07:22 PM:
A typical scenario:
Server A needs to display news, which resides on Server B as RSS
feeds. For this the PHP
Hello,
Thanx to all of you for excellent suggestions. I am using Linux as OS and I
want to parse the CVs and place in db for fulltext search. I think wvWare
will work a lot for my case.
Thanx again.
On 9/8/05, Ben Ramsey [EMAIL PROTECTED] wrote:
zzapper wrote:
On Wed, September 7, 2005
55 matches
Mail list logo