[PHP] highlight_string for VB, CPP or .NET source code?

2003-02-18 Thread stefen Lars
, the output of this function / these functions would look very similar to that of ‘highlight_string’. Thank you in advance for any light that you could shed on this subject. All the best Stefen Lars _ The new MSN 8: advanced junk

[PHP] Cross-Site Sesison ID Propagation

2002-07-08 Thread Stefen Lars
Hello all fellow-hackers I am working on a project that includes a number of web sites, which are grouped together into one network. Kind of like the ‘OSDN’ network, of which Slashdot.org, for example, is a member. I need to implement a cross-site session. Using a technique, similar to the

Re: [PHP] Cross-Site Sesison ID Propagation

2002-07-08 Thread Stefen Lars
‘CDSM specification’ is… I am not familiar with the term. Thanks again for your comments. They have been really helpful to me. Stefen From: Chris Shiflett [EMAIL PROTECTED] To: Chris Shiflett [EMAIL PROTECTED] CC: Stefen Lars [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [PHP] Cross

[PHP] Turning OFF ‘auto_prepend_file’ on a page by page basis

2002-05-03 Thread Stefen Lars
Hello all I am using ‘auto_prepend_file’ to include a load of files. This is prepended to all PHP parsed files. The prepend files contain the HTML for the framework of my site. How I want to create an XML file for other web sites to use. I do this by getting some data from a database and

RE: [PHP] Turning OFF 'auto_prepend_file' on a page by page basis

2002-05-03 Thread Stefen Lars
ini_set(), do you mean ini_set(auto_prepend_file, /a/blank/file.php); ?? From: Maxim Maletsky \(PHPBeginner.com\) [EMAIL PROTECTED] To: 'Stefen Lars' [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [PHP] Turning OFF 'auto_prepend_file' on a page by page basis Date: Fri, 3 May 2002 15:53:16

[PHP] Secure MySQL connections in PHP with 'stunnel'

2002-04-29 Thread Stefen Lars
Hello all I have written a very simple PHP script to copy the data from one MySQL database table on SERVERA to another MySQL database table on SERVERB. Using PHP, I simply connect to each server and copy the data across. That works well. However, natively, MySQL works with clear text. i.e.

RE: [PHP] Secure MySQL connections in PHP with 'stunnel'

2002-04-29 Thread Stefen Lars
MySQL servers?? Stefen From: Cal Evans [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Stefen Lars [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [PHP] Secure MySQL connections in PHP with 'stunnel' Date: Mon, 29 Apr 2002 10:31:00 -0500 My suggestion, if you just want to move data between

[PHP] The definitive source for PHP news, tutorials and articles (also, as XML)

2002-04-28 Thread Stefen Lars
Hello all I posted a link to Coding The Web (CodingTheWeb.com) a while ago as they had a channel dedicated to Google. It seems that they have updated the site a bit in the past few days and now have a news channel for PHP too. It is pretty cool:

[PHP] Using Google's new SOAP based API in PHP

2002-04-12 Thread Stefen Lars
Hello all CodingTheWeb.com has several reports of Google's new SOAP based application programming interface: http://www.codingtheweb.com/projects/newslog/index.php?filter=Google Has anyone tries using this in PHP yet??? S. _

Re: [PHP] Returning mutliple matches of a regex with preg_match()

2002-03-21 Thread Stefen Lars
in message 000501c1d0aa$4a5d97f0$ba93c5c3@Niklas">news:000501c1d0aa$4a5d97f0$ba93c5c3@Niklas... preg_match_all(); Niklas -Original Message- From: Stefen Lars [mailto:[EMAIL PROTECTED]] Sent: 21. maaliskuuta 2002 7:28 To: [EMAIL PROTECTED] Subject: [PHP] Returning

[PHP] Returning mutliple matches of a regex with preg_match()

2002-03-20 Thread Stefen Lars
Hello all I have been scratching my head for the last two days about this regular expression problem. I would be really VERY happy if someone could help me! I have the following text in the file 'text.htm', for example: -- BLOCKQUOTEP Cow, Cow, Cow, Cow, Cow Cow, Cow, Cow, Cow, Cow Cow, Cow,

[PHP] Returning a specific 'record' from an XML file

2001-09-19 Thread Stefen Lars
Hello all I am looking for a PHP example or tutorial that shows how it is possible to return one particular record (is that the correct terminology for an XML file?) from an XML file. For example, consider this very simple XML file: ?xml version=1.0? library book

[PHP] Regex help

2001-08-22 Thread Stefen Lars
Hello all In the Apache config file, we have the following directive: SetEnvIfNoCase Referer ^http://www.oursite.com/; local_ref=1 FilesMatch .(gif|jpg) Order Allow,Deny Allow from env=local_ref /FilesMatch We use this to prevent people from directly linking to .gif and .jpg files. This

Re: [PHP] Insecurity with PHP authorization

2001-08-08 Thread Stefen Lars
it working could you forward it to the php list I can't get there through this a/c HTH M@ --- Stefen Lars [EMAIL PROTECTED] wrote: Hello all I have just implemented a mySQL authorization: each html and php page checks to see whether a user is logged in by checking a cookie

[PHP] Insecurity with PHP authorization

2001-08-07 Thread Stefen Lars
Hello all I have just implemented a mySQL authorization: each html and php page checks to see whether a user is logged in by checking a cookie in the user browser. The user can log out and edit her profile (including password). If a page is called without the user being logged in, he is

Re: [PHP] Insecurity with PHP authorization

2001-08-07 Thread Stefen Lars
fine. As noted above this will only work with apache 1.3.12 If you get it working could you forward it to the php list I can't get there through this a/c HTH M@ --- Stefen Lars [EMAIL PROTECTED] wrote: Hello all I have just implemented a mySQL authorization: each html and php page checks

[PHP] XML parsing without the PHP4 XML functions

2001-02-14 Thread Stefen Lars
Hello all I have recently been assigned the task of parsing an xml file and format the contents of the file in HTML. The xml file lies on another server. Our web space provider does not provide the XML functions (nor is he willing to install them) :-gr. I am sure that I am not the only who