Hey All,
Was just trying the following and disable_functions is not working? Although
safe mode and open_basedir are! What is really strange that when phpinfo is
called the disable_functions value is phpinfo, can't seem to disable echo
either, I don't want to put these in php.ini as I still want
Hi there,
I am camping with a little regular expressions problem...
Problem: I want to check if $variable begins with a * (star), and it doesn't matter if
it starts with plenty of spaces...
My solution:
ereg("^[:space:]*\*",$variable)
But, it doesn't seem to work with the space part... The re
why does
work properly but not the following
Thanks,
Robin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hello Leon,
try this
if (preg_match("/^([[:space:]]*)?\*/s", $string)) {
echo "Match.";
} else {
echo "No match";
}
James
"Leon Mergen" <[EMAIL PROTECTED]> wrote in message
002f01c15d2a$e4ca3030$012aa8c0@leon">news:002f01c15d2a$e4ca3030$012aa8c0@leon...
Hi there,
I am camping with a little
Hello Robin,
Very simple. :)
RC>
$qty is string, so PHP compares "0" with "test" char by char. chr("0")
isn't equal "t".
RC>
In this case $qty is integer value, so PHP tries to convert "test" to
integer value [ integer("test") == 0], so last condition result is
FALSE.
Is it clear?
RC> Than
> My solution:
> ereg("^[:space:]*\*",$variable)
Try
ereg("^[:space:]\**$",$variable)
or
ereg("^[ ]*\**$",$variable)
or
ereg("^[[:space:]]*\**$",$variable)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECT
The only reason I could see that not working is if PHP is typecasting
"test" to (int) in the second example...
$qty = "0"; (string)
"test" = "test"; (string)
"0" != "test" (evaluates true)
$qty = 0; (int)
"test" = 0; (when cast to int)
0 != 0 (evaluates false)
e.g. By comparing an int to
I just tested those two lines with php 4.0.6 and they both work.
There is a difference though.
If you set $qty=0; then $qty has no value.
But if you set $qty="0", it has a value.
Type casting is irrelevant in php.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [
On Wednesday 24 October 2001 14:33, _lallous wrote:
> I think that the MySql's API allow to many queries to be executed w/o
> having an open connection, example:
> SELECT 1+1;
>
> how can i issue such statments w/o opening a connection?
>
> like SELECT NOW() ..
>
> whenever I first run mysql_q
On Wednesday 24 October 2001 15:35, Victor Hugo Oliveira wrote:
> Does anyone know a way to share an object with all sessions ?
> The idea is to access the same database connection poll.
poll or pool?
if pool: simply use persistent connections
--
Christian Reiniger
LGDC Webmaster (http:/
> If you set $qty=0; then $qty has no value.
Of course it has a value. The value is 0.
Quite distinct from not having a value, or in proper terms, not being set.
Try this:
var_dump($qty);
$qty = 0;
var_dump($qty);
Well, I will save you the trouble, it outputs:
NULL
int(0)
> Typ
> > If you set $qty=0; then $qty has no value.
>
> Of course it has a value.
No it doesn't have a value.
PHP interprets 0 as null.
A very easy way for you to check:
$value=0;
if(!$value) printf("$value doesn't have a value (it didn't even print
0)\n");
$value="0"
if($value) printf("$value
> how can i issue such statments w/o opening a connection?
I you don't open a connection, how is mysql supposed to know which db you are
talking to?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
On Wednesday 24 October 2001 20:26, Michael George wrote:
[...]
> The function is called after a form submission from HTML. When I enter
> 12 14
> I get:
> ---
> lookupProduct( 12, 14 )
> $partNum: 12 does ap
$sNoSpaces = ltrim($variable);
if ('*' == $sNoSpaces[0])
--
Regards,
--
Calin Uioreanu
[EMAIL PROTECTED]
Tel: +49 - (0) 89 - 25 55 17 23
http://www.ciao.com
--
"Leon Mergen" <[EMAIL PROTECTED]> wrote in
Thank you, that was it. I needed to test the variable against both an
integer and a string, so I ended up using (string) when I need to
compare a string. Rest of the time, it's an integer.
Robin
Rasmus Lerdorf wrote:
>
> > If you set $qty=0; then $qty has no value.
>
> Of course it has a val
The integer 0 is equal to False, but not Null.
Robin
Kodrik wrote:
>
> > > If you set $qty=0; then $qty has no value.
> >
> > Of course it has a value.
>
> No it doesn't have a value.
> PHP interprets 0 as null.
>
> A very easy way for you to check:
>
> $value=0;
>
> if(!$value) printf("$va
Kodrik, you are picking the wrong person to argue with. ;)
> > > If you set $qty=0; then $qty has no value.
> >
> > Of course it has a value.
>
> No it doesn't have a value.
> PHP interprets 0 as null.
Completely incorrect.
> A very easy way for you to check:
>
> $value=0;
>
> if(!$value)
On Wednesday 24 October 2001 23:33, Jason Caldwell wrote:
> That won't work, as that will only unset the *value* not the *element*.
Try again:
$myArray = array('100'=>'jibberjabber','200'=>'morejibberjabber','0'=>'');
var_dump ($myArray);
echo "";
if(isset($m
You are right, "0" didn't show as a value.
But his two lines still don't need typecasting, they both work:
http://24.234.52.166
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list admi
> The integer 0 is equal to False, but not Null.
Not quite true. 0 evaluates to false. They are not equal. Try this:
if(0==false) echo "1";
if(0===false) echo "2";
You will find that this only prints "1". 0 and false are distinct and
separate values. This is something that confuses a lot
That seems to just give me the first line, of:
PHP Credits
but nothing else after that. Any ideas? :)
Tim
"James Cave" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> There is some source code on the php.net site which captures the credits
> with output buffe
why are you using
stripslaches?
25/10/2001 00:41:45, Marcus James Christian <[EMAIL PROTECTED]> wrote:
>Hello,
>
>As mainly a designer w/ HTML and JS php is usually just an end of site
>add on to process forms and I LOVE php!
>
>I've been away from PHP coding for about a month and I can't figur
> You are right, "0" didn't show as a value.
>
> But his two lines still don't need typecasting, they both work:
> http://24.234.52.166
I don't mean to pick on you, but no, you are wrong. And I am only doing
this because so many people get confused on this point and I always see
questions rel
That is, using a socket, that it gives me the one line. echo'ing it gives
the whole thing.
Tim
"Tim Ballantine" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> That seems to just give me the first line, of:
> PHP Credits
> but nothing else after that. Any ideas
Check the link I posted.
http://24.234.52.166
There is the code I wrote and it's output.
The two lines print.
You can explain me why tomorrow they print on my server and not yours.
Good night
> > But his two lines still don't need typecasting, they both work:
> > http://24.234.52.166
>
> I don't
They're just there ...
If the link is
Then in yourpage.php ...
echo($yourvar);
the only way you may go wrong with this is with scoping, $yourvar isn't
available in a function inside yourpage.php.
Tim Ward
--
From: Clint Tredway [SMTP:[EMAIL PROTECTED]]
Sent:
On Thursday 25 October 2001 09:47, Joseph Blythe wrote:
Hi,
bad news
disable_functions doesn't work for me either in apache's config file
I tried it with php_value, and php_admin_value, also in .htaccess
with php_value without any luck
php4.0.5, Apache/1.3.14
bye,
Arpi
> Hey All,
>
> W
Hi
For sending mail php has a function mail()
But how to receive mails(i.ie. POP3 access)
can anyone send some sample code
Nigam
Hi,
is there a easy way in php to display text like "Loading..." while elements
on a page is being loaded from the server?
Regards
# Daniel Alsén| www.mindbash.com #
# [EMAIL PROTECTED] | +46 704 86 14 92 #
# ICQ: 63006462 | #
--
PHP General Mailing List (http://www.ph
SELECT 1+1 doesn't really need a connection...
or any other statments that doesn't address a table or database,
SELECT SUBSTRING('test', 1, 2);
etc etc..
I guess it is not possible though...
"Kodrik" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > how can i
Hey man, when I ask you how is 2+2 you will answer -> 4 but when I ask you
how is 2*3.141596535 you use a calculator. In both cases I speak with
you(make a connection). In the first case you don't need to use calc because
you don't have to use it.
PHP and Mysql are two standalone apps and when
If you want access to error functions within the db class it must either
extend the error class or have an error object within it. Either ...
Class DB extends Error
{ ...
}
Class Core extends DB
{ ...
}
or
Class DB
{ var $error;
...
function DB() // constructor
the page won't ever showup unless the webserver finishes processing the PHP
file, therefore the "Loading ..." will appear while the page is waiting for
its component to finish loading (images, javascripts, flash files, )
therefore what you're asking for has a javascript solution:
1)make a w
Pardon me if I've been smoking too much crack but I can't seem to figure
this one out...
How do I pass an argument to a function that contains a value from multi
dimensional associative array?
or... How do I pass an variable as an argument that contains value taken
from an array?
or... Why does
I will try experimenting with that.
But my situation is:
A page with multiple php file includes. The page loads on to the includes,
loads them and continues to load the includes below.
I want to display some sort of text while the include still isn´t loaded.
Likewise i would like to display som
Look in http://www.php.net/manual/en/ref.imap.php
- Original Message -
From: "Nigam Chheda" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, October 25, 2001 12:41 PM
Subject: [PHP] regardnig receiving mails
> Hi
> For sending mail php has a function ma
flush() (http://www.php.net/manual/en/function.flush.php) the server
cache. By defult Apache caches response to time this is completed. Then
it responds. But You can flush() the cache in php code. It can help you
not to use JavaScript.
Krzysztof
Daniel Alsén wrote:
> Hi,
>
> is there a eas
I suspect that PHP does all of it's work and, only when complete, will it
send the generated html to the client.
No matter what you try and do there's no way you can output the progress of
your script to the browser while it is still being parsed.
I could be wrong, but this is my understanding o
> Is your script really taking that long to be parsed that you need
> a loading
> progress bar or is the html (including graphics etc) just very big?
Parts of the page is rather heavy loaded. The main php file loads fine and
displays it´s contents until it reaches one of the heavy includes (heavy
Hi Tim,
> If you want access to error functions within the db class it must either
> extend the error class or have an error object within it. Either ...
>
I'll go for the latter, because extends isn't appropriate in this case:
> Class DB
> { var $error;
> ...
> function DB() // constr
Hi all,
If I have an entity reference in an XML document, which I', parsing with
the libxml PHP/DOM parser - does anyone know how I can [1] expand entities
and [2] read in and parse external entities?
Code would be helpful. :)
TIA,
Vikram
--
PHP General Mailing List (http://www.php.net/)
To
Hi
For sending mail php has a function mail()
But how to receive mails(i.ie. POP3 access)
can anyone send some sample code
pl reply me mail at following id
[EMAIL PROTECTED]
Nigam
see below for comments
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, Octo
> the page won't ever showup unless the webserver finishes processing the
PHP
> file, therefore the "Loading ..." will appear while the page is waiting
for
> its component to finish loading (images, javascripts, flash files, )
Totally incorrect. I have a page on our intranet that checks whoi
If what I've said is correct, then in simple terms...
your php code will take a set amount of time to execute everything, then
the html and web page cmoponents are sent to the browser, then
the browser interprets the html and displays the page.
One of the stages listed above seems to be
I want to know how many data can a session (treated as cookie) can hold...
The number of bytes... and if possible the max size of an - let's say -
array of ints. I need this to know how many IDs I can hold in the session...
_
. Christian Dechery
. . Gaita-L Owner / W
I have a page that calls a image creating script lots of times... this
script takes two parameters... the type of graph to be created and an array
with data to fill the graph to be created...
now I'm doing it like this:
">
and it generates an output something like this:
it works just fine.
On Thu, 25 Oct 2001, Christian Dechery wrote:
> I want to know how many data can a session (treated as cookie) can
> hold...
If you're using cookies, the limit is the cookie spec. I /think/ 4096
bytes for a cookie. Go find the spec to be sure.
--
Sapere aude
My mind not only wanders, it som
That's my call:
imageCopyResized ($O_imagen, $O_relleno, 0, 0, 0, 0, 83, 62, 174,
83);
If I do
imagePNG($O_relleno);
I can see the correct image, but when I do
imagePNG($O_relleno);
after imageCopyResized I see that it has copied a gray filled square (with
correct
> I would say this comes in a close second as the "most oft-asked question
on
> php-general", with the first, of course, being "What's a good text editor
for
> PHP?"
hehehehe... Thanks
Chrisrtian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
I agree with you Derek,
It also depends on the webserver and your connection speed...
perhaps the pages is already parsed and processed but your connection is
slow somehow and you're getting the page partially as if it is beeing show
while it is beeing processed/parsed.
"Derek Mailer" <[EMAIL PR
i have txt file have this words
--
bla bla bla
[phpcode]
[/phpcode]
bla bla bla
---
now I want to convert the code that are between [phpcode] and [/phpcode] to colorized
code ..
How I can do that
and what about array_slice(), array_splice(), array_pop() or
array_unshift()?
Please read the corresponding pages of the manual!
- Original Message -
From: "Christian Reiniger" <[EMAIL PROTECTED]>
To: "Jason Caldwell" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, October 25, 20
> i have txt file have this words
> --
> bla bla bla
> [phpcode]
> echo 'hello word';
> ?>
> [/phpcode]
> bla bla bla
> ---
> now I want to convert the code that are between [phpcode] and
> [/phpcode] to colorized code ..
> How I can do that
Copy the file to .phps and access t
Hello there,
I was wondering if there was any intermediate format I could compile my
PHP scripts to in order to gain speed.
For example, having the format/validity of the scripts already
formatted, function locations ready in an index, PHP function calls, etc
etc. Sortof like "obj" files for C++.
Hi,
I am writing a site which is available in different languages. The idea is
that when the visitor selects a language on the first visit it is then set
in a cookie and remembered so they aren't asked again, I also set the
Language ID in a session to be used through that visit.
The page that s
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > The integer 0 is equal to False, but not Null.
>
> Not quite true. 0 evaluates to false. They are not equal. Try this:
[...]
> So be careful and try to think of 0 and false as distinct and
"John A. Grant" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I've installed ActivePerl, which gives me a way to run .pl files,
> i.e. :
> c:\> perl someprogram.pl
>
> Does the Win32 php installation give me a command-line
> interpreter like that?
[...
However with Netscape 4.75 when I call any page that has the Header(Refresh)
function I get a nasty pop up box which says "The document contains no
data". I then click ok and the page loads exactly as it should but no
matter what I do I can't stop this pop up box from appearing, IE, Netscape 6
What do you mean, "colorized code"?
At 02:26 PM 10/25/2001, Alawi wrote:
>i have txt file have this words
>
>--
>bla bla bla
>
>[phpcode]
>echo 'hello word';
>?>
>[/phpcode]
>
>bla bla bla
>---
>
>now I want to convert the code that are between [phpcode] and [/phpcode]
>to color
Hi,
I am writing a site which is available in different languages. The idea is
that when the visitor selects a language on the first visit it is then set
in a cookie and remembered so they aren't asked again, I also set the
Language ID in a session to be used through that visit.
The page that s
show_source(basename($PHP_SELF));
> At 02:26 PM 10/25/2001, Alawi wrote:
> >i have txt file have this words
> >
> >--
> >bla bla bla
> >
> >[phpcode]
> > >echo 'hello word';
> >?>
> >[/phpcode]
> >
> >bla bla bla
> >---
> >
> >now I want to convert the code that are between [phpco
Hi John!
> > > The integer 0 is equal to False, but not Null.
> >
> > Not quite true. 0 evaluates to false. They are not equal.
> Try this:
> [...]
> > So be careful and try to think of 0 and false as distinct
> and separate
> > entities and you will avoid coding mistakes like this.
>
>
this should do!
"Alawi" <[EMAIL PROTECTED]> wrote in message
008f01c15da2$ddf4fd30$d43f47d4@php">news:008f01c15da2$ddf4fd30$d43f47d4@php...
i have txt file have this words
--
bla bla bla
[phpcode]
[/phpcode]
bla bla bla
---
now I want to convert the code that are between [ph
there are lots of classes on http://phpclasses.upperdesign.com
just search there.
"Nigam Chheda" <[EMAIL PROTECTED]> wrote in message
006e01c15d43$63351620$26a8a8c0@bravo">news:006e01c15d43$63351620$26a8a8c0@bravo...
>
> Hi
> For sending mail php has a function mail()
> But how to receive mails(i
Can php write to a htpasswd file? If it can will someone point me in the
right direction.
TIA
Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
go to http://www.php.net/manual/en/ref.filesystem.php and read up on things
like fopen, fclose, etc. This will explain how to write to any kind of file
including htpasswd files if necessary.
Good Luck
Derek
- Original Message -
From: "Gary" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Se
did you check www.zend.com and their caching/optimizing products?
"Thomas" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello there,
> I was wondering if there was any intermediate format I could compile my
> PHP scripts to in order to gain speed.
>
> For e
Before anyone tries to hard to figure this out I looked over my code and
fixed this. The answer was that I had more than one form on the same page
calling to one php handler page,
-Marcus
Marcus James Christian wrote:
> Hello,
>
> As mainly a designer w/ HTML and JS php is usually just an end o
the HTTP authentication of using a form uses Sessions!
Check out the following URL:
http://www.devshed.com/Server_Side/PHP/Commerce2/
I followed the above URL to create a user authentication page using
Sessions.
Peter
On Mon, 22 Oct 2001, [ISO-8859-1] Stig-Ørjan Smelror wrote:
> Wilbert Ens
Hello-
I am dreading having to break out my perl books, so here is a thought
about using PHP on the server to handle a chore for me.
I have a Linux ftp server that accepts files from a mainframe every
night. I need to take those files, determine when the transfer is
done and then re-send them t
I'm assigning a variable a value from an associative array.
$variable = $array["key"]["value"];
Then passing the $variable to a function.
SomeFunction($variable)
The variable exists (can be printed) until a built-in function (within the
original function) is called.
echo "$variable";
> did you check www.zend.com and their caching/optimizing products?
They dont seem to have anything free, I need something free.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list a
hmm...weird! is that the code?
if you show us your real code...maybe you're missing a small detail...
"Spunk S. Spunk III" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm assigning a variable a value from an associative array.
> $variable = $array["key"
> I agree with you Derek,
> It also depends on the webserver and your connection speed...
>
> perhaps the pages is already parsed and processed but your connection is
> slow somehow and you're getting the page partially as if it is beeing show
> while it is beeing processed/parsed.
Actually i kno
Hi,
I have just set up PHP on my webserver (IIS 4 on NT4).
I have set up the script mapping so that I can save php files as .html and
php processes them.
This works fine until someone goes to a page that doesn't exist - instead of
getting the customised error 404 page (i.e. the page you requeste
Could i have a hint of what you have done Jon?
- Daniel
> Totally incorrect. I have a page on our intranet that checks whois
> information against about 10 whois servers. Right at the top of
> the page it
> says "Checking". As soon as a response comes back from a
> whois server it
> shows
>
> hmm...weird! is that the code?
> if you show us your real code...maybe you're missing a small detail...
>
Sorry about the variable names... I can print the variable inside the
function until it goes through ereg_replace. Then it's gone. The code works
fine if I replace the line '$song = $id3i
Hi all,
this may be an easy question, but I'm stuck...
how can this,
$words = explode(" ", $keywordText);
for ( $i = 0; $i < count( $words ); $i++ )
{
if ($words[$i]=="on" OR $words[$i]=="the" OR $words[$i]=="in"
OR$words[$i]=="at" OR $words[$i]=="is" OR $words[$i]=="it")
{
$ignored[] = $w
Can anyone show me the ASP equivalent to this PHP code I
cut from a Weather script? I need to know how to get the
response from the server into a string array fo process
each line.
$weather_url = "http://iwin.nws.noaa.gov/iwin/tx/hourly.html";;
$city_name = "AUSTIN";
exec ("$wget_command $weath
Yeah just call flush() when you want whats been parsed so far to go to the
client..
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send blank email to [EMAIL PROTECTED]
- Original Message -
From: "Daniel Alsén" <[EMAIL PROTECT
$ignored = "";
$include = "";
{
$ignored.= $words[$i];
}
else
{
$included.= $words[$i];
-Stewart
-Original Message-
From: Sam [mailto:[EMAIL PROTECTED]]
Sent: 25 October 2001 16:18
To: 'php'
Subject: [PHP] Making a string from an Array
Hi all,
this may be an easy question,
http://www.uebimiau.sili.com.br/
It's a script from my friend. Works with files (i.e, no database). You can
analise his code, modify, fork, improve (that I know he would like ;-)) at
will.
--
Julio Nobrega.
Um dia eu chego la:
http://sourceforge.net/projects/toca
"Nigam Chheda" <[EMAIL P
Can someone please give me the simplest tutorial to databases they can find?
http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutorial4.html
-Stewart
-Original Message-
From: Kyle Smith [mailto:[EMAIL PROTECTED]]
Sent: 26 October 2001 00:49
To: [EMAIL PROTECTED]
Subject: [PHP] Databases?
Can someone please give me the simplest tutorial to databases
Anyone has an idea why stripslashes(); doesn't strip slashes?
I have a form that when it's submitted with a ' sign ads slashes to the
submit results.
I'm taking the variable and sending it through stripslashes(); and yet
the slashes remain.
NE1?
berber
--
PHP General Mailing List (http://www.ph
I'm writing an app that will be avaiable for the world to download and put
on theri web sites.
There will be a web-based form for them to customize the program on their
site. This will record some basic variables like the filename for their
site logo, what fonts they want to use in certain areas
> Anyone has an idea why stripslashes(); doesn't strip slashes?
> I have a form that when it's submitted with a ' sign ads slashes to the
> submit results.
> I'm taking the variable and sending it through stripslashes(); and yet
> the slashes remain.
You are perhaps thinking it does in-place modi
I'm looking for a good (simple) tutorial on user authentication. I want to
create a login system that's secure, but I don't need all the features that
PHPBuilder's "A Complete, Secure User Login System" scripts provide. (I
don't need the the user to be able to register or confirm his account,
ch
This should work. You can also use html code to use a style sheet ref.
Hello Word";
?>
>i have txt file have this words
>
>--
>bla bla bla
>
>[phpcode]
>echo 'hello word';
>?>
>[/phpcode]
>
>bla bla bla
>---
>
>now I want to convert the code that are between [phpcode] and
>[
On Thursday 25 October 2001 13:25, Christian Dechery wrote:
> I want to know how many data can a session (treated as cookie) can
> hold...
>
> The number of bytes... and if possible the max size of an - let's say -
> array of ints. I need this to know how many IDs I can hold in the
> session...
N
1. Just re-compile with the same options as before, just without
--with-apxs or --with-apache (however you did it before). Run make all
install and a php binary should be installed in $PREFIX/bin (default:
/usr/local/bin). Then to use it to run shell scripts, put
#!/usr/local/bin/php -q at the
A small addition:
the code below would make a string, but it would be a single word (no spaces
or other word boundaries). Use this instead:
$ignored .= " " . $words[$i];
That inserts a space before each additional word. Unfortunately it also
adds a space at the beginning but you can get rid o
Hi,
I have the following code, which reads in an html file
$fd = fopen("somefile.html", "r");
while (!feof($fd)) {
$buffer = fgets($fd, 4096);
$body .= $buffer;
}
fclose($fd);
I am then mailing this:
if (mail($username." <".$email.">", $mailsubject, $body, "From:
".$Fromname." <".$Fromadd
Wish I could point you to a good tutorial, but instead I'll try and give
you the gist of it, based on my experience.
A great way to do what you want to do is to combine MySQL user lookups
with .htaccess security. This prevents anyone from accessing the pages
you don't want them to, and cuts do
Rasmus,
I'm not sure how I missed that,
I would have liked to attend.
where were you ?
Jerry Lake -[EMAIL PROTECTED]
Interface Engineering Technician
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 3:54 PM
To: Richard Baskett
search for "APC Cache" or "BWare Cache" or "PHP Accelerator" on google
Thomas <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > did you check www.zend.com and their caching/optimizing products?
>
> They dont seem to have anything free, I need something free.
>
Well, it's probably me that's confused. I have an authenticate()
function which should start a session and if the user is not logged in
then show the login screen otherwise return after storing and
registering a user object in a session variable. This object has
accessor methods to get the log
Results in...
MkDir failed (Permission denied)
Any thoughts?
-Jeff Gannaway
___
Save 15% on 2002 Calendars and Holiday Cards!
http://www.AvantGifts.com
Discount Code: hopper22ct
Offer Good Through October 31, 2001
_
1 - 100 of 192 matches
Mail list logo