Hello guys,
I need that badly! I need a suggestion, advise, solution or whatever that
might help!
I need a Site Search script for a page that mostly have .PHP files some are
dynamic and some are not.
Basically i was using WebGlimpse but whenever I search using it, It shows
the source code of
I use mnoGoSearch http://search.mnogo.ru/ it works great for me and I've
been using it for about a year.
Thank You
Ryan
mailto:[EMAIL PROTECTED]
-Original Message-
From: elias [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 12, 2001 12:19 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Site
Hello Scott,
I took a look at your code, and have a solution for you.
Here's the code:
while ($row = mysql_fetch_array($result) )
{
if ($row[memberid] == $login_id)
{
// your code here :-)
}
}
$row = mysql_fetch_array($result); // Get one row
hello,
YoBro wrote:
Have you got an example of how to use the -b switch.
I am not up with lingo when it comes to unix.
?php
/* try this */
if ($pressed)
{
$result = passthru(htpasswd -b mypasswordlist $user $pass);
echo $resultbr\n;
}
else
{
?
form method=POST
php-general Digest 12 May 2001 07:54:28 - Issue 681
Topics (messages 52513 through 52549):
Encode/Decode Problem
52513 by: Augusto Cesar Castoldi
52518 by: Sean Cazzell
OT SQL SERVER
52514 by: Brandon Orther
Only have one session per user?
52515 by:
ERRATA to the PREVIOUS E-MAIL:
the following line:
pass: nbsp;nbsp; input type=password name=userbr
should read:
pass: nbsp;nbsp; input type=password name=passbr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
I try to upload a .sql file with PHPMyAdmin. Below 1 mb: no problem, above
1mb: impossible. We have increased the max_upload_file_size in PHP.ini but
it still doesnt work. What other parameters in the php.ini influence this?
Thanks very much
Theo Richel
hi,
if i use SUBSTRING(field,pos,len) in a SELECT statement it works fine
but i cant work it out how to use this function in the WHERE clause
... WHERE SUBSTRING(field,pos,len) LIKE ABC
... WHERE SUBSTRING(field,pos,len) = 'ABC'
... WHERE SUBSTRING(field,pos,len) LIKE 'ABC'
none of them
In article 000c01c0dabb$422d2bd0$0101@devel01,
[EMAIL PROTECTED] (andreas \(@work\)) wrote:
but i cant work it out how to use this function in the WHERE clause
... WHERE SUBSTRING(field,pos,len) LIKE ABC
... WHERE SUBSTRING(field,pos,len) = 'ABC'
... WHERE
On Saturday 12 May 2001 00:51, Brandon Orther wrote:
Hello,
I found asp2php to be a great tool. Does anyone know of a way to make
it convert a whole directory or more than one file at a time?
I don't know asp2php, but a simple
cd src
for i in `find -name '*.php'` ; do
asp2php $i
On Saturday 12 May 2001 04:20, Young Chi-Yeung Fan wrote:
If you have input type=hidden name=data value=The word
quot;herequot; is in quotes. /, then when you submit your form,
$HTTP_POST_VARS[data] or $HTTP_GET_VARS[data] will be:
The word \here\ is in quotes.
So you can put the value
Dear Sir
I have received your email at the innovative-pk.com I want to know that to which user
this email is destined
cc at [EMAIL PROTECTED]
Thanks Regars
Asim Ansari
On Saturday, May 12, 2001 at 12:37:26 AM, Young Chi-Yeung Fan wrote:
Yamin Prabudy wrote:
Hi there
I like to know
Hi,
here my problem with COM in PHP.
?
echo J-Server in der dynamischen PHP-Web-Site. brbr;
$jServer = new COM(jexeserver) or DIE (Connect zum J Server ist nicht
möglich);
$jServer-Show(1);
$jServer-Log(1);
$jServer-Do(0!:0 (1!:40''),'system\extras\config\profile.ijs');
On 11-May-01 Markus Held wrote:
Can do what i want. I need gif and jpeg
habe installed jpeg-6b , gd-1.8.4gif.tar.gz
No, GIF support was removed in v1.6 or so
http://www.boutell.com/gd/
snip
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always
Any suggestion for a better site search program?
I know quite a few people who really love htdig. Don't know if it's better.
Not sure how good it is handling .php files.
You could give it a try.
THink I remember a search PHP script at php.net.. or was it freshmeat.. not
sure about name of
Hi Thies,
Yes, httpd is linked against pthread.
I've compiled 4.0.4pl1 and so far it is working ok.
This problem (segmentation fault) seems to be
happening quite often (after reading some posts).
ldd /usr/sbin/httpd
libm.so.6 = /lib/libm.so.6 (0x4001a000)
libcrypt.so.1 =
Hi Theo,
I'm not sure it will help, but can it be because of script execution time?
Increase the time I try again. If it works, please let me know.
Greetz,
SED
-Original Message-
From: Theo Richel [mailto:[EMAIL PROTECTED]]
Sent: 12. maí 2001 08:17
To: [EMAIL PROTECTED]
Subject: [PHP]
ok, i just clicked on the uk.php.net/mirrors.php and i got nothing.
so i went to uk.php.net and i get some wierd online.co.uk corporate
site which has no relation to php at all.
am i the only one who gets this feeling someone's replaced the
uk.php.net files??
/sunny
--- Altunergil, Oktay
i'm running a select query on a table, using php of course, and i
have a form right underneath it which has similar names to the
information in selected in the query above.
yet despite using mysql_free_results before my form starts, it still
keeps the last result of the query 1 in memory :(
are
Hello list!
When you create a pdf-document with Adobe Acrobat
you can protect it with a password!
Is there a way to protect it with php's pdf-funtions, too!
I found nothing in the docs!
--
phpArbeitsgruppe in Gruendung - Jochen Kaechelin
Stuttgarter Str.3, D-73033 Goeppingen
Tel. 07161-92 95
You are not the only one, this is strange indeed, I would not believe it is
a hacked tho.
Maybe a technicien mixed up the dns db, or something like that !
Go to: http://uk2.php.net/ wich is fine,
py
- Original Message -
From: sunny hundal [EMAIL PROTECTED]
To: Altunergil, Oktay [EMAIL
On Sat, May 12, 2001 at 05:36:30AM -0700, Robert Mena wrote:
Hi Thies,
Yes, httpd is linked against pthread.
I've compiled 4.0.4pl1 and so far it is working ok.
This problem (segmentation fault) seems to be
happening quite often (after reading some posts).
a backtrace would be
Hello to all.
This is probably the most basic question of th PHP general list. I just
installed PHP 4.0.5 on Apache 1.2.19.
Could someone please explain a very basic test.
I would like to write a Hello World page as a test.
I have tried the following: And named the page: index.php and
I like using Homesite - color coordination of code as well. I use
Dreamweaver for the design elements as well, but sometimes it doesn't work
very well for php coding.
Laurie M. Landry
lmlweb Design Development
www.lmlweb.com
[EMAIL PROTECTED]
T: (604) 872-6915
F: (425) 732-1547
Can anyone recommend a php(/mysql) book?
--
-
Fredrik A. Takle
[EMAIL PROTECTED]
--
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,
Hi FredrikAT,
FredrikAT Can anyone recommend a php(/mysql) book?
Well, I don't know what language you do expect. I have read 3 Books in German,
the best of them was Internet intern: PHP 4 + MySQL by Rolf D. Stoll Gudrun
Anna Leier. It's from Data Becker, and It is a really good book for
In your apache conf, make sure you have something similar to:
AddType application/x-httpd-php .php .phtml .inc
If you don't, add it and restart apache.
- Original Message -
From: Raven [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 12, 2001 12:04 PM
Subject: [PHP] Newbie
On Sat, 12 May 2001, Jochen Kaechelin wrote:
Hello list!
When you create a pdf-document with Adobe Acrobat
you can protect it with a password!
Is there a way to protect it with php's pdf-funtions, too!
I found nothing in the docs!
No - there is no way to do this. Those password
Sorry, should be
./httpd --help
Miles
At 01:52 PM 5/12/01 -0300, Miles Thompson wrote:
snip
or
./hhtpd --help
snip
--
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
I use udmsearch and love it. If you want php pages searchable it does
actual http requests, so it doesn't give source code. If you don't want php
searchable, you can configure it to ignore any file extensions you want. It
comes with a php interface built in, also.
Ethan Schroeder
-
Hi All,
I am having problems with file permissions. I am trying to use fopen() to
write to a text file and get the error - 'permission denied'. I then used
chmod(file.txt, 0755); and got the message that I was not the file owner,
can someone help me out?
PHP 3.0.9
Solaris 2.7/Apache 1.3.3
TIA
I'm trying to reference $PHP_SELF and $REMOTE_USER inside a class:
var $page;
var $user;
$this-page=$PHP_SELF;
$this-user=$REMOTE_USER;
I'm using php4. What am I missing here?
TIA,
clif
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I use textpad. http://www.textpad.com. You can arrange your own coloring config
and there are some very cool elements about it there are even modules to
load into it for added functionality
once you use it you will never go back..mmuuwwahahahaha
- Original Message -
From:
On 12 May 2001 00:04:26 -0700 impersonator of [EMAIL PROTECTED]
(elias) planted I saw in php.general:
Hello guys,I need that badly!
Hello.
If you wouldn't mind disclosing your site address, and the server will
allow it, I may try my php-indexer-by-links. And we will see if it'll
work. No
There's no extended replace in textpad.. More specifically you can't do
extended replace if the files are not all Open.
On the other hand there's no , parantheses, bracket maching in HomeSite.
I still use HomeSite though :)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
global $PHP_SELF;
global $REMOTE_USER;
- Original Message -
From: cw [EMAIL PROTECTED]
To: Php-General [EMAIL PROTECTED]
Sent: Saturday, May 12, 2001 11:28 AM
Subject: [PHP] referencing a constant inside an object
I'm trying to reference $PHP_SELF and $REMOTE_USER inside a class:
Just a side not here... :)
udmSearch is now mnoGoSearch (http://search.mnogo.ru/)
Thank You
Ryan
mailto:[EMAIL PROTECTED]
-Original Message-
From: Ethan Schroeder [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 12, 2001 2:25 PM
To: elias
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Site
My personal favorite is Ultra Edit (www.ultraedit.com).
Thank You
Ryan
mailto:[EMAIL PROTECTED]
-Original Message-
From: Altunergil, Oktay [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 12, 2001 1:42 PM
To: '[EMAIL PROTECTED]'; PHP
Subject: RE: [PHP] PHP Editor
There's no extended
php-general Digest 12 May 2001 19:55:41 - Issue 682
Topics (messages 52550 through 52587):
Re: Simulate the Enter key in Unix with PHP
52550 by: barce
uploading problems
52551 by: Theo Richel
52562 by: SED
mysql - SUBSTRING
52552 by: andreas \(.work\)
Thanks for your reply.
Unfortunately, the problem is not in getting the code to execute - I know it
is for two reasons:
1) the setcookie(...) is being triggered because I have cookie warnings
turned on in the browser, and it warns me that a new cookie is being
received and it shows me the
The other poster was correct in their reply, but a more fitting reply is
that $PHP_SELF is NOT a constant. A constant would be something like...
define(PHP_SELF,cow);
All PHP code would then show PHP_SELF as cow.
cw wrote:
I'm trying to reference $PHP_SELF and $REMOTE_USER inside a class:
Wow, thanks for the heads up =)
Ethan Schroeder
- Original Message -
From: Ryan W. Zajicek [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 12, 2001 12:50 PM
Subject: RE: [PHP] Site search engine suggestion.
Just a side not here... :)
udmSearch is now mnoGoSearch
You may also find this interesting :
http://php.net/manual/en/ref.mnogo.php
From php changelog 4.0.5 :
Added mnoGoSearch extension - http://search.mnogo.ru. (Sergey K)
regards,
philip
On Sat, 12 May 2001, Ethan Schroeder wrote:
Wow, thanks for the heads up =)
Ethan Schroeder
So sprach Siim Einfeldt aka Itpunk am Sat, May 12, 2001 at 07:19:59PM +0200:
Hi,
When uploading an .mp3 file, is it possible to check its bit rate with
php?
If you know anything about it, please send a mail to my private email as
well.
Hm, you might try executing mp3info (if it's
Hey all,
I am quite horrible when it comes to regexps, but I have a string that
contains a complete url, like:
http://www.domain.com/this/is/it.html
And I need to strip everything but the domain so that I am left with:
www.domain.com
Can anyone help me out?
- John Vanderbeck
- Admin,
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (John Vanderbeck) wrote:
I am quite horrible when it comes to regexps, but I have a string that
contains a complete url, like:
http://www.domain.com/this/is/it.html
And I need to strip everything but the domain so that I am left with:
Hi guys!! mine is PHPEd.. =)
Jithy
-Original Message-
From: Ryan W. Zajicek [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 13, 2001 3:58 AM
To: Altunergil, Oktay; [EMAIL PROTECTED]; PHP
Subject: RE: [PHP] PHP Editor
My personal favorite is Ultra Edit (www.ultraedit.com).
Thank You
Hi, I would like to check whether a variable, $type, is equal to a
number of different possible states. I know I could use
if ( $type == abc || $type == bcd) { $a = b }
but this would get a bit clumsy if I had to check whether it is say
one of 20 different things.
What I was wondering is, is
How about a case-swtich?
http://www.php.net/manual/en/control-structures.switch.php
Ethan Schroeder
- Original Message -
From: DRN [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 12, 2001 4:40 PM
Subject: [PHP] check if a variable is in a number of states.
Hi, I would like
Overusing OO features: PHP is not an object oriented language, while it
does provide object oriented features, you should always be conscious of the
fact that using PHP's object oriented features will significantly slow down
your code.
- a quote taken from Sterling Hughes' top 21 PHP programming
Thanks for the help, but the example given does nothing at all.
It has me stumped.
I got my first example working up to the point where you enter the password
but it is not storing the passwords.
Bummer.
barce [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I am new to PHP having converted from ASP (don't beat me up, it just took me
a while to see the light)
MY QUESTION: What in PHP acts like the 'server.mappath' function in ASP? It
gives you the ability to determain the root of the web site and use it as a
reference.
MY PROBLEM: I have been able
I have installed CPDF lib instead. Installation was a breeze. I didn't want
to break my RAQ4 with too many config options when it's running live sites.
PDFLib and CPDF carry almost the same type of licenses.
- Original Message -
From: Steve Werby [EMAIL PROTECTED]
To: Herman Tolentino
Someone on the list mentioned a way to check if a classed is already
declared so it will only declare it once. I can't find it in the
archives so if someone knows how to accomplish this I would appreciate
it if you send me the code.
Thanks in advance.
--
Here's an appropriate example, one of a few ways you may do it :
$state = 'Wa';
$state = trim(strtoupper($state));
$states = array('WA' = 'Washington', 'OR' = 'Oregon', 'ID' = 'Idaho');
if (in_array($state, array_keys($states))) {
echo you chose b{$states[$state]}/b, a state in
In my Index.html, what do I write so that the Surfer goes to my
Start.Php?
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
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
On Sat, 12 May 2001, Mitch Vincent wrote:
We too have been developing using an OO approach for awhile - definitely
in PHP4. One of the other guys here was more OO than I was in PHP3, but
we've standardized more on our coding style in PHP4.
I would not doubt that there's some overhead with an
Todd Cary wrote:
In my Index.html, what do I write so that the Surfer goes to my
Start.Php?
It should work to have this after your opening HTML tag in index.html:
meta http-equiv=refresh content=0; url=start.php /
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
His series of articles (top php programming mistakes) is great, and
I've heard good things about his PHP Cookbook but Hughes is way off
here. There is some additional overhead with OO code but there is *very*
little difference in speed (less than 5% in synthetic benchmarks, and
much less in more
I want to do the following:
1/ open a file via a web page
A/ Parse out the function names in a class
B/ Parse out some strings between two 'template block' like markers
C/ return the names/strings as pull down menus
2/ run a web application to modify the calling sequence
You could also try using a regular expression to get out whatever you need
(if it's a string). Something like the following:
preg_match_all(/[abc|def|ghi]/,$type, $matches);
- Steve
DRN [EMAIL PROTECTED] wrote in message
9dkhdr$nog$[EMAIL PROTECTED]">news:9dkhdr$nog$[EMAIL PROTECTED]...
Hi,
Hello all,
My apologies if this is has been answered before or if this is considered
beginner material...but I am trying to make something of a linked list using
PHP. However, with the absence of pointers, I'm wondering if references
will do the trick. For example:
63 matches
Mail list logo