Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Is It Possible To Authenticate Users Running Apache On MacOS X (with PHP 4) And An Active Directory On Windows 2000 Or Windows XP?


From a PHP webpage, is it possible to authenticate users running Apache on MacOS X (with PHP 4) and an active directory on Windows 2000 or Windows XP?




View Complete Forum Thread with Replies

Related Forum Messages:
Authenticating Users From Windows Active Directory From PHP Code
I want to authenticate users (defined in an Active Directory Service
running on a Windows 2000 Server machine) from PHP Code running under
Linux (Fedora Core 3 with Kerberos 5 installed). I just want to find
out whether a particular user (with a given username, password
combination) exists or not. Then I will login that user into my
intranet application (developed on PHP under Linux).

View Replies !
Authenticate Portal Users (php) In Active Directory
I would like to authenticate portal users (php) in Active Directory (Win
Server 2003). (right now php authenticates them on radius). If somebody has
codes or articles about php + AD .

View Replies !
Why I Cant Setup Apache In Windows 2000
i can install apache in windows 2000 professional
but when i was to install it in a LAN it cant run correctly
when i type http://localhost/ in browser i recieve The page can not find
why?

View Replies !
Configuring Jpgraph On Windows 2000+Apache+PHP+MySql Server
Could someone walk me step by step on how to install and get JpGraph
running on a Windows 2000+Apache+PHP+MySql server?

View Replies !
Access Active Directory (of WINDOWS SERVER 2003) Via LDAP
I want to read user information from the microsoft windows 2003 server.

In the windows server 2003, i've create a domain, called "wissenskolleg".
I've assigned a password to it.

Now, i want get access to the Active Directory with PHP.

My code:

$ds=ldap_connect("wissenkolleg.com");
$r=ldap_bind($ds,"administrator","psword");

Always I've get the following error message: warning: ldap_bind(): For
Unable ton bind tons of servers I've found out, that $ds always return: Resource id #2 If i changed "wissenkolleg.com" in "whyitis", it is all the same, i've can only read: Resource id #2 and the same error with ldap_bind.

View Replies !
Set Php Up On Apache Running On Windows.
Has anybody wrote a script or coded anything to set php up on apache running on windows.

View Replies !
Having Problems Running Some Files On Apache For Windows
I am running Apache 2 for windows and have PHP installed and working fine on the server. However, some of the php scripts and programs i have do not use the <?php starting tag, the use <? instead, and as a result of this, the script does not execute.

Can anyone tell me how i can configure apache to allow both <?php tag and <? aswell?

View Replies !
Ms Sql Serveur 2000 On Windows 2000 !!!
I've an error with php & win 2000 & ms sql serveur 2000! listen, i've write an program with win xp easyphp1.7 and ms sql serveur 2000 all is ok on localhost ! all i use some store procedures , triggers and so on all will be ok on local ! Code:

View Replies !
Authenticate Windows
I posted a question in ASP forum but I really want to know your opinion in PHP because I'm more familiar with PHP than ASP. I have a windows 2003 stand alone server. In this server I have some windows accounts and they all have passwords.

Now I have to create an intranet website on this server (IIS) My question is how can I use accounts/password on the server to authenticate user through an PHP page? Users have to enter their identity and the webpage log username and the time they login.

View Replies !
Intranet - Authenticate Using Windows Credentials?
I've just about finished an intranet app that allows users to sign in and out, track their time, show a calendar view of time worked, vacation days used, calculates overtime, etc. My backend is mysql and I'm currently authenticating against a users table that I threw together. The problem with that is another set of u/p's for users. I can import a list of everyone's windows login info, but then it's in two places and I have potential sync issues and maintenance that I'd like to avoid.

My question is this: are there any environment variables that capture the windows login info in PHP (the server will be running on windows, not *nix)? For example, if I login into my workstation as djf / password1, rather than having that information also stored in a mysql table, is there any way to access those values without the user typing them in again? I'm not that familiar with windows environments, but based on the research I've done, using LDAP and Active Directory might be a possibility? I have no idea how to do either.

View Replies !
Windows 2000 Problems
when I open IE and enter in "http://localhost" I get:

"The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings."

blah blah blah....

Then, when I click the Personal Web Manager icon in the Admin tools, I get this error:

"Error connecting to servernamehere: Unexpected error 0x80074002 occurred. Do you wish to continue to attempt to connect to it in the future?"

View Replies !
PHP On IIS Windows 2000 Server
I've downloaded the latest PHP (EXE & ZIP)....

I followed all the instructions I can find and yet PHP will not work with
my IIS !!

Can anyone talk me though exactly how to get them working together?

View Replies !
Installing Php On Windows 2000
I've just installed php on windows 2000 with a pws. How can I test it to see if it's installed correctly.

View Replies !
Installing On Windows 2000 Iis 5
for some odd reason the installer program doesn't set the file extension
..php to be associated with anything, my guess is that it should be
php-win.exe (i've tried all 3 .exe files, and the php.exe produces the
correct results in a command window)... when running a .php in IE I can see
it execute in task manager but the IE screen will not change to display the
correct info.. anyone have any idea about this? IE settings wrong or
something?

View Replies !
Use Gettext In Windows 2000
How can i use gettext in windows 2000. problem in compile .po file. how can i make the .po file. tell me in detail step by step. also unable to find msgfmt.exe, libiconv.dll, libintl.dll to compile .po file in windows.

View Replies !
V4.0.2 And Exec() In Windows 2000 / IIS
Are there any tricks to getting the exec() function to work under
Windows 2000 with IIS? PHP v4.0.2 is installed on the server.

View Replies !
Problems With MS-SQL, Apace, PHP On Windows 2000
I want to use PHP for a project at work. This project requires Windows 2000 running Apache and accessing MS-SQL Server 2000. I am using the mssql php extension to access the db and have all the required files to access the db. If the environment was not correct, it shouldn't connect and successfully query int data types.

Everything works fine as long as I query for numeric datatypes such as int. However, every single time I try to query a text, char, var or datetime field, Apache crashes and I get a Windows error dialog saying that an error is being logged. Unfortunately, there is no error logged to either the Windows 2000 Event Log or the Apache log.

I love PHP and would really like to be able to use it for this project rather than JSP or ASP on IIS.

If anyone knows why this is crashing the server, I'd greatly appreciate any advice or help.

By the way, this is an enterprise-wide database so switching to MySQL is not an option.

View Replies !
How Can Windows 2000 Be Shut Down/ Restarted Via PHP?
How can windows 2000 be shut down/ restarted via PHP?

View Replies !
EGroupWare - With Windows 2000 Install
using Apache, PHP and MySQL on my own PC - been using
it for a while on ISP hosted servers and plesk to create oline forums using
things like Invision and PHPBB but decided to give running eGroupWare a go
on my own PC.

I have windows 2000 Pro and followed some online tutorial to the letter
(excpet downloaded the very latest version of MySQl, PHP, etc) to install
Apache, PHP and MySQL and all worked fine.

Now downloaded eGroupWare and put it in the c:web folder and ran the setup
file

but when I go to my browser and tpye:
http://localhost/egroupware/login.php

I get the following below can anyone point me in the direction of what it
all means??

Warning: main(C:/php/phpgwapi/setup/setup.inc.php): failed to open stream:
No such file or directory in c:webegroupwareheader.inc.php on line 102

Warning: main(): Failed opening 'C:/php/phpgwapi/setup/setup.inc.php' for
inclusion (include_path='.;c:php4pear') in
c:webegroupwareheader.inc.php on line 102

Warning: main(C:/php/phpgwapi/inc/functions.inc.php): failed to open stream:
No such file or directory in c:webegroupwareheader.inc.php on line 110

Warning: main(): Failed opening 'C:/php/phpgwapi/inc/functions.inc.php' for
inclusion (include_path='.;c:php4pear') in
c:webegroupwareheader.inc.php on line 110

Warning: main(C:/php/phpgwapi/inc/xml_functions.inc.php): failed to open
stream: No such file or directory in c:webegroupwareheader.inc.php on
line 111

Warning: main(): Failed opening 'C:/php/phpgwapi/inc/xml_functions.inc.php'
for inclusion (include_path='.;c:php4pear') in
c:webegroupwareheader.inc.php on line 111

Warning: main(C:/php/phpgwapi/inc/soap_functions.inc.php): failed to open
stream: No such file or directory in c:webegroupwareheader.inc.php on
line 112

Warning: main(): Failed opening 'C:/php/phpgwapi/inc/soap_functions.inc.php'
for inclusion (include_path='.;c:php4pear') in
c:webegroupwareheader.inc.php on line 112

Fatal error: Call to undefined function: createobject() in
c:webegroupwarelogin.php on line 26

View Replies !
Exec() Function Under Windows 2000 With IIS?
Are there any tricks to getting the exec() function to work under
Windows 2000 with IIS? PHP v4.0.2 is installed on the server.

View Replies !
Installing Php4 On Windows 2000 Webserver
Is this possible? If so, how do I do it exactly? All I can find is tutorials on how to install it on Apache. If anyone knows the answer can you please help me? I'm desparate. Thanks in advance.

View Replies !
PHP5 Installation With MySQL, Windows 2000
Why I still have "undefined function error" messages?


I included path c:php to my windows env.
Edited php.ini file: include directory value. removed comment mark
from extension=php_mysql.dll
copied libmysql.dll to system32 directory
Apache2 runs fine.
I can run phpinfo.php
I can create a database into the MySQL.

View Replies !
Include PEAR DB Framework Using PHP 5.0.4 On Windows 2000
Get the following errors when trying to include PEAR DB framework using
PHP 5.0.4 on Windows 2000 with Apache 2.

Warning: main(PEAR-1.3.3/DB/DB.php) [function.main]: failed to open
stream: No such file or directory in E:Program FilesApache
GroupApache2htdocsservusincludesinclude.php on line 19

Fatal error: main() [function.require]: Failed opening required
'PEAR-1.3.3/DB/DB.php' (include_path='.includes;.') in E:Program
FilesApache GroupApache2htdocsservusincludesinclude.php on line 19

The include_path config variable looks like this:
include_path = ".includes;."

PHP is installed in
e:php-5.0.4
and the PEAR Class defs are in
e:php-5.0.4includesPEAR-1.3.3DBDB.php

The includes that fail are:
include_once("PEAR-1.3.3/DB/DB.php");

These worked with 4.4.0, but fail with 5.0.4 ...

View Replies !
UPDATE Command Is Not Working On MySQL, Windows 2000 Server
Hi all,

I encountered mysterious problem with MySQL and PHP.

UPDATE command is not working on MySQL configured on Apache 2 with Windows 2000 Server.

It pulled my hairs for atleast 5 hours.

MySQL says Affected rows: 0 (Query took ~ sec) always?

Now, I've decided to move all PHP files and db to remote server.

Can anyone suggest possible reasons for above errors?

View Replies !
Running PHP On Windows XP
I installed Apache/MySQL/PHP on Windows XP. There was one problem. Microsoft IIS 4 or higher was defaultly selected for MySQL. It did not work. When I double-click a PHP file, a lightning-fast MS-DOS window opens and closes. When I go to start, then go to run, then type "cmd", then type the PHP file path, I take a long time to see what happened.

I want my PHP file to work on my browser offline just like uploading and visiting my PHP file on a web host with my browser online. In other words, I want the interactivity of my site to happen in my computer. How can I do that?

View Replies !
Mcrypt Lib Running Under Windows
I need to use encryption functions with php, such as mcrypt_generic(), mcrypt_decrypt(), etc I have placed libmcrypt.dll in my windows/system32 directory. I can now encrypt, but not decrypt. The code I use to encrypt / decrypt functions under Mac OSX + Linux, but not Windows.

View Replies !
Possible To Check To See If Windows Process Is Running From PHP?
I need to check the state of a processes from within a PHP script on a
Windows machine. All I need to know is whether or not the process
exists (i.e., is running). Anyone have any ideas?

I searched the archives and found proc_open(), but if it can do what
I'm trying to do, I can't figure out how.

View Replies !
Running PHP Scripts From The Command Line Under Windows
I was wondering if anyone has ever tried running PHP scripts from the DOS command prompt. Any insight would be appreciated.

View Replies !
Running A Windows Command Line From A Web Page
I have a web page on an intranet, i need to run a command in the local windows run from the webpage. for example when you press a button button on a webpage it has the same effect as running cmd from the run prompt on the local machine. Anyone know how to do this?

View Replies !
How To Set Up Apache And Php On Windows XP.
Just wonder if there are any sites with a guide on how to set up apache and
php on windows XP. Would like to test my php-pages locally.


View Replies !
PHP/Apache/Windows
I am running a Win 2000 professional machine on my desk
(unfortunately). I use Apache/PHP for test purposes, for running a
little intranet server, and I am going to have a student help me with
some coding.

Is there anything like the "nobody" id in UNIX where I can set apache
to run where it can't do too much damage?

View Replies !
Apache On Windows Xp Pro
I have installed apache and php on windows xp pro according to the directions in the blog design solutions book. I did all the changes in the php.ini file as well as the http.conf file. Restarted my computer.

When I try to start apache with the windows services it tells me that this is not a ms program and I can't run it.

If I try to start it with the apache start I get the following error: Cannot load the c:/php5/php5apache2.dll

(there are still other things to install, however I need to get this working first before I proceed any further)

I have went over this numerous times and checked all the code on the files and all appear to be ok. If anyone has any suggestiosn I would sure appreciate some guidance on this.

View Replies !
Apache+php On Windows
I just installed apache (latest good version) for Windows in:

C:Program FilesApache Software FoundationApache2.2htdocs

therein, in that directory, I have test.php.

In C:Program FilesApache Software FoundationApache2.2confhttpd.conf, at
the end of the file, I have:

ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"

I restart the apache server, but when I go to look at localhost est.php, I
get:

You don't have permission to access /php/php.exe/test.php on this server.

View Replies !
How To Link A New Windows When Users Click The Button.
how to link a new windows when users click the button.

View Replies !
Need Help Uploading To Windows XP With Apache And PHP
I am currently trying to upload images to a Windows XP box running PHP and Apache. I have gone through
every possible scenario in the forums but with no luck I just can't get it to upload. Here is the basics
in the script that I am using.

$dir = "C:wwwrootwebsitedb".addslashes($property_id)."photos";

if (!file_exists($dir))
mkdir($dir, 0777);

if (($thumbnail == "image/pjpeg") || ($thumbnail == "image/jpeg"))
@copy($thumbnail, "$dir/$thumbnail");

<form method="post" action="/listings/upload/?pictures/0272-2JH/" enctype="multipart/form-data" />
<input type="hidden" name="property_id" id="property_id" value="0272-2JH" />
<input type="file" class="formupload" name="thumbnail" id="thumbnail" size="32" />
<input type="submit" class="formbutton" name="upload" id="upload" value="Upload" />

I have checked permissions, file sharing, registered globals off and on, directory structure
and so on.. Now I am able to create the folder photos if it doesn't exist, but it just doesn't
allow for me to upload the picture itself..

HELP

View Replies !
Php From Windows To Linux/Apache
I want to write php3-files in windows and then transfer them to a Linux-machine to run them on an Apache. Is it possible?

View Replies !
Windows/Apache And Virtuelhosts
I still haven't been able to configure Apache (latest release) so that it handles virtuelhosts proberly. I want Apache to server files from /contra and /tekk depending on what server is called. How do I do that? I have looked at the Apache documentation and applied the changes to my httpd.conf that it suggests. Didn't work.

View Replies !
Installing PHP 5.05 On WIndows XP, Apache 2.0.54 -
Hi Im trying to install PHP 5.05 on Windows XP running Apache 2.0.54

Apache is running fine and ive made all the changes to the pnp.ini file
and Apache config file, restarted Apache but all I get when trying to
call my test.php file is a 404 error?

http.config file:
LoadModule php5_module "C:/php/php5apache2.dll"
PHPIniDir "C:/php"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

set my php.ini doc-root file to :
doc_root = "C:Program FilesApache GroupApache2htdocs"

Ive followed all the FAQs on php.net , added c:/php to the Path etc

View Replies !
IIS Vs Apache On Windows 2003
I would like to request more information for the installation and
configuration of Apache in windows 2003 and I would like to know which
is better IIS or apache in Windows 2003 Server

View Replies !
Php Module For Apache (windows):
How can I get PHP working under windows, with Apache web server?
Where can I find the module? I suppose that I need to install a module like
in Linux...

View Replies !
Windows Apache Mysql
I have to extract 3 tables out of a .db (previously bzip2'ed). I am on a windows machine with apache php and mysql.

How can I import / create a database on my pc out of the .db file i have. Can I import / create through mysql query browser?Or how should I do this?

View Replies !
Apache 2.0.54, Windows 2k, And 5.0.5 - Do The Work Together
I have installed apache 2.0.54 and php 5.0.5 on my win2k box. However, it does not appear the php is working properly. I base this on the following code(which I got from a book): Code:

View Replies !
Newline And Tab Not Working In PHP 5.0.3 | Apache 2.0.52 | Windows XP Pro
The following examples (see PHP 5 for Dummies, p. 82)
do not produce the expected results:

$string = "Hello
World";
echo $string;

and

$string = "Line 1
Line 2";
echo $string;

The first instance is for a line break such that the words are stacked:

Hello
World

The second instance is for a line break with a tabbed second line:

Line 1
Line 2

Do I need to change or add something in one of the configuration files?
Otherwise, is there a known fix for this?

View Replies !
Apache,MySql,PHP On Windows Vs. Linux
Crazy (possibly dumb) question here...
I have a site running apache, mysql, php in a Win2K environment.
Primary development is that env also. I also am setting up a linux box
(old laptop), to begin playing with Linux. I'd like to set it up
similiary with apache,mysql, php.
If I do that, and start doing some development there (Linux box) - can
I expect that when I move the php code to the windows box that it will
behave similarly as it did on Linux?
Anything to watch out for? I'm completely new to Linux...

View Replies !
FTP Doesn't Work - Windows / Apache
I am stumped after trying to invoke a variety of FTP commands and getting nowhere.

First off: I am using PHP 5.2.3 with Windows and Apache 2.2. I checked phpinfo and the following parameters apply:

- allow_url_fopen is "on"
- ftp support is "enabled"

I have tried a range of scripts including those using the FTP extension and have also tried using filesystem commands and the FTP wrapper. Either way, I haven't been able to make a connection or retrieve any data ... either my browser hangs, or the server simply returns an empty page.

I've begun to wonder if there's some parameter in my Apache httpd.ini file that is blocking connectvity. Any thoughts?

View Replies !
Error Reporting; 4, Apache 1.3, Windows XP
i recently upgraded from Windows 2000 to Windows XP and now i can't seem to get error reporting to work in PHP.

i don't know if i've simply forgotten how to do it, or if there's a bug associated with XP, but i absolutely cannot get PHP to display any errors in my browser. it's driving me nuts. Code:

View Replies !
Trouble With MySQL/Apache On Windows
I've just picked up the most recent versions:PHP - 5.2.0RC6-devMySQL - 5.0.26Apache - 2.2.3but I appear to be unable to get the mysql/mysqli extension to work.

After ensuring that the path is correctly set, and all the relevant configuration lines are in place, I am able to restart apache cleanly, however the mysql/mysqli extensions are NOT being loaded.

I've noticed that certain other extensions do not load mcyrpt and mhash being two notable ones I regularly use, however gd2 and gettext both load correctly. Code:

View Replies !
Is It Possible To Restart Windows Apache (service) On A PHP Script?
Is it possible to restart Windows Apache (service) on a PHP script?
i have installed PHP/Apache on a Windows machine. Added the ext windows32
service. But could not find any how to or information online.

View Replies !
PHP 5.0.4 With Windows XP - Trying To Do File Zip Utility Causes Apache 2.0.53 To Crash
Has anyone had any luck with file zipping utilities for PHP 4-5 and Windows XP with Apache 2.0.53?

Following is my code snippet: ....

View Replies !
Incomplete Output Using Apache, MyAdmin In Windows
I'm running PHP 4.3.9, Apache 2.0.52 (running PHP as a module, not CGI), and MySQL 4.0.20 in Windows XP Professional.

It's been running great. I noticed something with PHPMyAdmin though. As part of the instructions for installing PHP as an Apache module, you need to add/edit the http.conf file Code:

View Replies !
How To Enable Apache Server And Disable Iis In Windows XP
i have installed php and mysql in my system.now i want to install apache server.Can any one tell me whether i have to disable iis and then enable apcahe server.

View Replies !
Phpbb Directory Permissions On Windows?
What should the directory permissions look like on the various folders in a typical phpbb install? I was looking at a server today that had phpbb installed on a box with IIS installed on it and many of the folders had read,write and modify flags set for the IUSR_MACHINENAME account. Im thinking this should be changed to read-only.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved