But i don't know which php function will perform this task (Check filename
> from Right to Left).
>
> If you have any other suggestion, pls help me!
I think I would do something like this:
'.$file.'<\n>';
}
}
}
?>
Regards,
Johan
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Are U using php4apache2.dll ?
see to it that there is no space " " in the dir to the file.
have you copied all the necessary files???
"Nick" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
>
> Could someone please tell me or point me to some instructions on
7;t think they would have forgotten this function in that file.
Anyone got any idée's??? I kind of need that function to do multipages.
johan ekström [EMAIL PROTECTED]
http://www.dynamicduo.nu/
This is what you must do.
Copy Part
^^
copy php4ts.dll to c:\winnt\system32\
copy php4sapi.dll to c:\winnt\system32\
if you want any extensions, copy them to to c:\winnt\system32\
configuration part
^^^
in php.ini
¨
edit doc_root like : c:/Inetpub/wwwroot
ed
This is what you must do.
Copy Part
^^
copy php4ts.dll to c:\winnt\system32\
copy php4sapi.dll to c:\winnt\system32\
if you want any extensions, copy them to to c:\winnt\system32\
configuration part
^^^
in php.ini
¨
edit doc_root like : c:/Inetpub/wwwroot
ed
Okey...
Apache Installed, PHP 4.20 unzipped.
"c:\program files\other applications\internet\apache group\apache\"
"c:\program files\other applications\internet\php\"
I've added...
LoadModule php4_module "c:/program files/other
applications/internet/php/sapi/php4apache.dll"
AddType application/x
xt.dll?
>
> I assume that the message "Unknown on line 0" means that the
> php_gettext.dll 'needs' another dll to work??
>
> Does anybody have any suggestions for me to get the 'gettext' function
> to work?
Remember that you also need gnu_gettext.dll
http://
rver again.
Johan
> > -Original Message-
> > From: Jack [mailto:[EMAIL PROTECTED]]
> > Sent: August 31, 2001 2:13 AM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: [PHP-WIN] Can PHP and Java work together?
> >
> >
> > Dear all
> >
:
var jstitle = ;
Good luck,
Johan
Which World?
www.pongworld.com
-Original Message-
From: Jack [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 31, 2001 2:13 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] Can PHP and Java work together?
Dear all
I want to ask if i want to
e and up
to date as the code itself. But I must say that the PHP team is doing a
great job. There's not many opensource project out there in same high class
standards as PHP.
Have a nice day
/Johan
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROT
Hi Wayne,
Did you copy the files to C:\WINNT?
/Johan
> Hi all,
>
> Please help I'm a newbie to PHP stuff.
>
> When I try and view test.php, it keeps saying that it carn't find the
> dynamic librarys. In PHP.INI it has all the default values and file
> locati
Hi,
Try an upgrade to 4.0.6, it helped me with alot of problems...
Is it just one script running on the server? Coul'd it be that there's one
function/script that's not used more than once every 2-3 hours or so, and
that one has some bad functions/errors??
/Johan
> I have t
rtfm
Hi Ivan,
Take a look at:
http://httpd.apache.org/docs/mod/mod_dir.html
and
http://httpd.apache.org/docs/mod/mod_autoindex.html
You should be able to get it the way you want by that info.
/Johan
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
ut since I don't use COM that much...
/Johan
--
PHP Windows 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]
Hi
Have you tested it on more than one client/browser?
I dunno if it helps, but I've read there's a bug in IIS and cookies (I'm not
all that into IIS myself)
Look at:
http://support.microsoft.com/support/kb/articles/q176/1/13.asp
/Johan
"Iván Milanez Castellanos" <
Tjena Martin,
How did you set it up?
Where's the PHP doc that generates the error located?
What's in the script?
Did you check user rights?
/Johan
"Martin Skjöldebrand" wrote:
>
> I've installed PHP and MySQL on my Win2K Pro box according to
> a doc I g
Your'e correct.
When using PHP as ISAPI there's still problems with program execution
(exec, system et.c.) in ver. 4.0.6
CGI version still works better...
/Johan
BAMHA Mostafa Ftmms wrote:
>
> Hi all,
> I'm using the ISAPI version of PHP-4.0.6 on Win2K but the Exec
Pete,
Look at UPDATE or REPLACE (chap. 7.22 & 7.24 in MySql manual).
Then you might rewrite your SQL query to fit your needs.
/Johan
Pete Kuczynski wrote:
>
> I want to prevent duplicate entries into my mysql database which holds
> invertory of all network eqpt at my site. Engine
om/columns/mattias2105.php3
http://www.phpbuilder.com/columns/chad19990414.php3
/Johan
Jason Belletty wrote:
>
> Hi Everybody,
>
> I'm a php newbie - (best to warn you straight away!!!)
>
> How do I use session variables?
>
> In asp its just:session("somevariable
Have a look at "Program Execution functions" in PHP manual.
There you will find the syntax et.c. for exec(), system(), passthru()
that might be interesting to you.
Happy coding.
/Johan
"Alessio Bernesco Làvore" wrote:
>
> Well...
> I've to execute by the comm
Hi,
That's a tricky one... dunno if it really could be done without many
security issues and ugly workarounds.
I think you got it a bit backwards...
If I ask you like this:
What is it that you need in the batch file, that can't be done in PHP?
/Johan
"Alessio Bernesco Làvore&
Michael wrote:
>
> Dear Johan
>
> In answer to your questions
>
> A) I have restarted Apache
Good..
> B) I stored it in the htdocs file within the Apache installation directory
That's like "c:\program files\apache group\apache\htdocs\", ok?
> C) I was
Just to check the obvious
A: You have restarted Apache?
B: Where did you store phpinfo.php?
C: You have set "short_open_tag = On" in php.ini?
/Johan
Michael wrote:
>
> Please help
>
> I am having some serious problems. I have used a text editor to write the
> fo
ere's still possible
problems.
Program Execution functions work fine in Linux-PHP-Apache config (that's
where I use it) for app's that really need that functionality.
/Johan
>
> I could not get the result of perl script to my browser. I need help thanks.
>
> I use IIS + Win
he "Search Extensions" box and hit "GO", and there you
are...
/Johan
--
PHP Windows 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]
hen dealing with usernames and
passwords like this. They must never get exposed in anyway. Your most
dirty mind just can't imagine what people end up doing with it...
/Johan
Thomas Dedeyne wrote:
>
> Hello,
>
> I have a folder with some restrictions on. Now I want to give some p
Hi,
That's correct, since PHP cos() and sin() uses radians and not degrees.
This can be solved by first using deg2rad(). This would make your code
look like this:
$i = deg2rad(270);
print "cos:".cos($i);
print "sine:".sin($i);
cos:0
sin:-1
/Johan
Brad
U R right Zak, I'm a bit dizzy today, thanx.
--
PHP Windows 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]
This is a way of doing it:
$s = time() + 10;
for ($i = time(); $i <= $s; $i++) {
print $i;
}
Will run for about ten seconds...
/Johan
Brendan Gogarty wrote:
>
> hi,
> just wondering if there was any easy way to break/escape from a loop
> (for loop) if the loop exceeds a ma
Sounds to me like it might be the firewall messing things up.
Are the clients connecting with https? What's the workload on the
firewall?
You said that the web server is in the DMZ. Where are the clients? On
the Private or Public side of the firewall?
/Johan
"Asendorf, John"
priner.dll come out of beta stage?
I got this to work well on Linux, but can't get it to work my way in
Windoze...
Thanx
/Johan
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list ad
ouldn't recoment running it on Win9X platform. In
tesing/development environments you could replace DNS functionallity
with the hosts-file.
/Johan
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
quite easy to implement in NetWare, haven't got a clue about if
it'll work in Windoze.
Dunno if this might help you with any ideas...
/Johan
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
Get in contact with some SPAM people... they all seem to get it done...
afan wrote:
>
> Hi all,
> there is my problem: I have a large text file with a lot of email addresses included
>in text. I have to extract just email addresses from a whole text.
> What's the way to do that?
>
> Thanks for
server side development as the same thing, and that's
not true. Though Micro$oft often mislead people to that idea...
/Johan
Hmmm, that tended to be quite misspelled and long, sorry bout that...
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Have you checked the "extension_dir" in php.ini??
I got fed up with the path statements, so I simply put the dll's I need
in system32, and it works fine. Not a good lookin solution, but it works
in my test environment (in production we use Linux).
/Johan
macky wrote:
>
&
Hi there,
I'm lookin into some code a friend of mine wrote and we got in to this
arguement:
Is there any differens in performance when using "echo" vs "print"??
I belive print is, more or less, an alias for echo, he doesn't.
Someone got any answer to this???
/
Not sure, but it sounds like php_crypt.dll would do the trick.
Seth Cox wrote:
>
> Hey! I just installed PHP on my Sambar server. It works great but I have
> one question. While reading a book to learn the PHP scripting language,
> it talks about having the encrypt() and decrypt() options with a
'\\' LINES
TERMINATED
BY '\n'
Since you get the error:
MySQL said: File 'c:windowstempphpc021.tmp' not found (Errcode: 2)
you might see that it took away the backslashes?? If you don't know why,
take a look at php manual Chapter 6. Types and the page ab
Hi Giro,
You'll have to type c:\\Windows\\Temp\\phpC021.TMP
/Johan
Giro De Roover wrote:
>
> Hi everyone,
>
> I am experiencing problem with mysql trying to import a text file with data
> into a table, i am using phpmyadmin in order to do that, going to insert
> t
Yes Mike, but if it's a larger database you might wanna use the
functions in MySQL instead. Then you will save time and memory by not
selecting everything everytime and then process it in php.
Take a look at 7.4.9 in MySQL doc
(http://www.mysql.com/doc/M/a/Mathematical_functions.html).
/
This is normal when something is very wrong in php.ini
Check the syntax in all lines in your ini-file.
Ermanno Iannacci wrote:
>
> I get a strange error when i use php with Apache on NT4
> If i run phpinfo() i get this error:
> "Could not attach to the application
> win NT error code = 87"
>
>
Tom's answer is correct, but...
I just HAVE to comment on the security issue in allowing telnet access
at all. You should think more than twice before open up any system, in
any way...
You might wanna think SSH, firewall or maybe VPN... I dunno.
/Johan
Tom Mathews wrote:
>
> 1) C
In php.ini just enable LDAP in "Dynamic Extensions" section by entering
the line extension=php_ldap.dll and restart the web-server (if ISAPI
module) and off you go...
Joel Gilbert wrote:
>
> Thanks for the info. Just one more thing, is it possible to set up LDAP in
> PHP for Win2K & IIS, and if
se cookies to store the user
> preferences, but am I right in thinking that if they log on from another
> computer their settings won't be loaded?
Correct.
/Johan
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
test, want to use c:\\test\\test.exe, but gets the same errors
> */
> $hmm = system( $cmd );
> ?>
>
> T. SJM
>
> ps. I escaped the DIR C: => "DIR C:\" as well (\"DIR C:\\\"), even though
> it works without.
>
> Johan Huhtalo <[EMAIL PROTECTE
?>
Thanks for help.
--
Regards
Johan
--
PHP Windows 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]
47 matches
Mail list logo