I just sent an email just before reading this, to the developers I
report to. I suggested that we take out the nice little feature I
worked so hard on. I dont think it would be benificial to people Im
writing it for, if it doesn't work for a great number of people who have
their websites on
http://php.net/is_numeric
On Fri, 5 Oct 2001, Chris Aitken wrote:
Ive been playing around with ereg for about half an hour and having no joy
because I dont really understand the medhod behind it and how it all works.
But what im trying to do is check to see if a 9 digit string is all
what if they were session variables...how can i fake that out?
can you plz give me an example on how to make a header with cookies before
requesting a page?
Richard Lynch [EMAIL PROTECTED] wrote in message
I suggest you call: readfile() instead of include() at the end of your
script!
David Otton [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Thu, 4 Oct 2001 07:32:17 -0700 (PDT), you wrote:
I have added a download button to a web-site that
enables users to
That's not regexps Rasmus! :)
I always see you referring us the the manual! sometimes you refer to a
function i never say in my life! ;)
Rasmus Lerdorf [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
http://php.net/is_numeric
On Fri, 5 Oct 2001, Chris Aitken
Sorry,
I can't access php.ini.
It's on server, outside !!!
Thanks,
Rosen
Richard Lynch [EMAIL PROTECTED] wrote in message
046301c14d62$865a8ea0$c801a8c0@Lynchux100">news:046301c14d62$865a8ea0$c801a8c0@Lynchux100...
Read php.ini
Not sure you can set it on a site-by-site basis or within
What I want to do is to open a new browser page after some data is entered in a form.
I have a $php_self that enables $high_value and $low_value to become set and the code
snip comes after the end of the form. From reading a help book and looking at the
on-line manual, I think I need to send
For me this really a bug in php compilation with
oracle 8.1.7 within apache 1.3.20 :
The problem occurs with php 4.0.5, php4.0.6 but also
with latest snapshot...
For Php -
./configure --with-apache=/root/apache_1.3.20 --with-mysql --enable-ftp --en
able-inline-optimization --disable-debug
Use JavaScript within PHP.
If you want to open a new browser window, add the following to the script
?php
echo script language=javascript
window.open('url','winname','window features');/script ;
?
look up the 'open' method in JavaScript.
- Original Message -
From: Hugh Danaher
Hello again
I had a problem:
1. I was able to open one certain web page with
any normal browser and got proper output
2. I was able to open the same page with cURL
and got the same proper output
3. When I used fopen("http://server.com/","r")
or file("http://server.com","r")
I
Again, is this patch against some kind of libc problem?
Because standard 8.1.7 does not support glibc 2.2.x, only
2.1.(x|3) ?
But there is little from php that can be done I think.
For testing try to build a cgi module and see if that works. If
so IMHO its not a php problem.
I always took
On Fri, 5 Oct 2001 13:54, ReDucTor wrote:
- Original Message -
From: David Robley [EMAIL PROTECTED]
To: ReDucTor [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, October 05, 2001 2:21 PM
Subject: Re: [PHP] System(), exec(), Passthru(), etc
On Fri, 5 Oct 2001 13:19, ReDucTor
Maxim Maletsky \(PHPBeginner.com\) [EMAIL PROTECTED] on
05/10/2001 01:43:57
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:
Subject: RE: [PHP] PHP is a Bloated Kludge, discuss!
Firstly let me say that you lot have been great. Lots of useful stuff and
no flame, big Respect! Sorry about
On Fri, 5 Oct 2001 15:15, James Peter Gregory wrote:
hi all,
I've been asked to do some work on some servers where php can only run
as cgi. Unfortunately it seems that php has a bug which means that
#!/usr/local/bin/php
gets printed out at the top of each page if I do this.
Are there
On Fri, 5 Oct 2001, David Robley wrote:
On Fri, 5 Oct 2001 15:15, James Peter Gregory wrote:
hi all,
I've been asked to do some work on some servers where php can only run
as cgi. Unfortunately it seems that php has a bug which means that
#!/usr/local/bin/php
gets printed out
Budweiser
if ( A != 10 or A != 9 )
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send blank email to [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi,
is there a easier way to add zeros to date than the script below? (ie to get
20011005 instead of 2001105). I wrote a long string replace. But it seems
kind of unecessary to me. Is it?
$date_time_array = getdate (time());
$date = $date_time_array[ mday];
$month = $date_time_array[ mon
if you can't do it with date() use
substr(0.$month, -2, 2)
On Friday 05 October 2001 09:44, Daniel Alsén wrote:
Hi,
is there a easier way to add zeros to date than the script below? (ie to
get 20011005 instead of 2001105). I wrote a long string replace. But it
seems kind of unecessary to me
low? (ie to
get
20011005 instead of 2001105). I wrote a long string replace. But it seems
kind of unecessary to me. Is it?
$date_time_array = getdate (time());
$date = $date_time_array[ mday];
$month = $date_time_array[ mon];
$year = $date_time_array[ year];
if ($month 10) {
$month = str_r
zeros to date
Hi,
is there a easier way to add zeros to date than the script below? (ie to
get
20011005 instead of 2001105). I wrote a long string replace. But it seems
kind of unecessary to me. Is it?
$date_time_array = getdate (time());
$date = $date_time_array[ mday];
$month
Thanks for your response,
Yes it is a patch for glibc greater 2.1.3 (for me
it's 2.2).
The problem doesn't appear with the cgi compilation...
Does that mean I can't install php module with Redhat 7.1
for example, or is there something to do ? But I think I
heard about people installing
Hi
When I use the followin code snippet whe webbrowser tells me that
the page is empty ...
$exif = @ read_exif_data($pictureroot . $PATH_INFO);
if ($exif) {
while(list($k,$v)=each($exif)) {
if ($k != 'Thumbnail' !ereg('Raw', $k)) {
echo $k: $vbr\n;
}
}
}
This happens not on
On Fri, Oct 05, 2001 at 01:10:17PM +0200, Jerome Ponsin wrote :
Yes it is a patch for glibc greater 2.1.3 (for me
it's 2.2).
The problem doesn't appear with the cgi compilation...
Does that mean I can't install php module with Redhat 7.1
for example, or is there something to do ?
No it
Hi Folks,
I'm after a quick and easy way to edit tables in a mySQL database, much like
you would in ms excel. I'm thinking I'll do it with forms...
Is there a non-commerical solution in existance already?
Cheers,
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hi
Take a look at phpMyAdmin at :
http://phpwizard.net/projects/phpMyAdmin/
--
phpMyAdmin is intended to handle the adminstration of MySQL over the web.
Currently it can:
- create and drop databases
- create, copy, drop and alter tables
- delete, edit and add fields
- execute any
Hi
For some reasons I need to execute a Perl-CGI from within PHP.
I tried it that way:
$command = C:\\Perl\\bin\\Perl.exe .$basedir.myperl.pl;
$result = @passthru($command, $status);
now my Problem: the perl prints its output immidiatly to the browser and $result is
empty after the execution of
Tim wrote:
PHP works quite nicely on large, modular projects. :)
That sound good ! :)
Where I work we've used an environment that's a synergy of pure HTML
templates + a servlet/bean infrastructure (implemented in PHP though)
with great success.
I have a case-study document that I'm in the
http://www.phpwizard.net/projects/phpMyAdmin/
-Stewart
-Original Message-
From: -:-Doigy-:- [mailto:[EMAIL PROTECTED]]
Sent: 05 October 2001 12:34
To: [EMAIL PROTECTED]
Subject: [PHP] Database editor
Hi Folks,
I'm after a quick and easy way to edit tables in a mySQL database, much
Hi
For some reasons I need to execute a Perl-CGI from within PHP.
I tried it that way:
$command = C:\\Perl\\bin\\Perl.exe .$basedir.myperl.pl;
$result = @passthru($command, $status);
now my Problem: the perl prints its output immidiatly to the browser and $result is
empty after the execution of
Hi !
I'm having troubles with the random numbers. When I create a number witm mt_rand()
I always get the same number on my local server. I need this stuff to ranomly display
some text, and I'd like to have another value of the random number each time the
page is refreshed.
Thanks
Nikola
I have yet another PHP question! =)
How do i open a window in PHP and how do i insert information in it?
I have a tables with a a href.. that i want to open up a new window with that
displays information to the user if i clicks the link.
I want everything to be in the same function. I can solve
[EMAIL PROTECTED] (Nikola Veber) wrote:
Hi !
I'm having troubles with the random numbers. When I create a number witm mt_rand()
I always get the same number on my local server. I need this stuff to ranomly
display
some text, and I'd like to have another value of the random number
Original message
From: Johan Vikerskog (EMP) [EMAIL PROTECTED]
Date: Fri, Oct 05, 2001 at 01:57:13PM +0200
Message-ID: [EMAIL PROTECTED]
Subject: [PHP] Window open.
I have yet another PHP question! =)
How do i open a window in PHP and how do i insert information in it?
I have a tables with
I have yet another PHP question! =)
How do i open a window in PHP and how do i insert information in it?
Actually you have a javascript question!
check out window.open() in the javascript docs
Regards
jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763
Hi!
I am trying to embed a file into my html email that I
want to send my friend on Yahoo. I have uploaded the
flash file (.swf) on my server. If I try to embed the
file as html and send...as an email...nothin can be
seen...
Is it because... yahoo filtersI am using Php to
send it
Thanx
If you are getting #!/usr/local/bin/php output to the screen, then the
cgi scripts do no need the line in them to execute properly. Do you have
access to the scripts? Try removing this line altogether. What happens?
- Devon
In article
[EMAIL PROTECTED],
[EMAIL PROTECTED] (James Peter
It seems I didn't read the descrition of 'exec()' good enough when I read it
the first time :(
Now it works, thank you
From: Krzysztof Kocjan [EMAIL PROTECTED]
To: Stefan Rusterholz [EMAIL PROTECTED]
See exec() and system functions in PHP
Krzysztof
Stefan Rusterholz wrote:
Hi
For some
Thank you all very much!
Tim Sawyer wrote:
I want to open a popup window under php control. So lets say I have an
if statement which if true opens the window.
if ($something) {
JavaScript:window.open(test.php,blah...);
}
Guess I'm saying that I want to call a Javascript function
Maybe:
First some basic questions:
(1) Can you create an unitialised array ?
$an_array = array();
(2) Can an unitinialised array be a class member variable ?
My problem is this:
I have a class called user - which represents one row in a mySQL table
(also called user)
class userBag {
all ideas are very welcomed !!
/nicke
--
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]
the one and only mysql admin tool for win32 is mysqlfront. it can be
downloaded from: http://www.mysqlfront.de.
/nicke
-:-Doigy-:- [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi Folks,
I'm after a quick and easy way to edit tables in a mySQL database, much
You might also want to try
http://sourceforge.net/projects/phpmyadmin
That is where you will find the newest version of the program.
Thank You
Brian Paulson
Sr. Web Developer
The Pueblo Chieftain Online
[EMAIL PROTECTED]
http://www.chieftain.com
-Original Message-
From: Girish Nath
Hi,
Has anyone seen an ODBC version of PHPMyAdmin, or something similar; I want
to use it with more than just MySQL (e.g. Postgres and SQLServer)
Cheers,
Jaxon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Here's what I got from the mandrake security mailing list so far:
This is strange. I was just going to write a mail to this list about
this. it seems that /etc/shadow accepts both crypt passwords (the short
passwd) and MD5 passwords. (34 characters with $ and slashes does seem
to me like
Hi
I just a PHP hobbiest trying to build a points calculating system for
another hobby, please bear with me.
I need to build a multidimensional array from a html form
the array would look like:
$needed_data = array (
array (id = $member_id,
points = $position ),
Does anybody have an easy way to crypt and decrypt a string? I see the Mcrypt
Encryption module but thats a little more gung-ho than I'm looking for. I'm not
trying to encrypt sensitive data rather I'm more trying obfuscate it a variable for a
hidden tag.
Thought I remember seeing something
Hi,
I have a directory with an index.php script so that the url is something
along the lines of http://www.mydomain.com/search/ .. Now following the
same logic I wanted to write another script but not bother creating
another directory so I wrote my script called test.php and then created
a
Hi !
I would like to add an option for reading e-mail from the pop3 server to my site. Is
this
possible at all ?
Thanks
Nikola
--
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
Actually, there is a unix-like fork() function in an extension. exec() will
execute another process, but it isn't really a fork().
Look at the pcntl extension and check out pcntl_fork(). I've been working
with it for a few days and it works pretty well. It's still marked
EXPERIMENTAL, so
Jaxon [EMAIL PROTECTED] wrote:
Has anyone seen an ODBC version of PHPMyAdmin, or something similar; I
want
to use it with more than just MySQL (e.g. Postgres and SQLServer)
Not ODBC, but phpMyAdmin has a PostgreSQL cousin, phpPgAdmin. You used to
be able to find it at www.greatbridge.org, but
I am running php on apacheon linux. Right now my php scripts
access the data as the user that is running apache. I would like
them to access the data as the user who is the owner of the script.
Can this be done? How? Is this a good idea (IE: are there hiden
programs to watch out for)
On Friday 05 October 2001 18:10, you wrote:
Use crypt()/decrypt() couple.
Andrey Hristov
IcyGEN Corporation
BUILDING SOLUTIONS
http://www.icygen.com
On Friday 05 October 2001 17:53, you wrote:
Here are some simple xor encoding functions that I wrote. This will keep
the average joe
From: Nathan [EMAIL PROTECTED]
Here are some simple xor encoding functions that I wrote. This will keep
the average joe from peaking at your data.
Exactly what I was looking for.
Thanks
Joel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I know that enclosing form field names in [] makes them available as an
array
if the form were dynamically built like
PERSONS NAME (from database via $member_id )
input type = hidden name = [data] value = $member_id input type = text
name = [data]
next PERSONS NAME (from database via
Hello
I've just joined the list and sending this message as a test :-)
I'm 'very' new to PHP and therefore here to learn ... I hope that's ok?
Mick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
All,
I am putting together a simple upload program where an
HTML form calls a php script passing a file which is
then used to upload. I am running this locally
currently, prior to rolling out to a test server.
My problem is this. The variable $filename I am
passing from the form to the php
Also try Mascon and FreeMascon. Note, these run on Win32, so the other tool
someone mentioned is not the one and only Win32 tool for this :)
FreeMason will let you edit tables and such. Step up to Mascon to get
things like administrative editing.
On Friday 05 October 2001 18:10, you wrote:
Use crypt()/decrypt() couple.
Andrey Hristov
From the PHP doumentation on crypt:
There is no decrypt function, since crypt() uses a one-way algorithm. so
that wouldn't have worked.
Joel
--
PHP General Mailing List
Thank Richard.
So far, I just punted. My site runs on a dedicated box and doesn't
have to service a lot of users so I just wrote a one line C program
to print a single value using a specified format (default is %.4e)
and use exec() to call it.
printe [format] value
Here's how I
$imagefile contains the name of the file in the temp dir. So the name is some
mess like phpx . If you want the file you do copy() or something other.
After the script is done the file is deleted. I prefer using $HTTP_POST_VARS
do var_dump($HTTP_POST_VARS) to see debug info.
Andrey Hristov
I am a bit new to PHP -- normally use ASP (no booing, please) -- and trying
to find an elegant solution to paging x number of records at a time through
a result set returned to a php page from MySQL.
Any ideas?
TIA,
Bill
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
ooops , sorry
On Friday 05 October 2001 18:48, you wrote:
On Friday 05 October 2001 18:10, you wrote:
Use crypt()/decrypt() couple.
Andrey Hristov
From the PHP doumentation on crypt:
There is no decrypt function, since crypt() uses a one-way algorithm. so
that wouldn't have
select * from some_table Limit 10,30;
syntaxis
limit start,offset
Andrey Hristov
IcyGEN Corporation
Building Solutions
On Friday 05 October 2001 18:52, you wrote:
I am a bit new to PHP -- normally use ASP (no booing, please) -- and trying
to find an elegant solution to paging x number of
select first.*,second.*,third.* from first left join second
using(for_key_first_second) left join third using(for_key_2_3);
On Friday 05 October 2001 18:50, you wrote:
Hello,
you can always reset the auto_increment value (I think that is as simlple
as
set insert_id=1; but you may want
there are tutorials posted all over the inet, and all over this news group.
take a look around.
Ive left out the details and stuck with the basics, modify as needed, you'll
need to :)
if (!isset($HOW_MANY))
$HOW_MANY = 10;
if (!isset($position))
$position = 0;
$prev = $position -
- Original Message -
From: Andrey Hristov [EMAIL PROTECTED]
select * from some_table Limit 10,30;
Something to point out, in some of the older versions of MySQL, Offset
starts counting at 0, while in the newer versions, it starts counting at 1.
You'll want to check the documentation
Hello
After several days of reading various articles on the web I've 'finally' got
a basic database working. The database is for a massive collection of my
vinyl records. Therefore I would like to limit the results to about 20 per
page and move forward/backward with 'next' and 'previous' links.
Question: Does the pagination method using mysql_data_seek method pull in
the entire result set, only to be used to display x number of rows?
Joel Ricker [EMAIL PROTECTED] wrote in message
00b501c14db9$84e4a4f0$04a3d6d1@joeltklrijxxms">news:00b501c14db9$84e4a4f0$04a3d6d1@joeltklrijxxms...
Hey Mick,
of course its ok...we've all done it that way (cept a few whose names you'll
learn soon enough ;-) )
a few suggestions:
1. www.php.net has most everything you could ask for...also, if you have a
function you want to learn more about, type it like this:
http://www.php.net/function_name
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
Also try Mascon and FreeMascon. Note, these run on Win32, so the other tool
someone mentioned is not the one and only Win32 tool for this :)
FreeMason will let you edit tables and such. Step up to Mascon to get
things like
After getting the PHP source from the CVS and compiling I tested with
phpinfo(). The result was amazing :
===cutted=
a href=http://www.php.net/;img
src=/master/test.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 border=0
align=right alt=PHP Logo/ah1PHP Version 4.0.8-dev/h1
I've seen documentation on this somewhere, but now I can't remember
where.
I want to move away from
file.php?var1=1var2=2var3=3
...and go to
file.php/1/2/3
...and still be able to do what I need to be done (extract the
variables and use them as I need them.)
Yes, $PHP_SELF would include /1/2/3. $SCRIPT_NAME wouldn't have it though
since Apache fills that in with the script it executes. Or you could
simply look at $PATH_INFO and strip the contents of $PATH_INFO from the
end of $PHP_SELF.
-Rasmus
On Fri, 5 Oct 2001, Ashley M. Kirchner wrote:
As a couple others posted, if you want it to be PHP, then phpMyAdmin,
http://sourceforge.net/projects/phpmyadmin.
-Original Message-
From: MrBaseball34 [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 9:45 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Database editor
In article
Rasmus Lerdorf wrote:
Yes, $PHP_SELF would include /1/2/3. $SCRIPT_NAME wouldn't have it though
since Apache fills that in with the script it executes. Or you could
simply look at $PATH_INFO and strip the contents of $PATH_INFO from the
end of $PHP_SELF.
Aha! Good. Now, does anyone
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
As a couple others posted, if you want it to be PHP, then phpMyAdmin,
http://sourceforge.net/projects/phpmyadmin.
I just found that one...thanks...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Yes, $PHP_SELF would include /1/2/3. $SCRIPT_NAME wouldn't have it though
since Apache fills that in with the script it executes. Or you could
simply look at $PATH_INFO and strip the contents of $PATH_INFO from the
end of $PHP_SELF.
Aha! Good. Now, does anyone have a link to
What would be the most effective way to create blocking of users by ip using
mysql. In such as way that the blocking system allows for masks such as
24.127.89.*
24.*.*.*
etc...
So far the what I've come up with is either breaking the ip into 4 INTs and
then running an SQL query to check if
Hello!
I just want to replace a string with another, but I have problems, when the
string contains a [ or something similar. I just need a method to replace
[cool] with text. When I use:
$mustbereplaced = [cool];
$message = preg_replace(/$mustbereplaced/, hello, $message);
only cool will be
http://php.net/str_replace
if you're just replacing a static string, this will be faster and
easier...only use regex's when you really need them
jack
-Original Message-
From: W. Kiecksee [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 2:17 PM
To: [EMAIL PROTECTED]
Subject:
Interesting. After hlaf a minute an idea came to my brain.
create table blocked( from_ip bigint unsigned, to_ip bigint unsigned);
?php
list($is_bad)=mysql_fetch_array(mysql_query(select count(*) from blocked
where $REMOTE_ADDR=from_ip and $REMOTE_ADDR=to_ip;));
?
Hope this helps.
$REMOTE_ADDR
Hi,
my name is Jaison and I need to know...
Can I encode or compile a Php program to protect the source and execute than?
tks.
Escape the [] with \.
$pattern='\[find\]';
echo preg_replace(/$pattern/,[find]);
Andrey Hristov
IcyGEN Corporation
BALANCED SOLUTIONS
http://www.icygen.com
On Friday 05 October 2001 21:17, you wrote:
Hello!
I just want to replace a string with another, but I have problems, when the
string
Can PHP work with a Share on another computer or do the scripts have to
be on the same computer as IIS/Apache? When I put the scripts into a
Shared directory, I get a CGI error.
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To
Yes there is php encoder available but it is not free - go to
http://www.zend.com whers Open Software meets eBussiness.
Also there si phpcompiler. I didn't tested it. Go to google.com and try to
find phpcompiler.zip sooner you will find it but be patient.
Andrey Hristov
IcyGEN Corporation
tks Andrey.
I have a dll that encode and decode any file, this dll use a algorithim
that
I made it.
PHP has some API, Entry Point or another way that permit I use a dll to
decode a php script before that script be executed?
tks again.
- Original Message -
From: Andrey Hristov
Andrey: What is this select supposed to do? I fail to see how this would
help a person who has hit max_size on an auto_increment field.
Bas: The other alternative that would be to occasionally update sid for all
the rows, reseting them to 1,2,3,etc. You could do that with the following:
set
I'm running with some trouble with exec(), system() and it's friends...
I have a MySQL backup script that somewhere have something like
$cmd=mysqldump .. somefile.sql;
if( !fopen(somefile.sql,r) ) { print error message };
$cmd is correct... I've copy-pasted it tons of times in the
On Fri, 5 Oct 2001 14:12:46 -0400, Prottoss wrote:
What would be the most effective way to create blocking of users by
ip using
mysql. In such as way that the blocking system allows for masks
such as
24.127.89.*
24.*.*.*
etc...
So far the what I've come up with is either breaking the ip into 4
Hi All,
Is these any parameter in php.ini that I need to set so that I wont get
Warning: Undefined variable: xx in yyy.php on line zz messages?
Thank you,
Sridhar Moparthy
On Fri, 05 Oct 2001 11:23:34 -0700, Todd Cary wrote:
Can PHP work with a Share on another computer or do the scripts have
to
be on the same computer as IIS/Apache? When I put the scripts into
a
Shared directory, I get a CGI error.
try using 'net use' to give the share a drive letter, then use
In PHP4, unset($myarray['3']['someindex'}) removes this element (inside a class
function passed $myarray). I need to do the same for PHP3 - what is the simplest way
to accomplish this?
I guess I'm looking for a function that supports PHP3 or PHP4, say:
function unset_arr ($array) {
if
John A. Grant wrote:
Why? What's wrong with ?var1=1var2=2
Where did you hear me say there was something wrong with it? It's a
personal choice.
--
W | I haven't lost my mind; it's backed up on tape somewhere.
+
Note, this is not currently possible under the CGI, only as a module.
Best regards,
Andrew Hill
-Original Message-
From: John A. Grant [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 4:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Submitting variables via /'s
Ashley
Hi,
I get a segmentation fault in the log-files of apache when I use
imap_open.
What have I done (rather long e-mail)?
Debian - woody (without apache-php-imap)
imap-2001.FINAL.tar.Z
make slx
cd c-client
ln -s . lib
ln -s . include
ln -s c-client.a libc-client.a
apache-1.3.20
check out error reporting at php.net
-Original Message-
From: Sridhar Moparthy [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 2:54 PM
To: [EMAIL PROTECTED]
Subject: [PHP] How to eliminate Warning: Undefined variable: messages
Hi All,
Is these any parameter in php.ini that
You [EMAIL PROTECTED], or someone using your email
[EMAIL PROTECTED] address, posted to my Blastomatic site. This is a
one time
emailing to ask you to verify your email address. Just reply
to this email address to verify or follow the below instructions.
In Perl I have done this:
$julianday=(localtime)[7];
Is there an equivalent syntax for PHP or do I just do:
$now=localtime();
$julianday=$now[7];
I don't need it - I'm just curious about the syntax.
--
John A. Grant * I speak only for myself * (remove 'z' to reply)
Radiation
Richard Lynch [EMAIL PROTECTED] wrote in message
046901c14d62$b4c7a0c0$c801a8c0@Lynchux100">news:046901c14d62$b4c7a0c0$c801a8c0@Lynchux100...
100 lines of 200 chars each is 2 which is 20K which is chump change
for
RAM...
Unless you are on a super busy page on a super high-volume server,
there are functions like current() next() etc but they wont help you in this
case. I just wrote my own.
function index($array, $index)
{
return @$array[$index];
}
$now = index(localtime(), 7);
--
Chris Lee
[EMAIL PROTECTED]
John A. Grant [EMAIL PROTECTED] wrote in message
[EMAIL
1 - 100 of 142 matches
Mail list logo