[PHP-WIN] Readfile() + mpg = http status 500, windows server 2012, php 5.5.1

2013-08-13 Thread james maisner
hi oli, i can confirm this if i use following command. one download one 500 [download.cmd] "C:\Program Files (x86)\GnuWin32\bin\wget.exe" --limit-rate=4 http://127.0.0.1/index.php did you find any solution? regards Hi List, i installed a blank Windows Server 2012 Standard, added Role IIS &

[PHP-WIN] Re: Need php_imagick.dll for PHP 5.4

2012-05-24 Thread James
and emailed the owner asking if they could post a version for IIS, which they did. -James On 4/14/2012 10:29 AM, James wrote: Hello, I need one more extension for PHP 5.4, Imagick the non-thread safe version for IIS. I tried the one from PHP 5.3, but it doesn't show up under phpinfo(); -Jam

[PHP-WIN] Need php_imagick.dll for PHP 5.4

2012-04-14 Thread James
Hello, I need one more extension for PHP 5.4, Imagick the non-thread safe version for IIS. I tried the one from PHP 5.3, but it doesn't show up under phpinfo(); -James -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: PECL HTTP Extension for PHP 5.4

2012-03-21 Thread James
On 3/21/2012 5:14 PM, Sergei wrote: On 22-Mar-12 2:05, James wrote: Well PHP 5.4 loads and runs, but the HTTP functions still don't get registered and I don't see the HTTP section in phpinfo(). I verified that Iconv and OpenSSL are enabled. Did I miss a dependency? I should probabl

[PHP-WIN] Re: PECL HTTP Extension for PHP 5.4

2012-03-21 Thread James
hread safe version, if it exists. On 3/21/2012 12:00 PM, Sergei wrote: On 21-Mar-12 20:13, James wrote: I am looking for a version of pecl_http.dll that is compatible with PHP 5.4. The version I found at http://downloads.php.net/pierre/ seems to only work for 5.3. Here, try this

[PHP-WIN] PECL HTTP Extension for PHP 5.4

2012-03-21 Thread James
I am looking for a version of pecl_http.dll that is compatible with PHP 5.4. The version I found at http://downloads.php.net/pierre/ seems to only work for 5.3. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PHP 5.3 SoapClient Stripping HTML special characters

2011-08-19 Thread James Crow
On Fri, 19 Aug 2011 21:12:21 +0100, Richard Quadling wrote: > On 19 August 2011 19:28, James Crow wrote: >> On Fri, 19 Aug 2011 17:30:27 +0100, Richard Quadling >> >> wrote: >>> On 19 August 2011 17:13, James Crow wrote: >>>> On Fri, 19

Re: [PHP-WIN] PHP 5.3 SoapClient Stripping HTML special characters

2011-08-19 Thread James Crow
On Fri, 19 Aug 2011 17:30:27 +0100, Richard Quadling wrote: > On 19 August 2011 17:13, James Crow wrote: >> On Fri, 19 Aug 2011 16:33:43 +0100, Richard Quadling >> >> wrote: >>> On 19 August 2011 16:16, James Crow wrote: >>>> Hi all, >>>> &

Re: [PHP-WIN] PHP 5.3 SoapClient Stripping HTML special characters

2011-08-19 Thread James Crow
On Fri, 19 Aug 2011 16:33:43 +0100, Richard Quadling wrote: > On 19 August 2011 16:16, James Crow wrote: >> Hi all, >> >> I am using the SOAP client to retrieve data from a web server. One field >> in the returned object is a text string that may contain embedded &

[PHP-WIN] PHP 5.3 SoapClient Stripping HTML special characters

2011-08-19 Thread James Crow
n has been stripped. So far I have been unable to find a setting that will leave this embedded character in place. Can someone point me in the right direction? Thanks, James -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Getting rid of bugs I never thought I would have

2010-06-28 Thread James Crow
turns it to the script. Something like: echo ""; Once the user clicks the button to select the data they want to view, PHP has no idea what species they were viewing. Thanks, James -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] serialize/unserialize and 32/64 bit integers

2010-05-03 Thread James Crow
32 bit Windows it becomes s:10:"261234". If I do the same from 64 bit Linux it becomes i:261234. Is there a way to force it to serialize as a string on 64 bit PHP? If it matters this is an index of an array. Thanks, James -- PHP Windows Mailing List (http://www.ph

Re: [PHP-WIN] Trouble running a select query against a database, when I know the connection is working, and the data is there

2010-04-22 Thread James Crow
seen barely mention this problem, if at all. Consider if someone had sent your script a URL like this: scipt.php?id='';DELETE FROM table tblLinks; If the user running the mysql_query() function had the rights to delete rows on the tblLinks table, the tblLinks table would be empty.

[PHP-WIN] Windows 2008R2 and LDAP connections

2009-12-15 Thread James Coffman
, James Coffman - Webmaster <http://www.cadc.com/> Central Arkansas Development Council email2 <mailto:webmas...@cadc.cc> webmas...@cadc.com phone501-778-1133 - Building Futures through community action -

Re: [PHP-WIN] Looking for code for an alphabetic menu in php

2009-05-22 Thread James Crow
e with the correct column name. Without resorting to some sort of client side scripting I am not sure you could select multiple letters to search on with simple HTML links. Cheers, James -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] printing on IIS7

2009-05-05 Thread James Crow
php.ini for command line versus apache instances. I don't know if Windows does the same thing. Cheers, James Paul Giesberts wrote: Hi, I have migrated a php site from Linux to windows. The only remaining problem seems to be printing, naturally I have had to change the code and that's

Re: [PHP-WIN] First PHP program not working

2009-04-29 Thread James Crow
encountered the same problem. Please help. nagrik. On Wed, Apr 29, 2009 at 8:29 AM, James Crow wrote: -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] First PHP program not working

2009-04-29 Thread James Crow
y are they important, and why no liteature mentions about them. Any help will be appreciated. nagrik. On Wed, Apr 29, 2009 at 4:32 AM, James Crow wrote: -- Thanks Nagrik favicon.ico http://en.wikipedia.org/wiki/Favicon.ico crossdomain.xml http://en.wikipedia.org/

Re: [PHP-WIN] How to access MySQL through PHP in windows 2K.

2009-04-29 Thread James Crow
extension_dir. In my php.ini the line looks like this: extension_dir = "c:\php\ext". Make sure the php_mysqli.dll file is in the directory listed in extension_dir. Thanks, James -- James Crow IT Manager ULTRATAN, Inc -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] First PHP program not working

2009-04-29 Thread James Crow
.log. First check to make sure that the test.php file is in the correct folder and then check the log files. Thanks, James -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Need help updating a whole column in one table from another table

2009-04-15 Thread James Crow
email. Do the same for the species table. Cheers, James -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Where to put class files?

2009-03-26 Thread James Crow
the machine and add it to the include_path in php.ini or put your calss files in one of the listed directories. Cheers, James -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Can't seem to transfer a dynamically chosen parameter to next page

2009-03-17 Thread James Crow
a more interactive page. The example with value{2,3,4} shows how to do static links and can be done only with PHP. Cheers, James On Tue, 2009-03-17 at 12:02 -0400, Zephaniah ha Levi wrote: > Why would you need JS to set the url for the link. Why could it not all be > done via php?

Re: [PHP-WIN] Can't seem to transfer a dynamically chosen parameter to next page

2009-03-17 Thread James Crow
nerate the page and create the links with the variable=value part already on them. i.e. http://somehost.com/page_two.php?variable=value";>value http://somehost.com/page_two.php?variable=value2";>value2 http://somehost.com/page_two.php?variable=value3";>value3 http://somehost.co

Re: FW: [PHP-WIN] Math Operator Problem?

2009-02-09 Thread James Crow
en the if/else loop runs 0 gets added to $lines and the result will always be the value of $lines. If you want the $total_time to increment with each line in the $fh2 file then you need to declare it outside the while() loop instead of inside the loop. Cheers, James -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Math Operator Problem?

2009-02-09 Thread James Crow
screen, all I am > getting is the same value as I have in the text file originally. Can > anyone on the list please give me some insight on what I am doing > wrong here? > Thanks in advance. > > > Alice > Alice, It might help if you posted a couple of lines from t

RE: [PHP-WIN] Simply not working

2009-01-15 Thread James Crow
I am still running Apache 2.0. I have the need to use PHP 4 at times to support legacy code (Zend Encoded so no source or way to port it forward). If not I would be running Apache 2.2. Cheers, James On Thu, 2009-01-15 at 09:25 +0100, Mario Brandt wrote: > Hi James, > why do you use Load

RE: [PHP-WIN] Simply not working

2009-01-14 Thread James Crow
I only have the php3 directive because I need to work with some old php code that has not been updated since 2005! Any modern php install should not need it. Cheers, James On Wed, 2009-01-14 at 14:52 -0500, Edward W. Rouse wrote: > After much searching and reloading, Apache started to disp

Re: [PHP-WIN] Simply not working

2009-01-14 Thread James Crow
lication/x-httpd-php .php3 PHPIniDir "C:/php" My php is installed in c:\php. You need to make sure you follow the php install instructions and copy the correct SAPI module to the C:\php directory. Cheers, James On Wed, 2009-01-14 at 12:19 -0500, Edward W. Rouse wrote: > Vista

Re: [PHP-WIN] there must be better way to handle "Null" undefined variables

2008-12-08 Thread James Crow
my_html_var']); } else { if (array_key_exists('my_html_var', $_POST) $my_html_var = $_POST['my_html_var']; } if (!is_set($my_html_var)) { // set our variable to a known value $my_html_var = 'somevalue'; } Cheers, James -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Why is the $todaydatestring data type displayed as Boolean?

2008-09-11 Thread James Crow
datestring is the response from setype() and not the type of the function. If you add this: echo "The data type of todaydate is ".gettype($todaydate); It will respond as you expect. Thanks, James -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] ini_set Problem

2008-08-22 Thread James Crow
and how can i solve this problem. > > > > regards > You could try to execute a phpinfo() call after the ini_set calls. That should print out all the php configuration so you can see if things are getting set correctly. Cheers, James -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Error Question!

2008-05-23 Thread James Crow
x27;"; The reason for the error is $project_results != $projects_results. Thanks, James On Fri, 2008-05-23 at 13:42 -0400, Matthew Gonzales wrote: > Hello Everyone, > > I keep getting this error: *Warning*: mysql_fetch_array(): supplied > argument is not a valid MySQL result resou

Re: [PHP-WIN] If Question!

2008-05-21 Thread James Crow
be a more precise check on the try variable. If I am not looking at the correct line please reply with the line that is having the problem. Thanks, James On Wed, 2008-05-21 at 14:20 -0400, Matthew Gonzales wrote: > Hello, > > So I am trying to create a web app using some if statement logi

Re: [PHP-WIN] Ok, next step/question

2008-01-11 Thread James Crow
That is correct. The session_start() command must appear in each script that needs to access the $_SESSION variable. Thanks, James On Fri, 2008-01-11 at 15:57 +0200, Jacob Kruger wrote: > Ok. Just realised that you might have meant that I need that > session_start(); statement on the

Re: [PHP-WIN] Ok, next step/question

2008-01-11 Thread James Crow
displays it as the content of the web page. This code is all from memory so it might have a bug, but it is how I got started working with session support in PHP. Thanks, James On Fri, 2008-01-11 at 12:26 +0200, Jacob Kruger wrote: > Now got that main page redirecting/spitting out the relevant

Re: [PHP-WIN] Can't get MySQL extensions to load

2007-12-10 Thread James Crow
ption for the mysql server (TCP port 3306). Thanks, James Since you said that you were using the newest PHP On Sun, 2007-12-09 at 00:11 -0500, Patrick Farley wrote: > Evening. > > > > I've installed the latest PHP using the zip files (not the installer) to my > Windo

Re: [PHP-WIN] Errors with urlencode and gzcompress

2007-12-06 Thread James Crow
($headers === FALSE || strlen ($headers) < 1) { return "FAIL could not read response content: $content"; } fclose($fp); //$return = array('headers' => $headers, 'content' => $content); $return = $content; return $return; }

RE: [PHP-WIN] Errors with urlencode and gzcompress

2007-12-04 Thread James Crow
Curl is an option, but I would rather not add an extension to 100 remote servers if possible. I was hoping to find a PHP native way. Thanks, James On Tue, 2007-12-04 at 13:29 -0600, Bill Bolte wrote: > Use Curl and pass XML... > > -Original Message- > From: James Crow [m

[PHP-WIN] Errors with urlencode and gzcompress

2007-12-04 Thread James Crow
this works sometimes and others not? Or can someone suggest a better way of passing data to a remote script. Thanks, James -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Re: W2003-IIS6 ignore safe_mode=0

2007-11-26 Thread James Crow
On Fri, 2007-11-23 at 12:36 +0100, Joaquín wrote: > Hello again. > > I have read that cmd.exe is involved > Now I have given privileges to IUSR_xxx on cmd.exe too and the return > value is 1. > > Before that, when ISR_xxx had only privileges on example.bat the return > value was -1. > > Does

[PHP-WIN] MySQL query error

2007-06-30 Thread James Blandford
e an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read=1 WHERE id='4'' at line 1 To me, this query looks perfectly fine, but obviously it isn't. Please can you tell me how to make it work. Chee

[PHP-WIN] MySQL query error

2007-06-30 Thread James Blandford
e an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read=1 WHERE id='4'' at line 1 To me, this query looks perfectly fine, but obviously it isn't. Please can you tell me how to make it work. Chee

Re: [PHP-WIN] Query Syntax - WHERE fieldname1='fieldvalue1' AND fieldname2='fieldvalue2'

2007-05-22 Thread James Crow
Often the error in the SQL statement is just before the part echoed in the error message. Check your $field_name to see if it has any special characters or a semicolon in it. Maybe something like: or this: echo "\$query = $query\n"; Thanks, James On Tuesday 22 May 2007 1

[PHP-WIN] formating a string

2007-05-12 Thread James Savage
i have a 12 digit code that i want to format as follows -- it is all numbers i tried using substr() to format it in this fassion $code = abcdwxyz8765; $string = array(); $string[] = substr($code,1,4); $string[] = substr($code,5,8); $string[] = substr($code9,12); echo $string[0],'-',$st

[PHP-WIN] Error With fsocketopen() Call

2007-05-09 Thread James Crow
print "socket opened"; } // End test code When I run the code above, this is the output: Bad file descriptor (9) Can anyone tell me what this error means? The server is provided by my ISP so I have no control over it. Thanks, James -- James Crow IT Manager ULTRATAN, Inc. 15 S

Re: [PHP-WIN] post thru fsockopen

2007-04-17 Thread James Crow
'method' => 'POST', 'header' => 'Content-type: application/x-www-form-urlencoded', 'content' => $postdata ) ); $context = stream_context_create($opts); $result = file_get_contents('http://example.com/subm

[PHP-WIN] PHP4 and DST Changes

2007-03-12 Thread James Crow
0 (i.e. not running in DST). Under Linux it returns 1. Is PHP4/Windows broken regarding the recent DST changes? Thanks, James -- James Crow -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] PHP, COM, and Date Type

2006-12-12 Thread James Van Lommel
thing like: $dt = variant_date_from_timestamp($timestamp); $vVal = new VARIANT($dt, VT_DATE); $this->param->AddCurrentValue($vVal); The last line throws a com_exception. Any one else come across this or have any hints as to how it can be worked around? - James -- PHP Windows Mailing List

Re: [PHP-WIN] Apache2+PHP5+MySQL4 --> mysql_connect fails, PHP5+MySQL4+CLI --> mysql_connect works

2004-11-10 Thread Steven James Samuel Stapleton
Fixed: For some reason Apache wanted a php.ini in the windows directory rather than in the PHP install directory. Explicitly set the PhpIniDir in the httpd.conf and fixed it. -Jim - Original Message - From: "Steven James Samuel Stapleton" <[EMAIL PROTECTED]> Cc: &

[PHP-WIN] Apache2+PHP5+MySQL4 --> mysql_connect fails, PHP5+MySQL4+CLI --> mysql_connect works

2004-11-10 Thread Steven James Samuel Stapleton
Relevant information: Windows XP Pro SP2 PHP 5.0.2 MySQL 4.0.21-nt Apache 2 PATH: C:\WINDOWS\system32 C:\c\WINDOWS C:\WINDOWS\System32\Wbem C:\WBP\php //PHP bin dir C:\WBP\Apache2\bin //Apache bin dir MySQL's bin dir is not in path I have tried calling mysql_connect(...) with PHP's p

Re: [PHP-WIN] Yet another MySQL+PHP5 issue

2004-10-30 Thread Steven James Samuel Stapleton
l file somewhere (this is different from libmysql.dll). I got mine out of the zip file for windows (not the installer). Place that in whatever directory you have specified as your extension directroy in php.ini. Good luck -- Adam Clauss [EMAIL PROTECTED] "Steven James Samuel Stapleton&qu

Re: [PHP-WIN] Yet another MySQL+PHP5 issue

2004-10-30 Thread Steven James Samuel Stapleton
;/". The error states that it cannot find "C:\WBP\PHP\php_mysql.dll" this time. (Note: it's a clean install on this machine) -Jim Stapleton - Original Message - From: "Michael Purdy" <[EMAIL PROTECTED]> To: "Steven James Samuel Stapleton" <[E

[PHP-WIN] Yet another MySQL+PHP5 issue

2004-10-29 Thread Steven James Samuel Stapleton
I am running PHP 5.0.2 and MySQL 4.0.21-nt the install directory (C:\WBP\PHP\) is in the path. The MySQL dir is not in the path. I am attempting to use the PHP shell/command line feature (rather than web server), however I get this result: --

[PHP-WIN] Cookies!

2004-10-07 Thread James Nunnerley
I'm trying to create a simple login script for user to the web application I'm writing. I previously wrote it for using PHP4 & Apache, however I've recently had to move to IIS5, and also upgraded to PHP5. [script] if (isset($_POST["username"]) AND isset($_POST["password"])) { $res=mysql_qu

[PHP-WIN] PHP5, IIS & MySQL

2004-10-06 Thread James Nunnerley
I've been asked to setup a webserver, which currently runs various ASP.NET stuff, with PHP ability, linking to a MySQL Db. I've always found it easy to configure PHP, MySQL etc on Apache, but never done it on IIS. I've followed the instructions on the PHP website, and can php display scripts; how

[PHP-WIN] Virtual Hosts - How to Configure

2004-03-29 Thread James
alternate or additional config that would allow virtual host (1) have smtp = host1domain.com and virtual host (2) have smtp = host2domain.com? Any help is appreciated. James -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] NEWBIE - Installing php on MySQL

2004-02-26 Thread James Thomas \(Newbie\)
Hi there all, I have managed to get php to run on Apache server on one pc but I have spent 5 Days now trying to install it on another. I have tried so many different ways and variable of install it and still know joy. Can anyone provide an 'Idiot's Installation Guide' (Not that I wish to install a

[PHP-WIN] NEWBIE: Is this consistant of bad PHP install?

2004-02-21 Thread James Thomas \(Newbie\)
Have spent the best part of twoo days trying to get PHP 4.3.4 to work on Apache 1.3.29. I have followed various different installs. Basically I have a test page in htdocs called test.php If i call http://localhost/test.php i get a 404 file not found. Is this consistant of a bad PHP install? --

[PHP-WIN] Problem in windows

2003-06-14 Thread James Stanley
Hello, I just installed php/mysql on my windows machine, now when I try to run a script I get this: Use of undefined constant s_UID - assumed 's_UID' in c:\inetpub\wwwroot\php_test\inc\session.php And then some Undefined variable: s_UserInfo. Any thought why could this be? Than

[PHP-WIN] PHP Math

2003-01-13 Thread James Meers
Simple question, what is the function for doing simple MATH calculations? For example: 10 + 10 James -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Writing to a text file

2003-01-10 Thread James Meers
Hi, I want to create a sort of log/text file, everytime I run a query or something I would like to write/append it to a text file. Does anyone know what function I can use for this? Or even any examples? Cheers James -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP-WIN] php_ming

2003-01-07 Thread James Lobley
There's a good list at http://www.kromann.info/php4.php James I like nonsense ~ it wakes up the brain cells. Fantasy is a necessary ingredient in living. It's a way of looking at life through the wrong end of a

[PHP-WIN] Re: Running php in a .html file under iis5.0

2002-12-08 Thread James Gramosli
t; wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > try to tell them tahts a bad idea. proformance wise. why send every html > file to the php parser if its not needed... > > "James Gramosli" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]&quo

[PHP-WIN] Running php in a .html file under iis5.0

2002-12-08 Thread James Gramosli
Hi all, I've just picked up a good client and for some reason the setup they have on their web server is to run php in a .html file... I've found out how to do this under apache, but how do you config IIS 5.0 to run php in every html file? Any help would be greatly apprecia

[PHP-WIN] Windows 2000, XP and ME difference

2002-12-04 Thread Ray, James A
I am running PHP and MySQL on the following platforms;Windows 2000, XP and ME and I am finding that the same code does not work. Can some one please explain this to me? It fails on the connect string every time. Is there a reason for this? Windows 2000 = No work XP = No work ME = Does work

[PHP-WIN] Memory leak

2002-11-11 Thread James Pharaoh
ng my hair out as php has had to be disabled and I need it for a fair bit of my site... Thanks in advance! James

RE: [PHP-WIN] date format, php, mysql

2002-11-07 Thread James Meers
Hi, You can use something like this: $todaydatetime = date("Y m d G:i"); That will translate into: 2002 11 07 18:12 or if you want to us 12hour clock try this: $todaydatetime = date("Y m d g:i"); That will translate into: 2002 11 07 6:12 (changed G (hour, 24-hour format without leading zer

RE: [PHP-WIN] MySQL Query

2002-10-25 Thread James Meers
Ok, solved that problem, can anyone help me on my last query, i need to select categories that are not the following id's, this is what i have: select * from category_table where catid ! in ('2','4') Can anyone help me? James -Original Me

[PHP-WIN] MySQL Query

2002-10-25 Thread James Meers
i want to update a field and add an array, this is what i have so far, however it doesnt work, can anyone help? update user_table set categories in ('5','6') where userid='1' James

[PHP-WIN] Mail

2002-10-23 Thread James Meers
ng for to rectify this problem? CHeers James

RE: [PHP-WIN] Re: Sessions

2002-09-17 Thread Opere, James
Or simply create a folder under C called tmp i.e 'C:\tmp' and you will done. J.Opere -Original Message- From: Ernani Joppert Pontes Martins [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 8:57 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Re: Sessions Try to config in ph

[PHP-WIN] RE: JpGraph Bug report

2002-09-05 Thread Opere, James
I've solved the problem. The other question is: Is there away in which one can generate a given number of lines or bars dynamically because I tried the code attached but could not pick the other lines as in line 3 unless I write everything as in line 1.I'm trying to generate graphs using data fr

RE: [PHP-WIN] Capturing IP Address

2002-08-28 Thread James Meers
Im new to PHP, so I don't know what you mean here? -Original Message- From: Richard Black [mailto:[EMAIL PROTECTED]] Sent: 28 August 2002 13:14 To: James Meers; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Capturing IP Address _SERVER["R

[PHP-WIN] Capturing IP Address

2002-08-28 Thread James Meers
How would I capture the IP address of a user coming to my site and then, putting that information into a database? Jambo

RE: [PHP-WIN] Query within Mail Function

2002-08-20 Thread James Meers
getting a list of all new users. I need to know how to put the list into the message part of the mail function? Jambo -Original Message- From: DL Neil [mailto:[EMAIL PROTECTED]] Sent: 20 August 2002 17:12 To: James Meers Cc: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Query within Mail Function

[PHP-WIN] Query within Mail Function

2002-08-20 Thread James Meers
ly is wrong, does anyone know if its possible, if so, what is the right way of writing it?? Cheers James

[PHP-WIN] Upgraded to PHP 4.2.2 and completely lost all GET and POST variables

2002-08-16 Thread james daily
e not getting assigned the data being passed. QUESTION: has anybody else run across this and what was the resolution? - James Daily Phone : 816 943 9891 Email : [EMAIL PROTECTED] (or hit reply button) Web : http://tellmama.com/ Philo

[PHP-WIN] Java and PHP

2002-08-09 Thread Opere, James
Title: Message Hi all, I have installed the latest version of java  which is j2sdk 1_4_1_0 instead of  Jdk 1.1.8, PHP version 4.2.2. I tried configuring Java to work with PHP  and it works once like a miracle and the next trial  I still get an error below when trying to run a scrip for an

[PHP-WIN] Java and PHP

2002-08-09 Thread Opere, James
Title: Message Hi all, I have installed the latest version of java  which is j2sdk 1_4_1_0 instead of  Jdk 1.1.8, PHP version 4.2.2. I tried configuring Java to work with PHP  and it works once like a miracle and the next trial  I still get an error below when trying to run a scrip for an

[PHP-WIN] Java and PHP

2002-08-01 Thread Opere, James
I have installed Jdk 1.1.8, PHP version 4.2.2. I tried configuring Java to work with PHP but I still get an error below when trying to run a scrip.   Fatal error: Unable to create Java Virtual Machine in c:\phpdev\www\java.php on line 2    The script is a sample script to test if php is

[PHP-WIN] PHP Cookie

2002-07-31 Thread James Meers
Does anyone know how to create a cookie that doesn't expire? Jambo -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Accessing Network Shares and Mapped Drives

2002-07-17 Thread James Mclean
0 Server. Cheers James Mclean -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Forward

2002-07-16 Thread James Mclean
Jul 2002 06:39:31 -0700 (PDT) "João Paulo Batistella" <[EMAIL PROTECTED]> wrote: Regards, James Mclean -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] form variables ... back to the same page ?????

2002-07-10 Thread James Mclean
ell that if thats possible > > i ve been searching for the thing thru php.net but to > no use Regards, James Mclean "Increased knowledge will help you now. Have a mate's phone bugged." -- /usr/games/fortune -- PHP Windows Mailing List (http://

[PHP-WIN] Php graphics

2002-07-02 Thread Opere, James
could have gone wrong. I installed office XP and from then I got into the trouble especially whenever I include the class 'jpgraph_lineplot.php'. Could anybody help with ideas? Without the line plots, things are working well.   Opere James. -- PHP Windows Mailing List

[PHP-WIN] filemtime()

2002-06-30 Thread James Mclean
Hi, Anyone know if the function filemtime() is available in php, running under IIS 5 on Windows 2000 Server? (i hate windows, why cant the world use Unix?) Cheers -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] PHP and Cookies

2002-06-24 Thread James Meers
Hi, Does anyone know any good PHP reference/learning sites for understanding how to use Cookies with PHP? Cheers Jambo

[PHP-WIN] IIS/PHP

2002-06-18 Thread James Mclean
umber is entered in the text field. Does anyone know why this may be the case? (other than using windows...) Regards, James Mclean -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Not a PHP problem, it's a MySQL problem

2002-06-18 Thread James Meers
Sorry, its not a PHP problem, it's a MySQL problem. I am trying to do a MySQL query below: select top 10 * from table order by record_number desc However, I am getting the following error: You have an error in your SQL syntax near '10 * from table order by record_number desc' at line

[PHP-WIN] RE: [PHP] PHP version 4.2 and above

2002-06-05 Thread Opere, James
--- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 10:20 AM To: Opere, James Cc: PHP Windows Discussion List; PHP General Discussion List Subject: Re: [PHP] PHP version 4.2 and above On Wed, 22 May 2002, Opere, James wrote: > I have aproblem with php >= 4.2.

[PHP-WIN] Form Problem

2002-06-05 Thread James Meers
Hello, I have this form and its just not picking up the submit variable however it is posting them!!! Can someone double check this, what have i done? James \n"; } if (isset($submit)) { mysql_query("INSERT INTO $nta

RE: [PHP-WIN] Re: Passing Variables

2002-05-24 Thread Opere, James
table or select field, count(id) from table group by field Check your query, Nicole Amashta www.aeontrek.com James Opere wrote: > Hi All, > I'm trying to pass variables from one form to the other.I have a problem > when i want to do the the following: > 1.COUNT($variable)

[PHP-WIN] Passing Variables

2002-05-23 Thread Opere, James
Hi All, I'm trying to pass variables from one form to the other.I have a problem when i want to do the the following: 1.COUNT($variable) 2.DISTINCT($variable) . I realise i can not use the brackets in my query and the variable be recognised.When i add COUNT without the brackets i stil

[PHP-WIN] PHP version 4.2 and above

2002-05-22 Thread Opere, James
Hi all. I have aproblem with php >= 4.2.I'm working on graphics but when i install php4.2, i get an error that it doesn't support GD library. Is there anybody who has any idea as to how it can be possible to use the above versions and still run my scripts successfully? Currently i'm using phpdev4

[PHP-WIN] PHP and JavaScript

2002-05-21 Thread Opere, James
Following the ChainedSelectors example, i've been able to populate fields popup menu using a table selected from the database. Now i want to populate more than one fields popup menus.This should enable me select more than one field from the same table and pass them as variables to be used in the n

[PHP-WIN] UPDATE not working???

2002-05-10 Thread James Mansfield
scription = '$description', Amount = '$amount', PaidBy='$paidBy', ReImburse='$reImburse', ReIMburseDate='reImburseDate', Note = '$note' WHERE id='$id'"; Thanx in advance James -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] PHP and Java

2002-05-03 Thread Opere, James
e-From: Sandeep Murphy [mailto:[EMAIL PROTECTED]]Sent: Thursday, May 02, 2002 1:06 PMTo: 'Opere, James'; [EMAIL PROTECTED]Subject: RE: [PHP-WIN] PHP and Java hi,chk out the following in ur PHP.INI file... the php_java.dll file shud be enabled and also chk out the config u

Re: [PHP-WIN] printer_set_option

2002-05-02 Thread James Earl
I gave that a try and it still didn't work for me. I noticed in the PHP documentation, one individual wasn't able to use printer_write() in Win98. Is it possible that the printer_set_option() isn't working in Win98? I've also tried re-arranging in other ways, and also simplifying the code so i

[PHP-WIN] PHP and Java

2002-05-01 Thread Opere, James
I have downloaded JDK1.1.8 and installed on a windows platform.The problem is that when i copy a script, paste and try to run as a .php which has some java in it, i get an error i.e Fatal error: Cannot instantiate non-existent class: java in c:\phpdev\www\phpjava.php on line 5 The script is as b

  1   2   >