* Thus wrote Jason Sheets ([EMAIL PROTECTED]):
Why not go to a cybercafe every few days or once a week and check on the
project? You can also go to Kinkos or your local library, most of them
have internet enabled pcs.
The library is good, plenty of reading material while waiting for
a
1. Find them.
2. Charge them.
3. Prove it was them.
4. Bomb the shit out of the country they used to spam from.
5. Salute the US flag.
6. Move to Canada
7. Comment on the stupid Americans pushing their morals on the rest of the
world
8. Get Drunk
9. Watch Hockey
10. Enjoy life.
I think
Didier McGillis wrote:
#
MESSAGE:
INSERT INTO group (id, bmenu, tmenu, parent, name, desc, g_desc,
sort_order, status, image, mb, calendar) VALUES ('', '1', '1', '0', 'FBC
Administrator', 'fdhsjfds jfdash', 'jhfdjs fjdsahfjksda hfjdsha
On Monday 11 August 2003 18:23, [EMAIL PROTECTED] wrote:
I am currently learning php and Mysql a scripting language and DB i just
feel in love with. I am currently having problem in opening file to put
data collected from clients when the purchase from an online shop. The
scripts is as
How does the legislation prevent that? As long as people publish their
email addresses - they are public domain and will be treated as such - do
you want to stop mass snail mailings mailings as well? As long as people
publish their information it is going to be used/abused - that is the nature
On Tuesday 12 August 2003 5:33, Matt Giddings wrote:
Is there
anything that can be done about this? I'm about ready to unsubscribe
from this PHP list due to that fact!
If you are in the US you can call your Senator and offer your support of the
CAN-SPAM bill (horrible name isn't it).
It is
* Thus wrote Jackson Miller ([EMAIL PROTECTED]):
On Tuesday 12 August 2003 5:33, Matt Giddings wrote:
Is there
anything that can be done about this? I'm about ready to unsubscribe
from this PHP list due to that fact!
If you are in the US you can call your Senator and offer your support
From: Mike Morton [mailto:[EMAIL PROTECTED]
How does the legislation prevent that? As long as people publish
their
email addresses - they are public domain and will be treated as such -
do
you want to stop mass snail mailings mailings as well? As long as
people
publish their information
Be real - the legislation is a waste of time and money and will never
be
enforced or enforcable. Too many 'anonymous' countries willing to
take
money for server hosting in the world.
Yes, but they're taking money *from* American companies, for the most
part. You don't have to punish the
and how will this be enforced. waste of legislation imo.
The same way any law is: by filing criminal charges after the fact.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- Didier McGillis [EMAIL PROTECTED] wrote:
I am doing an admin site for a person and their small site.
I need to allow them to put in paragraphs of information. I
am allowing them to put in some HTML like b, br, p
a href= a very limited amout of tags. What is the best
way to submit and then
On Wednesday 06 August 2003 04:33, Christopher J. Crane wrote:
I can not get a variable in a session to unset() and then re-populate and
it is destroyed. Please follow below to get the flow of what I am doing.
When using header() to redirect you should always session_write_close() first.
--
http://us4.php.net/math
The operator you want is %
Eg: 5%3 = 2
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
if you turn on --enable-bcmath, you can use de bcmod function
equivalen to Mod operator from visual basic
Un saludo, Danny
Dean
Didier McGillis wrote:
Everyone,
I am doing an admin site for a person and their small site. I need to
allow them to put in paragraphs of information. I am allowing them to
put in some HTML like b, br, p a href= a very limited amout of
tags. What is the best way to submit and then show this
On Wednesday 06 August 2003 18:19, Dean Baldwin wrote:
I am porting a vb application across to php but have come up against a
small problem. The code uses the Mod calculation however I cannot find any
Mod in php. The line of code that uses it looks like:
Data = (index Mod 16)
Anybody have
if you turn on --enable-bcmath, you can use de bcmod function equivalen to
Mod operator from visual basic
Un saludo, Danny
Dean
Billy mailto:[EMAIL PROTECTED]
on Tuesday, July 29, 2003 4:25 PM said:
hi im new to php. but i need help with a form. ive made an html form
but the thing is i needed it to send all the info from the boxes
above to an e-mail. this is my first time with this type of web
design could someone
* Thus wrote Corey Edwards @ Dreamstar Computer Software ([EMAIL PROTECTED]):
I finally set up an Apache Web Server. I didn't realize you needed that to
run php until now.
Now, I have another question.
I have it installed, but when I run a PHP script, it says it can't be found.
Even when
-Original Message-
From: Corey Edwards @ Dreamstar Computer Software
I finally set up an Apache Web Server. I didn't realize you needed that to
run php until now.
That's only true if you need to serve Web pages; php runs fine from the
command line ...
--
PHP General Mailing List
SO COOL...
Thanks too all
-Original Message-
From: Binay Agarwal [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 1:48 PM
To: Joe Harman
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] help with explode.
Okay... this probably isn't that hard to do... but I am just not sure
Okay... this probably isn't that hard to do... but I am just not sure to
do it... so i will ask you guys... i amsure someone is going to have a
one liner for me here!
I am making a survey/poll builder everything is dynamic... there is an
admin section where the user can make the new
Subject: Re: [PHP] help with ad serving
* Thus wrote electroteque ([EMAIL PROTECTED]):
hi there my next project at work is to build an ad server for both image
and
flash , i am storing each ad entry into a banner_ads table then another
table media to store each of the banners into which links
. And also, what you wanted us to resolve for you was not very
clearly stated.
-Original Message-
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 6:39 AM
To: Php-General
Subject: Re: [PHP] help with ad serving
* Thus wrote electroteque ([EMAIL PROTECTED
See archive posts about register_globals which came in php 4.1 (I think) if
you don't want to change your scripts you can turn off register_globals in
the .htaccess or php.ini files
On 21/7/03 10:34 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I installed apache1.3.12 as the web server and
I'd settle for a function that will generate a date for this upcoming
friday. ;)
Elliot Tobin wrote:
I need a function to create the dates of previous Fridays
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Elliot,
I need a function to create the dates of previous
Fridays, in 21-JUL-2003 format.
It'll be different depending on what you want to happen if you pass a Friday
timestamp to the function, but it should be something like:
function friday($ts)
{
while (date(w, $ts) != 5)
$ts -=
Umm.
echo(date('U',strtotime('next Friday')));
Notice the strtotime part.
On Mon, 2003-07-21 at 09:25, John Manko wrote:
I'd settle for a function that will generate a date for this upcoming
friday. ;)
Elliot Tobin wrote:
I need a function to create the dates of previous Fridays
-Original Message-
From: Adam Voigt [mailto:[EMAIL PROTECTED]
Sent: 21 July 2003 14:29
echo(date('U',strtotime('next Friday')));
Actually, for this upcoming Friday, that'd just be
echo(date('U',strtotime('Friday')));
Slightly confusingly, 'next Friday' would be the Friday after
Ha. Not what I have in mind. :)
Adam Voigt wrote:
Umm.
echo(date('U',strtotime('next Friday')));
Notice the strtotime part.
On Mon, 2003-07-21 at 09:25, John Manko wrote:
I'd settle for a function that will generate a date for this upcoming
friday. ;)
Elliot Tobin wrote:
I need a
More like:
echo(date('Jennifer Lopez',strtotime('next Friday')));
John Manko wrote:
Ha. Not what I have in mind. :)
Adam Voigt wrote:
Umm.
echo(date('U',strtotime('next Friday')));
Notice the strtotime part.
On Mon, 2003-07-21 at 09:25, John Manko wrote:
I'd settle for a function that
-Original Message-
From: Elliot Tobin [mailto:[EMAIL PROTECTED]
Sent: 21 July 2003 14:08
I need a function to create the dates of previous Fridays, in
21-JUL-2003 format.
I figure this has already been done, so I wanted to ask before I
continued writing my own.
Take a look
* Thus wrote electroteque ([EMAIL PROTECTED]):
hi there my next project at work is to build an ad server for both image and
flash , i am storing each ad entry into a banner_ads table then another
table media to store each of the banners into which links to the banner ,
although in the created
* Thus wrote Ford, Mike [LSS] ([EMAIL PROTECTED]):
-Original Message-
From: Adam Voigt [mailto:[EMAIL PROTECTED]
Sent: 21 July 2003 14:29
echo(date('U',strtotime('next Friday')));
Actually, for this upcoming Friday, that'd just be
* Thus wrote Adam Voigt ([EMAIL PROTECTED]):
Umm.
echo(date('U',strtotime('next Friday')));
I prefer:
while(1) echo(date('U', strtotime('Saturday'));
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
what error message are you getting?
mysql_error() and mysql_errno()
Tony Tzankoff wrote:
Here is the code I am trying to implement...
update table set col1=value where condition=true and condition=true order by
col2 desc, col3 desc limit 1;
The UPDATE command does not seem to support the ORDER
Hi Tony,
The UPDATE command does not seem to support
the ORDER BY part despite it being listed in the
instructions on the mysql.com website.
This is only supported in versions 4 and above - if you're using 3.23 you
can get away with LIMIT in your update queries, but not ORDER BY.
Cheers
Jon
Grr
Needed to reset the $XXX and $YYY vars BEFORE the for loop...
Anyway, should you have nothing better to do, plz look through and see
if there is a better way to do this with possibly less queries made on
the db...
Ta
On Wed, 2003-07-16 at 09:25, Petre Agenbag wrote:
Hi List.
I cannot
You're missing at least one closing brace (}) -- the one that belongs
with the
else if ($login==check) {
ten or so lines up from the bottom.
---
Mark Roedel | Blessed is he who has learned to laugh
Systems Programmer| at himself, for he shall never cease
LeTourneau
else if ($userlogin $userpass == $admin $adpw) {
this line probably isn't going to do what your thinking it will.
you probably want either
else if ($userlogin == $admin $userpass == $adpw) {
or
else if (strcasecmp($userlogin,$admin) == 0
strcasecmp($userpass,$adpw) == 0) {
Please use more intelligent and descriptive subjects for your posts.
This HELP!!! nonsense is stupid.
--
Regards,
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Oh well I am sorry your royal majesty
- Original Message -
From: Burhan Khalid [EMAIL PROTECTED]
To: Mark Clarkstone [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 7:26 PM
Subject: Re: [PHP] HELP can someone tell me
whats wrong here
On Friday 11 July 2003 02:28, Mark Clarkstone wrote:
- Original Message -
From: Burhan Khalid [EMAIL PROTECTED]
To: Mark Clarkstone [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 7:26 PM
Subject: Re: [PHP] HELP can someone tell me
If I were you I would create a mySQL (or Postgresql) database containing
all of the thumbnails. Use the row id of the mySQL (Postgresql) table
to decide which row to display.
You probably will want to look up the documentation and/or google.
-Dan
On Sat, 2003-07-05 at 11:44, Michael Whiting
On Saturday 05 July 2003 11:47 am, Michael Whiting wrote:
Sorry - here's the HTML source. Don't laugh :)
snip
if ($view1 = true):
That statement will always evaluate to true. You may need
if($view1 == true)
notice the double equal sign
if ($view1 = false):
Same here
RDB
--
PHP
hi,
here is how you do it
?
$strJavaScriptValue=Hello;
?
script language=JavaScript
alert('? echo $strJavaScriptValue?');
/script
this will alert Hello!. i think you get the point.
Haseeb
- Original Message -
From: Nirmala P [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday,
On Thu, 19 Jun 2003 13:21:07 +0200, Daniel wrote:
Okay, I think I'll have to kill myself...
I can't believe I am this stupid, but it turned out I was working on a copy
of the file, not the real one. D'OH!!!
Sorry, guys!
Daniel
That's no reason not to kill M$...
+a
Steve
--
Steve
LOL =)
Steve M [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Thu, 19 Jun 2003 13:21:07 +0200, Daniel wrote:
Okay, I think I'll have to kill myself...
I can't believe I am this stupid, but it turned out I was working on a
copy
of the file, not the real one. D'OH!!!
try something like this, not sure if this what you want
create a random value like
$random = rand();
then attach it to the each page.. like
index.php?random=$random
good luck
- Original Message -
From: Daniel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 19, 2003
Thanks for the advice, but that would mean I'd have to change the way the
code works, and that would a bit much, I think... I was hoping for some
registry editing or a little utility or something...
But thanks =)
Daniel
Awlad Hussain [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Okay, I think I'll have to kill myself...
I can't believe I am this stupid, but it turned out I was working on a copy
of the file, not the real one. D'OH!!!
Sorry, guys!
Daniel
Daniel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Thanks for the advice, but that would mean I'd have
what is it not doing? I see you are referencing the variables directly, is
register globals 'on'? Are you getting errors?
-Original Message-
From: Mark Clarkstone [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 11:09 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Help with my code
What is the value of $subject? fwrite() expects the third
value passed to it to be the number of bytes to write.
James
-Original Message-
From: Mark Clarkstone [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 11:09 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Help with my code
Ok thanks everyone I found out the problem
James E Hicks III [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
What is the value of $subject? fwrite() expects the third
value passed to it to be the number of bytes to write.
James
-Original Message-
From: Mark Clarkstone
Hi Other PHP Users,
i am new PHP in the list; i am looking for some code example for a hotel or
residence booking program; can
someone help me with good tips? some code?
i thank you for every help, bye
Giuliano
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
extract from database
$data = @gzinflate(stripslahes($data));
Op maandag 16 juni 2003 18:03, schreef u:
Hi,
I am trying to insert compressed data into a database.
Inserting it in seems to work file:
$data = addslashes(gzdeflate($data, 9));
insert into database
For the most part it works
PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 16, 2003 7:42 AM
Subject: [PHP] Re: PHP help/example for booking program
Hi Other PHP Users,
i am new PHP in the list; i am looking for some code example for a hotel
or
residence booking program; can
someone help me with good tips? some code
Try here:
http://www.hotscripts.com/PHP/Scripts_and_Programs/
or here:
http://php.resourceindex.com/
Enjoy,
Brad
- Original Message -
From: Giuliano [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 16, 2003 7:42 AM
Subject: [PHP] Re: PHP help/example for booking program
On Sun, 8 Jun 2003 13:31:25 +0300, you wrote:
AGES AND TRYING TO FIND A GOOD RSS CREATOR , PLEASE HELP, NOTE THAT I TRIED
http://www.phpclasses.org . PHP Classes Repository
BUT I DIDN'T MANAGE
PLEASE HELP ME
A simple RSS document is pretty easy to generate. It's just text... even
Here's an article that covers tree and stack
http://www.evolt.org/article/Four_ways_to_work_with_hierarchical_data/17/4047/index.html
olinux
--- [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hello all,
I need help about to implement these methods in PHP:
1) Tree (Arbol)
2) Queue - FIFO
Umm, have you tested it? It didn't work for me...
Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
for ($i = $aNum; eval ('return $i ' . $do . ' $bNum'); )
zavaboy wrote:
Hey,
I'm having problems with the eval() function...
if ($Sort == Up) {
$do==;
} else
zavaboy wrote:
Umm, have you tested it? It didn't work for me...
Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
for ($i = $aNum; eval ('return $i ' . $do . ' $bNum'); )
Untested:
for ($i = $aNum; eval(return (\$i . $do . \$bNum););)
--
David Grant
Web Developer
I get a infinite loop and parse error, unexpected $...
David Grant [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
zavaboy wrote:
Umm, have you tested it? It didn't work for me...
Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
for ($i = $aNum;
zavaboy wrote:
I get a infinite loop and parse error, unexpected $...
Told you it was untested.. :P
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Media Ltd
Registered Office: 43 Royal Park, Bristol, BS8 3AN
Studio:
yes, missing semi-comma:
for ($i = $aNum; eval ('return $i ' . $do . ' $bNum;'); )
the rest is up to you, I don't know what you want to do whit it
Marek Kilimajer wrote:
for ($i = $aNum; eval ('return $i ' . $do . ' $bNum'); )
zavaboy wrote:
Hey,
I'm having problems with the eval()
Ok, it works now! Thanks!
Go visit what I'm working on at: http://zavaboy.jimbug.org/phptest/blog.php
I'm working on a blog, mainly for myself...
If you go there, tell me if the yellow days are clickable. Also tell me if
you see red dates on the blog.
I should be the only one to see those things
for ($i = $aNum; eval ('return $i ' . $do . ' $bNum'); )
zavaboy wrote:
Hey,
I'm having problems with the eval() function...
if ($Sort == Up) {
$do==;
} else {
$do==;
}
for ($i = $aNum; eval ('$i ' . $do . ' $bNum'); )
//So.. the above line acts like:
//for ($i = $aNum; $i = $bNum; )
It looks sorted to me. You get message 12, 23, and then 25. How exactly
do you want it to look?
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
-Original Message-
From: Haseeb Iqbal [mailto:[EMAIL PROTECTED]
Please post more of your code. It is difficult for us to help you without
seeing your code.
Clint
-Original Message-
From: Andy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 8:17 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Help needed
Hi all
Can someone help?
I am new to PHP and
Realize that when you see error line... it doesn't mean that the error is
definately on that line. PHP is only *so* smart. You'll find that making
mistakes on line X will result in errors being reported on line X+1 or
further down in your code.
Don't take the errors at face value all the time -
Hi Clint
OK hope this is not too much and there are likely to be more errors in it.
Thank you
Andy
?php
session_start();
session_register('auth');
session_register('logname');
include(simba.inc);
switch (@$do)
{
case login:
$connection = mysql_connect($host, $user,$password)
or die
At 16:17 1-4-03, you wrote:
Hi all
Can someone help?
I am new to PHP and need some help, i have tried to build a members only
section to my website but i am finding it very hard.
I get this error when i go to the login page:
Parse error: parse error in
I would suppose that you have an unbalanced {} somewhere.
Restructure your code (yes, even more!) so it is easier to see such a mistake.
Some coders prefer this:
if () {
code
}
but i prefer
if ()
{
code
}
so i see immediately what {braces} belong together.
At 16:27 01.04.2003, Andy spoke out and said:
[snip]
Hi Clint
OK hope this is not too much and there are likely to be more errors in it.
Thank you
Andy
[snip]
At the line
if ($num == 1) // login name was found
Same error clint. I think the error is between
case new: foreach($HTTP_POST_VARS as $key = $value)
and
/* check to see if login name already exists */
I copied the code from PHP for Dummies (while trying to learn it) and
changed the code between the above to add in the extra
Thank you Ernest
I am a little confused with the closing curly bracket after
$message_new = $phone is not a valid phone number etc
which one should i delete?
}
if (!ereg(^[0-9)(xX -]{7,20}$,$phone))
{
unset($do);
$message_new = $phone is not a valid phone number.
At 17:17 1-4-03, you wrote:
Thank you Ernest
I am a little confused with the closing curly bracket after
$message_new = $phone is not a valid phone number etc
there are two, and there is nothing inbetween, so technicaly it does not
matter to the PHP interpreter.
--
PHP General Mailing List
Maybe the error is here -
$emess =$emess1.$emess2.$emess3.$emess4.$emess5.$emess6.emess7;
Shouldnt it be $emess7 ???
Jochem
Andy wrote:
Same error clint. I think the error is between
case new: foreach($HTTP_POST_VARS as $key = $value)
and
/* check to see if login name already
At 17:17 01.04.2003, Andy spoke out and said:
[snip]
Thank you Ernest
I am a little confused with the closing curly bracket after
$message_new = $phone is not a valid phone number etc
which one should i delete?
}
if (!ereg(^[0-9)(xX
http://www.php.net/manual/en/function.setcookie.php
You can set the expire date to be far of into the
future.
--- Haseeb Iqbal [EMAIL PROTECTED] wrote:
hi
how can i set the cookies life to non expireable
and what action should i take when the user signs
out?
Regards.
--
PHP General
On Thursday 27 March 2003 13:05, Jim wrote:
Could someboy please help me with this simple task (at least I though it
would be simple):
I need to split a string with two dates in into two datestrings, and there
might be whatever between the dates, e.g.
$datestring = 010101a020202, or
I get the following error:
Parse error: parse error, expecting `T_VARIABLE' or `'$'' in
/usr/local/apache/htdocs/lib/lib_string.inc on line 218
Using this code:
$str =
preg_replace(!([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/=])!ei, a
href=\{$1}://{$2}{$3}\{$2}{$3}/a, $str);
Since
On Wednesday 26 March 2003 13:59, Justin French wrote:
Parse error: parse error, expecting `T_VARIABLE' or `'$'' in
/usr/local/apache/htdocs/lib/lib_string.inc on line 218
Using this code:
$str =
preg_replace(!([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/=])!ei, a
what that guy said, or use ereg_replace instead of preg_...
From: Jason Wong [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP] help with preg_replace please
Date: Wed, 26 Mar 2003 14:08:44 +0800
On Wednesday 26 March 2003 13:59, Justin French wrote
Ben Edwards wrote:
Am talking to a part Bristol City Council in the UK. To persuade them
to use PHP I need to find some high profile reference sites.
You may find some useful references in the archive of this list. I
remember a poster with the subject of: Is php used by U.S. Government?
By
At 00:18 18.03.2003, Dennis Gearon said:
[snip]
Simple question, only related to this forum in that all of us use
libraries that are compressed.
I'm trying to use adodb, and I uploaded it's zipped archive to a linux
box and gunzip won't unzip it. Says
Turns out the adodb guy DOES have a *.tgz file to download. I got it,
(it's missnamed in the extension), and was able to extract it fine.
Thanks for your help!
Ernest E Vogelsinger wrote:
At 00:18 18.03.2003, Dennis Gearon said:
[snip]
Simple question,
download and install the apache web server. that along with php should do
the trick. if you're doing any database work you may want to pick up the
windows version of that too.
some decent instructions are here:
http://www.thesitewizard.com/archive/php4install.shtml
-Original Message-
No, actually i was wrong about this subject. The correct Regular Expression
for this is the following:
preg_match_all(/(\?.*?\?)/ims,$text,$source_code);
The anterior was greedy, and so it matched the following:
? echo aaa; ?html? echo bbb; ?
And now it only takes the text between ? and ?,
Use preg_match_all();
Something like preg_match_all(/(\(\?.*\?)/im, $Text, $Array_PHP_Code,
PREG_PATTERN_ORDER); should do it. It might need some work, but you'll get
it. :)
Niklas
-Original Message-
From: Alejandro [mailto:[EMAIL PROTECTED]
Sent: 11. maaliskuuta 2003 14:59
To:
¡¡¡ Got it !!
It even matches the linebreaks, so it can color multi-line code. Look at
this sample:
- TEXT TO USE FOR SEARCHING
PATTERNS --
? phpinfo(); ?
?
echo PHP IS A GREAT PROGRAMMING LANGUAGE;
?
?
// :-)
some obvious errors:
$submiited on =date(1y-m-d'); // typo on submittedon and the date
format seems off, maybe you're looking for date('y-m-d') .
$query=insert into articles
(date,submitted,status,title,lead,body,submitted by)
// if the field name is submitted by then you need
Garcha,
Kindly check your file paths. When you export it, it may not point
to what really is the real path online.
May I ask what are you trying to achieve?
-Original Message-
From: Pushpinder Singh Garcha [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 1:45 PM
To: [EMAIL
Thanks for the prompt reply Michael
I am trying to protect files on the site, my script checks for a valid
session ID and fopens() a File. This file is located in a different Dir
from the php script. When the file is a simple html file , I can easily
fopen() the file (Even though it contains
]
Sent: Monday, March 10, 2003 2:13 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Help Needed
Thanks for the prompt reply Michael
I am trying to protect files on the site, my script checks for a valid
session ID and fopens() a File. This file is located in a different Dir
from
You might try changing ? to ?php and ? to php?
something about short tags
hugh
- Original Message -
From: Karl James [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 10, 2003 10:14 PM
Subject: [PHP] help needed with code!!
Can anyone give me some pointers on why im note
On Sun, 9 Mar 2003 21:18:33 +0100
Øystein Håland [EMAIL PROTECTED] wrote:
The problem is the cookie soon reaches the 4 kb limit, so I would like to
achieve the same using session. The trouble is, I don't know how to do. I
would appreciate any help that brings me closer to a solution on this.
On Friday 07 March 2003 03:42, Cavallaro, Vito wrote:
Do You Know java mail list?
I don't, but I bet google does.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development *
On Mon, 03 Mar 2003 12:04:37 -0800, you wrote:
I have a database that holds a start date and an end date and I have a form
with a start date and an end date. The report would be to get everything in
the database's date ranges that overlap the form's date range. I am having
trouble figuring out
Hi,
Saturday, March 1, 2003, 1:54:24 AM, you wrote:
PKI Hi
PKI I just have a little problem with sessions.
PKI my code:
PKI htmL
PKI headtitleTEST/title
PKI /head
PKI body
PKI ?php
PKI session_start();
PKI if ($submit) {
PKI echo 'Hello '.$_SESSION['ID'];
PKI } else {
PKI
Thanks everyone! it worked fine now!
-Original Message-
From: Tom Rogers [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 10:58 AM
To: Poon, Kelvin (Infomart)
Cc: '[EMAIL PROTECTED]'
Subject: Re: [PHP] Help with Sessions
Hi,
Saturday, March 1, 2003, 1:54:24 AM, you wrote:
PKI
1101 - 1200 of 1991 matches
Mail list logo