I have done something stupid and not PHP won't work. Everytime you click on
a link that is .php it wants you to download the file. What have I done and
how can I fix it.
Chuck Payne
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This is related to a discussion we had today about disallowing javascript.
Is there any way we can get a look inside current PHP functions, like
strip_tags(), to see how they're currently working?
Justin French
Creative Director
http://Indent.com.au
um - pray
which OS and web server are you running?
-Original Message-
From: Chuck PUP Payne [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 4:33 PM
To: PHP General
Subject: [PHP] Help I killed PHP on mysever...
I have done something stupid and not PHP won't work. Everytime
It sounds like the Apache/httpd server config info for PHP files has been
lost/changed/deleted/overwritten.. If you are using Apache make sure you've
got your AddType line(s) in the right place (there should already be some
AddType and AddHandler lines in there.. put them in by the others) in the
SuSE 7.3(linux) Apache.
on 4/9/02 2:43 AM, Martin Towell at [EMAIL PROTECTED] wrote:
um - pray
which OS and web server are you running?
-Original Message-
From: Chuck PUP Payne [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 4:33 PM
To: PHP General
Subject: [PHP] Help
On Tue, 9 Apr 2002, Chuck PUP Payne wrote:
I have done something stupid and not PHP won't work. Everytime you click on
a link that is .php it wants you to download the file. What have I done and
how can I fix it.
Are you running Apache? Maybe you commented out or deleted this line in
your
On Tue, 9 Apr 2002, Justin French wrote:
This is related to a discussion we had today about disallowing javascript.
Is there any way we can get a look inside current PHP functions, like
strip_tags(), to see how they're currently working?
In the source for PHP 4.1.2, look at
Refer to my earlier post about your AddType entries.. If they are not there,
before you add them, check for a file on your system called mod_php4.conf..
If you find it, it will have the required entries in it already.. If this is
the case, make sure your modules section in httpd.conf is
Aeh,
maybe you should make a plan, first, what to do. ;-)
That´s normal if you go to the supermarket, why not on softwaredevelopment?
At 08.04.2002 18:20, you wrote:
Ok I have it working to a point... how can I impliment a loop to count the
files in the directory, right now it only pulls the
You know I can't find mod_php4.c where should that be?
on 4/9/02 2:51 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED]
wrote:
Refer to my earlier post about your AddType entries.. If they are not there,
before you add them, check for a file on your system called mod_php4.conf..
If you find it, it
On Tue, 9 Apr 2002, Chuck PUP Payne wrote:
I have done something stupid and not PHP won't work. Everytime you
click on a link that is .php it wants you to download the file. What
have I done and how can I fix it.
This happens when you recompile and reinstall php as a module
No, I have reinstall. So much I about to throw my box. PHP just wont load
now everything I have work now it lost.
Chuck
on 4/9/02 3:28 AM, Mika Tuupola at [EMAIL PROTECTED] wrote:
On Tue, 9 Apr 2002, Chuck PUP Payne wrote:
I have done something stupid and not PHP won't work. Everytime you
Chuck,
what exactly is your situation? what has happened, step by step? what OS are
you on?
Thanks,
James
--
James Cox :: [EMAIL PROTECTED] :: Landonize It! http://landonize.it/
Was I helpful? http://www.amazon.co.uk/exec/obidos/wishlist/23IVGHQ61RJGO/
-Original Message-
From: Chuck
Hi!
$test=@file(some_non_existing_file);
Can somebody explain why count($test) is 1. When $test doesn't hold any
data
(which ofcourse is correct).
Regards
Thomas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I was install awstats on my work sever. I wanted to add a page so that the
manages could see the stats.
Some how my httpd.conf got zapped, I think because somehow all my virtual
servers had stop working. So I took a back up and edit it. I got them all
back on line but PHP has stop load, every
On Tue, 9 Apr 2002, Richard Lynch wrote:
So, what's up with this:
PHP /www/herolist.com/web/categories.html: 105 2 SAFE MODE
Restriction in effect. The script whose uid is 1065 is not allowed
to access /www/herolist.com/web/pictures/TERISBROTHER1thum.jpg owned
by uid 1056
Note that
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Thomas Wentzel) wrote:
$test=@file(some_non_existing_file);
Can somebody explain why count($test) is 1. When $test doesn't hold any
data
From http://www.php.net/manual/en/function.count.php:
If var is not an array, 1 will be returned
When
Hi!
I am new on this list, so i welcome everybody!
/sorry if my english is not too good/
My problem is:
I want to sort an array.
I found the array_multisort funciton in the help, but that is for
multidimensional arrays, or 2 or more arrays.
What i need exactly.
I have 5 MySQL tables, and i
select distinct member_id from mails_sent left join member_info using(member_id) left
join stats_done using(member_id)...
so
select distinct number_number from table1 left join table2 using(you_foreign_key) left
join table3 using(your_foreign_key2)
your_foreign_key* is a field common to
while( $row = mysql_fetch_array( $recordset ) ) {
$var1 = $row[event_id] ;
$var2 = $row[event_title] ;
$var3 = $row[event_date] ;
}
Don't forget that what you get with mysql_fetch_array() is just a array
where the indexes are just the name of the columns.
Un saludo
Phil
You could use these two functions:
array_unique(); and sort();
Niklas
-Original Message-
From: Vasoczki Ferenc [mailto:[EMAIL PROTECTED]]
Sent: 9. huhtikuuta 2002 11:26
To: Php Mailing List (E-mail)
Subject: [PHP] Soring an array
Hi!
I am new on this list, so i welcome everybody!
So you have several table for the teachers.
make the join and instead of using use on
so:
select disctinct * from table1 left join table2 on table1.for_key12=table2.for_key21
left join table3 on
table2.for_key23=table3.for_key32
Example :
select disctinct * from teacher1 left join teacher2
Arhh man, that was embarrasing...
Thanks! I guess I didn't get enough coffee this morning :/
T.
Cc Zona wrote:
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Thomas Wentzel) wrote:
$test=@file(some_non_existing_file);
Can somebody explain why count($test) is 1. When $test doesn't
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all
I've just moved host and I'm getting a very ugly PHPSESSID string
appended to my url's
I know this can be fixed but can't remember how, my ISP is not so bright
so I was hoping someone could tell me what to tell them.
How can I change this?
If you use PHP on Windows you need to configure SMTP settings in php.ini
file.
--
Kind regards,
Yuri.
www.AceHoster.com Quality web hosting
Genesis Designs [EMAIL PROTECTED] ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ
ÓÌÅÄÕÀÝÅÅ: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello,
Evert time I run a mail
Hello,
You can just put disable_functions=mysql_pconnect in php.ini file.
--
Kind regards,
Yuri.
www.AceHoster.com Quality web hosting
Robert Abbate [EMAIL PROTECTED] ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi. I'm trying to disable persistent
Yes. system() - Execute an external program and display output.
--
Kind regards,
Yuri.
www.AceHoster.com Quality web hosting
Wong [EMAIL PROTECTED] ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Can php execute .exe file under dos and view result on the
do you have a mail server set up on your computer?
I had the same problem, and I downloaded Hamster
http://www.tglsoft.de/misc/hamster_en.htm
Its does the job fine
Genesis Designs [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello,
Evert time I run a mail
Hi I have an online email form but I can't get the text layout the same as
the layout someone types in the text Area, here is the final bit of code:
$message = stripslashes($message);
$message = htmlentities($message);
$message = nl2br($message);
$from=From: $email;
$to= [EMAIL PROTECTED];
Hi folks,
Ok I am trying to make a download area for files (including word files).
How do I force a download of a word document rather than have it opening in
IE?
Declan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
Hi I have an online email form but I can't get the text layout the same as
the layout someone types in the text Area, here is the final bit of code:
$message = stripslashes($message);
$message = htmlentities($message);
$message =
Hi,
I need to recall a date data in a MySQL database.
The column is set as date timestamp(8).
A sample of date is 20020409
I use the PHP Date function to format it back to say 9th April 2002.
$date_formated = date($date, 'S M Y' );
However, it's still doesn't appear as formatted.
Anyone mind
I have problem with backup and restore database in mysql.
When I backup or restore some table in mysql with command
backup table table_name to '/var/lib/_backup/' system send me error message
:
ERROR 1064: You have an error in your SQL syntax near 'backup table
table_name to '/var/lib/_backup/''
Hi there,
I am wondering what to do with a word that is to long for a table field.
What I have is an application, where users can upload pics and give a
caption.
so if the caption contains to long words like aaa
the
whole site looks mixed up, because the table get to
Hello,
The column is set as date timestamp(8).
A sample of date is 20020409
I use the PHP Date function to format it back to say 9th April 2002.
$date_formated = date($date, 'S M Y' );
How about this;
$date_formatted=date(jS M Y,mktime(0,0,0,substr($date,4,2),substr
($date,6,2),substr($date
http://kwister.dns2go.com/php/4.php?action=tablesdatabase=mysqltable=user
http://kwister.dns2go.com/php/4.txt
Hi - I'm online for next few hours (I'll upload to a non PHP server when i
go offline)
basically ive had help, fixed my script to show 4 rows of 17 columns each
(Instead of 1 row of
You used first single quote and then double quote.
Replace
backup table table_name to '/var/lib/_backup/''
with
backup table table_name to '/var/lib/_backup/'
This should work.
Please let me know if that helped you.
--
-
Cirstoiu Aurel Sorin
Interakt Online Support
Hello everyone!
I'm fairly new to PHP, but I do know JavaScript, which is both a blessing and a
hinderance, as there are many syntax similarities, but a subtle amount of difference
which means I usually screw something trivial up in my PHP code. Can someone explain
to me why the following
On Tuesday 09 April 2002 11:20, Declan Kenny wrote:
Hi folks,
Ok I am trying to make a download area for files (including word files).
How do I force a download of a word document rather than have it opening in
IE?
Declan
You don't. This option is set in windows exploror. as part of the
At 09.04.2002 08:33, you wrote:
That´s an easy on ;-)
Hello everyone!
I'm fairly new to PHP, but I do know JavaScript, which is both a blessing
and a hinderance, as there are many syntax similarities, but a subtle
amount of difference which means I usually screw something trivial up in
my
At 09.04.2002 14:15, you wrote:
Hi there,
I am wondering what to do with a word that is to long for a table field.
What I have is an application, where users can upload pics and give a
caption.
so if the caption contains to long words like aaa
the
whole site looks mixed
version of mysql is : 3.23.36 on linux redhat 7.0
-Original Message-
From: Cirstoiu Aurel Sorin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 2:50 PM
To: Roman Duriancik
Subject: Re: [PHP] Re: mysql
What MySQL version do you have installed?
-
I have developed a security application for our intranet that handles a
user login. It writes values to a cookie and uses that to verify them on
the intranet sites until the sessions expire.
Since we have not totally moved over to PHP I have some ASP applications I
need to protect as well.
How can i check of MySQL is running, i want to do this with cronn.
If MySQL is not running then i want to start it automatic.
Greeting,
Manu
I want to thanks all those that help at 2~4am this morning (EST). I got it
fixed, but I had to reinstall Apache and PHP, lucky it easy with SuSE Linux.
But I still have no clue to why it wasn't working, but I wanted to thank any
everyone that has help me on this sleepless night. It's great to
Scott St. John [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have developed a security application for our intranet that handles a
user login. It writes values to a cookie and uses that to verify them on
the intranet sites until the sessions expire.
There is a difference between MySQL's timestamp, and a UNIX timestamp.
strtotime(); is a really valuable tool -- converting almost any English date
description -- check out the manual for more info.
Anyway, in this case, it is able to convert your MySQL date of 20020409 into
a unix timestamp
If you're on a unix box, you could:
ps -aux | grep mysql
do that from an exec() or system() function.
Tyler
- Original Message -
From: Manu Verhaegen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 09, 2002 8:08 AM
Subject: [PHP] automatic check if MySQL is running
How
Hello, - I'm used (in years gone by) to the Qbasic programme, where i can
create 'sub' routines, view each routine on its own - Without reference /
Viewing the other code.. (I think its good like that..)..
I know in CGI/Perl - you can use sub-routines etc...
1) Does PHP allow sub-routines, eg
nverting almost any English
date
description -- check out the manual for more info.
Anyway, in this case, it is able to convert your MySQL date of 20020409
into
a unix timestamp, which is the required format for date() formatting.
In clear code:
?
$date = 20020409;
$date_unix = strtoti
On Tuesday, April 9, 2002, at 09:47 AM, Gordon Stewart wrote:
Hello, - I'm used (in years gone by) to the Qbasic programme, where i
can
create 'sub' routines, view each routine on its own - Without
reference /
Viewing the other code.. (I think its good like that..)..
I know in
Is there a way for a script to tell if the file it's trying to access is
locked by other script (via flock()) or not. I need to make script wait
untill other script running in a parallel thread releases the lock on
the file.
Tnx in advance.
Armin
--
PHP General Mailing List
Thanks for the suggestion. I did get it to work prior to your posting, but
this does help slim up my code quite a bit.
--
Joshua E Minnie
CIO
[EMAIL PROTECTED]
Don't work for recognition, but always do work worthy of recognition.
Jason Wong [EMAIL PROTECTED] wrote:
On Monday 08 April 2002
I have a question about storing functions. I have some security mode stuff
I'm working on and what I'm thinking is that as part of the security mode
table I would store a function that could be called if the security mode is
called.
Something like this.
Select s.function from s Security g
Is there a way for a script to tell if the file it's
trying to access is locked by other script (via
flock()) or not. I need to make script wait untill
other script running in a parallel thread releases the
lock on the file.
Without testing, would this work? Just a suggestion
(read: shot in the
On Tue, 9 Apr 2002, Anzak Wolf wrote:
I have a question about storing functions. I have some security mode stuff
I'm working on and what I'm thinking is that as part of the security mode
table I would store a function that could be called if the security mode is
called.
Something like
On Tue, 9 Apr 2002, Martin Clifford wrote:
echo trtdItem . ($n + 1) . is $List[$n]./td/tr;
It successfully prints out the following:
Item Number 1 is .
I just don't understand why it doesn't print out each value in the
array... any help would be VERY appreciated! Also, please CC me
When you serve a document from a Web server, you might want to immediately
prompt the user to save the file directly to the user's disk, without
opening it in the browser. However, for known MIME (Multipurpose Internet
Mail Extensions) types such as Microsoft Word (application/ms-word), the
strrev -- Reverse a string
http://www.php.net/manual/en/function.strrev.php
--
Kind regards,
Yuri.
www.AceHoster.com Quality web hosting
Scott Fletcher [EMAIL PROTECTED] ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:[EMAIL PROTECTED]...
Hi!
Is there a PHP code or function that would
A quick question about evaluation:
I have the following line in the middle of a large if/elseif/else
statement:
elseif (!empty($_POST['newpassword'])
!$user-set_password($_POST['newpassword']))
I am simply wondering whether or not the set_password() method will be
processed if the first
Hello,
try this;
?
function revstr($str){
for($i=strlen($str)-1;$i-1;$i--){
$ans.=$str[$i];
}
return $ans;
}
$a=Good morning!;
print revstr($a);
?
Regards,
Hiroshi Ayukawa
http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php
--
PHP General
I got it to work with the following code. Thank you so much for your help.
The problem is now back to the beginning, I can not get the $Line value,
which is the data I want to be pushed into an array. I did not get an error
with the code below, but I did not get any information when printing the
On Wed, 10 Apr 2002, Gordon Stewart wrote:
As far as I know - ALL cookies set by a particular server - can be read
re-set by any programme / process on the same server / website..
So your ASP script could read your PHP cookies vice-versa..
I'm just learning PHP, dont know cookies as yet (I
I think that set_password() will not be processed.
--
Kind regards,
Yuri.
www.AceHoster.com Quality web hosting
Erik Price [EMAIL PROTECTED] ???/ ? ?:
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
A quick question about evaluation:
I have the following line in
Christopher:
On Tue, Apr 09, 2002 at 09:25:07AM -0400, Crane, Christopher wrote:
The problem is now back to the beginning, I can not get the $Line value,
which is the data I want to be pushed into an array. I did not get an error
with the code below, but I did not get any information when
Try this:
?php
// Open the file to send.
$sFilePath = /home/scott/public_html/TEST.doc;
$iFilePointer = fopen( $sFilePath, r );
// Get file content.
$sContents = fread( $iFilePointer, filesize( $sFilePath ) );
// Close the file.
fclose( $iFilePointer );
// Send HTTP headers.
header( Expires: 0
On Tuesday, April 9, 2002, at 11:50 AM, Analysis Solutions wrote:
Allow me to nit pick. That's hard to read. This, on the other hand, is
clearer:
function StartHandler($Parser, $ElementName, $Attr='') {
print b$ElementName:/b ;
}
Of course, you can do what you want, but
Excellent Man! Worked great.
Yuri Petro [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello,
You can just put disable_functions=mysql_pconnect in php.ini file.
--
Kind regards,
Yuri.
www.AceHoster.com Quality web hosting
Robert Abbate [EMAIL
Yo Erik:
On Tue, Apr 09, 2002 at 11:39:31AM -0400, Erik Price wrote:
elseif (!empty($_POST['newpassword'])
!$user-set_password($_POST['newpassword']))
Your order of evaluation is correct. But, considering the password
length is evaluated in the set_password() function, checking empty()
Anzak Wolf wrote:
I have a question about storing functions. I have some security mode stuff
I'm working on and what I'm thinking is that as part of the security mode
table I would store a function that could be called if the security mode is
called.
Something like this.
Select
On Tuesday 09 April 2002 23:33, Miguel Cruz wrote:
On Tue, 9 Apr 2002, Scott Fletcher wrote:
Is there a PHP code or function that would reverse the data in the
string?
Oh come on.
Is it really THAT hard to look at the manual?
There was a guy on this list a while back, when asked this
I am wondering if one or more of you can point me in the right direction on
this one.
Our company has intellectual property (legal forms) that is in the form of
a pdf. We want to sell this over the Web but a regular pdf is not secure and
it would allow users to make unlimited copies and have
On Tuesday 09 April 2002 21:50, Erik Price wrote:
[snip]
Note that some might consider this a perversion of functions, since
functions are intended to operate on input and return a value -- but
this is a convenient way of modularizing your display code, and I use it
a lot.
Not really.
Hello all
I need to reboot a FreeBSD 4.5-STABLE
computer using php + apache. I have a
small wrapper which runs the reboot
command as root, but it freezes half way
through and the box hangs.
I'm thinking that the reboot process is
killing apache, and in effect
On Tuesday 09 April 2002 20:23, Cirstoiu Aurel Sorin wrote:
You used first single quote and then double quote.
Replace
backup table table_name to '/var/lib/_backup/''
with
backup table table_name to '/var/lib/_backup/'
This should work.
Please let me know if that helped you.
This has
I have a clan database, and some clans use in their tags, my problem
right now it how the best way to print these as characters, and not code..
any easy suggestions?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a function that should count the amount of times a file is being
downloaded
first I want to have a redirect to the file in some way, and then for the
browser to go back to the local files page, it goes back to the files page,
but the file doesn't download...
Håkan
--
PHP General
On Tuesday 09 April 2002 17:20, Nick Wilson wrote:
Hi all
I've just moved host and I'm getting a very ugly PHPSESSID string
appended to my url's
This happens when php is compiled with the --enable-trans-sid option.
I know this can be fixed but can't remember how, my ISP is not so bright
htmlspecialchars()
Andrey
- Original Message -
From: Hawk [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 09, 2002 8:33 PM
Subject: [PHP] printing and ?
I have a clan database, and some clans use in their tags, my problem
right now it how the best way to print these
i have a script that makes a socket connection about halfway through the
page.
nothing on the page prints until the socket operation is finished, even if i
call flush() prior to the socket operation.
does anyone now of a way to force PHP to output the buffer prior to
executing the socket code?
A less elegant solution would be to do a string replace on insert
for the equivalent, for instance, acute; works fine in displaying a single
quote, but doens't throw off database querys with real single quotes in them,
so as long as you don't mind have that in your db, you could use the
On Tue, Apr 09, 2002 at 07:19:44PM +0200, Dave Raven wrote:
:
: I need to reboot a FreeBSD 4.5-STABLE
: computer using php + apache. I have a
: small wrapper which runs the reboot
: command as root, but it freezes half way
: through and the box hangs.
:
: I'm thinking
On Tuesday, April 9, 2002, at 01:19 PM, Jason Wong wrote:
Note that some might consider this a perversion of functions, since
functions are intended to operate on input and return a value -- but
this is a convenient way of modularizing your display code, and I use
it
a lot.
Not really.
dietrich wrote:
i have a script that makes a socket connection about halfway through the
page.
nothing on the page prints until the socket operation is finished, even if i
call flush() prior to the socket operation.
does anyone now of a way to force PHP to output the buffer prior to
I am also trying to access data on an AS/400 have you gotten it to work, if
so can you send an example? Thanks in advance.
Robert W. Collins II
Webmaster
New Orleans Regional Transit Authority
Phone : (504) 248-3826
Email : [EMAIL PROTECTED]
-Original Message-
From: Rance Hall
I don't know an answer to your first question, but I 'm currently
running PHP under Apache 2.0.35 and I could only get it work through apxs2
and only with the very latest PHP version (4.3.0-cvs).
Tried with 4.1.2, 4.2.0RC12 but the Apache 2 programming interface
apparently has changed (a lot)
PHP 4.1.2
SunOS web-unix1 5.7
apache_1.3.22
I'm trying to parse XML/XSL on a
shared box and I'm using :
$xslthandler = xslt_create() or die("Can't create XSLT handle!");
to test for sablotron. Unfortunately I
just get a "Call to undefined function" error which I guess means no - there's
You need to check if you have sablotron compiled in with php. If you need
the rpms you can get them from here:
http://www.gingerall.com/charlie/ga/xml/d_sab.xml
http://www.gingerall.com/charlie/ga/xml/d_sab.xml
Sablotron also needs javascript engine to run, you can get that here:
no tables. my test script prints a single string prior to the sockets code.
thx,
dietrich
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 11:12 AM
To: dietrich
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] sockets and flush()
I'm trying to bind a script to a machine. So, esentially, the script will
only be able to run on a system that it's told it can run on. The
information for this will be stored in some for of license file as data
encrypted by mcrypt and will have to be fairly easy to retrieve/create.
Can anyone
go download.com
get EditPlus
the trial runs up and still works without limit.
very cool program
Javier [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Is there any free app. for php coding? I tried komodo but I can't get it
to work in debug mode. Also tried
PHP 4.1.2
SunOS web-unix1 5.7
apache_1.3.22
I'm porting from WIN2000 to Apache/Unix and
having problems with the flock() function. The following :
$fd = fopen ($file, "r");if (flock($fd,
2)) {
...}
"if" statement never returns true...
any ideas?
I ask this here because PHP developers are notoriously famous for knowing
RegExp... the project in question isn't for PHP, but perhaps you can still
be a bit of a help?
I need help in formulating a RegExp that'll detect PO Box addresses... the
problem is the many different ways a PO Box can
Thanks Ray but what I need to know is if there is indeed a better way than what
I've tried to test if sablotron has been complied or not.
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Hunter, Ray [mailto:[EMAIL
Matthew Luchak wrote:
PHP 4.1.2
SunOS web-unix1 5.7
apache_1.3.22
I'm trying to parse XML/XSL on a shared box and I'm using :
$xslthandler = xslt_create() or die(Can't create XSLT handle!);
to test for sablotron. Unfortunately I just get a Call to undefined
function error
I'm a big Edit Plus fan as well. Really though, it's just a fancy text
editor with color coding and autocompleting, and IMHO the autocompleting can
get annoying fast. However I have yet to find anything better. Anyone know
of anything worth while?
-Original Message-
From: Joel Colombo
On Tuesday, April 9, 2002, at 02:44 PM, JSheble wrote:
I ask this here because PHP developers are notoriously famous for
knowing RegExp... the project in question isn't for PHP, but perhaps
you can still be a bit of a help?
I need help in formulating a RegExp that'll detect PO Box
Are you using ob_start () and ob_end_flush() ?
If not then declaring ob_start () as the very first ? ob_start (ob_gzhandler);
function call and ob_end_flush() where you want the string to output should do the
trick.
Matthew Luchak
Webmaster
Kaydara Inc.
thanks. did the trick. no sablotron. :(
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
You could use function_exists() to test if xslt_create() is a defined
function. If not, then error out. If so, carry on. It's not limited
to sablotron checking
On Tuesday, April 9, 2002, at 12:24 PM, Analysis Solutions wrote:
Yo Erik:
On Tue, Apr 09, 2002 at 11:39:31AM -0400, Erik Price wrote:
elseif (!empty($_POST['newpassword'])
!$user-set_password($_POST['newpassword']))
Your order of evaluation is correct. But, considering the password
1 - 100 of 160 matches
Mail list logo