I've always used:
fopen("C:\\dir\\dir\\file.txt");
on windows, I'm not sure how PHP interprets the slashes internally
though...
Nate Tobik
(412)661-5700 x206
VigilantMinds
> $theFile = fopen("docs/InstallationInstructionMaster.txt", "rb") ||
die;
--
PHP General Mailing List (http://www.php.n
Google uses Java also:
http://java.sun.com/developer/technicalArticles/J2SE/google/limoore.html
Nate Tobik
(412)661-5700 x206
VigilantMinds
-Original Message-
From: Gustavo Narea [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 10, 2005 10:25 AM
To: php-general@lists.php.net
Subject:
Are you running apache in a sandbox, I know on OpenBSD this is the
default behavior for Apache. If this is the case then you need to copy
the required libraries inside the sandbox.
Nate Tobik
(412)661-5700 x206
VigilantMinds
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTE
You have to show us the definition for your class, also your syntax for
new is wrong. It should be:
$liveclass = new Test();
Nate Tobik
(412)661-5700 x206
VigilantMinds
-Original Message-
From: John Taylor-Johnston
[mailto:[EMAIL PROTECTED]
Sent: Friday, October 21, 2005 7:57 AM
To: ph
I would approach this problem in one of two ways
1. put all the values from the Java User object into PHP variables and store
those in the session. You might have to deal with serialization issues as
mentioned below, but I think copying to PHP would get rid of this issue.
2. It almost sounds l
We never had any luck with PHP 5 and IIS, we downgraded to 4. PHP 5
would crash on us randomly like you said. I have not tried 5 in a few
months so I'm not sure if it's been fixed.
Nate Tobik
(412)661-5700 x206
VigilantMinds
-Original Message-
From: Ben Duffy [mailto:[EMAIL PROTECTED]
We have a few apps which were written in ASP (VBScript) that we needed
to port to PHP. For a few pages I went through and converted everything
ex:
<%if a = 10 then%>
to
line by line..
After finishing a page or two like that I realized that was not the best
way. The problem with using a convert
I've never looked into some of the open-source load balancing solutions,
but I know they exist are are out there. The F5's I mentioned are
probably around $20k each, and you need two obviously, so if you're on a
limited budget those are not the solution for you. I'd google for open
source load ba
Does your load balancer support sticky sessions? What this means is a
client will make a request and the request will be sent through a load
balancer. That LB will remember the client and always point the
client's requests to the same webserver. This way you don't have to
write your own session
Have you tried PHP 4.x? Give that a shot and see what effects that has
on the application.
We have used PHP with IIS and SQL Server like you said, I can say from
experience that PHP 5 had the same problems as the initial poster
described. The pages would time out and hang randomly. I put a
..
As long as we are doing stats;
For an internal app our source code alone is 2MB zipped, using SQL
Server, over 30 databases, about 1000 stored procedures, all tied
together with PHP...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Here is a php class for Active Directory:
http://adldap.sourceforge.net/
Nate Tobik
(412)661-5700 x206
VigilantMinds
-Original Message-
From: xfedex [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 11, 2005 2:41 PM
To: php-general@lists.php.net
Subject: [PHP] PHP and Active Directory
Can I ask why you are trying to write a script that from what I
understand goes to each box to retrieve the data instead of pushing the
data to the central db?
You could write a little script in PHP that gathers the required
information and then does an insert into your database. Then from the
Have you ever considered using the Java class within PHP using something
like the PHP-Java bridge? Here is a link for the bridge, PHP can call
the Java objects natively. It's pretty cool.
http://php-java-bridge.sourceforge.net/
I would use the bridge in a few situations:
1. The Java c
Have you checked out FreeTDS? We use FreeTDS to connect PHP on Linux to
SQL Server 2000. Best of luck.
Nate Tobik
(412)661-5700 x206
VigilantMinds
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 03, 2005 10:47 AM
To: php-general@lists.php.ne
This seems to be the best option of the one you presented. If you start
duplicating data you will have a situation where your data will get out
of sync eventually. You can have a lookup table with the keys to the
items that belong to website two, just look in the lookup table to get
your key, the
We stopped using OUTPUT parameters with PEAR because of this limitation.
I could never figure out how to get it to work. We use SQL Server, and
the OUTPUT parameters do infact work with the generic mssql functions in
PHP. Best of luck.
Nate Tobik
(412)661-5700 x206
VigilantMinds
-Original M
Hi,
We run PHP with SQL server no problems here. You never
mentioned it so I thought I would, if you're running on Linux you need
the FreeTDS library installed on the machine. If you are running on
Windows you need the SQL Server client tools installed on the machine
that PHP is on. Hop
rder all they want, then
submit the page once. I then take the list of items in the new order
and submit them to the DB.
Best of luck...
Nate Tobik
(412)661-5700 x206
VigilantMinds
-Original Message-
From: Graham Anderson [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 24, 2005 2:29 PM
To
I've used drag and drop row ordering before. The only PHP I used was to
read a record set and write it out for the different items. The piece
of code I used worked with JavaScript and html. Basically there was a
large div, and each element inside of the main div was a div. It
grabbed the onclic
Not exactly clear what database you're using. In SQL Server the syntax
is
SELECT [options]
FROM [table]
WHERE [field] LIKE '%whatever value you're looking for%'
The % means any string of characters, so it doesn't have to be exact
Best of luck
Nate Tobik
(412)661-5700 x206
VigilantMinds
-O
21 matches
Mail list logo