[PHP-WIN] Files....

2002-03-29 Thread Todd WIlliamsen
Ok I made a content management intereface and I am trying to get it to open write the contents then close the file, but I keep getting this error: Warning: Wrong parameter count for fputs() in /home/sites/site9/web/demo/cms/savenews.php on line 4 here is the code: $EditorValue is the value of

[PHP-WIN] Parse error when using Javascript & php?

2002-03-29 Thread Todd WIlliamsen
Parse error line 117... there is no line 117..hehe!! I am thinking that PHP doesn't like IFrames, or Javascript, or maybe just me? Here is the code: Untitled Document BODY {margin: 0pt; padding: 0pt; border: none} IFRAME {width: 100%; height: 100%; border: none} // Default format is

Re: [PHP-WIN] Files....

2002-03-29 Thread Todd WIlliamsen
Thanks... it works!! "Darvin Andrioli" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > $filename = "/home/sites/www.ktjconsulting.com/web/demo/cms/cms.htm"; > > $fp = @fopen("$filename", "w+") or die ("Could not open File"); > > fputs ("$EditorValue"); <

RE: [PHP-WIN] Parse error when using Javascript & php?

2002-03-29 Thread Todd Williamsen
: Friday, March 29, 2002 1:05 PM To: Todd WIlliamsen; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Parse error when using Javascript & php? while ($row = mysql_fetch_array($result)) { $id = $row['id']; $news = $row['news']; echo "$news"; ?> Spot the missing clo

[PHP-WIN] Calling Windows DLL Files

2002-07-10 Thread Todd Williamsen
I don't know if this is possible, but I figured there is a small limitation on php The scenario... I have a client that wants his application revamped from MS Access to mySQL and PHP. Now, he is a doctor in an office and he scans patients information in. He wants the ability to click a but

[PHP-WIN] Re: Calling Windows DLL Files

2002-07-10 Thread Todd Williamsen
]... > > php can only call dll's on the server, not the client end (which is what > > I think your doctor wants?). > > > > Todd Williamsen wrote: > > > I don't know if this is possible, but I figured there is a small limitation > > > on php > &g

Re: [PHP-WIN] Re: Calling Windows DLL Files

2002-07-11 Thread Todd Williamsen
Luis, That is fine and dandy for anybody, but this needs to be idiot proof; meaning he has a bunch of girls maybe high school kids working there doing this stuff and if the wrong information goes into the wrong patients files he could get his ass in a sling legally. You are right, re-writing a s

[PHP-WIN] .php3 extension not being executed!

2001-10-23 Thread Todd Williamsen
What could be causing this? I am using Win2k with Apache thanks -- 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]

Re: [PHP-WIN] .php3 extension not being executed!

2001-10-23 Thread Todd Williamsen
g out the raw > source code then it's because you don't have > > ScriptAlias /php/ "c:/php/" > AddType application/x-httpd-php .php3 > Action application/x-httpd-php "/php/php.exe" > > in your apache conf file. > > Ross > >

Re: [PHP-WIN] .php3 extension not being executed!

2001-10-23 Thread Todd Williamsen
p3 to whatever file extension you want to be recognised and > treated as php files. (personally I use .php) Make sure that php4ts.dll is > copied to your winnt/system32 folder as well. > > We all learnt once. :) > > Ross > > > > -Original Message- > From: Todd

[PHP-WIN] Recommendations for books for beginners for PHP & mySQL?

2001-10-25 Thread Todd Williamsen
anyone have any suggestions? Thanks -- 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]

[PHP-WIN] Porting ASP to PHP

2001-10-25 Thread Todd Williamsen
I have an access database that uses ASP to access it, and I was wonder how would I port it over if its possible, or do I have to redo the code all over again -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: [PHP-WIN] Porting ASP to PHP

2001-10-25 Thread Todd Williamsen
Erik, Thanks for the help ASP does suck, why do you think I am making the switch to PHP? ASP is so limited and Microsucks limits everything! "Erik H. Mathy" <[EMAIL PROTECTED]> wrote in message 001c01c15d8b$40590e20$4200020a@erik_laptop">news:001c01c15d8b$40590e20$4200020a@erik_laptop... > Hi

Re: [PHP-WIN] Porting ASP to PHP

2001-10-25 Thread Todd Williamsen
Erik... Look! http://asp2php.naken.cc/ "Erik H. Mathy" <[EMAIL PROTECTED]> wrote in message 001c01c15d8b$40590e20$4200020a@erik_laptop">news:001c01c15d8b$40590e20$4200020a@erik_laptop... > Hi Todd! > > > I have an access database that uses ASP to access it, and I was wonder how > > would I por

[PHP-WIN] Content Manager PHP and WYISWIG?

2001-11-09 Thread Todd Williamsen
Anyone know of one that is PHP based that is CHEAP and easy to use? I have a client that needs to update ONE page and the cheapest one I found was $400! -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: [PHP-WIN] Content Manager PHP and WYISWIG?

2001-11-09 Thread Todd Williamsen
dreamweaver..I can send you all the scripts and images that go with it. You can try to integrate in you forms. >>> "Todd Williamsen" <[EMAIL PROTECTED]> 11/09/01 12:04PM >>> Anyone know of one that is PHP based that is CHEAP and easy to use? I have a client that n

[PHP-WIN] Database Login

2001-11-18 Thread Todd Williamsen
I am looking to do a login page where they would log into the database, but not show the database information... Its a mySQL database i.e. login page with usernam and password then it would bring them into a html page with a menu of items. I want the database to control the passwords. I have be

[PHP-WIN] Authentication Scripts

2001-11-18 Thread Todd Williamsen
I have been trying to use a script that adds users to the database and this is what I came up with, which DOES not work for some unknown reason: I have been having problems with your script, maybe its me, the hosting provider.. But I need to find out what is what. I have a DB called feminineforu

[PHP-WIN] Re: PHPDownload - platform differences?

2001-11-18 Thread Todd Williamsen
Just run Apache on Win2k... I do "Emil Chow" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have seen a program called PHPDownload that uses MySQL to store a download > database. Since the script is no longer supported, I just have some general > questions,

Re: [PHP-WIN] Authentication Scripts

2001-11-18 Thread Todd Williamsen
as 2 seperate variables, I'm > pretty sure when you 'post' the data, it passes them ALL as lowercase. > > Call them password1 and password2 and keep all the variables lower case and > see if it works > > Let me know > > Ross > > -Original Message-

[PHP-WIN] Julie Meloni's Modified Contact management script

2001-11-19 Thread Todd Williamsen
I cannot figure out why the mysql_query is not working. Everything id done according to Julie's book and I end up with the "Couldn't execute query" error Here is the script: http://localhost/show_addcontact.php";); exit; } else { session_start(); } if ($valid != "yes") { header("Location

[PHP-WIN] new problem... problem with Query...

2001-11-19 Thread Todd Williamsen
Here it is I get the error "cannot execute query" so there is something wrong with the SQL and I cannot figure it out... http://www.feminineforum.com/admin/pick_modcontact.php";); exit; } else { session_start(); } if ($valid != "yes") { header("Location: http://www.feminineforum.com/

Re: [PHP-WIN] new problem... problem with Query...

2001-11-19 Thread Todd Williamsen
uggest you try > > $result = @mysql_query($sql) or die ("Couldn't execute > query."); > > e.g. without passing the $connection parameter. Also, try using mysql_error > to get the actual error message. > > HTH! > > Olivier > > At 16:30 2001-11-19 -06

[PHP-WIN] UPDATE is NOT working.... I cannot figure out why

2001-11-20 Thread Todd Williamsen
Here is the code: http://www.feminineforum.com/admin/pick_modcontact.php";); exit; } else { session_start(); } if ($valid != "yes") { header("Location: http://www.feminineforum.com/admin/contact_menu.php";); exit; } else { session_register('valid'); } $db_name = "feminineforum"; $ta

[PHP-WIN] Re: PHP as ISAPI on IIS 5.0/win2k server

2001-11-20 Thread Todd Williamsen
Yes, I resolved it... run Apache... its easier to configure and more secure, not like IIS that has more holes than swiss cheese... then disable IIS "Laurent Protti" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > i've got a little problem, I try inst

Re: [PHP-WIN] UPDATE is NOT working.... I cannot figure out why

2001-11-20 Thread Todd Williamsen
No, it puts out the "or die" message of "Couldn't execute query" "B.A.T. Svensson" <[EMAIL PROTECTED]> wrote in message 27E647E5629ED211BF78009027289C6303681D4F@mail1">news:27E647E5629ED211BF78009027289C6303681D4F@mail1... > >-Origin

[PHP-WIN] Re: How do I create a win app that incorporates php's functionality?

2001-11-06 Thread Todd Williamsen
I have no idea why you are calling php.exe you should be, the web server should be. PHP is a server side scripting language. What is written VB and C++ that you need to use it? "Nobody" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi - I've been searching

[PHP-WIN] Getting form results and adding them to a htm file

2001-11-28 Thread Todd Williamsen
I have a WYSIWYG editor on a website so that my client can update one web page. Now the form has one text field where all the data is entered into. That text field name is "EditorValue" I created the following script to update the html page which is called "news.htm" I get the "Could not open

[PHP-WIN] Recommendations for websites and books

2001-11-28 Thread Todd Williamsen
I just whipped through Julie Meloni's "PHP Fast and Easy" book which was great for the intro to PHP, but I am hungry for more. I usually need by example and walk throughs to become profficient at development. Now I am ready for the next step.. Any recommendations for websites with tutorials, sc

Re: [PHP-WIN] Header() redirect

2001-11-30 Thread Todd Williamsen
If you need another option to redirect use the meta refresh tag in HTML, that is what I use. I set the time to 2 seconds or less "Mike Flynn" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Which session library files do you mean? Sessions should never create

Re: [PHP-WIN] IIS Lockdown Tool

2001-12-13 Thread Todd Williamsen
here is a another great IIS lockdown tool http://www.apache.org "George Pitcher" <[EMAIL PROTECTED]> wrote in message 00fc01c183ad$866d5ea0$[EMAIL PROTECTED]">news:00fc01c183ad$866d5ea0$[EMAIL PROTECTED]... > Warning: check that your non-'*.html' extension pages work after you've done > this. W

[PHP-WIN] What to do, what to do!

2001-12-13 Thread Todd Williamsen
I one of my sites does an online league for Madden football game. The Story of the problem: When a user reports a game that is played, the winner reports the game by choosing his name from a drop down selection box and also choses the loser from the selection box, he enters his password and the

Re: [PHP-WIN] What to do, what to do!

2001-12-13 Thread Todd Williamsen
I thought about that, but the problem is, what happens when the time expires and the loser doesn't report? "Michael Sims" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > At 08:02 PM 12/13/2001 -0600, Todd Williamsen wrote

Re: [PHP-WIN] What to do, what to do!

2001-12-13 Thread Todd Williamsen
Actually I have no idea where to start on something like this... This is going to be challenge! "Todd Williamsen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I thought about that, but the problem is, what happens when the t

Re: [PHP-WIN] What to do, what to do!

2001-12-13 Thread Todd Williamsen
Since there is a ranking system, and if the game doesn't get reported by the loser, should it be that the winner automatically gets the win? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

RE: [PHP-WIN] What to do, what to do!

2001-12-13 Thread Todd Williamsen
Damn, this is definitely uncharted territory, I just learned PHP about a month ago Thank you, Todd Williamsen, MCSE home: 847.265.4692 Cell: 847.867.9427 -Original Message- From: Michael Sims [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 9:18 PM To: Todd Williamsen

[PHP-WIN] Mathimatical equations in PHP

2001-12-27 Thread Todd Williamsen
Ok... I have a site that is for a football game and people play each other then report who is the winner and loser. Well, I want to inject some excitement a bit and do some stats, like Passing averages per game and rushing average per game. The problem is that it will need to make the total yar

Re: [PHP-WIN] Re: Real dumb newbie question...

2001-12-27 Thread Todd Williamsen
don't remove the html extension! Do this, this is from the Install.txt file Edit your php.ini file: You will need to change the 'extension_dir' setting to point to your php-install-dir, or where you have placed your 'php_*.dll' files. ex: c:\php If you are using OmniHTTPd, do not f

[PHP-WIN] Re: [PHP] PHP software tool

2001-12-27 Thread Todd Williamsen
PHPEdit I forget who its by... its nice, needs work, but what do you expect for free? "B.A.T. Svensson" <[EMAIL PROTECTED]> wrote in message 27E647E5629ED211BF78009027289C6302157DA9@mail1">news:27E647E5629ED211BF78009027289C6302157DA9@mail1... >So sprach »LaserJetter« am 2001-12-22 um 18:46:46

[PHP-WIN] Re: my site works well on WinME but Doesn`t work on WinXP HEEELLLLLPPPPP MEEEEEEEEE

2001-12-27 Thread Todd Williamsen
if you give system specs, it may helps us help you... what web server you using? "Aiquidie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I do not understand why? > > it works great on Win ME bu when I work on XP I get ""Supplied argument is > not a valid M

Re: [PHP-WIN] Mathimatical equations in PHP

2001-12-28 Thread Todd Williamsen
That is not what I was looking for, is there a function in PHP that does this? "B.A.T. Svensson" <[EMAIL PROTECTED]> wrote in message 27E647E5629ED211BF78009027289C6302157DB4@mail1">news:27E647E5629ED211BF78009027289C6302157DB4@mail1... > >I have a site that is for a football game and people pla

Re: [PHP-WIN] Mathimatical equations in PHP

2001-12-28 Thread Todd Williamsen
oring > >your values > >in a database such as MySQL, using built-in functions. See the MySQL > >manual (www.mysql.com) or whatever database for more on this. > > > >-Mike > > > >At 05:11 PM 12/28/2001 +0100, Svensson, B.A.T. (HKG) wrote: > >>I am kind of pes

Re: [PHP-WIN] Re: [PHP] PHP software tool

2001-12-28 Thread Todd Williamsen
Here: http://www.phpedit.com/ its still free "B.A.T. Svensson" <[EMAIL PROTECTED]> wrote in message 27E647E5629ED211BF78009027289C6302157DB5@mail1">news:27E647E5629ED211BF78009027289C6302157DB5@mail1... From: Todd Williamsen >PHPEdit > >I forget who its by.

Re: [PHP-WIN] Mathimatical equations in PHP

2001-12-28 Thread Todd Williamsen
Ok So to update a record lets say... I have a current value of 150 and the new value will be 250 now how would I total them to equal 400? I was thinking $sql = "UPDATE $table value1 = value1 + ? is that correct? how do you update it with simple math? -- PHP Windows Mailing List (htt

[PHP-WIN] Searching MS Word Docs

2002-02-08 Thread Todd Williamsen
I have an application in which I would like to search MS Word docs with PHP and I am assuming with COM to perform this. The Documents reside on a Linux box(for now). Now I want to be able to search these documents with keywords. Is this possible? Where do I look to do perform this? Will COM r

[PHP-WIN] Re: Searching MS Word Docs

2002-02-08 Thread Todd Williamsen
ression function. > > > http://www.php.net/manual/en/ref.regex.php > > Here is some help on regex's if you don't know already. > > Nicole Amashta > Web App. Dev. > www.aeontrek.com > > "Todd Williamsen" <[EMAIL PROTECTED]> wrote in message > [EMAIL

[PHP-WIN] Re: Searching MS Word Docs

2002-02-08 Thread Todd Williamsen
tual text in > ascii. You should - just an assumption - be able to open the doc with php > and read through the file doing a keyword search. > > Can't hurt to experiment with it. > > good luck, > Nicole Amashta > www.aeontrek.com > > > "Todd Williamsen"

[PHP-WIN] Re: Searching MS Word Docs

2002-02-08 Thread Todd Williamsen
;; > else > echo "The word \"name\" has not been found."; > > -- > > Again, go to php.net and look up all the possible ways to search strings. > > good luck, > Nicole Amashta > www.aeontrek.com > >

[PHP-WIN] Re: Searching MS Word Docs

2002-02-08 Thread Todd Williamsen
gt; ?> > -- > > Of course, you can modify this code to how you want your output to be. You > can also do a count to see how many resumes were found in the database that > have that word existing in the resume. And so on > > Need anymore help

[PHP-WIN] Re: Searching MS Word Docs

2002-02-08 Thread Todd Williamsen
"; /// $words = the search word(s) from the form > > > > if(eregi($keyword, $contents)) > >echo "The word $keywords has been found in the resume " . > > basename($filename) . ""; > >} > > } > > else { > >

[PHP-WIN] Re: Searching MS Word Docs

2002-02-08 Thread Todd Williamsen
I tried that too, and it returns nothing "Nicole Amashta" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > >>while ($row = mysql_fetch_array($row)) > > Sorry, that should be: > > while ($row = mysql_fetch_ar

[PHP-WIN] Re: Searching MS Word Docs

2002-02-08 Thread Todd Williamsen
here is the code: returns nothing, not even an error... the process is fast too, so I know it isn't doing anything... GRR! 0) { while ($row = mysql_fetch_array($result)) { $id = $row['id']; $FirstName = $row['FirstName']; $LastName = $row['LastName']; $filename = $row['ResumeUp']; $fd = fopen(

[PHP-WIN] Re: Searching MS Word Docs

2002-02-08 Thread Todd Williamsen
; > } > > > This is so you can at least see nothing is being found. > > > > "Todd Williamsen" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > here is the code: > > returns nothi

[PHP-WIN] Password Protecting a directory

2002-02-12 Thread Todd Williamsen
I have a variables.php file tha sets the username and password for the directory, and it seems like its not executing. the directory is recruiter/Admin and the file is put in there function error ($error_message) { echo $error_message.""; exit; } if ( (!isset($PHP_AUTH_USER)) || ! (($PHP_AUTH

[PHP-WIN] Re: Checking email

2002-02-12 Thread Todd Williamsen
Here is a script that actually connects to their mail server to see if its valid Your E-mail Address is required."); } // If the format of the e-mail address is incorrect elseif ($form_errors["Email_badformat"]) { echo("Please enter a valid e-mail address."); } // If the mail server

[PHP-WIN] Re: fsockopen via MS-Proxy authentification

2002-02-12 Thread Todd Williamsen
You are attempting to access the web port directly, is that the actual port of the proxy server? Try using the proxy server port # "Kriegers Horst" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > I wish to fetch an internet web page. > Oour intern

[PHP-WIN] Re: block and

2002-02-12 Thread Todd Williamsen
that would be a windows 2000 issue, not php. You would need to script something in Windows to disable after X amount of minutes. There is a policy editor in Windows 2k which may or may not allow you to time bomb a machine(not literally) "Baloo :0)" <[EMAIL PROTECTED]> wrote in message [EMAIL PRO

[PHP-WIN] Re: IIS equivalent to Apache's .htaccess files

2002-02-12 Thread Todd Williamsen
Well, I don't know why your project team leader states it has to be NTLM.. But, since I am a network Admin, I would check both to use Basic authentication AND NTLM, for those not using IE. Just check it when the Prject Leader isn't looking... hehe!!! "Manuel Lemos" <[EMAIL PROTECTED]> wrote in

[PHP-WIN] Getting PHP to behave with MS SQL Server 7

2002-02-13 Thread Todd WIlliamsen
Ok, I followed the instructions very closely, to what vague instruction there are. I umcommented out the .dll files and I get undefined variable for mssql_connect() Now there is barely any documentation on this and the tech support has gotten me ZERO results, I am hoping since this is a WINDOWS

[PHP-WIN] Re: Getting PHP to behave with MS SQL Server 7

2002-02-13 Thread Todd WIlliamsen
dll will > work with SQL Server 7.0 > > But you should be able to find that dll on the web somewhere. just do a > search for it. I'll see if i can find it too. > > Nicole Amashta > www.aeontrek.com > > "Todd Williamsen" <[EMAIL PROTECTED]> wrote

Re: [PHP-WIN] Loading DLL Extension

2002-02-14 Thread Todd WIlliamsen
where is the PHP directory located? is it j:\php ? if so leave the default to: ./ "Zach Curtis" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm not sure how I'm mixing two versions of PHP...how is that possible? > > The extensions are located in this pat

[PHP-WIN] Re: Frontpage 2000 and PHP

2002-02-14 Thread Todd WIlliamsen
What FrontPage functionality do you need from FrontPage? Try saving the page as .php and below it it should say "File Type" choose "All Files" If you are trying to use FrontPage's Bots, don't, you will just screw up PHP and the whole page. There will be errors all over the damn place. "Laure

[PHP-WIN] Re: Insert image into MySQL

2002-02-14 Thread Todd WIlliamsen
Can you just insert the location of the file instead of the whole image into the database? is there a reason why you are inserting into the database? How many images do you have or projected to have? "Sichta Daniel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]

[PHP-WIN] Re: .bat files for PHP

2002-02-14 Thread Todd WIlliamsen
Ziggi, Can you share your new found toy? There is probably other people out there that would like to know! "Ziggi" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Wow ! > > I registered a new file type (.phs, like PHP Script) as described in an > article on

Re: [PHP-WIN] Getting PHP to behave with MS SQL Server 7

2002-02-14 Thread Todd WIlliamsen
you should be fine. All you need is that php_mssql.dll which is appropriate > for MS SQL Server 7. > > I originally used 7 with no problems. But I've been using SQL Server 2000 > for over a year now. > > Nicole > www.aeontrek.com > > > > "Todd Wil

RE: RE: [PHP-WIN] Getting PHP to behave with MS SQL Server 7

2002-02-14 Thread Todd Williamsen
The SQL Server 7 is local so I don't need the client software. I looked at that so-called explanation, and doesn't explain anything -Original Message- From: Frank M. Kromann [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 11:41 AM To: Todd Williamsen Cc: [EMAIL

[PHP-WIN] Undefined Index....

2002-02-14 Thread Todd WIlliamsen
Warning: Undefined index: ReqNum in c:\inetpub\wwwroot\recruiter\show_job.php on line 25 What does this error mean? I get it from this code... $sql = "SELECT ReqNum, Industry, Other, JobTitle, Description, Location, Notes FROM $jobtable WHERE id = '$id'"; $result = @mysql_query($sql, $conn

[PHP-WIN] Re: how to run extern program in php?

2002-02-14 Thread Todd WIlliamsen
try this: exec(getenc("COMSPEC"). "c:\path\to\.exe\file"); "ÆÄ¶ûÀÚÀü°Å" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello there! > > Does anyone know about how to run extern program in php? > (windows,apache,php) > > I tried it using exec(), system() etc...

Re: RE: [PHP-WIN] Getting PHP to behave with MS SQL Server 7

2002-02-15 Thread Todd WIlliamsen
I found the problem... For some unknown reason, I cannot connect to the sample database Northwind. It doesn't like it, even if I am connecting as "sa" weird "Christoph Grottolo" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > | The first thing I would check