[PHP] xml parsing

2001-03-14 Thread Jon A
please help me... I'm working with some simple xml parsing. in my xml document i have a tag like this: billede img="theme/bg.gif"/billede which holds the path of a picture. in the xml parser i'm trying to output it as an img src="" tag, but nothing seems to work. some of the things i have

[PHP] Working with files

2001-03-20 Thread Jon
It is a newbie question about working with local files. I just want to know if it posible to open and modify a local file (I mean that it is located in the local hard disk of the client machine) or because of security reasons it is only posible to open and modify it when the file resides in the

[PHP] PHP Authentication

2001-03-25 Thread Jon
Hi, I have read that for using PHP authentication I must be able to user variables such as $PHP_AUTH_USER that are only avaible when PHP is installed as a module. On the other hand I am using APACHE 1.3.17 with PHP 4.04 and I have configured Apache with the following lines: ScriptAlias /php4/

[PHP] Retrieving environment variables

2001-03-29 Thread Jon
Hi, I am using Apache 1.3.19 for Win32 and PHP 4.04 as a module. I would like to retrieve, as a variable, the user name loged in the W2000 domain. Running PHPINFO() function e it does not display USERNAME variable so I do not know how to accomplish this task Thanks -- PHP General Mailing

[PHP] W2000 Domain UserName

2001-03-29 Thread Jon
I am using Apache 1.3.19 for Win32 and PHP 4.04 as a module. I would like to retrieve, as a variable, the user name loged in the W2000 domain. Running PHPINFO() function e it does not display USERNAME variable so I do not know how to accomplish this task Thanks -- PHP General Mailing

[PHP] Retrieving W2000 username as a PHP variable.

2001-04-02 Thread Jon
I am using Apache 1.3.19 for Win32 and PHP 4.04 as a module. I would like to retrieve, as a variable, the user name loged in the W2000 domain. Running PHPINFO() function it does not display USERNAME variable so I would like to know if there is other alternative to accomplish this task. Thanks

[PHP] Global Variables

2001-04-03 Thread Jon
Hi, I need to retrieve some information from a database, asociated with the user session so I could query this information whenever I want through the user session. I am searching for something similar to ASPs global variables if there is anything equivalent with PHP. Thanks -- PHP General

[PHP] '' and \ - How do you avoid removing these?

2002-01-29 Thread Jon
Okay, I'm trying to read in a form with and ' in it. The problem is that PHP automatically changes these to \ and \' without asking :( If I read in a file with or ' in, it's fine and outputting to the screen is no problem. It's only when I read in from a form that a problem appears. All I want

[PHP] Swapping BR for \n... ?

2002-01-29 Thread Jon
I'm processing a form but all the functions I've found on the web only seem to add the BR after the \n. I need to remove the \n altogether - anyone know how I can kill the \n and put a BR in it's place? Cheers, Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] Re: Swapping BR for \n... ?

2002-01-29 Thread Jon
Nevermind, I found some code at last which actually works : $txt = preg_replace(/(\015\012)|(\015)|(\012)/,BR,$txt); Jon [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'm processing a form but all the functions I've found on the web only seem to ad

[PHP] Programming Methodology Question

2002-04-01 Thread jon
it easier to upgrade when we release new versions. Is that problematic, to have a php file that large? (I mean, I know it's not THAT big.) Should I break it into separate files, maybe just make a folder replaceable? Thanks, -- jon - jon roig jon at jonroig.com project

[PHP] PEAR vs. ADODB

2002-04-01 Thread jon
libraries? What do you think? -- jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] A simple javascript problem

2002-06-25 Thread Jon
interprete the? correct. Is there anything really basic here Im missing... /Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Buy Sell

2002-06-27 Thread jon
I have one: http://jonroig.com/freecode/openrealty/ -- jon - jon roig project manager openlistings -Original Message- From: César Aracena [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 1:50 PM To: PHP General List Subject: [PHP] Buy Sell Hi all

[PHP] PHP browser uploads = PASV?

2002-04-16 Thread jon
Hey... does anyone know if browser uploads via PHP are a PASV connection? If so... is there a way to accept PASV connections behind a firewall, like in Wu-FTP? Thanks... -- jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP browser uploads - server behind firewall

2002-04-16 Thread jon
for that server's IP address -- which, as you know, is for the internal network. Any tips as to how to get this to work? -- jon -Original Message- From: Andrew Brampton [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 12:50 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject

[PHP] Querying Oracle from PHP

2002-04-19 Thread Jon
Hi, I am evaluating if it is posible to connect Oracle 8i from PHP, running a PL/SQL procedure and returning the results, avaible in a temp table, to HTML. Besides, I need to format the results of the query in PDF document and make a pie chart based on he results of the contents of the table

RE: [PHP] What does PHP stand for?

2001-08-28 Thread Jon
Hmm although the answer was Personal Home Page Tools and is now Hypertext Preprocessor when people ask me, I say Pre-Hypertext Processor Its the same meaning, and puts the letters in the correct order, so as not to confuse people. -- PHP General Mailing List (http://www.php.net/) To

[PHP] Legal advice

2001-09-21 Thread Jon
Hi, We are working with PHP MYSQL, and we would like to publish some information that we have with MS ACCESS and MS EXCEL, and altough I know that it is posible to connect an access database using ODBC from PHP, however I don't know if it is legal to do this without having to pay licenses to

Re: [PHP] Re: Lists are back up

2001-06-19 Thread Jon A
I use Eudora, and it works fine for me, filtering on Cc lines. what I do: To: contains : [EMAIL PROTECTED] or Cc: contains : [EMAIL PROTECTED] transfer to: I/want/it/here Hope it helps Jon A At 22:43 18-06-01 -0500, David VanHorn wrote: At 12:01 AM 6/19/01 +0200, Alexander Skwar wrote: So

[PHP] Telnet and PHP

2001-06-30 Thread jon
I was doing some research on creating a webbased telnet client and I am unsatisfied with Java applets. I would like to create a server side telnet client, so the user side is only required to have a working web browser that supports HTML. Thus, I turned to PHP. I found one example, but it does

Re: [PHP] Telnet and PHP

2001-06-30 Thread jon
Instead of performing a send for each stroke, the user code type in a whole string in a text box, and then submit that string. I have found this code at http://www.phpbuilder.com/mail/php-general/2001051/1479.php: ? error_reporting(-1); class Telnet { /* (c) [EMAIL PROTECTED] */

[PHP] .htaccess

2001-07-24 Thread jon
If I have a directory protected with an .htaccess file that requires users to log in, is there anyway to determine what username they used in my PHP scripts? --Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] ftp connection

2001-02-26 Thread Jon A
;MyFtpSite"); $login_result = ftp_login($conn_id, "MyUserName", "MyPassword"); etc... thanks for any help you can give me. Jon A -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To cont

[PHP] PAIR NUMBER

2001-04-04 Thread Jon
Hi, I am searching for a POP function that let me calculate for example the MOD of dividing a number between 2 so as to know whether this number is pair o unpair. I have been looking throguh the section of mathematical functions but I have found nothing and I do not know where else could I

[PHP] APC + Fatal error: Cannot redeclare class...

2006-07-26 Thread jon
, but I'd love to try APC. Thanks... -- jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] APC + Fatal error: Cannot redeclare class...

2006-07-26 Thread jon
Thanks man... it turns out that I really was redeclaring the class, but it didn't throw an error until I added APC. Kinda weird, yeah? Anyway... it's all good now. -- jon Jochem Maas wrote: jon wrote: So... I've got some code that works just fine without APC, but dies when I add

[PHP] curl

2005-06-07 Thread Jon
I have not used curl before and it looked interesting from the manual. So, does anyone have a sample script or a tutorial that covers the logon procedure. What I want to do is logon to an asp site and download some files. Can someone point me in the right direction? I have done some searches on

[PHP] reading PDF's

2005-06-24 Thread Jon
Is it possible to read text from a PDF file with PHP? How? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] I can't cURL

2005-06-29 Thread Jon
= + document.all.calledfrom.value frmEmail.submit() } function closeit() { window.location = document.all.calledfrom.value } function initialize() { document.location=filedownload.asp?DFID= + returnto= + document.all.calledfrom.value } -- /SCRIPT Thank you all for your time and help Jon -- PHP General Mailing List

[PHP] still trying to cURL.

2005-07-11 Thread Jon
I have minimal experience with cURL but have had some success with it. I am trying to download some invoices that are posted every month. I am able to get a login to the https: and get the first few pages but when I try to get the invoices I get an error page with this content. HTTP Status 500

[PHP] Data and variable transfer

2005-07-18 Thread Jon
OK this may not be the correct place to ask but maybe someone can help. Related to the Post URL ? How do I see the information passed from my browser to a site? I have httpLiveHeaders for mozilla and that does not provide all the info that I need. Or I am not getting something right. I have

[PHP] libCURL help

2005-07-18 Thread Jon
is there some way to get a .do file from a server is it readable? I think that may be my whole problem with my curl sequence. I need to see what the routing file is doing -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP MySQL insert

2005-08-18 Thread Jon
Please help with an insert problem. Sometimes $data1 could have a comma and that messes up the insert. how do I get around that? $query = insert into testtable6 (indx, col1, col2) values (NULL, '$data1', '$data2'); mysql_db_query(testdb, $query); -- PHP General Mailing List

[PHP] preg_match

2005-08-18 Thread Jon
preg_match_all(/Charges \s\s+ $total x (.+) /siU, $single, $from_invoice); The text has Charges then a variable amount of spaces a previously picked decimal number x (and the data I want) is this correct or am I missing something? It seems to work sometimes and not others and I have not quite

[PHP] Perhaps a stupid question on phpinfo

2005-09-16 Thread Jon
$mypath = C:/phptestdir/; $file = phpinfo.htm; $html_file = fopen($mypath$file, w); fwrite ($html_file, printf(phpinfo())); fclose ($html_file); How would I accomplish this? All I get is the 1 that phpinfo succeeded. I want to write the results of phpinfo to a file. I am sure it is something

[PHP] ebay/nusoap example?

2006-03-08 Thread jon
tokens and whatnot, so that's all good.) Thanks a lot, -- jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] proc_open and unix pty support

2006-04-03 Thread Jon
Has anyone worked with ptys using proc_open? I want to try it out but it appears to be disabled at the source level and I don't know how to re-enable it. Any info at all is appreciated. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] proc_open and unix pty support

2006-04-04 Thread Jon
and recompiled, after which the pty option works perfectly. Just a note. except that it doesn't say WHERE in the source. I can't find it. #if 0 shows up about a million times. anyone got any advice? I swear i'm not crazy. Chris wrote: Jon wrote: Has anyone worked with ptys using proc_open? I

[PHP] php.dev, network timeout??

2006-05-12 Thread Jon
to successfully make a connection there. Can anyone give me some good advice on how to fix this problem? I'm using thunderbird to browse. Thanks in advance, ~jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php.dev, network timeout??

2006-05-12 Thread Jon
chris smith wrote: On 5/13/06, Jon [EMAIL PROTECTED] wrote: This isn't strictly a php question. Its actually a question about the mailing lists in general. I know I must be doing something really stupid but I seem to be having a lot of problems with network timeouts while browsing the mailing

[PHP] Re: PHP/Dreamweaver CSS issue

2006-05-12 Thread Jon
The Doctor wrote: I am trying to modularize a Web Page using one of Dremweaver's CSSes. It works in Firefox but it falls about in IE. Is IE at fault or the modularization? It is neither Firefox's fault nor the concept of modularization. The fault is probably 55% IE's and 45%

[PHP] binary zero evaluates as true!?

2006-06-08 Thread Jon
Seriously guys... am I completely missing something important here? An empty array evaluates as false. The null character evaluates as false. The STRING 0 even evaluates as false yet a binary zero does not? Even better yet bindec() doesn't appear to be binary safe so it will work for a

Re: [PHP] binary zero evaluates as true!?

2006-06-08 Thread Jon
Are you sure you are evaluating your binary '' properly as you claim? Send a sample code alrightey then. the binary data itself is actually stored in a mysql table. (mysql 5.1.9) the relevant part is the following column: ++- | Field | Type

[PHP] core files

2005-09-19 Thread Jon
I am trying to copy the files needed to run a php commandline script so that I can send them to a different computer and run as a scheduled task. I do not know what I am missing but for some reason my file commands do not seem to be working. fopen does not work and so fwrite does not work

Re: [PHP] core files

2005-09-20 Thread Jon
OK, OK, Ha-ha Thought that you guys could read my mind... Here is the error Warning: fopen(C:\windows\Desktop\php\php pages\phpout.txt) [function.fopen]: failed to open stream: No such file or directory in C:\windows\Desktop\php\php pages\phpout.txt on line 12 and of course the fwrite and

[PHP] Re: core files [Oops]

2005-09-20 Thread Jon
Nevermind. I get the award for not checking code on this one. I did not pay close enough attention to what I was doing and had the path with \'s instead of /'s. I fixed that and it started working. Imagine that. Buggy code was causing the error. Sorry for the trouble. Jon [EMAIL PROTECTED

[PHP] Compiling PHP 4.3.3 with large file support

2005-01-26 Thread Jon
signal Segmentation fault (11) when ever I request a page. Compiling the same source without those flags works fine. I must be missing something, but I am in way over my head. Can someone tell me what I am doing wrong? Thanks, Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Compiling PHP 4.3.3 with large file support

2005-01-27 Thread Jon
) --- +++ killed by SIGSEGV +++ On Thu, 2005-01-27 at 12:45 +0100, Marek Kilimajer wrote: Jon wrote: I'm running Fedora Core 1, all packages up to date. I want to add large file support to php. I downloaded

Re: [PHP] [NEWBIE] Trying to create a function from an existing script

2005-01-27 Thread Jon
basename is looking for a file and $HTTP_POST_FILES[$name]['name'] is not a valid path to a file. Something like this should work if(move_uploaded_file($_HTTP_POST_FILES['upfile']['tmp_name'], rawurlencode($store_dir.$HTTP_POST_FILES['upfile']['name'])) On Fri, 2005-01-28 at 14:41 +0900, Dave

Re: [PHP] [NEWBIE] Trying to create a function from an existing script

2005-01-27 Thread Jon
Dave, Does $store_dir end with a slash? Is it writable by apache? What do your log files reveal? What is the output of the script? On Fri, 2005-01-28 at 15:18 +0900, Dave wrote: Jon, Thanks for responding. Unfortunately, it still doesn't work. I tried it exactly as you wrote

Re: [PHP] [NEWBIE] Trying to create a function from an existing script

2005-01-27 Thread Jon
Dave, Another quick note. If you are using this in a function with register_globals off in you php.conf you will need to do global $_HTTP_POST_FILES or use $_FILES['upfile']['temp_name'] instead. On Fri, 2005-01-28 at 15:18 +0900, Dave wrote: Jon, Thanks for responding. Unfortunately

Re: [PHP] Get a PAGE

2005-01-27 Thread Jon
I use libcurl for such functions On Fri, 2005-01-28 at 14:52 +0800, Louie Miranda wrote: Im trying to capture the whole page of a certain courier service. What i want to do is, after i got the form to query the AWB (Air Way Bill No.) It will dump on my local folder the page containing the

[PHP] Help with references?

2005-01-28 Thread Jon
so if someone could bail me out I would be eternally greatful! Thanks, Jon class dir { var $name; var $subdirs; var $files; var $num; var $prio; function dir($name,$num,$prio) { $this-name = $name; $this-num = $num; $this-prio = $prio; $this-files = array

Re: [PHP] Help with references?

2005-01-28 Thread Jon
; } return false; } function draw($parent) { echo('d.add('.$this-num.','.$parent.','.$this-name.\,.$this-prio.);\n); foreach($this-subdirs as $v) { $v-draw($this-num); On Sat, 2005-01-29 at 04:20 +0100, Jochem Maas wrote: Jon wrote: This script only outputs the top level

Re: [PHP] Help with references? again

2005-01-28 Thread Jon
])); } } $tree-draw(-1); On Sat, 2005-01-29 at 04:20 +0100, Jochem Maas wrote: Jon wrote: This script only outputs the top level. i.e. that script has syntax errors. ... $arFiles = array( array['file1']( array( ['path] = array( [0] = 'folder1', [1

[PHP] Returning reference problem

2005-01-29 Thread Jon
item to the current object. So there can only be one file or folder in the parent folder with the exception of the top level. My entire script is below. Thanks, Jon ? class dir { var $name; var $subdirs; var $files; var $num; var $prio; function dir($name,$num,$prio

[PHP] Oracle 9.2.0 stored procedure PHP 4.3.2

2003-06-04 Thread jon
Hi, I have deveolped a stored procedure within oracle 9.2.0. This procedure has an output parameter that is a defined as a REF CURSOR and I would to know if it is posible, using ORA functions in PHP, to run this procedure and retrieve the data contained by this REF CURSOR. I would be very

[PHP] windows user_name

2003-10-15 Thread jon
Hi, I like to know if it is possible to retrieve windows user_name from a php script ... thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php_w32api.dll ... fatal error

2003-10-21 Thread jon
When trying to run the following script, it returns the following error ...Fatal error: Call to undefined function: w32api_register_function() Does this w32api extension work? // Define constants needed, taken from // Visual Studio/Tools/Winapi/WIN32API.txt define(MB_OK, 0); // Load the

[PHP] Search and Replace with WinWord and COM Objects?

2003-12-01 Thread jon
: (null)(): Invoke() failed: Exception occurred. Source: Unavailable Description: Unavailable in C:\Program Files\Apache Group\Apache2\htdocs\wordFix.php on line 11 Any help would be greatly appreciated... -- jon --- jon roig web developer email: [EMAIL PROTECTED] phone

RE: [PHP] Changing User Agent for fopen

2003-12-04 Thread jon
You might want to look at curl as an alternative -- it gives you a lot more flexibility than fopen. -- jon --- jon roig web developer email: [EMAIL PROTECTED] phone: 888.230.7557 -Original Message- From: Gohaku [mailto:[EMAIL PROTECTED] Sent: Thursday, December

RE: [PHP] sessions simply don't work

2003-12-19 Thread jon
Maybe you should post the first few lines of your code... -- jon -Original Message- From: ken lee [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 1:18 PM To: [EMAIL PROTECTED] Subject: [PHP] sessions simply don't work I'm getting this message all the the time I try

RE: [PHP] reading excell and writing to text file..

2003-12-22 Thread jon
the conversion. Something like this might help: http://chicago.sourceforge.net/xlhtml/ -- jon -Original Message- From: Andrew Kwiczola [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 11:47 AM To: '[EMAIL PROTECTED]' Subject: [PHP] reading excell and writing to text file.. I

RE: [PHP] generating .doc on the fly

2004-01-06 Thread jon
Nah... You can't use COM in Linux, but you can generate an RTF pretty easily, which will open right up in Word with no problems whatsoever. -- jon --- jon roig web developer email: [EMAIL PROTECTED] phone: 888.230.7557 -Original Message- From: Naveed Ahmad

Re: [PHP] Rand() problem

2004-01-11 Thread Jon
I am running the latest stable PHP release. I am passed values and my range is far less than the max... On my computer with my Xitami webserver this code returns the number 45 over and over: $num = rand(0,50); echo $num; I don't know what to do. The rand function worked a few times then died

RE: [PHP] Why we love Microsoft (0t)

2004-01-23 Thread jon
probably could've handled it more tactfully, but they were required to take action. -- jon -Original Message- From: Ryan A [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 2:01 PM To: [EMAIL PROTECTED] Subject: [PHP] Why we love Microsoft (0t) Hey all, heres something

[PHP] calling stored procedures ORACLE 9i

2004-03-08 Thread jon
Hi, I would like to know if it possible to run a stored procedure (Oracle 9i) and the way to get the OUT parameter of this procedure in PHP. Thanks, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] saving as .XLS

2004-03-26 Thread jon
Hi, I am looking for some information about the way of saving the result of my php script (html table) with .XLS (ms excel) format. Do you know where could I get info about this? Thanks, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php and java applets

2004-05-21 Thread jon
Can you just send a command line java app commands from php? -- jon Tom Playford wrote: Dear all knowing list, I am trying to control the movement of a camera in real time from the web. But I also need to make sure that only the user I specify can have control. What I though I could do

Re: [PHP] php and java applets

2004-05-21 Thread jon
or something similar. -- jon -- jon roig web developer Tom Playford wrote: jon wrote: Can you just send a command line java app commands from php? I'm not sure what you're getting at. Do you mean writing the Java code in the php page? I didn't know php could compile the code

Re: [PHP] Server Push

2004-05-27 Thread jon
flash as a front-end is actually not that hard. It seems to me that, in a lot of cases, PHP is the wrong tool for the job when there are others out there that do it really well. -- jon George Lantz wrote: I am just looking for some different techniques on how server push is done on PHP

Re: [PHP] Identifying spam text

2004-05-28 Thread jon
hotscripts or something -- just changing the url and some of the form names away from the default settings will go a long way towards thwarting a casual spam attacker. Mostly, these types of events seem related to targets of opportunity, so to speak. -- jon -- jon roig web developer phone

Re: [PHP] Re: Send HTML/plain text email using PHP

2004-05-28 Thread jon
Yeah... gotta agree with that -- the PEAR package makes dealing with mime mail incredibly easy. I love that thing. -- jon -- jon roig web developer phone: 888.230.7557 email: [EMAIL PROTECTED] Torsten Roehr wrote: Maybe you could use a ready-made package such as PEAR's Mail_Mime: http

RE: [PHP] to be persistent connected or not to be persistent connected

2001-01-10 Thread Jon Haworth
to it than this, but it's worth checking. HTH Jon -Original Message- From: Kayra Otaner [mailto:[EMAIL PROTECTED]] Sent: 10 January 2001 15:32 To: [EMAIL PROTECTED] Subject: [PHP] to be persistent connected or not to be persistent connected Hi, I am searching for detailed information about

[PHP] case ?

2001-01-10 Thread Jon Rosenberg
I know this is kinda silly. but, if I have the following, will the file only be included when the case is matched or does require always bring in the file regarless? case blah: require('include.php'); do something break;

[PHP] Problem with Exec()

2001-01-12 Thread Jon Haworth
all that happens is my PHP script times out. If I remove this line, everything works fine. I'm sure I'm missing something simple but I'm *very* tired. Any ideas? Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

RE: [PHP] Problem with Exec()

2001-01-15 Thread Jon Haworth
be on a linux box if I could persuade my boss) Cheers Jon -- PHP General 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] Working out the name of the day given a date

2001-01-16 Thread Jon Haworth
input, but I do need the name of the day on the output! I'm hunting around at the moment but I haven't had any joy so far, I thought I'd see if anyone's already invented this wheel... Cheers Jon Please visit us on the Internet: http://www.witanjardine.co.uk 'The information inc

RE: [PHP] WML/WAP and PHP

2001-01-16 Thread Jon Haworth
rld!/p/card/wml"); ? and see if it works. Sorry to be vague, but I didn't pay *that* much attention to it at the time! HTH Jon -Original Message- From: Rick Hodger [mailto:[EMAIL PROTECTED]] Sent: 16 January 2001 16:02 To: [EMAIL PROTECTED] Subject: Re: [PHP] WML/WAP and PHP "Pavel

RE: [PHP] Working out the name of the day given a date

2001-01-16 Thread Jon Haworth
break; case 5: $day = "Friday"; break; case 6: $day = "Saturday"; break; } Ugh. I'll try your method. Cheers Jon -Original Message----- From: Andrew Rush [mailto:[EMAIL PROTEC

RE: [PHP] Working out the name of the day given a date

2001-01-16 Thread Jon Haworth
] Sent: 16 January 2001 16:03 To: Jon Haworth Subject: Re: [PHP] Working out the name of the day given a date On Tuesday, January 16, 2001, at 10:56 AM, Jon Haworth wrote: Just a quickie. Does anyone have a code snippet for calculating the day of the week given a date? I was hoping I could feed a s

RE: [PHP] Working out the name of the day given a date

2001-01-16 Thread Jon Haworth
Gah. I read that lower case l as a number 1. Time to get new glasses/switch to 640x480 mode. Thanks to everyone for your help. Cheers Jon -Original Message- From: Andrew Rush [mailto:[EMAIL PROTECTED]] Sent: 16 January 2001 16:03 To: Jon Haworth Subject: Re: [PHP] Working out

RE: [PHP] I love/hate FrontPage - need another HTML editor.

2001-01-17 Thread Jon Haworth
quick page for the Intranet"), but for anything serious, I'd like to quote your first sentence again. There's no question that hand-coding is the way to go. I'm with you 110% on that score! Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTEC

RE: [PHP] how do i hide my .inc files in apache??

2001-01-17 Thread Jon Niola
I could be mistaken here, but last I checked you could include files outside of the document root. Can't get much more secure then that and you don't have to mess with the Apache rewrite engine, which is known for slowing things down. --Jon At 02:02 PM 1/17/01 +, Matt Williams wrote

RE: [PHP] Calendar program

2001-01-18 Thread Jon Haworth
This should achieve a similar effect as that URI: ?php echo "404 Document Not Found"; ? ;-) Cheers Jon -Original Message- From: Todd Cary [mailto:[EMAIL PROTECTED]] Sent: 18 January 2001 13:56 To: [EMAIL PROTECTED] Subject: [PHP] Calendar program Does a calend

Re: [PHP] Automated Scripts

2001-01-18 Thread Jon Farmer
You could either Compile PHP as a command line executable or Use Lynx to call a php page through HTTP. either wat cron is the way to go Regards -- Jon Farmer www.workcam.co.uk +44 (0)7968 524175 2001 should be pronounced twenty o one not two thousand and one "Jason Murray&qu

RE: [PHP] multple select forms... going to hit my head against a wall ..

2001-01-23 Thread Jon Haworth
Sorry, my bad. I should have spotted the cunning way he used the word "array", really :-) Eyes closing. More coffee. glug aahaahhhrrrghhh Cheers Jon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 23 January 2001 12:45 To: J

RE: [PHP] Beginner in php!

2001-01-24 Thread Jon Haworth
about the whole lot is it's easy to persuade management to go for projects where the overall price tag is 0.00! HTH Jon -Original Message- From: kaab kaoutar [mailto:[EMAIL PROTECTED]] Sent: 24 January 2001 10:29 To: [EMAIL PROTECTED] Subject: [PHP] Beginner in php! Hi guys! I'm working

RE: [PHP] Checking if files are there?

2001-01-24 Thread Jon Haworth
Yep. $file = @fopen (. The @ sign suppresses the warning messages. Should work fine after this. HTH Jon -Original Message- From: Sam [mailto:[EMAIL PROTECTED]] Sent: 24 January 2001 12:19 To: 'php' Subject: [PHP] Checking if files are there? Hi all, I was wondering

[PHP] Integration of PHP with MS Outlook?

2001-01-24 Thread Jon Haworth
Hi list, Is it possible to get PHP to create entities in Outlook, specifically tasks and calendar entries? TIA Jon Please visit us on the Internet: http://www.witanjardine.co.uk 'The information included in this e-mail is of a confidential nature and is intended only for the addressee

[PHP] Oracle support not working

2001-01-27 Thread Jon Jacob
try and run my PHP script the very first oracle function comes back to: Fatal error: Call to undefined function: ora_login() in /home/jon/public_html/test.php on line 6 What could I be missing? I am not an expert on Oracle or PHP but this does not seem like it should be so hard. It does

[PHP] Win32 - Mail SMTP ???

2001-01-27 Thread Jon Shoberg
I have PHP-4.0.1 running on my Win200 Pro devel box though the IIS DLL and SMTP services running. I have SMTP enabled on this machine and have outlook express configured to send mail though the local SMTP service. I simply told O.Express the outgoing mail server was my machine (just told it the

RE: [PHP] Importing MS Access into MySQL?

2001-01-29 Thread Jon Snell
. Jon Snell -Original Message- From: James, Yz [mailto:[EMAIL PROTECTED]] Sent: Monday, January 29, 2001 3:46 PM To: [EMAIL PROTECTED] Subject: [PHP] Importing MS Access into MySQL? Hey all, I heard somewhere (I think) that it's possible to import a Microsoft Access file (when saved

RE: [PHP] mail( ) question

2001-01-30 Thread Jon Haworth
ple who browse with Javascript turned off. Just a thought. Cheers Jon -Original Message- From: Fang Li [mailto:[EMAIL PROTECTED]] Sent: 29 January 2001 17:30 To: [EMAIL PROTECTED] Subject: [PHP] mail( ) question Hi All: Would anyone tell me how to correct the code in mail( ) function? Than

Re: [PHP] string length?

2001-01-30 Thread Jon Jacob
Kevin Connolly wrote: Hi, I am quite new to PHP scripts and I have run into a little problem with my string! I have a string called $numbers which is 5;6;12;21;36;42 (for example, it can be any 6 numbers between 1 and 42). Is there an easy way that I can find out how many numbers there are

[PHP] Oracle Function list

2001-01-30 Thread Jon Jacob
I found a list of some of the Oracle Functions at the main PHP site. Is this all there is? -- PHP General 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

RE: [PHP] gethostbyaddr timeout

2001-01-31 Thread Jon Snell
...why do you need to do this? It seems very odd. Jon Snell -Original Message- From: Aaron Gould [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 11:17 AM To: [EMAIL PROTECTED] Subject: [PHP] gethostbyaddr timeout I'm at the end of my rope here... I have a 100,000+ line file

[PHP-CVS] cvs: php4 / php.ini-dist

2001-01-31 Thread Jon Parise
jon Wed Jan 31 22:29:41 2001 EDT Modified files: /php4 php.ini-dist Log: Massive reformatting. Index: php4/php.ini-dist diff -u php4/php.ini-dist:1.66 php4/php.ini-dist:1.67 --- php4/php.ini-dist:1.66 Mon Jan 22 11:15:31 2001 +++ php4

Re: [PHP-CVS] cvs: php4 / php.ini-dist

2001-01-31 Thread Jon Parise
On Thu, Feb 01, 2001 at 06:29:41AM -, Jon Parise wrote: jon Wed Jan 31 22:29:41 2001 EDT Modified files: /php4 php.ini-dist Log: Massive reformatting. Before anyone says something, I know that I should have reformatted the php.ini-optimized

  1   2   3   4   5   6   7   8   9   10   >