On Friday 16 August 2002 14:13, Thomas Meinke wrote:
> Hello!
>
> My problem is a Parse Error in the last line of the script. I checked all
> the brackets { and semicolons ; but I did`nt find any error.
> Perhaps you can help me.
Try matching up your '' and "".
--
Jason Wong -> Gremlins Associa
Hello!
My problem is a Parse Error in the last line of the script. I checked all
the brackets { and semicolons ; but I did`nt find any error.
Perhaps you can help me.
Cu
Thomas
Here is the Code:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
On Friday 16 August 2002 01:30, FoxRings / Michael wrote:
> I want to send mail under win98,
> and I know that this is the proper solution...
>
> ---snip
> Hope this work:
> --> edit your php.ini and type your SMTP server
>
> [mail function]
> ; For Win32 only.
> SMTP = yoursmtpserver.
wonder if anyone has developed a wrapper around captcha.
or is there an alternative way ?
--
roger
__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Tue, Aug 13, 2002 at 02:58:02PM -0400, Alex Shi wrote:
>
> I am currently have PHP 4.0.4p11 and Apache 1.3.19 running
> on RH Linux 7.1. Now I am thinking of upgrade my PHP to 4.1.2-7
If you're upgrading, don't waste your time installing very old versions
with significant vulnerabilities in
On Tue, Aug 13, 2002 at 12:13:35PM -0700, Keith Posehn wrote:
>
> I have the code together now to put it all the zip codes into and array--but
> now I need to add those zip codes to a sql statement for the WHERE clause.
>
> SELECT * FROM [table]
> WHERE zip="[all the darn zips listed here]"
$qu
On Tue, Aug 13, 2002 at 04:02:51PM -0230, Kondwani Spike Mkandawire wrote:
>
> $file = fopen("Counter.txt", "r+");
> $counter = fread($file, filesize("Counter.txt"));
> fwrite($file, "$counter", strlen($counter));
... snip ...
> // For some reason the updated value is not written
> // to C
On Tue, Aug 13, 2002 at 01:57:54PM +0200, MyBox wrote:
>
> function testfunc($var1,$var2)
> {
> ...many calculation and variables
> return $result;
> }
>
> then on call number 12 the script exits whith error-message:
> Fatal error: Allowed memory size of 8388608 bytes exhausted
Exhausting 8 megs
In article <001401c244aa$d31e1b90$ff1ffea9@billsgate>, [EMAIL PROTECTED]
says...
> Whats wrong with this code?
>
> $arrSearch = explode(" ", $_REQUEST['string']);
> $RSQuery = "SELECT * FROM referenzen_tbl";
> if (strlen($arrSearch) > 0) { // Überhaupt einschränken?
> $Query .= " WHERE (";
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> Hello People:
>
> I have my pages built in PHP / Mysql, all working ok, but now I need
> solve a problem I don't know how to solve or even how search about. Case
> this problem was already discussed in this list, I would be grateful if
>
In article <002a01c24474$33be4d80$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> SXMgdGhlcmUgaXMgYSB2b2x1bWUgbGltaXR0ZWQgZm9yIFBIUCB1cGxvYWQgZmlsZQ0KdXNpbmcg
> SFRUUD8NCkkgaGVhcmQgb2YgdGhlcmUgaXMgYSA4LTlNYiBsaW1pdHRlZCxpcyBpdCB0cnVlPw0K
> SXMgdGhlcmUgYSBtZXRob2QgdG8gc29sdmUgaXQ/DQo=
>
If you c
On Friday 16 August 2002 11:51, Michael wrote:
> Is it possible to write a script that:
> 1) gathers information
yes
> 2) upon clicking a "submit" button, "posts" this information to a remote
> server for processing.
yes
> 3) the remote server, by default, will generate
> results and display
Is it possible to write a script that:
1) gathers information
2) upon clicking a "submit" button, "posts" this information to a remote server for
processing.
3) the remote server, by default, will generate results and display on it's own web
page generated dynamically.
4) can we "intercept" this
On Friday 16 August 2002 11:40, Pafo wrote:
> nm, now it works,, forgot the silly ()
Always set error reporting to FULL, and always error log to a file (see
settings in php.ini). That way you probably could have figured out what the
problem was by examining the logs.
--
Jason Wong -> Gremlins
On Tue, Aug 13, 2002 at 10:47:13AM +0200, Per wrote:
>
> Does anybody know how to get rid of the session id in the url when using
> session_set_save_handler.
Perhaps session.use_trans_sid is the ticket you're looking for...
--Dan
--
PHP classes that make web design easier
nm, now it works,, forgot the silly ()
thx, Gurhan :)
regards
patrick
"Pafo" <[EMAIL PROTECTED]> skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> dosent printout anything, here have a look:
> http://www.ant.nu/phpclass.php
>
> regards
> patrick
> "Bogdan Stancescu" <[EMAIL PRO
dosent printout anything, here have a look:
http://www.ant.nu/phpclass.php
regards
patrick
"Bogdan Stancescu" <[EMAIL PROTECTED]> skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> So what happens exactly?
>
>
> Pafo wrote:
> > i reed thru my code and i noticed that it wasent read
Here si some code that I used YEARS ago, and I think it was posted to this
list for me in the first place.
It was designed to grab some pseudo mark language from a text file like:
An article about PHP
This is my article text
This is my footer
Copyright me 2002
AI have NO IDEA how is works wi
Thanks Patrick,
This looks good -- just what I needed to do the job!
Regards,
Andre
On Thursday 15 August 2002 10:22 pm, Pafo wrote:
> why not:
> $error[] = "Connection to the database failed";
>
>
> $db = pg_connect("dbname=rap user=postgres") die (error(0));
>
>
> function error ($code
On Thursday 15 August 2002 10:20 pm, Jason Wong wrote:
> It's probably not very user friendly to display the raw error. You could
> redirect the user to a generic error page saying something like "The site
> is down for maintenance" or whatever.
That's what I thought. So with your other idea of
So what happens exactly?
Pafo wrote:
> i reed thru my code and i noticed that it wasent readable, like Dan said in
> one of my other post "xml and php".
> so i thought, why not create afew classes to make everything look good :)
> i managed to make this class, but it just dosent work,, anyone g
On Friday 16 August 2002 03:14, [EMAIL PROTECTED] wrote:
> I get this error:
>
> Notice: Undefined offset: 1 in
> /home/victor/argilent-www/sites/malibu_place_2/index.php on line 104
Which is line 104?
> Warning: Bad arguments to implode() in
> /home/victor/argilent-www/sites/malibu_place_2/ind
Where does it fail?? By the way seems like you have forgotten the
parenthesises.. Try:
$temp = new Relic();
$temp->SetName("test");
$temp->DebugPrint();
Hope this helps..
Gurhan
"Pafo" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
i reed thru my code and i noticed that it w
On Friday 16 August 2002 04:35, Manuel Ochoa wrote:
> I just installed phpMyadmin and I'm getting a message that I have an
> undefined variable. Is this because I have global variables off?
>
> Or in other words, should this program work the same regardless of whether
> global variables are on or
why not:
i think ive would have done something like that...
but im not the greatest expert on php :)
regards
patrick
"Andre Dubuc" <[EMAIL PROTECTED]> skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Suppose, during an attempted connection to a database, an error condition
>
On Friday 16 August 2002 10:15, Andre Dubuc wrote:
> Suppose, during an attempted connection to a database, an error condition
> occurs, where the connection cannot be made.
>
> . . .
> $db = pg_connect("dbname=rap user=postgres") die ("Connection failed -
> please try again.");
> . . . .
> ?>
>
Suppose, during an attempted connection to a database, an error condition
occurs, where the connection cannot be made.
Is it advisable for such a message to be displayed to the User, or should
such reporting be sent to a log of some sort.
(I'm unclear of what use the message would be to the
Hi, I hope you can help me a bit more, this is is my current script:
(look after for more messages)
// Original last tag
//
preg_match('!]+>(.*)!Uis',$str,$regs[1]);
$everything_between_divs = $regs[1];
//echo $everything_between_divs;
$good = implode(' ', $regs)
or die ('Error 5');
// This
i reed thru my code and i noticed that it wasent readable, like Dan said in
one of my other post "xml and php".
so i thought, why not create afew classes to make everything look good :)
i managed to make this class, but it just dosent work,, anyone got any idea
why it wont work..?
RelicName :
How can I make crypt() use blowfish encryption?
It seems that my system (RH7.2 Linux) doesn't support Blowfish according
to CRYPT_BLOWFISH:
CRYPT_BLOWFISH = 0
How can I add blowfish support to my system if crypt() requires it?
Jc
PS I don't want to use mcrypt(). I just want to install whatev
You can set up php to run from console if it doesn't already, and add an
alias to your mail server ("stocks") which would parse the incoming mail
and do the appropriate deeds.
Bogdan
M wrote:
> Hello People:
>
> I have my pages built in PHP / Mysql, all working ok, but now I need
> solve a pr
Hummm, sorry, you're right, you're converting it do a "fake" octal via
strings, I was wrong in my first paragraph. In any case, if it helps, on
my comp it really does evaluate true.
Bogdan
Gandalf wrote:
>
>
> Hello!
>
> I am doing this
>
> $newpath = "./uploads/newdir/";
> if (!is_dir($ne
Hi!
I don't know why it doesn't because it really should ALWAYS evaluate
true with your code, regardless of absolutely anything.
The reason is that the quoteless 777 you're comparing to is in decimal
and it would defy math if you were ever able to get $perms==777. Anyway,
it does evaluate tru
Permissions.
>Php.ini is in correct location according to phpinfo() at /usr/local/lib, but
>it's not being read. Changed several options and saw no change with
>phpinfo().
>
>Anybody got any ideas?
>
>TIA
>
>
>>
>> Thanks. I put it in /usr/local/lib and turned register_globals On (I plan on
>>
Php.ini is in correct location according to phpinfo() at /usr/local/lib, but
it's not being read. Changed several options and saw no change with
phpinfo().
Anybody got any ideas?
TIA
>
> Thanks. I put it in /usr/local/lib and turned register_globals On (I plan on
> setting it off after I rewr
Check out Liz Fulgham article on PHP and Forms ->>
http://softwaredev.earthweb.com/script/article/0,,12063_996351,00.html
It show how the _SERVER fuction/varible is used.
Cheers CJ
Jim Dam wrote:
> http://www.faqts.com/knowledge_base/view.phtml/aid/235/fid/17
> - Original Message -
> F
$_SERVER['PHP_SELF'] when globals are off.
>How about this:
>
>
>
>- Vic
>
>
>-Original Message-
>From: Manuel Ochoa [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, August 15, 2002 7:20 PM
>To: PHP General
>Subject: [PHP] Undefined variable: PHP_SELF
>
>
>I keep getting "Undefined variable:
This means that you do not have the PHP module loaded properly. Do you
have a LoadModule line for PHP in your httpd.conf file?
-Rasmus
On 15 Aug 2002, paul wrote:
>
>
> Hello Again Everyone,
>
> Thank you to those of you who sent me suggestions. Unfortunately none so
> far have solved the prob
How about this:
- Vic
-Original Message-
From: Manuel Ochoa [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 7:20 PM
To: PHP General
Subject: [PHP] Undefined variable: PHP_SELF
I keep getting "Undefined variable: PHP_SELF" when using the following:
Global variables are
Hello Again Everyone,
Thank you to those of you who sent me suggestions. Unfortunately none so
far have solved the problem. I think I need to give you more
information.
I am running a Mandrake 8.3 linux box. Apache 1.3.23. PHP 4.2.1-8mdk.
Installed from RPM's. PHP shows in my active list of
Sascha,
From just looking at it, the code looks fine. It could be that someone
entered a special character in the array like a '%' or something else
illegal.
Check the code I wrote. I entered a debug statement to see what was
generated.
This should give you some clue what is wrong with it.
Yo
Try $_SERVER['PHP_SELF'] instead of $PHP_SELF
At 04:19 PM 8/15/2002 -0700, you wrote:
>I keep getting "Undefined variable: PHP_SELF" when using the following:
>
>
>
>Global variables are off... What am I doing wrong?
Jadiel Flores
-
http://www.abargon.com
[EMAIL PROTECTE
> I keep getting "Undefined variable: PHP_SELF" when using the
> following:
>
>
>
> Global variables are off... What am I doing wrong?
In current versions of PHP, $PHP_SELF is available if globals are on.
You'll need $_SERVER['PHP_SELF'] instead if you're keeping globals off.
CYA, Dav
I keep getting "Undefined variable: PHP_SELF" when using the following:
Global variables are off... What am I doing wrong?
Hello!
I am doing this
$newpath = "./uploads/newdir/";
if (!is_dir($newpath)) mkdir($newpath, 0666);
$decperms = fileperms($newpath);
$octalperms = sprintf("%o",$decperms);
$perms=(substr($octalperms,2));
echo $perms;
if ($perms != 777)
{
rmdir ($newpath);
}
This will not delete the dir crea
> Kondwani Spike Mkandawire wrote:
> > Am I mistaken to assume that a Session is automatically
> > destroyed if a Window Browser is closed?
*Eventually* it is destroyed, but not at the instant the browser is closed.
See the session.gc_maxlifetime and session.gc_probability settings in
php.ini. If
On Thu, Aug 15, 2002 at 11:28:51PM +0200, Pafo wrote:
>
> i cant get information from a deeper node...
>
>
> 100
>
> nisse
>
>
Carefully examine the code at
http://www.analysisandsolutions.com/code/phpxml.htm
It provides you the basic concepts needed to parse any XML do
Excuse me, this is line 40 in the script...
if (mysql_fetch_row($Result)<0) {
... and this is line 44...
while ($arrResult = mysql_fetch_array($Result, MYSQL_ASSOC)) {
Whats wrong with this code?
0) { // Überhaupt einschränken?
$Query .= " WHERE (";
$Query .= " referenzen_tbl.kat LIKE '%" . $arrSearch[0] . "%'";
$Query .= " OR referenzen_tbl.head LIKE '%" . $arrSearch[0] . "%'";
$Query .= " OR referenzen_tbl.text LIKE '%" . $arrSearch[0] . "%'";
$Que
Hello People:
I have my pages built in PHP / Mysql, all working ok, but now I need
solve a problem I don't know how to solve or even how search about. Case
this problem was already discussed in this list, I would be grateful if
someone pass to me correct date so I can search about.
My problem is
last($info);
$last_key=key($info);
reset($info);
$first_key=key($info);
foreach($info as $key=>$val) {
switch($key) {
case $first_key:
... stuff for first element ...
break;
case $last_key:
... stuff for last
> while (list ($key, $val) = each ($info))
> {
>do stuff
> }
$count = 0;
$last = sizeof($info);
While (list($key, $val) = each($info))
{
if ($count == 0)
{
// first time through
}
if ($count == $last)
{
// last time through
}
// do stuff
$count++;
}
--
P
You are missing operator precedence. ! is higher precedence than == so
your statement effectively becomes:
if ( (!$key) == $info_keys[0])
which makes no sense.
Normally you would write that code as:
if ( $key != $info_keys[0] )
-Rasmus
On Thu, 15 Aug 2002, Alexander Ross wrote:
> what
Perhaps something like...
$i = 1;
while (list($key, $val) = each($info))
{
if ($i == 1 || $i == count($info))
doThis;
else
doThat;
++$i;
}
?
J
Alexander Ross wrote:
> I have this: (note that $info is an Assoc Array
>
> while (list ($key, $val) = each ($info))
>
what am i missing here?? I have a simple if statement that wont do whats
inside it even when true.
this works:
echo $key==$info_keys[0]; // returns 1 or 0 correctly
if($key==$info_keys[0])
$query = $query;
else $query = $query." and ";
$query = $query.$key."='".$va
"Mastering Regular Expressions", by Jeffery E.F. Friedl, published by
O'Reilly. It's the regex bible, and although doesn't do much in the way of
PHP specifically, the idea is the same. (And the Perl examples can be used
without too much modification with PHP's preg_*() functions.)
J
[EMAIL
aha!! array_keys !!!
"Brian V Bonini" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Off teeh top of my novice head I think count() or sizeof() is what your
> looking for.
>
> > -Original Message-
> > From: Alexander Ross [mailto:[EMAIL PROTECTED]]
>
But what about the first position??
-Original Message-
From: Brian V Bonini [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 5:37 PM
To: Alexander Ross; [EMAIL PROTECTED]
Subject: RE: [PHP] assoc array question
Off teeh top of my novice head I think count() or sizeof() is what
Are you saying $id is not passed some of your frames content but not others
or it does nto get passed at all?
> -Original Message-
> From: Sascha Braun [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 15, 2002 4:34 PM
> To: PHP Mailingliste
> Subject: [PHP] Frames and PHP
>
>
> I have
this is a simple scipt witch i worked out,, but it Dosent work due to:
i cant get information from a deeper node...
like this:
100
nisse
i want to get: and the dataelement after
it,, but the thing i wrote dosent do that :/
any ideas?
the program code is below
as it is now
Off teeh top of my novice head I think count() or sizeof() is what your
looking for.
> -Original Message-
> From: Alexander Ross [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 15, 2002 5:23 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] assoc array question
>
>
> I have this: (note that
Hello,
Correction, the URL is just:
http://www.phpclasses.org/smtpclass
BTW, there is also another class that wraps around this that makes it
easier to compose and send MIME formatted messages. I use both for
urgent deliveries.
http://www.phpclasses.org/mimemessage
Manuel Lemos
On 08/15/20
Hello,
On 08/15/2002 04:35 PM, Daren Cotter wrote:
> To recap, my problem is:
>
> I need some mailings sent immediately (confirmation
> emails, welcome emails, password lookup emails, etc),
> while others simply get thrown into the queue, and get
> sent the next time the queue processes.
>
> I
I have this: (note that $info is an Assoc Array
while (list ($key, $val) = each ($info))
{
do stuff
}
I would like to do slightly different stuff if I'm at the very first, or
very last item in the array. How do I do this. Below is the pseudo code
which would be ideal:
while (list ($key
Now my frameset looks like this:
works fine!
- Original Message -
From: "Brian V Bonini" <[EMAIL PROTECTED]>
To: "Sascha Braun" <[EMAIL PROTECTED]>; "PHP Mailingliste"
<[EMAIL PROTECTED]>
Sent: Thursday, August 15, 2002 11:09 PM
Subject: RE: [PHP] Frames and PHP
>
Yo,
i found out how it is working. I just have to make some adds to the url, as
i did to the window.open() too.
Was easy, but if you never made it before ;OP
Thanx
Schura
- Original Message -
From: "Brian V Bonini" <[EMAIL PROTECTED]>
To: "Sascha Braun" <[EMAIL PROTECTED]>; "PHP Mail
Have you tried saving the pages with a .phps extension and looking at them
in a browser? That usually uncovers syntactical errors quite quickly.
Miles
At 10:08 PM 8/15/2002 +0200, Christian Ista wrote:
> > Havn't the foggiest idea what it means, but what has usually happened
>is
> > that I misse
What is a good read on general expressions that a php programmer should
check out?
I am trying to familiarize myself with them so that I can pars the silly
ms word html pages.
- Vic
__
Post your ad for free now! http://pers
I have some links wich open a new window, wich contains some frames. Each frame
selects something from a database, based on an id i put an the window open link. But
the ID never enters one of my frames, it terribly stays outside, maybe in the frame
set, what can I da about that?
Schura
I just installed phpMyadmin and I'm getting a message that I have an undefined
variable. Is this because I have global variables off?
Or in other words, should this program work the same regardless of whether global
variables are on or off?
-Original Message-
From: Christian Ista [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 3:17 PM
To: 'Jay Blanchard'
Subject: RE: [PHP] Error
> How large is the page, can you send more? If not, can ou put line
numbers
> on the lines?
Not a of lines 20 for the moment but more
And send your original code beacuse this is hard to understand, at least I
don't get it :)
- Original Message -
From: "Christian Ista" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 15, 2002 10:08 PM
Subject: RE: [PHP] Error
> > Havn't the foggiest idea what it means,
[snip]
That's happen when I include a page. But the strange this, I include the
same page earlier and without any problem.
The content of this page is a lot of variable (string), like that (a
small part) :
[/snip]
How large is the page, can you send more? If not, can ou put line numbers on
the l
> Havn't the foggiest idea what it means, but what has usually happened
is
> that I missed a ";" on an earlier line.
That's happen when I include a page. But the strange this, I include the
same page earlier and without any problem.
The content of this page is a lot of variable (string), like t
Use the google API...
http://www.google.com/apis/
- David
-Original Message-
From: Henry [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 12:11 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Getting PHP to submit a form to google
Hi all
I would like to be able to get the result o
To remove your address from the list, just send a message to
the address in the ``List-Unsubscribe'' header of any list
message. If you haven't changed addresses since subscribing,
you can also send a message to:
<[EMAIL PROTECTED]>
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Havn't the foggiest idea what it means, but what has usually happened is
that I missed a ";" on an earlier line.
MT
At 09:54 PM 8/15/2002 +0200, Christian Ista wrote:
>Hello,
>
>Could you tell me the signification of this error :
>
>Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING
What is the code on that line?
Gr Gijs
- Original Message -
From: "Christian Ista" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 15, 2002 9:54 PM
Subject: [PHP] Error
> Hello,
>
> Could you tell me the signification of this error :
>
> Parse error: parse error, u
[snip]
I seem too have lost my e-mail regarding removing myself off the list. I
use the newsgroups now. If anyone can send me the e-mail on how too
remove my self off the mailing list. That would be greatly appreciated.
Paul
[/snip]
Look at the footer of this message, there is a link.
Jay
**
I seem too have lost my e-mail regarding removing myself off the list. I
use the newsgroups now. If anyone can send me the e-mail on how too
remove my self off the mailing list. That would be greatly appreciated.
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hello,
Could you tell me the signification of this error :
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in
d:\inetpub\wwwroot\TEST\test3\act_language_fr.php on line 20
Bye
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
Because when I send a mailing to all members, I need
to be using "queueonly" as the delivery method, as
it's 10 times faster that "background".
--- Adam Williams <[EMAIL PROTECTED]> wrote:
> Why don't you just run sendmail 24/7 with -bd -q15
> I'll check the queue
> continously and send out the
Why don't you just run sendmail 24/7 with -bd -q15 I'll check the queue
continously and send out the emails as it receives them instantaneously.
Adam
On Thu, 15 Aug 2002, Daren Cotter wrote:
> To recap, my problem is:
>
> I need some mailings sent immediately (confirmat
To recap, my problem is:
I need some mailings sent immediately (confirmation
emails, welcome emails, password lookup emails, etc),
while others simply get thrown into the queue, and get
sent the next time the queue processes.
I contacted a sendmail guru, and he told me that if
Sendmail is run wi
As far as I know, you're right, that the session is destroyed
Kondwani Spike Mkandawire wrote:
> Am I mistaken to assume that a Session is automatically
> destroyed if a Window Browser is closed?
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/
I get this error:
Notice: Undefined offset: 1 in
/home/victor/argilent-www/sites/malibu_place_2/index.php on line 104
Warning: Bad arguments to implode() in
/home/victor/argilent-www/sites/malibu_place_2/index.php on line 106
Error 5
For this code:
// Original last tag
//
preg_match('!]+>(.*
Hi all
I would like to be able to get the result of a search from google. Namely I
would like to write a PHP script that will generate and submit a form
(internally i.e. on the server) using the GET method to
http://www.google.com/search setting the field "q" to the search words. It
should then p
[snip]
Thank you guys. I think I can solve one of my problems now. What about the
time limit?
[/snip]
You can set a date/time column in the user table which is checked at log in.
In the login form have a calculation based on the date/time; (over
simplification)
if ($date_created > $many_days){
Thank you guys. I think I can solve one of my problems now. What about the
time limit?
"Gijs Herpers" <[EMAIL PROTECTED]> skrev i meddelandet
002e01c2448d$1a9d7740$[EMAIL PROTECTED]">news:002e01c2448d$1a9d7740$[EMAIL PROTECTED]...
> It is better to check how much entries you have in your database
There were 2 equal signs, when I sent It outlook must have made them
into one.
Mike
-Original Message-
From: Matt Schroebel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 2:48 PM
To: 'Mike'; [EMAIL PROTECTED]
Subject: RE: [PHP] Can anyone help me out? I am really getting
frus
It is better to check how much entries you have in your database with
mysql_num_rows in my opinion. It looks a lot easier thean whats described
below.
- Original Message -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "'Øystein Håland'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Th
Hi Mike!
Mike wrote:
> Hello all,
> I am very confused. This script that I have been working on for a while
> is giving me a hard time...
>
> $string = "Current song: 01. DJ Nightflight - The first flight (original
> \
> mix) (D I G I T A L L Y - I M P O R T E D - European Trance, Techno,
> Hi-\
[snip]
How can I control the number of users?
I want to create a DB driven website where users create their own user
accounts. But with a limitation of the number of accounts, and when the
maximum is reached, no one can create a new account. I even want to limit
the lifetime of an account.
It may
> -Original Message-
> From: Mike [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 15, 2002 2:46 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Can anyone help me out? I am really getting frustrated!
>
>
> Hello all,
> I am very confused. This script that I have been working on
> for
Hello all,
I am very confused. This script that I have been working on for a while
is giving me a hard time...
$string = "Current song: 01. DJ Nightflight - The first flight (original
\
mix) (D I G I T A L L Y - I M P O R T E D - European Trance, Techno,
Hi-\
NRG... we can't define it!)";
if(sub
> From: Sebastian Marcu [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 15, 2002 2:32 PM
> Subject: [PHP] Problem with Testing if the user has an
> account in my database
>
>
> For some reason though it isn't working right and
> keeps telling me that the 'Email' address is already
> taken
Hi,
I have a small form with checkbox objects. Below is the code:
Export Declaration (B13)
Commercial Invoice
In the past, I could access the two fields in "doc_complete.html" by using
PHP as in: $b13 and $cinvoice
However, when I added the code:
to the top of "doc_complete.html", I c
How can I control the number of users?
I want to create a DB driven website where users create their own user
accounts. But with a limitation of the number of accounts, and when the
maximum is reached, no one can create a new account. I even want to limit
the lifetime of an account.
It may be expl
Hi All,
Please help me, I'm new to PHP and MySQL programming
and am really stuck on the attached code.
I have a Flash front-end and am trying to query my
database for the 'registration' process to see if the
user already has an account. It's a very simple
registration string which compares the
Thanks, I tried this code first, and I wrote my script like this:
// Original last tag
//
preg_match('!]+>(.*)!Uis',$str,$regs);
$everything_between_divs=$regs[1];
$good = implode(' ', $everything_between_divs)
or die ('Error 5');
$clean = ereg_replace("", " ", $regs[1]);
echo $clean;
?>
1 - 100 of 213 matches
Mail list logo