If you need to bridge Perl and PHP, as suggested previously you
could implement a web-service (SOAP or XML-RPC). Alternatively,
you could write something Java bean and use PHP's Java support.
Either of those will be costly from a performance point of view
CORBA will be the same (from what I ha
Monique,
By default Debian does not come come with a recent JVM, due
to the non-free-ness of Sun's license.
So first thing is to see if you have any Java installed at
all... When you type `java` at a shell it should give you
an error about missing parameters... if you get the following:
Why not share a session DB across both servers?
Since your users disable cookies you'll have a url that looks
like this anyway: http://www.myPHPserver.com/index.php?sid=12345
if you wanted to maintain session state
so, when redirecting to the ASP server do:
header('location: http://www.myASPser
>>>
>>ServerName www.example.com
>>DocumentRoot /home/example/htdocs
>>php_value decryptionkey "123456789"
>>>
>>
>>encode your secret data using the decryptionkey
>>before hand, and then decode it on the fly using
>>the environment variable present in only in your
>>vhost.
>>
>>I'm hoping that
> Has anyone heard of the problem with MSIE 6? If this is a
> known problem; I'll have to perform some browser check to make
> sure I can gzip to that MSIE
> version 6 build (whatever) -- kind of a hassle.
>
> I just did a search on Technet, and could find no mention of it.
I've experinced si
> Has anyone heard of the problem with MSIE 6? If this is a
> known problem; I'll have to perform some browser check to make
> sure I can gzip to that MSIE
> version 6 build (whatever) -- kind of a hassle.
>
> I just did a search on Technet, and could find no mention of it.
I've experinced si
> maintain state accross requests. This is done in 3 different ways.
> 1. Cookies
> 2. URL Mangling
> 3. HTTP Authentication
#4 Passing a SID/Session info in hidden fields, but it means
you must push every page move through a submit (which can be
done with Javascript, image buttons, etc), dep
That was it... tried it and now the versions match,
many thanks!
On Fri, 10 May 2002 11:48:26 +0100 "Ford, Mike [LSS]" wrote:
> > -Original Message-
> > From: Garth Dahlstrom []
> > Sent: 09 May 2002 19:48
> >
> > Anyone noti
4.1.2, Build Mar 10 2002...
On Thu, 09 May 2002 21:09:12 +0100 Chris Hewitt wrote:
> Garth,
>
> You might have two versions (cgi and module)?
>
> Chris
>
> Garth Dahlstrom wrote:
>
> >Anyone notice this... when you do a
> > >phpinfo();
> >?&g
Anyone notice this... when you do a
you get "PHP Version 4.1.2", while my apache window
says "Apache/1.3.20 (Win32) PHP/4.2.0 running..."
-G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I'm trying to make the script below run, it is supposed to
print a message and then wait for user input and then print
another message and wait again.
Instead, what it is doing is waiting for all the user input to
be entered before printing anything, and once entered printing
all
> "php"
>- Re: [PHP] anyone using CVS for PHP dev?
>- Wed, 3 Apr 2002 19:07:33 +0100
>
>What CVS software do you recommend?
>
>Dan
If you're a Windows user:
- TortoiseCVS ( http://www.tortoisecvs.org/ ) is a nice windows client
that integrates with the file manager.
- CVS for NT ( ht
A perfect script to LEARN how to use PHP yourself...
here is some documentation to get you started:
http://www.php.net/quickref.php - PHP's function list index
http://www.zend.com/codex.php - PHP code gallery
http://www.phpbuilder.com/ - lots of articles on building things in PHP
Northern.CA ==
Chris,
I've done some stuff on my site in PHP... certainly not big name,
and maybe or maybe not cool depending on what you're into.
http://www.northern.ca/
(my yahoo like directory of links)
http://www.northern.ca/projects/phpwidgets/
(an semi-abandoned personalization engine... still coo
You could make use of style="overflow: auto (or scroll)" for a div
tag, if you are catering to IE5+ / NS6+ browsers.
I was playing with this trying to build a grid control, my web
server's down but here is some old code... within cells doesn't
work as I'd like, but scrolling the whole table is
I'm working on some PHP code to make it possible for a PHP
script to do "net send" messages.
Here's what I have so far, I've been successful sending
to localhost with it on a Windows machine.
If folks could try this out and make suggestions on how to
improve it, I'd be very appreciative...
4:05 +0100 Tomek Golembiewski wrote:
> Dnia czwartek 14 luty 2002 13:55, Garth Dahlstrom napisa³:
> > I'm wondering if anyone has a class to do a the equivalent of a
> > "net send" through PHP?
> If U got samba instaled on Your serwer U can
> always do exec(
I'm wondering if anyone has a class to do a the equivalent of a
"net send" through PHP?
Thanks,
-Garth
Northern.CA ===--
http://www.northern.ca
Canada's Search Engine
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
my two cents...
I used to work at a newspaper we used a very elaborate
caching system, it used to function at the at the
page subcomponent level (i.e. header, footer, left nav, articles
were all stored separately) AND page level. The page
subcomponents were cached together as pages. This w
AFAIK, you need the ScriptAlias line in your httpd.conf
if you are running PHP as a CGI...
Safer to run it as an SAPI module if you can and remove
that ScriptAlias line.
-GED
> "LaserJetter"
> - Re: PHP Security Alert for Apache/Win32
> - Sun, 6 Jan 2002 20:16:39 -
>
> Can
Folks running Apache/Win32 should read this:
http://www.securiteam.com/windowsntfocus/5ZP030U60U.html
If you run in CGI mode you likely have a line similar to the
following in your httpd.conf:
ScriptAlias /php/ "C:\php\"
Also, if you run SAPI mode (apache plugin mode) and used
to run CGI, make
If you don't like getting 50 messages a day, I suggest
using this list's digest mode, then you get 1 big message
with your daily dose of 50 messages tucked away neatly
inside. :)
> "Matt Moreton"
> - Re: [PHP] Holy Moly...
> - Thu, 3 Jan 2002 03:03:02 -
>
> If you dont mind do
I have no problems using fopen to open up a long
file name under Win2k Pro...
$fp = fopen("C:\WINNT\Temp\adodb_9002b91d2d52c10124c949e2b415a980.cache", "r");
I notice in the example you give your file has a trailing
space, not sure if that would throw things at all.
Have you tried using *$arr
My 2 cents...
I think "exit" should be fixed as you describe...
And I think "die" should behave as it does in perl
which is to print out whatever it is passed.
-Garth
--- Jani Taskinen
- Question: Should exit() print out the integer exit-status?
- Wed, 19 Dec 2001 01:38:39 +0200 (E
I'm wondering if anyone else is trying to run the SAPI
version of PHP on Apache for Win32 and hitting problems
with the include_path?
I'm running Win2K, if I set the include_path parameter
to any non-blank value I get an error as follows:
Warning: Failed opening '/apache/htdocs/helloworld.php
It seems that when I switched from running my PHP 4.1.0 from
running as a CGI to running as an SAPI on Win2K, I get the
error below on every page:
Warning: Failed opening '/htdocs/test/dir.php' for inclusion
(include_path='.') in Unknown on line 0
^^^--- After this message PHP stops w/ no log
> > datCurrent, intCurrentMonthDays and intWorkDays are local
> This didn't totaly help. This line I can't figure out:
> intCurrentMonthDays= Day[DateAdd["d",-1, DateAdd["m",1, datCurrent]]];
>
> Basically it gets the number of days in the current month, How to do
> in PHP?
Mr.Baseball,
have a
I've been using HTML-Kit for about 3 year,
it does highlighting for a boat load of languages,
supports scriptable plug-ins, remote file editing,
preview mode (using embbedded IE), and context
senstive help feature that will go pull up the php.net
manual page for php functions (and the Netscape o
On a *nix based system this type of error is caused by
the file permissions being wrong (like -rw- that
is only the owner can read the file, usually its set
to -rw-r--r-- so group and world can read the file too)
I don't know about IIS but you might investigate wheither
or not your everyone
Nick,
3 Things:
1) For a simple for loop, PHP, ASP, JSP, etc will all be
able to execute 2 (2000 x 10) iterations of a loop in less
then 1 on decent hardware (my home PC does locally)...
\n";
}
?>
The numbers you quote are absurd, it entirely depends
on WHAT IS INSIDE YOUR LOOP however.
Here is a an extract from some code...
Note that if you want to read more then
one thing from the user, you better not
close STDIN, cause you can only open it once.
Here's the code it may not work without
some fixing... dunno:
-? php
function Readln(&$INPUT){
// $fp = fopen("php://stdin
Of course the absolute safest way besides encryting
your PHP is to just store your state secrets in files
outside the web server's document tree.
i.e.
if your web server's document root is /var/www
then even if you screw up the web server config
and .php files are sent back unrendered all yo
Justin French:
> Hi,
>
> I know this is a biggie, but has anyone attempted to write a
> spell check (preferably english) in PHP?
>
> I'd LOVE something that can spell-check user-submitted text
> somehow, becuase I'm writing a fully dynamic news-based site,
> and the only downfall to the site
Some may be interested... This was released today.
XSpell is a spell checker for HTML forms. It is composed of a XML-RPC
based browser client written in Javascript and an XML-RPC service
implemented in PHP 4+.
Download at:
http://sourceforge.net/projects/xspell/
Demo at:
http://www.northern.ca/
es
> and times.
>
> $text = "This is a lotta
> text. How do you like that?";
>
> preg_match_all("/(\\S+)|(\\s+)/ms", $text, $array);
>
> echo "";
> print_r($array[1]);
>
>
> Garth Dahlstrom <[EMAIL PROTECTED]> wrote:
>
t;
>
>
>
> [This contanswhite space .][This contanswhite space
> .]
>
>
> Are you running php >= 4.0.5?
>
> jack
> -Original Message-
> From: Garth Dahlstrom [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 20, 2001 10:06 AM
> To: [EMA
aces!"]
'cause I could spell check based on trimming the entry.
-Garth
Northern.CA ===--
http://www.northern.ca
Canada's Search Engine
>
> But remark: \t (tabs) will also count as whitespace, but not \n and
> \r. See
> docu for more informations
>
> Hope, it
On Fri, 20 Jul 2001 09:32:00 -0400 "Jack Dempsey" wrote:
>
> $text = "This contanswhite space .";
> $matches = preg_split("/(\s+)/",$text,-1, PREG_SPLIT_DELIM_CAPTURE);
> echo implode('',$matches);
Nope that doesn't do it.
here's the test:
echo "[$text][". implode('',$matches)."]";
here
(\s+)?|",$test,$arr);
sigh... I dunno regex.
-Garth
Northern.CA ===--
http://www.northern.ca
Canada's Search Engine
On Fri, 20 Jul 2001 09:20:59 +0100 "James Holloway" wrote:
> try $wordarr = explode(" ", $string);
>
> James.
>
> - Origina
Hi all,
I'm trying to build a spell checker for a web form.
What has got me stumped is being able to do a split
so that whitespace and words are stored as seperate
elements of the same array.
ideally, I'd use some form of preg_split to put:
"This contanswhite space ."
into an array like
Kurt,
You might have some luck with adding [], I seem
to remember that making arrays for form posts,
so it might do gets too...
http://myhost/playlist.pls?song[]=100&song[]=101&song[]=102
and if you always end up with an array using [],
you might change the condition to
count($song) > 1 or s
Hi all,
I've been searching all over for a solution to get pspell
going... I managed to get 4.06 to build with pspell support
enabled, first I got an error about no dictionaries...
so I installed aspell - since I read there is a dependancy
of some kind between them, now I have a new problem.
42 matches
Mail list logo