Re: [PHP] SOAP

2012-01-17 Thread lars
Hey there, If you are running php5 then ot is relativly easy to use the SoapClient object. It also supports ssl. Look it up in the phpmanual. Regards Lars Nielsen > Hello! > > > > I am looking for some help on Web Services (SOAP) client. > > > > Is there anyone here

[PHP] PHP confirmation window

2002-11-30 Thread Lars Espelid
heten?")) window.event.returnValue = true; } regards lars -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Page break

2002-11-30 Thread Lars Espelid
Hello, Is there some way to insert page breaks in a php document so that it becomes more printer friendly. thanks lars -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Prevent storing data when reload

2002-12-03 Thread Lars Espelid
from happening? Thanks! Lars -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Querying two tables

2002-12-15 Thread Lars Olsson
Hi! To fetch information from several tables you usually use a join operation. Here's a starting point in the MySQL manual. http://www.mysql.com/doc/en/JOIN.html /Lars ([EMAIL PROTECTED]) Cesar Aracena wrote: Hi all, I have several tables from which I have to fetch certain pro

[PHP] Print bgcolors in table

2002-12-15 Thread Lars Espelid
colors won't show. I have tried to specify output media, but it won't work. Tried f.ex. this: in print.css: @media print { TR.graaOver { BACKGROUND-COLOR: #E5E5E5; } } in report.html: . .. thanks, Lars -- PHP General Mailing List (http://www.ph

[PHP] mail()-function/sendmail

2002-12-16 Thread lars konersmann
I have big problems getting the mail()-function working -> the error I always get is as follows: syserr(apache): can not chdir (/var/spool/mqueue/): Permission denied Has anybody a clue what might be the reason for this error? Should I change the rights of the mqueue directory? The mqueue dire

[PHP] attachment problem

2003-01-13 Thread Lars Olsson
to tell the browser what to call the attachment, but to no avail. The browser still insists on calling all attachments 'attachment.php'! I've been trying to figure this out for a couple of days now, but no luck yet. Perhaps someone out there have had the same problem (and solved it

Re: [PHP] attachment problem

2003-01-13 Thread Lars Olsson
ve 11 Content-Type: text/html 200 OK I'm VERY confused about line 11! The type (for this particular request) should be image/bmp (Mozillas Page Info tab confirms this). Still, wget claims it is text/html...hm...strange...now what? /Lars Olsson ([EMAIL PROTECTED]) Timothy Hitchens )

Re: [PHP] attachment problem

2003-01-13 Thread Lars Olsson
n: Keep-Alive 12 Content-Type: image/bmp 200 OK The Content-Type seems ok, and so does the Content-Disposition. Browser still suggests 'attachment.php' whenever I choose File->Save As... Strange happenings indeed... /Lars ([EMAIL PROTECTED]) Timothy Hitchens (HiTCHO) wrote: What

Re: [PHP] attachment problem

2003-01-13 Thread Lars Olsson
Well, I'll be damned...don't know why, but suddenly everything seems to work! Guess some little gnome inside my computer finally decided it was time for me to get some sleep... Many thanx for for your help, Timothy! /Lars ([EMAIL PROTECTED]) Lars Olsson wrote: It doesn't m

[PHP] Re: permission denied

2003-01-14 Thread Lars Olsson
Hi Anthony! Have you tried giving the full path of 'data.txt' to fopen? Like this: $file = fopen("d:\\inetpub\\www.blahblah.org\\formtest.php", "a+"); Is it you or your ISP that uses win98? Kindly /Lars Olsson ([EMAIL PROTECTED]) Anthony Ritter wrote: Usin

[PHP] Re: problems to get image informations form local harddrive using"getimagesize"

2003-01-14 Thread Lars Olsson
Hi! It could be a permission problem. What OS are you using? Win98? Win2000? WinXP? Kindly /Lars Olsson ([EMAIL PROTECTED]) Harald Mohring wrote: isn't it possible to get image informations from the local harddrive? $fotoinfo=getimagesize("C:\\Files\\Temp\\Image.jpg"); if

[PHP] Re: imap_open failure

2003-01-14 Thread Lars Olsson
Hi! Shouldn't it be: $pop_inbox = imap_open("{$mailserver:110/pop3}INBOX", $login, $password); (as on http://www.php.net/manual/en/function.imap-open.php) Kindly /Lars Olsson ([EMAIL PROTECTED]) Jeff Schwartz wrote: I'm using imap_open in PHP 4.3.0 to successfully acc

[PHP] Re: Amount of data in the database

2003-01-14 Thread Lars Olsson
T SUM(size) FROM sometable WHERE user=someuser" Hope this helps /Lars Olsson ([EMAIL PROTECTED]) PS. Ive done this in a file upload script I created a while ago. If you want, I can mail you the relevant bits and bytes. DS. Denis L. Menezes wrote: Hello friends. I have a need for ch

Re: [PHP] Re: Amount of data in the database

2003-01-14 Thread Lars Olsson
SQLs built-in SUM function to find out the total amount of data (check my previous post) Kindly /Lars Olsson ([EMAIL PROTECTED]) Denis L. Menezes wrote: Thanks Lars. Sorry, then I have another question. How do I find the size of the record? Thanks Denis -- PHP General Mailing List (http:

[PHP] Create unike variables for each record

2003-01-16 Thread Lars Espelid
page will then have functionality like windows explorer (you can click on a folder and it will then display its contents). The problem is how I can make a unike variable for each record and know how to call it(know it's name). Hope someone understands my problem. (difficult to explain) Than

[PHP] Re: Create unike variables for each record

2003-01-16 Thread Lars Espelid
Is it possible to register an array as a session variable? If so I think it solves my problem. Thanks. Lars "Lars Espelid" <[EMAIL PROTECTED]> skrev i melding [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I have a table in a MySQL-db. The primary

[PHP] Too many 'linespaces'

2003-01-27 Thread Lars Espelid
0) { ?> .. and so on When the query returns 60 rows I get ca. 7 blank lines between and Kontonr. Does anyone understand? Anyone have a tip? Thanks a lot! Lars -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Too many 'linespaces'

2003-01-27 Thread Lars Espelid
LE> fjern_null($row_Recordset1['mKostnad']) . $strong2; ?> > LE>$strong2; ?>> > LE> > LE> > LE> > LE> LE> my

[PHP] Re: Too many 'linespaces'

2003-01-28 Thread Lars Espelid
Thanks, problem solved! I moved the hidden-vars inside a td-tag and the problem was no more. Lars "Lars Espelid" <[EMAIL PROTECTED]> skrev i melding [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I present some content of a mysql-table in an h

[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] Get variable from PHP before submit

2003-02-28 Thread Lars Espelid
nly almost. The first time I click one of the buttons, the page won't scroll, but after that it works fine. I think the reason for this is that the function hentKoordinat() gets called before $teller is set. hentKoordinat() uses $teller. Anyone know a way to make this work? Thanks alot! Lars

Re: [PHP] Get variable from PHP before submit

2003-03-02 Thread Lars Espelid
t managed to make this work, but > > only almost. > > > > The first time I click one of the buttons, the page won't scroll, > > but after > > that it works fine. I think the reason for this is that the function > > hentKoordinat() gets called before $teller is se

Re: [PHP] Get variable from PHP before submit

2003-03-02 Thread Lars Espelid
t; > > >The first time I click one of the buttons, the page won't scroll, but after > >that it works fine. I think the reason for this is that the function > >hentKoordinat() gets called before $teller is set. hentKoordinat() uses > >$teller. > > > >

[PHP] Remember scrolled position

2003-03-04 Thread Lars Espelid
s a totally different way? Thanks! Lars Tried to explain the code in test.php: http://www.w3.org/TR/html4/loose.dtd";> Untitled Document <!-- function getPageScroll(){ //this function returns scrollX and scrollY as probertys of getPageScroll. ScrollX and scrollY //contains th

[PHP] Re: Remember scrolled position

2003-03-04 Thread Lars Espelid
this could be a solution. Any other suggestions? Thanks, Lars "Patrick Schnegg" <[EMAIL PROTECTED]> skrev i melding news:[EMAIL PROTECTED] > I would tend to make this with common html using named anchors. Just enclose > every button with a an anchor and define its name numbering

[PHP] Re: Remember scrolled position

2003-03-04 Thread Lars Espelid
You understood me. You're right, I can load the document like you said, and I'll do it that way. The page won't scroll to the exact position it was befor the submit. It would do so if I could use javascript. But its good enough. Thanks everyone! Lars "K1llersush1" &l

[PHP] Temporary Files

2003-03-23 Thread Lars Tvedt
Im trying to create a way of storing php scripts in a mySQL database, and then execute them using temporary files as executable script buffers.. The database retrieval is working fine but the file does not... Ive got a table with 4 fields: execID, execName, execDesc and execProc The last one conta

[PHP] Re: Who is Tim O'Reilly?

2003-03-29 Thread Lars Tvedt
i think this site suits your question pretty well: http://nutshells.oreilly.com/ :) "John Taylor-Johnston" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Who is Tim O'Reilly? In a nutshell? > > http://www.oreilly.com/catalog/opensources/book/tim.html > http://oreilly.com/oreilly/ab

Re: [PHP] Theme selector?

2003-03-30 Thread Lars Tvedt
i would have used templates: heres one http://smarty.php.net "Liam Gibbs" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hello, can anyone help me with a php theme selector? I want it like when > > the seletect a theme ?theme=green that it will go into a directory and > > load gree

[PHP] creating new mail account on a domain

2003-04-06 Thread Lars Tvedt
How do i create a new mail account on a domain? My domain is waveartists.com and I wish to create a new mail account without using the server admin panel. but rahter using a php script. Do anyone know how to do this? any help appreciated.

Re: [PHP] creating new mail account on a domain

2003-04-06 Thread Lars Tvedt
e running, how it's > configured, and what tools you have at your disposal for controlling it > (CLI, web, ...). > > If you actually want help with this issue, we're going to need a lot more > detail. > > -Original Message- > From: Lars Tvedt [mailto:[EMAIL PROTECTED]

[PHP] Re: Is it possible...

2002-07-27 Thread Lars Olsson
No. Since PHP is executed on the server, the only thing that is sent to the browser is pure HTML (and client-sided scripts like JavaScript). This means you cannot just get the source code of a PHP page by just browsing it. /lasso ([EMAIL PROTECTED]) Apollo wrote: > Is it possible download p

[PHP] Re: MySQL password()

2002-07-29 Thread Lars Olsson
To my knowledge it isn't possible to "decrypt" the PASSWORD function in MySQL (you need to use MySQL ENCRYPT/DECRYPT for that). However, it's possible to use PASSWORD on the user-provided string too. You could try the following code: $query="SELECT * FROM users where username='$PHP_AUTH_USER'

[PHP] A somewhat unusual session question...

2002-07-30 Thread Lars Olsson
Hi all! The manual claims here (http://se2.php.net/manual/en/ref.session.php) that: ...If session.save_path's path depth is more than 2, garbage collection will not be performed. Anyone know why this is the case? And can you get around it? My scripts currently lives on a shered server and I

[PHP] Re: A somewhat unusual session question...

2002-07-30 Thread Lars Olsson
I'm aware that the server cannot "know" whenever a user just quits without logging out, but I was under the impression that the flags session.gc_maxlifetime and session.gc_probability in php.ini would control when and how often "leftover" session files would be removed. If this isn't true, wha

[PHP] Re: A somewhat unusual session question...

2002-07-30 Thread Lars Olsson
Hm...seems it works after all...Tried extremely short session.gc_maxlifetime and a 100% session.gc_probability...works like a charm! Sorry for not checking this thoroughly enough before whining... ;) /lasso ([EMAIL PROTECTED]) Lars Olsson wrote: > Hi all! > > The manual claims h

[PHP] Re: Dynamic Web Pages

2002-07-30 Thread Lars Olsson
Hi! Database queries and global variables are not related to each other. It usually just boils down to the following steps 1. Collect data that that's needed for the database query (via $_GET or $_POST) 2. Run the query against the database and store the results in some nice variables (arrays

[PHP] calculating psysical path (a first try)

2002-08-01 Thread Lars Olsson
Hi list! Something I use quite often when programming in ASP is the Server.MapPath method. This method expects a virtual path (on the web server) and returns the corresponding psysical path. I haven't seen this anywhere in PHP, so I've hacked my own little routine to do this (see below). But

[PHP] Re: Undefined Index

2002-08-02 Thread Lars Olsson
Hi! JüRgen wrote: > It's me again, i don't mean to be a bugger, but i really like to learn as > much as possible, that's why i ask (or will ask so many questions). > > Consider the following (i shortened this a lot, but it will do the trick) > > $op = $_GET['op']; > switch ( $op ) > { > case "

[PHP] Re: Function search utility

2002-08-02 Thread Lars Olsson
It still works...try http://www.php.net/mysql or http://www.php.net/fopen for example... /lasso ([EMAIL PROTECTED]) Brian V Bonini wrote: > There used to be a utility that let you search php functions from the > address bar in your browser by simply appening PHP to the function name eg, > php

[PHP] Re: what is equivalent to Response.End ?

2002-08-03 Thread Lars Olsson
Hi! try exit() (http://www.php.net/exit) or die() (http://www.php.net/die) Kindly /lasso ([EMAIL PROTECTED]) Ing. Rajesh Kumar wrote: > Hi everybody > Can someone tell me what is the PHP equivalent code to ASP's Response.End ? > I want to stop my code at a given position so i need this. > >

[PHP] Re: FILEMTIME

2002-08-08 Thread Lars Olsson
Mike Zagorski wrote: > Hello, > > I amusing the following PHP code.. but I want to make it so that it also displays >the time in 24 hr mode and the time is +3600 seconds. (1 hour) > > $last_modified = filemtime("about.php"); > print("Last Updated "); > print(date("m/j/Y", $last_modified)); > ?

[PHP] Re: PHP multipart form data

2002-08-08 Thread Lars Olsson
Mike Dunlop wrote: > hello, > > i have php 4.2.2 compiled with --enable-ftp running (as a module in > apache under red-hat 6.2) and I can not get file uploads through a web > page to work!?!? > > The form variable $userfile (which is the file input name) is returning > false; > > Any ideas h

[PHP] Re: Using ini_set with session.gc_maxlifetime

2002-08-09 Thread Lars Olsson
Neil Innes wrote: > I've got a site on a server where I can't change the php.ini setting for > session.gc_maxlifetime, which is set at the default 1440 seconds. My > client wants to entend the time to an hour. The only way I am aware of > how to do this kind of thing is through ini_set. Howe

[PHP] Re: Problem with output buffering in PHP 4.0.6 and Apache/1.3.20

2002-08-10 Thread Lars Olsson
Ing.Martin prášek wrote: > Hi.. > I have found a strange problem. I try to use php output buffering, but I found this >problem. > Working with small amount of data everything is fine. But If I set example script >like this: > > > function callback($buffer) > { > return do_something_with($bu

[PHP] Re: PHP native session

2002-08-14 Thread Lars Olsson
Hi! There are several ways. You could use a database or a text file. If your server comes with dba support, I'd try that. Manual reference http://www.php.net/manual/en/ref.dba.php /lasso ([EMAIL PROTECTED]) Mattia wrote: > I'm looking for a way to have a list of the users logged in my site

[PHP] Apache 2.0

2002-09-04 Thread Lars Hecking
Hi all, I'm setting up a test server with Apache 2.0.40 and php. I downloaded the latest php4 snapshot, compiled and installed it (a real PITA, but I managed), added LoadModule php4_module modules/libphp4.so and AddType application/x-httpd-php .php to httpd.conf, but my browser still d

Re: [PHP] Re: Apache 2.0

2002-09-04 Thread Lars Hecking
> Add the following to the bottom of your httpd.conf > > > SetOutputFilter PHP > SetInputFilter PHP > No luck. error_log: [Wed Sep 04 15:01:44 2002] [notice] Apache/2.0.40 (Unix) mod_ssl/2.0.40 OpenSSL/0.9.6g PHP/4.3.0-dev configured -- resuming normal operations access_log: 10

Re: [PHP] Re: Apache 2.0

2002-09-04 Thread Lars Hecking
> No luck. > > error_log: > [Wed Sep 04 15:01:44 2002] [notice] Apache/2.0.40 (Unix) mod_ssl/2.0.40 >OpenSSL/0.9.6g PHP/4.3.0-dev configured -- resuming normal operations > > access_log: > 10.1.65.81 - - [04/Sep/2002:15:01:51 +0100] "GET /home/lhecking/test.php HTTP/1.1" >304 0 Found t

[PHP] Escaping characters won't work

2002-11-14 Thread Lars Espelid
AddModule mod_php4.c AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps Thanks, Lars -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Can't escape characters in php??

2002-11-14 Thread Lars Espelid
expecting a ')'. I have also tried other regular expressions, but almost all of them fails. One that works: if (ereg("-..-..", "2002-11-14")) Also '\n' in an echo-expression won't work. It is ignored. code: echo "HELLO \n"; echo "WOR

[PHP] How to show autocad (dwf, dwg) files in browser?

2002-11-15 Thread Lars Espelid
ng Apache 1.3.26. This is what I have written into httpd.conf: AddType model/vnd.dwf .dwf #drawing/x-dwf .dwf AddType image/vnd.dxf .dxf AddType image/vnd.dwg .dwg This is what I have written into mime.types and mime.types.default: image/vnd.dwg image/vnd.dxf Appreciate any

Re: [PHP] How to show autocad (dwf, dwg) files in browser?

2002-11-15 Thread Lars Espelid
Is my code right, and if it is where can I download a ".dwg-plug-in". regards, Lars "Dave Merritt" <[EMAIL PROTECTED]> skrev i melding news:109DB0BF6260D211A1B30008C7A4AA1B129674A4@;postoffice.arvinmeritor.com... > Lars, > > You say you downloaded th

[PHP] Re: session handling

2002-11-16 Thread Lars Espelid
(/tmp\sess_22b746f8ee84cf7aadb8da0b37ce9d2a, O_RDWR) failed: m (2) in c:\apache group\apache\htdocs\system\kode\ident.php on line 2 I have no other code on my pages. I'm running Apache 1.3.26, PHP 4.0.5 on WinXPpro. Configuration problem?? Lars "Orangehairedboy" <[EMAIL PROT

[PHP] Problem whith query in query

2002-11-17 Thread Lars Espelid
entifisering as ii GROUP BY dprosjekt; Thanks, Lars -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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 on

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 PR

[PHP] session_start and HTTP headers in Mozilla, plz help

2002-07-11 Thread Lars Olsson
Hi! I've run across a problem when using session_start and HTTP headers in Mozilla. I'm trying to write a snippet of code that checks whether a user has logged in or not. If the user has a session variable set I want to display the page and if he or she hasn't I want to give them a 403 Forbid

[PHP] Re: Create Thumbnail from Blob online

2002-07-16 Thread Lars Olsson
Well, if you're just going to show your image (no resizing or other image operations) you don't need to use gd at all. You could just change the Content-Type and print. header("Content-Type: $mimetype"); print($imagedata); /lasso ([EMAIL PROTECTED]) Tommi Trinkaus wrote: > Hi, > > i stor

[PHP] Re: ' giving problem while inserting in table.

2002-07-16 Thread Lars Olsson
Since ' is a string delimiter in MySQL it has to be escaped. Try using mysql_escape_string($string) (http://se.php.net/manual/en/function.mysql-escape-string.php) on all the strings before you try to insert them into MySQL. /lasso ([EMAIL PROTECTED]) Anil Garg wrote: > Hi, > I am making a f

Re: [PHP] Preventing Multiple Log-Ins after Authentication

2002-07-16 Thread Lars Olsson
I agree. Using a database is usually a good way of storing session information. But as noted by Dennis below, automatic logout may require additional scripts running in the background. This is a bit inferior in PHP compared to ASP. In ASP, support for automatic session destruction is implement

Re: [PHP] Re: PHP Security Advisory: Vulnerability in PHP versions4.2.0

2002-07-22 Thread Lars Olsson
The correct path for the windows binary version is http://www.php.net/do_download.php?download_file=php-4.2.2-Win32.zip /lasso ([EMAIL PROTECTED]) Rouvas Stathis wrote: > Hi all, > > Just wanting to notify everyone that > the link for the PHP.4.2.2 download is broken. > > -Stathis. > >

[PHP] NEWBEE - How do I preload 25< gifs?

2001-03-14 Thread Lars Falsig
I need to preload lots of graphics for user-controlled animation, changing graphics fast. Include() and/or require() works to slow. Any suggestions? -- Regards Lars www.DHSaps.com www.BuyEasy.dk www.CasinoDK.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] Code snippet archive

2001-03-15 Thread Stefen Lars
Hello all One part of the task that I have been recently been assigned involves creating a 'code archive' of sample applications for a certain Visual Basic control. The idea is that a web visitor can download code snippets and the associated Visual Basic project file in a .zip file. By playing

Re: [PHP] FAQ Ignor if you are tired of this.

2001-03-15 Thread Lars Falsig
ou want to use input from Your site, the best wau to treat variables is PHP. Sometimes Pro's learn from newbees !!! Lars "Rick St Jean" <[EMAIL PROTECTED]> skrev i en meddelelse [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > This was sent off-list. I respect that. An

Re: [PHP] Newbie question: Basic knowledge

2001-03-15 Thread Lars Falsig
As one of the authors of the official PHP-manual, eschmid could be a bit more understanding to newbees, instead of scaring people from PHP to ASP !!! Lars <[EMAIL PROTECTED]> skrev i en meddelelse [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Thu, Mar 15, 2001 at 10:15:49

[PHP] textarea -- what happens to my new lines

2001-05-03 Thread Stampe, Lars
I am making a e-card page, and I am having a problem with with my message box which is a when I am previewing or saving/recalling the text all the newline characters are gone. Any good ideas! Thanks Lars Stampe

RE: [PHP] textarea -- what happens to my new lines

2001-05-03 Thread Stampe, Lars
Thanks for the idea, it didn't work, let me just explain a bit further! this is a simple version of the code input.htm:: show.php:: When I put in : 1 2 3 4 I get: 1 2 3 4 how do I fix this ( want it to appear like it was typed!)? Regards Lars Stampe -Ori

RE: [PHP] PHP Books

2001-05-08 Thread Stampe, Lars
http://www.wrox.com/ I really found Beginning PHP from Wrox very helpful, had a hard time stopping reading it! Great useful "real life" examples! Lars -Original Message- From: Daniel [mailto:[EMAIL PROTECTED]] Sent: 08 May 2001 00:59 To: [EMAIL PROTECTED] Subject: [PHP] PHP

[PHP] Re: Content Management

2002-02-02 Thread Lars Wilhelmsen
oper.ez.no/ by the norwegian company eZ Systems. eZ Publish is GPL licensed. regards, Lars Wilhelmsen. -- 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] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Lars Wilhelmsen
retty simple, but PHP is generally a language for web applications, I think Perl is more suited for your needs. And no, I do not want to teach anyone how to send 1,000 email to 1,000 different persons. Regards, Lars WIlhelmsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Re: is create_function slow?

2002-02-02 Thread Lars Wilhelmsen
oo slow.. > > warm regards, > Emile Bosch > > Hi Emile, Have you tried to benchmark it? Generate, say, something like 10e5 functions with random names and body. and time it. Regards, Lars Wilhelmsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [

[PHP] Re: Natively compiled classes

2002-02-04 Thread Lars Wilhelmsen
> > TIA > > Stephano Mariani Hi Stephano. If I understand you correctly, what you mean is C++ Classes. Take a look at the ext/qtdom sources in the PHP4 tree. Regards, Lars Wilhelmsen. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: $PHP_SELF question

2002-04-18 Thread Stampe, Lars
Try and create a new php file with the following code and read the result: thats it, a lot of useful info there! Regards Lars -Original Message- From: Joel Colombo [mailto:[EMAIL PROTECTED]] Sent: 18 April 2002 16:03 To: [EMAIL PROTECTED] Subject: [PHP] Re: $PHP_SELF question did u

[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: http://www.codingtheweb.com/projects/newslog/po

[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. th

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

2002-04-29 Thread Stefen Lars
between 2 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' &g

[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 pack

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: [P

RE: [PHP] why doesnt this work???

2002-03-20 Thread Stampe, Lars
Hi, I am not an expert, but try if( $line[0]='$bruker' and $line[1]='$passord') {echo "hei $bruker.";} else {echo "FEIL";} atb Lars -Original Message- From: chris [mailto:[EMAIL PROTECTED]] Sent: 20 March 2002 14:22 To: [EMAIL PROTECTED]

RE: [PHP] why doesnt this work???

2002-03-20 Thread Stampe, Lars
echo "FEIL"; } Lars Stampe -Original Message- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: 20 March 2002 14:30 To: 'chris'; [EMAIL PROTECTED] Subject: RE: [PHP] why doesnt this work??? First: you need == not = to test equivalence. Second, use " not &

RE: [PHP] why doesnt this work???

2002-03-20 Thread Stampe, Lars
ontain your username and $line[1] your password! try after $line = mssql_fetch_row($result); echo "DEBUG : $line[0] - $line[1] - $line[2]"; if( $line[1]='$bruker' and $line[2]='$passord') echo "hei $bruker."; else echo "FE

[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: -- Cow, Cow, Cow, Cow, Cow Cow, Cow, Cow, Cow, Cow Cow, Cow, Cow, Cow, C

RE: [PHP] Making a simple borderless pop up window with a "Close" button

2002-03-21 Thread Stampe, Lars
Hi, I have a script that might do what you want, I don't have time to explain but have a look at: http://www.epson.co.uk/product/printers/inkjet/styc80/flash/index.html and launch the site! ** SCRIPT /* CHROMELESS WINDOWS v.31.0 [ 4.50K ] (c) Gabriel Suchowolski,

RE: [PHP] Object reference

2002-03-21 Thread Stampe, Lars
Hi, Use & to reference one variable to another! $b =& $a; Lars -Original Message- From: Lucijan [mailto:[EMAIL PROTECTED]] Sent: 21 March 2002 10:20 To: [EMAIL PROTECTED] Subject: [PHP] Object reference I can't understand why this works like it does. class MyObj

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

2002-03-21 Thread Stefen Lars
2:35 - > >Also, make sure that you make the match "ungreedy" with the U modifier, or >use: >(.*?) > > >James > >"Niklas lampén" wrote in message >000501c1d0aa$4a5d97f0$ba93c5c3@Niklas">news:000501c1d0aa$4a5d97f0$ba93c5c3@Niklas... > > preg_m

RE: [PHP] A Newbie needs help with his first Class

2002-03-22 Thread Stampe, Lars
Hi, Try and rename the function in your class to something else that the class name, and let me know what happens! Lars -Original Message- From: Don [mailto:[EMAIL PROTECTED]] Sent: 22 March 2002 13:01 To: php Subject: [PHP] A Newbie needs help with his first Class Hi, I'm tryi

RE: [PHP] A Newbie needs help with his first Class

2002-03-22 Thread Stampe, Lars
And then replace $global = new Globals("/staging_area/phase-2/"); with $global = new Globals; $global->someting else("/staging_area/phase-2/"); Lars -Original Message- From: Stampe, Lars [mailto:[EMAIL PROTECTED]] Sent: 22 March 2002 13:46 To: 'Don'

RE: [PHP] Custom 404

2002-04-02 Thread Stampe, Lars
http://rob-mike.php4hosting.com/mike/htaccess/ -Original Message- From: Andrew Brampton [mailto:[EMAIL PROTECTED]] Sent: 02 April 2002 13:50 To: [EMAIL PROTECTED] Subject: Re: [PHP] Custom 404 .htaccess :) Andrew - Original Message - From: "Craig Donnelly" <[EMAIL PROTECTED]> T

RE: [PHP] using .htaccess to repoint

2002-04-10 Thread Stampe, Lars
Hi, This might be helpful http://rob-mike.php4hosting.com/mike/htaccess/ Lars -Original Message- From: Adrian Murphy [mailto:[EMAIL PROTECTED]] Sent: 10 April 2002 12:29 To: [EMAIL PROTECTED] Subject: [PHP] using .htaccess to repoint Hi, my isp uses wildcard dns to point to the root

[PHP] Sending HTML from PHP with 'mail' as a cron job

2002-04-11 Thread Stefen Lars
Hello all I have a script called ‘report.php’ that generates a report in HTML. This report must be created at regular intervals; hence I have set up a cron job to call that script. The output of ‘report.php’ must be sent by e-mail. I use the following command: /usr/bin/lynx -source http://ser

[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. _ Cha

[PHP] Version 4.1.0's New Input Mechanism

2001-12-11 Thread Stefen Lars
Hello all Whereas I fully understand the security implications of PHP's old GET, POST and COOKIE variables and welcome with open arms the development team's decision to depreciate this facet of PHP, I am a little uncertain exactly why they have come up with the solution that appears in the ver

[PHP] Tutorial for a php based chat enviroment

2001-04-06 Thread Lars Reith
Hi, has someone an idea where to find a tutorial to build a php based chat enviroment (both implementation and, very important, the logical background) Many thank in advance Lars ;-) __ Do You Yahoo!? Gesendet von Yahoo! Mail

[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 presen

Re: [PHP] Insecurity with PHP authorization

2001-08-07 Thread Stefen Lars
sts to files as the env >var will not be set. > >I've used it on my setup and it's 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 >

Re: [PHP] Insecurity with PHP authorization

2001-08-07 Thread Stefen Lars
used it on my setup and it's 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:

[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 Order Allow,Deny Allow from env=local_ref We use this to prevent people from directly linking to .gif and .jpg files. This technique is covered here: htt

  1   2   3   4   5   6   >