Thanks,
the problem with cut an paste i have not only one of these messages
i get huge amounts of these. So i stripped down to one, sorry my fault.
a) usally 4-6
b) no
c) yes, as I mentioned i tried both (old/new)
d) never tested i jump over 5.0
the problem with the code is currently the proble
Meno Abels wrote:
Thanks,
the problem with cut an paste i have not only one of these messages
i get huge amounts of these. So i stripped down to one, sorry my fault.
a) usally 4-6
any given class will never have a variable number of parents ;-)
IMHO 6 levels deep is pushing the boat out a bit
Am 03.08.2005 um 09:22 schrieb Jochem Maas:
Meno Abels wrote:
Thanks,
the problem with cut an paste i have not only one of these messages
i get huge amounts of these. So i stripped down to one, sorry my
fault.
a) usally 4-6
any given class will never have a variable number of parents ;-
Meno Abels wrote:
Am 03.08.2005 um 09:22 schrieb Jochem Maas:
Meno Abels wrote:
Thanks,
the problem with cut an paste i have not only one of these messages
i get huge amounts of these. So i stripped down to one, sorry my fault.
a) usally 4-6
any given class will never have a variable num
Am 03.08.2005 um 11:03 schrieb Jochem Maas:
Meno Abels wrote:
Am 03.08.2005 um 09:22 schrieb Jochem Maas:
Meno Abels wrote:
Thanks,
the problem with cut an paste i have not only one of these messages
i get huge amounts of these. So i stripped down to one, sorry
my fault.
a) usally 4-
Hi all. This has been an interesting week.
Now the form works, and I am able to error check, if no errors look into
user answer table and delete from that all q_ids matching the ones just
picked, insert this page of question/answer info (q_id/a_id) into the
user answer db, and if successful ad
"Jack Jackson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all. This has been an interesting week.
>
> Now the form works, and I am able to error check, if no errors look into
> user answer table and delete from that all q_ids matching the ones just
> picked, insert this page o
Hi, mark,
Mark Rees wrote:
> Do you want to allow people to go back and change things ?
> If so, write a suitable UPDATE statement
Thanks, but I think the update function should be built in -- the sql
checks whether the userAnswer table contains the q_id the user has just
entered; if so, it
Hey!!! What resources do you used to learn AJAX?
I saw a presentation about AJAX hosted by PHP Architect and I like it, but I
want to go deep in the subject, so far I have not found resources.
Thanks in advance!!
-Original Message-
From: Graham Anderson [mailto:[EMAIL PROTECTED]
Sent:
I am looking for some resources to use my Access Databases with PHP, anyone
have a good link?
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I haven't used access with php(mainly due to the fact that I use php
on linux), but any access use I've seen so far was through OBDC(and
that was in phpBB). I suggest you consider both this, and dogging your
way through MS's COM docs.
On 8/3/05, David Wills <[EMAIL PROTECTED]> wrote:
> I am lookin
The code below isn't much help to debug. Do some checking to figure out
how far into your IF statement you're getting. Is the query running?
Is it the query you expect? (Step #1 when inserting or creating dynamic
queries that aren't working: print them out to make sure they are what
you thi
I've run into a situation where PHP is way off when doing a relatively
simple calculation of distance between two points in 2-dimensional space,
where coordinates go from 1 to 300 in both X and Y directions. When passing
300, it goes back to 1, and vise-versa (it's for a game and is supposed to
app
Hi Kristen, there's a misunderstanding:
Kristen G. Thorson wrote:
The code below isn't much help to debug. Do some checking to figure out
how far into your IF statement you're getting. Is the query running?
Yes it runs successfully
Is it the query you expect?
Yes it is perfect, and pr
Just looked into this recently and here's a brief rundown of what I've found:
1. If you run PHP on a non-Windows system, your only option seems to be making
a connection to a remote ODBC data source (hosted on a Windows machine
presumably). There was something..err.. ODBTP (?) that would work
On 2 Aug 2005, at 15:12, Robin Vickery wrote:
I don't suppose this is the place for a rant about the futility of
checking email addresses with a regexp?
Though I will agree with you to some extent, I've had quite a lot of
success with this, which is pretty thorough:
^(?:[\w\!\#\$\%\&\'\*\+
Hi,
I've want to dig a bit deeper into regular expressions for php.
I wonder if anyone can help me choosing between 2 books I'm considering buying:
1. Open Source Regular Expression Recipes - Nathan A Good
2. Mastering Regular Expressions - Jeffrey Freidl
If your using/reading one of these books
Dear you,
So, if I need to define a set of varibles ( two dimension array, eg :
$func[0,0] ) and via the varibles of form tag ( format, eg :
$_GET["varname"] or $_POST["varname"] ), how about the example sources ?
Thank for your help !
Edward.
--- Begin Message ---
> If I want to define and disp
Just for the sake of example let's say i keep track of all of a customers
previous orders in a
table like this:
Last_Order
--
Cust_ID
Item_No
No_ordered
When a customer places an order i put the order details in an a table like this:
Orders
---
Order_ID
Cust_ID
Item_No
No_ordered
On 8/3/05, Rene Brehmer <[EMAIL PROTECTED]> wrote:
> I've run into a situation where PHP is way off when doing a relatively
> simple calculation of distance between two points in 2-dimensional space,
> where coordinates go from 1 to 300 in both X and Y directions. When passing
> 300, it goes back t
I have a code
foreach($results as $key => $value)
{
echo $key.': '. $value .'';
}
But, $value could be zero too.
How to skip printing on screen when $vlaue == 0?
I know I can do
foreach($results as $key => $value)
{
if(!empty($value))
{
echo $key.': '. $value .'';
}
}
but th
[EMAIL PROTECTED] wrote:
I have a code
foreach($results as $key => $value)
{
echo $key.': '. $value .'';
}
But, $value could be zero too.
How to skip printing on screen when $vlaue == 0?
I know I can do
foreach($results as $key => $value)
{
if(!empty($value))
{
echo $key.': '.
but there is a tons of code lines inside the loop and was thingking is
there any part in foreach function that can do that? something like:
foraech($results as $key => $value, skip(empty($value)))
{
//
}
'continue' is your friend.
http://us3.php.net/manual/en/control-structures.continue.php
[EMAIL PROTECTED] wrote:
I have a code
foreach($results as $key => $value)
{
echo $key.': '. $value .'';
}
But, $value could be zero too.
How to skip printing on screen when $vlaue == 0?
foreach($results as $key => $value)
{
if ($value == 0) continue;
echo $key.': '. $value .'';
}
-
See
http://us3.php.net/manual/en/language.operators.php
http://us3.php.net/manual/en/language.operators.bitwise.php
You want this:
function calc_distance($curX,$curY,$newX,$newY) {
// calculate distance to new location
$distX = abs($curX - $newX);
$distY = abs($curY - $newY);
if ($distX <
Yes, it comes fro DB, but, quesry is alerady "to complex" (for me :))
with union, joint, ... and expanding with something else ill take
additional few hours to figure it out.
And, Stut's and Chris' "continue" solution sound perfect for me :)
Thanks guys on such a fast respond!
-afan
John
Try
INSERT INTO Orders (SELECT '678',Cust_ID,Item_No,No_ordered FROM
Last_Order WHERE Cust_ID = '678')
kgt
-k. wrote:
Just for the sake of example let's say i keep track of all of a customers
previous orders in a
table like this:
Last_Order
--
Cust_ID
Item_No
No_ordered
When a c
not a whole lot of info on the subject for working with graph classes :(
at least at this point
g
On Aug 3, 2005, at 7:05 AM, Miguel Guirao wrote:
Hey!!! What resources do you used to learn AJAX?
I saw a presentation about AJAX hosted by PHP Architect and I like it,
but I
want to go dee
--- "Kristen G. Thorson" <[EMAIL PROTECTED]> wrote:
> Try
>
> INSERT INTO Orders (SELECT '678',Cust_ID,Item_No,No_ordered FROM
> Last_Order WHERE Cust_ID = '678')
Thanks that nailed it. You rock.
-k.
__
Do You Yahoo!?
Tired of spam? Yahoo! M
Graham Anderson wrote:
not a whole lot of info on the subject for working with graph classes :(
at least at this point
g
Surely it would be much simpler to just use have javascript to set a
placed image to a new (or the same) location - this image is then
generated by JPGraph et al with no
Yeah, I thought about that. But to be honest, I don't know how to
recompile with builds from the CD/rpms. This is the first time I've ever
done it this way. So if I get the latest RPM and install it it should
activate session right? And then I just need to restart apache2 and I
should be good?
Again, this won't affect anything since I installed from the CD's and
I've always noticed that things installed via CD/rpm have different
install paths then source. I'm worried it will look in the wrong spot
for Apache...but that could be a un-needed worry.
Rory Browne wrote:
On 7/29/05, Tom
Stefan Lemmen wrote:
Hi,
I've want to dig a bit deeper into regular expressions for php.
I wonder if anyone can help me choosing between 2 books I'm considering buying:
1. Open Source Regular Expression Recipes - Nathan A Good
2. Mastering Regular Expressions - Jeffrey Freidl
If your using/rea
Hello, I have a site that allows developers to upload current modules to
the webserver. It has been requested that when this is done, I also ftp a
backup copy to a remote server. Something is wrong here. The file upload
code works. The back ftp code works,only if I comment out the
move_uploade
Hello, I have a site that allows developers to upload current modules to
the webserver. It has been requested that when this is done, I also ftp a
backup copy to a remote server. Something is wrong here. The file upload
code works. The back ftp code works,only if I comment out the
move_uploade
Ok, I got this far.
include("config.php");
$username = $_GET['name'];
$password = $_GET['pword'];
echo "Username = " . $username . "";
echo "Password = " . $password . "";
$query = "INSERT INTO user (name,password) VALUES ($username","$password")
$result = mysql_query($query)
config is just all
is there an example of this somewhere ?
Google does not come up with much.
I have seen simple AJAX examples...but none related to graphing classes.
I am a bit new at combining php with javascript with regards to image
creation.
basically, I want the user to enter variables and have a graph
ge
[snip]
Hello, I have a site that allows developers to upload current modules to
the webserver. It has been requested that when this is done, I also ftp
a
backup copy to a remote server. Something is wrong here. The file upload
code works. The back ftp code works,only if I comment out the
move_
> Ok, I got this far.
>
> include("config.php");
> $username = $_GET['name'];
> $password = $_GET['pword'];
> echo "Username = " . $username . "";
> echo "Password = " . $password . "";
> $query = "INSERT INTO user (name,password) VALUES
> ($username","$password")
> $result = mysql_query($query)
[snip]
$query = "INSERT INTO user (name,password) VALUES
($username","$password")
would do the job but, it dosent. It gives a
Parse error: syntax error, unexpected T_VARIABLE in C:\Program
Files\Apache Group\Apache2\htdocs\php\login\registration_action.php on
line 15
[/snip]
$query = "INSERT I
Have you checked out FreeTDS? We use FreeTDS to connect PHP on Linux to
SQL Server 2000. Best of luck.
Nate Tobik
(412)661-5700 x206
VigilantMinds
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 03, 2005 10:47 AM
To: php-general@lists.php.ne
Jay Blanchard wrote:
[snip]
$query = "INSERT INTO user (name,password) VALUES
($username","$password")
would do the job but, it dosent. It gives a
Parse error: syntax error, unexpected T_VARIABLE in C:\Program
Files\Apache Group\Apache2\htdocs\php\login\registration_action.php on
line 15
[/s
[snip]
>[snip]
>$query = "INSERT INTO user (name,password) VALUES
>($username","$password")
>
>would do the job but, it dosent. It gives a
>
>Parse error: syntax error, unexpected T_VARIABLE in C:\Program
>Files\Apache Group\Apache2\htdocs\php\login\registration_action.php on
>line 15
>[/snip]
>
Hey guys,
Sorry for the OT but I'm having difficulty with this.
Client wants us to develop an event registration system for their company
(multiple events) with the ability to accept credit card payments.
Just wondering if there is a PHP solution already available - paid or
opensource - that som
Hello George,
Wednesday, August 3, 2005, 6:50:07 PM, you wrote:
GB> $query = "INSERT INTO user (name,password) VALUES ($username","$password")
$query = "INSERT INTO user (name, password) VALUES ('$username',
'$password')";
And don't forget to validate your user input before slamming it
directly
Hi All,
I'm trying to strip single quotes using preg_replace() with no luck.
Can someone give me some advice on achieving this?
TIA!
--
Paul Nowosielski
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
George B wrote:
Ok, I got this far.
include("config.php");
$username = $_GET['name'];
$password = $_GET['pword'];
echo "Username = " . $username . "";
echo "Password = " . $password . "";
$query = "INSERT INTO user (name,password) VALUES ($username","$password")
$result = mysql_query($query)
c
Jay Blanchard wrote:
[snip]
$query = "INSERT INTO user (name,password) VALUES
($username","$password")
would do the job but, it dosent. It gives a
Parse error: syntax error, unexpected T_VARIABLE in C:\Program
Files\Apache Group\Apache2\htdocs\php\login\registration_action.php on
line 15
[/s
[snip]
What is top-post? and also, how can I show you my code is I can not send
it
in the email? DO I need to attach it?
[/snip]
Top posting is posting your reply above the message. It makes the
subject read out of order.
Because it is backwards.
Why?
Top posting is bad.
Cut and paste your code
[snip]
> $query = "INSERT INTO user (name,password) VALUES
> ("'.$username.'","'.$password.'") ";
>
> Try that... should work. your query syntax is mangled.
>
Backwards on your quotes Jay. Go home and get some sleep. ;)
[/snip]
Damn these corporate mergers!
Corrected query
$query = "INSERT I
> [snip]
> > $query = "INSERT INTO user (name,password) VALUES
> > ("'.$username.'","'.$password.'") ";
> >
> > Try that... should work. your query syntax is mangled.
> >
>
> Backwards on your quotes Jay. Go home and get some sleep. ;)
> [/snip]
>
> Damn these corporate mergers!
>
> Corrected
> > [snip]
> > > $query = "INSERT INTO user (name,password) VALUES
> > > ("'.$username.'","'.$password.'") ";
> > >
> > > Try that... should work. your query syntax is mangled.
> > >
> >
> > Backwards on your quotes Jay. Go home and get some sleep. ;)
> > [/snip]
> >
> > Damn these corporate m
Documented research indicate that on Wed, 3 Aug 2005 16:38:08 +0100, Robin
Vickery wrote:
> On 8/3/05, Rene Brehmer <[EMAIL PROTECTED]> wrote:
>> Using this function:
>>
>> function calc_distance($curX,$curY,$newX,$newY) {
>> // calculate distance to new location
>> $distX = abs($curX - $newX
[snip]
Why not:
$query = "INSERT INTO user (name,password) VALUES>
('$username','$password')";
[/snip]
You could do that. The reason that I don't is because of the mixing of
quote types.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Paul Nowosielski wrote:
Hi All,
I'm trying to strip single quotes using preg_replace() with no luck.
Can someone give me some advice on achieving this?
TIA!
$string = preg_replace('/\'/', '', $string);
should work fine
Kind regards,
Thomas Obermüller
--
PHP General Mailing List (http:/
Jim Moseby wrote:
[snip]
$query = "INSERT INTO user (name,password) VALUES
("'.$username.'","'.$password.'") ";
Try that... should work. your query syntax is mangled.
Backwards on your quotes Jay. Go home and get some sleep. ;)
[/snip]
Damn these corporate mergers!
Corrected query
$quer
Hi
Is there a class or some code out there which enables you to print your
PHP code to a web page and make it appear with syntax highlighting?
As an example of what I am after, have a look here;
http://www.phpfreaks.com/phpmanual/page/function.ldap-add.html
Please note this is just an example p
[snip]
It does not seem to be putting anything into the DB. Gives no errors,
but I check PHP My Admin, and there is nothing in the users and
passwords field. I think something isnt working hmmm
[/snip]
There is a brilliant statement if there ever was one! ROFLMMFAO!
Does the mysql user you
[snip]
Is there a class or some code out there which enables you to print your
PHP code to a web page and make it appear with syntax highlighting?
As an example of what I am after, have a look here;
http://www.phpfreaks.com/phpmanual/page/function.ldap-add.html
Please note this is just an exampl
> [snip]
> Why not:
>
> $query = "INSERT INTO user (name,password) VALUES>
> ('$username','$password')";
> [/snip]
>
> You could do that. The reason that I don't is because of the mixing of
> quote types.
So, is that a "Really Bad Thing(tm)", or is it just bad form? If the
former, why?
JM
-
Jay Blanchard wrote:
[snip]
It does not seem to be putting anything into the DB. Gives no errors,
but I check PHP My Admin, and there is nothing in the users and
passwords field. I think something isnt working hmmm
[/snip]
There is a brilliant statement if there ever was one! ROFLMMFAO!
[snip]
Jay Blanchard wrote:
> [snip]
> It does not seem to be putting anything into the DB. Gives no errors,
> but I check PHP My Admin, and there is nothing in the users and
> passwords field. I think something isnt working hmmm
> [/snip]
>
> There is a brilliant statement if there ever was
[snip]
So, is that a "Really Bad Thing(tm)", or is it just bad form? If the
former, why?
[/snip]
I personally think it is just bad form. I also know that it can make
trouble-shooting a bear sometimes.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
[snip]
Yeah I am using "root" which has all permissions
[/snip]
Are you sure? Did you specifically GRANT ALL to root? When you did, did
you flush the permissions? BTW, using root is a Bad Idead[tm].
[/snip]
Also, check the mysql error log
--
PHP General Mailing List (http://www.php.net/)
To unsu
Jay Blanchard wrote:
[snip]
Yeah I am using "root" which has all permissions
[/snip]
Are you sure? Did you specifically GRANT ALL to root? When you did, did
you flush the permissions? BTW, using root is a Bad Idead[tm].
[/snip]
Also, check the mysql error log
Never mind guys! I got it working!
I'm not php noobie, but still can't understand this behaviour of references.
Anybody can show me where the hell is it documented ?
Or show any logical conclusions why is it act like this... Just anything.
Thanks.
Description:
See reproduce code.
Reproduce code:
---
a =
[snip]
Jay Blanchard wrote:
> [snip]
> Yeah I am using "root" which has all permissions
> [/snip]
>
> Are you sure? Did you specifically GRANT ALL to root? When you did,
did
> you flush the permissions? BTW, using root is a Bad Idead[tm].
> [/snip]
>
> Also, check the mysql error log
Never mind g
Hello Jim,
Wednesday, August 3, 2005, 7:43:15 PM, you wrote:
>> You could do that. The reason that I don't is because of the mixing of
>> quote types.
JM> So, is that a "Really Bad Thing(tm)", or is it just bad form? If the
JM> former, why?
It's in no way a "Really Bad Thing", probably just a
George B wrote:
It does not seem to be putting anything into the DB. Gives no errors,
but I check PHP My Admin, and there is nothing in the users and
passwords field. I think something isnt working hmmm
Without seeing more of your code, we won't be able to tell for sure, but
if I was a
Graham Anderson wrote:
is there an example of this somewhere ?
Google does not come up with much.
I have seen simple AJAX examples...but none related to graphing classes.
I am a bit new at combining php with javascript with regards to image
creation.
basically, I want the user to enter varia
[EMAIL PROTECTED] wrote:
Yes, it comes fro DB, but, quesry is alerady "to complex" (for me :))
with union, joint, ... and expanding with something else ill take
^
\__ I think to many of these are the problem ;-)
additional few hours to figure it out.
...
--
[snip]
> Also, check the mysql error log
Never mind guys! I got it working!
[/snip]
C an you tell us how you got it working in the event someone else needs
to duplicate your efforts?
[/snip]
Can you tell us what the problem was so that it is available for the
archive?
--
PHP General Mailing List
I've tried playing with the $_SERVER['HTTP_REFERER'] and that's no good
because it's all coming from the same page - index.php!!
What am I missing. . . ?
Jack Jackson wrote:
Hi Kristen, there's a misunderstanding:
Kristen G. Thorson wrote:
The code below isn't much help to debug. Do some c
You said "If the user makes changes, those changes get error checked but
do not become part of the sql query." Where in your code is it failing
to become part of the query? Put a check at each level and see where
*exactly* it fails to get deep enough to become one with the query.
Also, I'm c
On Wed, 03 Aug 2005 12:10:40 -0500, Edward Vermillion wrote:
> Stefan Lemmen wrote:
>> Hi,
>>
>> I've want to dig a bit deeper into regular expressions for php.
>> I wonder if anyone can help me choosing between 2 books I'm considering
>> buying:
>>
>> 1. Open Source Regular Expression Recipes
Has anyone here tried to learn Regular expressions with RegexBuddy?
http://www.regular-expressions.info/regexbuddy.html
It looks pretty cool, and even has some PHP specific stuff, but you have to pay
to play.
-k.
__
Do You Yahoo!?
Tired of sp
Thanks Mark and Sonu... as much as I've learned over the last few months I
think I'm still a little confused about some of this stuff. I appreciate the
Help you've given me :-)
Would any of you know about any tutorials on something like this? books with
tutorials, etc? If I knew what it w
Jay Blanchard wrote:
[snip]
Yeah I am using "root" which has all permissions
[/snip]
Are you sure? Did you specifically GRANT ALL to root? When you did, did
you flush the permissions? BTW, using root is a Bad Idead[tm].
[/snip]
Also, check the mysql error log
Thanks for all the help guys. It
I am coding a message board. I am about done. I have all the forms
needed for the message. So it all works out. The user types in his name,
message title, and the message itself. Then clicks submit. The Submit
button takes him to the message check. The message check shows all the
stuff the use
Taksam wrote:
Now, my question is: can I use Apache version 2 with PHP? And, even if I can
use it in my development environment... is it safe to use Apache 2+PHP in a
production environment?
running apache 2 with php 4, not 5...
--
Leo G. Divinagracia III
[EMAIL PROTECTED]
--
PHP Genera
On 8/3/05, George B <[EMAIL PROTECTED]> wrote:
> I am coding a message board. I am about done. I have all the forms
> needed for the message. So it all works out. The user types in his name,
> message title, and the message itself. Then clicks submit. The Submit
> button takes him to the message
shell_exec("zip -r ddd ddd"); // don't work
safe_mode off, works from command line php. What could it be?
Details:
drwxr-xr-x 2 zamzmith zamzmith 512 Aug 3 18:34 execTest/
-rw-r--r-- 1 zamzmith zamzmith 107 Aug 3 18:33 mkdir.php
mkdir.php:
execTest$ php mkdir.php
execTest$ ls -l
drw
Hi all:
Now I am playing nusoap to call some apis. In the api doc, the example gives
like this:
My code like:
Array('ArrayList' => array(
'input' => array('name' => 'a', 'value'=> 'b'))
);
But the key in the array should be different, so how can I construct it?
I als
Hey all -
I have an unused Pentium box here, recent, well loaded with RAM and
HD. I want to turn it into a LAMP box. Never done that before; is
there a preferred one-stop-shop installer CD or anything (easy -
knock on wood)? It would be nice to end up with some kind of decent
web GUI for
[EMAIL PROTECTED] wrote:
On 8/3/05, George B <[EMAIL PROTECTED]> wrote:
I am coding a message board. I am about done. I have all the forms
needed for the message. So it all works out. The user types in his name,
message title, and the message itself. Then clicks submit. The Submit
button ta
George-
Without seeing your code it's hard to say what the problem is. There
could be a typo, a missing quote or semi colon. The code snippet of the
review page would be helpful.
Now when you say it's entering "blanks" into the database, I'm assuming
you have a messageID field in the db that
I am having trouble finding the parser error in this small test script. Any
help would be appreciated
I am pulling in an array from this html form.
Event Name:
Week Days
S
M
T
W
T
F
S
testarray.php
You want to add an event called
{$_POST['name']} which takes place on: ";
if (is_ar
You missed a semi-colon...
You want to add an event called
{$_POST['name']} which takes place on: ";
if (is_array ($_POST['weekdays'])) {
foreach ($_POST['weekdays'] as $day) {
print "$day"; // <---here
}
}
else {
print 'Please select at least one weekday for this
is there a way to limit the time a website is available in php?, if you want to
have a database driven website but you would only like it to be active for 6
months for instance, i'm doing a project at univirsity and this is part of the
specs, but i cant think of a good way how to do it...
--
Ok, it's not the regexp for detecting email addresses what I need,
that's widely published, thanks. I'm using ereg to match this regular
expression:
(On)[\s\w\d\W\S\D\n]*(wr[i|o]te[s]?:)
That will match phrases like
"On 8/3/05, Carol Swinehart <[EMAIL PROTECTED]> wrote:"
the type "On date, name
Maybe have a cron job that deletes/changes perms to make inaccessible
the script after the given date.
Johan Grobler wrote:
is there a way to limit the time a website is available in php?, if you want to
have a database driven website but you would only like it to be active for 6
months for
Couldn't you use a date check with date()?
if(todays date < end date)
{
load the site
}
else
{
the site has expired
}
Andrew Darrow
Kronos1 Productions
www.pudlz.com
- Original Message -
From: "Johan Grobler" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, August 03, 2005 11:04 PM
Subject: [
92 matches
Mail list logo